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.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.LineSectionTriviality |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.FieldExternalFirstCohomology |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Zariski.CohomologyRetraction |
| 4 | |
| 5 | /-! # Nontrivial Homogeneous Line Cohomology -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.NontrivialHomogeneousLineCohomology |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every nontrivial homogeneous line bundle on an abelian variety over |
| 12 | an algebraically closed field has zero cohomology in all degrees. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | variable {K : Type} [Field K] [IsAlgClosed K] {g : ℕ} |
| 19 | (A : Abelian.Schemes.AbelianScheme g (Spec (.of K))) (L : Line.Bundles.LineBundle A.scheme.left) |
| 20 | (hL : ReferenceFamily.HomogeneousLinePowers.IsHomogeneousLineClass A (Line.Bundles.LineBundle.classOf L)) |
| 21 | (hne : ¬ Nonempty (L.sheaf ≅ Line.Bundles.structureModule A.scheme.left)) |
| 22 | |
| 23 | include hL hne in |
| 24 | theorem nontrivialHomogeneousLine_section_eq_zero |
| 25 | (s : Line.Bundles.structureModule A.scheme.left ⟶ L.sheaf) : s = 0 := by |
| 26 | classical |
| 27 | by_contra hs |
| 28 | exact hne (Homogeneous.LineSectionTriviality.homogeneousLine_trivial_of_nonzero_section A L hL s hs) |
| 29 | |
| 30 | include hL hne in |
| 31 | theorem nontrivialHomogeneousLine_sections_subsingleton : Subsingleton Γ(L.sheaf, ⊤) := by |
| 32 | constructor |
| 33 | intro z w |
| 34 | apply (Global.Sections.moduleSectionHomEquiv L.sheaf).symm.injective |
| 35 | exact (nontrivialHomogeneousLine_section_eq_zero A L hL hne |
| 36 | ((Global.Sections.moduleSectionHomEquiv L.sheaf).symm z)).trans |
| 37 | (nontrivialHomogeneousLine_section_eq_zero A L hL hne |
| 38 | ((Global.Sections.moduleSectionHomEquiv L.sheaf).symm w)).symm |
| 39 | |
| 40 | def homogeneousLine_externalSquareCohomologyMap (n : ℕ) : |
| 41 | Zariski.Cohomology.ZariskiCohomology.H L.sheaf n →+ |
| 42 | Zariski.Cohomology.ZariskiCohomology.H (Graph.ExternalTensorBundle.externalTensorBundle (A := A.scheme) (B := A.scheme) L L).sheaf n := |
| 43 | ((Zariski.Cohomology.ZariskiCohomology.zariskiFunctor (A.scheme ⊗ A.scheme).left n).map |
| 44 | (Homogeneous.LineMultiplication.homogeneousLine_additionIso A L hL).hom).hom.comp |
| 45 | (Zariski.CohomologyPullbackMap.ZariskiCohomology.pullbackMap |
| 46 | (fst A.scheme A.scheme * snd A.scheme A.scheme).left L.sheaf n) |
| 47 | |
| 48 | omit [IsAlgClosed K] in |
| 49 | theorem homogeneousLine_externalSquareCohomologyMap_injective (n : ℕ) : |
| 50 | Function.Injective (homogeneousLine_externalSquareCohomologyMap A L hL n) := by |
| 51 | let m := fst A.scheme A.scheme * snd A.scheme A.scheme |
| 52 | let s := lift (𝟙 A.scheme) (1 : A.scheme ⟶ A.scheme) |
| 53 | have hs₀ : s ≫ m = 𝟙 A.scheme := by |
| 54 | change lift (𝟙 A.scheme) (1 : A.scheme ⟶ A.scheme) ≫ |
| 55 | (fst A.scheme A.scheme * snd A.scheme A.scheme) = 𝟙 A.scheme |
| 56 | rw [MonObj.comp_mul, lift_fst, lift_snd, mul_one] |
| 57 | have hs : s.left ≫ m.left = 𝟙 A.scheme.left := congrArg Over.Hom.left hs₀ |
| 58 | have hp := Zariski.CohomologyRetraction.ZariskiCohomology.pullbackMap_injective_of_section m.left s.left hs L.sheaf n |
| 59 | have he := (ConcreteCategory.bijective_of_isIso |
| 60 | ((Zariski.Cohomology.ZariskiCohomology.zariskiFunctor (A.scheme ⊗ A.scheme).left n).map |
| 61 | (Homogeneous.LineMultiplication.homogeneousLine_additionIso A L hL).hom)).injective |
| 62 | exact he.comp hp |
| 63 | |
| 64 | include hL hne in |
| 65 | theorem nontrivialHomogeneousLine_cohomology_vanish (q : ℕ) : |
| 66 | Subsingleton (Zariski.Cohomology.ZariskiCohomology.H L.sheaf q) := by |
| 67 | have hsections := nontrivialHomogeneousLine_sections_subsingleton A L hL hne |
| 68 | have H : IsPullback (fst A.scheme A.scheme).left (snd A.scheme A.scheme).left |
| 69 | A.scheme.hom A.scheme.hom := IsPullback.of_hasPullback A.scheme.hom A.scheme.hom |
| 70 | induction q using Nat.strong_induction_on with |
| 71 | | h q ih => |
| 72 | cases q with |
| 73 | | zero => |
| 74 | constructor |
| 75 | intro x y |
| 76 | apply (Zariski.Cohomology.ZariskiCohomology.hZeroEquivGlobalSections L.sheaf).injective |
| 77 | exact @Subsingleton.elim _ hsections _ _ |
| 78 | | succ n => |
| 79 | have hprod : Subsingleton (Zariski.Cohomology.ZariskiCohomology.H |
| 80 | (Graph.ExternalTensorBundle.externalTensorBundle (A := A.scheme) (B := A.scheme) L L).sheaf (n + 1)) := |
| 81 | Proper.FieldExternalFirstCohomology.properFieldExternalTensor_firstCohomology_vanish H L L n ih hsections |
| 82 | constructor |
| 83 | intro x y |
| 84 | apply homogeneousLine_externalSquareCohomologyMap_injective A L hL (n + 1) |
| 85 | exact @Subsingleton.elim _ hprod _ _ |
| 86 | |
| 87 | include hL hne in |
| 88 | theorem nontrivialHomogeneousLine_cohomology_isZero (q : ℕ) : |
| 89 | IsZero ((Zariski.Cohomology.ZariskiCohomology.zariskiFunctor A.scheme.left q).obj L.sheaf) := by |
| 90 | apply AddCommGrpCat.isZero_iff_subsingleton.mpr |
| 91 | exact nontrivialHomogeneousLine_cohomology_vanish A L hL hne q |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.NontrivialHomogeneousLineCohomology |