Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.AmbientClass |
| 2 | |
| 3 | /-! # Ambient Coordinates -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.AmbientCoordinates |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The ambient image of the actual point class is independent of |
| 10 | its local equations also at the full Koszul degree. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial Opposite _root_.HomologicalComplex |
| 12 | set_option backward.defeqAttrib.useBackward true |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u |
| 16 | |
| 17 | private theorem transport_apply {F G : ℕ → Type u} (a : ∀ q, F q → G q) |
| 18 | {i j : ℕ} (h : i = j) (x : F j) : |
| 19 | a i (Eq.mpr (congrArg F h) x) = Eq.mpr (congrArg G h) (a j x) := by |
| 20 | subst j |
| 21 | rfl |
| 22 | |
| 23 | open OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.Survivor OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.LocalCoordinates |
| 24 | variable {R : Type u} [CommRing R] [IsNoetherianRing R] [Module.Injective R R] {n : ℕ} |
| 25 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 26 | variable {X : Scheme.{u}} (f : X ⟶ Proj (homogeneousSubmodule (Fin (n+2)) R)) |
| 27 | [IsClosedImmersion f] (z : Spec (CommRingCat.of R) ⟶ X) [IsClosedImmersion z] |
| 28 | (hbase : z ≫ (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ) = 𝟙 _) (B : ℕ) (hB : n+2 ≤ B) |
| 29 | (U : (Proj (homogeneousSubmodule (Fin (n+2)) R)).Opens) (hU : IsAffineOpen U) |
| 30 | [IsArtinianRing R] [IsLocalRing R] |
| 31 | [IsProper (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [Smooth (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 32 | [GeometricallyConnected (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 33 | {c m : ℕ} (hcm : c+m=n+1) |
| 34 | |
| 35 | def ambientAt : (AugmentedOrdered.CechForget.ambientComplex (LocalCoordinates.principalDual f z B U hU)).homology (c+m) := by |
| 36 | rw [hcm] |
| 37 | exact AmbientClass.point f z hbase B hB U hU |
| 38 | |
| 39 | variable (s : Fin c → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 40 | (t : Fin m → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 41 | (hst : KoszulPartial.Resolution.pointIdeal Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) s t = |
| 42 | (z ≫ f).ker.ideal ⟨U, hU⟩) |
| 43 | |
| 44 | omit [IsArtinianRing R] [IsLocalRing R] [IsProper (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [Smooth (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [GeometricallyConnected (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] in |
| 45 | theorem pointAt_forget : |
| 46 | homologyMap (AugmentedOrdered.CechForget.forgetSupport (PrincipalPoint.Fraction.family U t) |
| 47 | (LocalCoordinates.principalDual f z B U hU)) (c+m) |
| 48 | (LocalCoordinates.pointAt f z hbase B hB U hU s t hst hcm) = |
| 49 | ambientAt f z hbase B hB U hU hcm := by |
| 50 | have h := transport_apply |
| 51 | (F := fun q => ((AugmentedOrdered.CechFunctor.bicomplex (PrincipalPoint.Fraction.family U t) |
| 52 | (LocalCoordinates.principalDual f z B U hU)).total (.up ℕ)).homology q) |
| 53 | (G := fun q => (AugmentedOrdered.CechForget.ambientComplex (LocalCoordinates.principalDual f z B U hU)).homology q) |
| 54 | (fun q => homologyMap (AugmentedOrdered.CechForget.forgetSupport (PrincipalPoint.Fraction.family U t) |
| 55 | (LocalCoordinates.principalDual f z B U hU)) q) hcm |
| 56 | (LocalClass.pointClass f z hbase B hB U hU s t hst) |
| 57 | rw [AmbientClass.pointClass_forget] at h |
| 58 | exact h |
| 59 | |
| 60 | omit [IsArtinianRing R] [IsLocalRing R] [IsProper (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] |
| 61 | [Smooth (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] [GeometricallyConnected (f ≫ AlgebraicGeometry.SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ)] in |
| 62 | theorem independent |
| 63 | (s' : Fin c → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 64 | (t' : Fin m → Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U)) |
| 65 | (hst' : KoszulPartial.Resolution.pointIdeal |
| 66 | Γ(Proj (homogeneousSubmodule (Fin (n+2)) R), U) s' t' = (z ≫ f).ker.ideal ⟨U, hU⟩) : |
| 67 | homologyMap (AugmentedOrdered.CechForget.forgetSupport (PrincipalPoint.Fraction.family U t) |
| 68 | (LocalCoordinates.principalDual f z B U hU)) (c+m) (LocalCoordinates.pointAt f z hbase B hB U hU s t hst hcm) = |
| 69 | homologyMap (AugmentedOrdered.CechForget.forgetSupport (PrincipalPoint.Fraction.family U t') |
| 70 | (LocalCoordinates.principalDual f z B U hU)) (c+m) (LocalCoordinates.pointAt f z hbase B hB U hU s' t' hst' hcm) := |
| 71 | (pointAt_forget f z hbase B hB U hU hcm s t hst).trans |
| 72 | (pointAt_forget f z hbase B hB U hU hcm s' t' hst').symm |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.AmbientCoordinates |