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.LineBundle.KoszulTermIsomorphisms |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Zariski.Cohomology |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TensorPower.Addition |
| 4 | |
| 5 | /-! # Power Koszul Acyclicity -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Positive.PowerKoszulAcyclicity |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! If every positive power of a line bundle is acyclic, all terms of a |
| 12 | section Koszul complex for its square with positive-power coefficients are acyclic. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | variable {X : Scheme.{u}} |
| 16 | |
| 17 | theorem zariskiCohomology_biprod_subsingleton (M N : X.Modules) (q : ℕ) |
| 18 | (hM : Subsingleton (Zariski.Cohomology.ZariskiCohomology.H M q)) |
| 19 | (hN : Subsingleton (Zariski.Cohomology.ZariskiCohomology.H N q)) : |
| 20 | Subsingleton (Zariski.Cohomology.ZariskiCohomology.H (M ⊞ N) q) := by |
| 21 | let F := Zariski.Cohomology.ZariskiCohomology.zariskiFunctor X q |
| 22 | have : PreservesBinaryBiproducts F := preservesBinaryBiproducts_of_preservesBinaryProducts F |
| 23 | have h₁ : IsZero (F.obj M) := @AddCommGrpCat.isZero_of_subsingleton _ hM |
| 24 | have h₂ : IsZero (F.obj N) := @AddCommGrpCat.isZero_of_subsingleton _ hN |
| 25 | have hzero : IsZero (F.obj M ⊞ F.obj N) := by |
| 26 | apply (IsZero.iff_id_eq_zero _).mpr |
| 27 | apply biprod.hom_ext |
| 28 | · simpa only [Category.id_comp, zero_comp] using h₁.eq_of_tgt (biprod.fst : F.obj M ⊞ F.obj N ⟶ _) 0 |
| 29 | · simpa only [Category.id_comp, zero_comp] using h₂.eq_of_tgt (biprod.snd : F.obj M ⊞ F.obj N ⟶ _) 0 |
| 30 | exact AddCommGrpCat.subsingleton_of_isZero (hzero.of_iso (F.mapBiprod M N)) |
| 31 | |
| 32 | theorem lineBundleSquareKoszul_terms_acyclic (G : Line.Bundles.LineBundle X) |
| 33 | (hG : ∀ b : ℕ, 0 < b → ∀ q : ℕ, Subsingleton (Zariski.Cohomology.ZariskiCohomology.H (G.tensorPower b).sheaf (q + 1))) |
| 34 | (ss : List (Line.Bundles.structureModule X ⟶ (G.tensorPower 2).sheaf)) |
| 35 | (b : ℕ) (hb : 0 < b) (i : ℤ) (q : ℕ) : |
| 36 | Subsingleton (Zariski.Cohomology.ZariskiCohomology.H |
| 37 | ((LineBundle.SectionKoszulComplex.lineBundleSectionKoszulComplex (G.tensorPower 2) (G.tensorPower b).sheaf ss).X i) (q + 1)) := by |
| 38 | induction ss generalizing b i with |
| 39 | | nil => |
| 40 | by_cases hi : i = 0 |
| 41 | · subst i |
| 42 | simpa only [LineBundle.SectionKoszulComplex.lineBundleSectionKoszulComplex, HomologicalComplex.single_obj_X_self] using hG b hb q |
| 43 | · exact AddCommGrpCat.subsingleton_of_isZero |
| 44 | ((Zariski.Cohomology.ZariskiCohomology.zariskiFunctor X (q + 1)).map_isZero |
| 45 | (HomologicalComplex.isZero_single_obj_X (.up ℤ) 0 (G.tensorPower b).sheaf i hi)) |
| 46 | | cons s ss ih => |
| 47 | let L := G.tensorPower 2 |
| 48 | let C := LineBundle.SectionKoszulComplex.lineBundleSectionKoszulComplex L (G.tensorPower b).sheaf ss |
| 49 | let F := (LineBundle.TensorEquivalence.lineBundleTensorEquivalence L).functor |
| 50 | let eM : F.obj (G.tensorPower b).sheaf ≅ (G.tensorPower (2 + b)).sheaf := |
| 51 | LineBundle.TensorEquivalence.lineBundleTensorEquivalence_objIso L (G.tensorPower b).sheaf ≪≫ (G.tensorPowerAddIso 2 b).symm |
| 52 | let eT : F.obj (C.X i) ≅ |
| 53 | (LineBundle.SectionKoszulComplex.lineBundleSectionKoszulComplex L (G.tensorPower (2 + b)).sheaf ss).X i := |
| 54 | LineBundle.KoszulTermIsomorphisms.lineBundleKoszul_tensorTermIso L (G.tensorPower b).sheaf ss i ≪≫ |
| 55 | LineBundle.KoszulTermIsomorphisms.lineBundleKoszul_coefficientTermIso L eM ss i |
| 56 | have hT : Subsingleton (Zariski.Cohomology.ZariskiCohomology.H (F.obj (C.X i)) (q + 1)) := by |
| 57 | have : Subsingleton (Zariski.Cohomology.ZariskiCohomology.H |
| 58 | ((LineBundle.SectionKoszulComplex.lineBundleSectionKoszulComplex L (G.tensorPower (2 + b)).sheaf ss).X i) (q + 1)) := |
| 59 | ih (2 + b) (by omega) i |
| 60 | exact (ConcreteCategory.bijective_of_isIso |
| 61 | ((Zariski.Cohomology.ZariskiCohomology.zariskiFunctor X (q + 1)).map eT.hom)).injective.subsingleton |
| 62 | have hsum := zariskiCohomology_biprod_subsingleton (C.X (i + 1)) (F.obj (C.X i)) |
| 63 | (q + 1) (ih b hb (i + 1)) hT |
| 64 | have := hsum |
| 65 | exact (ConcreteCategory.bijective_of_isIso |
| 66 | ((Zariski.Cohomology.ZariskiCohomology.zariskiFunctor X (q + 1)).map |
| 67 | (LineBundle.KoszulTermIsomorphisms.lineBundleSectionKoszulStep_XIsoBiprod L s C i).hom)).injective.subsingleton |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Positive.PowerKoszulAcyclicity |