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.Comparison.Betti.Algebraic.CechResolution |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Finite.AffineCechAcyclic |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.TotalCohomologyAcyclic |
| 4 | import OAI.AlgebraicGeometry.Comparison.Betti.AdditiveConstantExt |
| 5 | import OAI.AlgebraicGeometry.Comparison.Betti.TotalExists |
| 6 | |
| 7 | /-! # Cech Acyclic Terms -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Algebraic.CechAcyclicTerms |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The actual finite affine Čech–de Rham total resolution has Ext-acyclic terms. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Abelian _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 16 | |
| 17 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) [Smooth X.hom] [IsSeparated X.hom] |
| 18 | {ι : Type} [Finite ι] (U : ι → X.left.Opens) (hU : ∀ i, IsAffineOpen (U i)) |
| 19 | |
| 20 | local instance : HasExt.{1} (HypercohomologyForget.AdditiveZariskiSheaves X) := HasExt.standard _ |
| 21 | local instance : HasExt.{0} (HypercohomologyForget.AdditiveZariskiSheaves X) := |
| 22 | inferInstanceAs (HasExt.{0} (Sheaf (Opens.grothendieckTopology X.left) AddCommGrpCat.{0})) |
| 23 | |
| 24 | include hU in |
| 25 | theorem algebraicCechBicomplex_term_acyclic (a b q : ℕ) : |
| 26 | Subsingleton (Sheaf.H.{0} (J := Opens.grothendieckTopology X.left) |
| 27 | (((Betti.Sheaf.CechAugmentation.sheafCechBicomplex U (AdditiveComplexExtension.algebraicAdditiveSheafComplex X)).X a).X b) (q + 1)) := by |
| 28 | change Subsingleton (Sheaf.H.{0} (J := Opens.grothendieckTopology X.left) |
| 29 | (((Betti.Sheaf.CechFunctor.sheafCechResolutionFunctor U).obj ((AdditiveComplexExtension.algebraicAdditiveSheafComplex X).X a)).X b) |
| 30 | (q + 1)) |
| 31 | rw [AdditiveComplexExtension.algebraicAdditiveSheafComplex_X] |
| 32 | exact Betti.Finite.AffineCechAcyclic.finiteAffineCech_algebraicForms_term_acyclic X U hU a b q |
| 33 | |
| 34 | include hU in |
| 35 | theorem algebraicCechTotalComplex_term_acyclic (n q : ℕ) : |
| 36 | Subsingleton (Sheaf.H.{0} (J := Opens.grothendieckTopology X.left) ((CechResolution.algebraicCechTotalComplex X U).X n) (q + 1)) := by |
| 37 | let K : HomologicalComplex₂ |
| 38 | (Sheaf (Opens.grothendieckTopology X.left) AddCommGrpCat.{0}) (.up ℕ) (.up ℕ) := |
| 39 | Betti.Sheaf.CechAugmentation.sheafCechBicomplex U (AdditiveComplexExtension.algebraicAdditiveSheafComplex X) |
| 40 | have : Finite ((ComplexShape.π (.up ℕ) (.up ℕ) (.up ℕ)) ⁻¹' {n}) := by |
| 41 | change Finite {p : ℕ × ℕ // p.1 + p.2 = n} |
| 42 | exact Betti.Finite.TotalDiagonal.finiteTotalDiagonal n |
| 43 | let D := K.toGradedObject.mapObjFun (ComplexShape.π (.up ℕ) (.up ℕ) (.up ℕ)) n |
| 44 | have hD : CategoryTheory.Limits.HasCoproduct D := (TotalExists.hasTotal_of_finiteCoproducts K) n |
| 45 | exact @Betti.Finite.CoproductCohomology.Cech.finiteCoproduct_cohomology_subsingleton |
| 46 | (TopCat.of X.left) _ inferInstance D hD (q + 1) |
| 47 | (fun p => algebraicCechBicomplex_term_acyclic X U hU p.val.1 p.val.2 q) |
| 48 | |
| 49 | include hU in |
| 50 | theorem algebraicCechTotalComplexInt_term_acyclic (n : ℤ) (q : ℕ) : |
| 51 | Subsingleton (Sheaf.H.{0} (J := Opens.grothendieckTopology X.left) ((CechResolution.algebraicCechTotalComplexInt X U).X n) (q + 1)) := by |
| 52 | let H := Sheaf.functorH.{0} (Opens.grothendieckTopology X.left) (q + 1) |
| 53 | cases n with |
| 54 | | ofNat n => |
| 55 | have : Subsingleton (H.obj ((CechResolution.algebraicCechTotalComplex X U).X n)) := |
| 56 | algebraicCechTotalComplex_term_acyclic X U hU n q |
| 57 | let e := H.mapIso ((CechResolution.algebraicCechTotalComplex X U).extendXIso |
| 58 | (ComplexShape.embeddingUpIntGE 0) |
| 59 | (show (ComplexShape.embeddingUpIntGE 0).f n = (n : ℤ) by simp)) |
| 60 | exact (ConcreteCategory.bijective_of_isIso e.hom).injective.subsingleton |
| 61 | | negSucc n => |
| 62 | exact Sheaf.subsingleton_H_of_isZero |
| 63 | ((CechResolution.algebraicCechTotalComplexInt X U).isZero_of_isStrictlyGE 0 (Int.negSucc n) (by omega)) |
| 64 | (q + 1) |
| 65 | |
| 66 | include hU in |
| 67 | theorem algebraicCechTotalComplexInt_termExt_acyclic (n : ℤ) (q : ℕ) : |
| 68 | Subsingleton (Ext.{1} (AdditiveConstantExt.Cech.constantIntegers (TopCat.of X.left)) |
| 69 | ((CechResolution.algebraicCechTotalComplexInt X U).X n) (q + 1)) := |
| 70 | AdditiveConstantExt.Cech.constantIntegerExt_subsingleton (TopCat.of X.left) _ (q + 1) |
| 71 | (algebraicCechTotalComplexInt_term_acyclic X U hU n q) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.Comparison.Betti.Algebraic.CechAcyclicTerms |