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.GeometricComparison.NonemptyCech.Augmentation |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.TotalExists |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Cech.UpNatHorizontalEdge |
| 4 | import Mathlib.Algebra.Homology.HomologicalComplexLimits |
| 5 | |
| 6 | /-! # Total -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.CechCone.Total.CechConeTotal |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A natural cone of actual complexes gives its canonical augmentation |
| 13 | into the Čech total complex, with the original two differentials. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite Simplicial |
| 16 | |
| 17 | universe u v w z t |
| 18 | variable {C : Type u} [Category.{v} C] [HasBinaryProducts C] |
| 19 | {A : Type w} [Category.{z} A] [Preadditive A] [HasProducts.{t} A] |
| 20 | {ι : Type t} (U : ι → C) (P : Cᵒᵖ ⥤ CochainComplex A ℕ) |
| 21 | (M : CochainComplex A ℕ) (η : (Functor.const Cᵒᵖ).obj M ⟶ P) |
| 22 | |
| 23 | def horizontal : HomologicalComplex₂ A (.up ℕ) (.up ℕ) := |
| 24 | (IntegralComparison.NonemptyCechNerve.complexFunctor U).obj P |
| 25 | |
| 26 | def bicomplex : HomologicalComplex₂ A (.up ℕ) (.up ℕ) := (horizontal U P).flip |
| 27 | |
| 28 | def zeroMap : M ⟶ (horizontal U P).X 0 := (NonemptyCech.Augmentation.NonemptyCechAugmentation.restriction U P M η).app ⦋0⦌ |
| 29 | |
| 30 | def component (q : ℕ) : M.X q ⟶ ((CechConeTotal.bicomplex U P).X q).X 0 := (zeroMap U P M η).f q |
| 31 | |
| 32 | theorem comm (q q' : ℕ) : component U P M η q ≫ ((CechConeTotal.bicomplex U P).d q q').f 0 = |
| 33 | M.d q q' ≫ component U P M η q' := (zeroMap U P M η).comm q q' |
| 34 | |
| 35 | theorem cocycle (q : ℕ) : component U P M η q ≫ ((CechConeTotal.bicomplex U P).X q).d 0 1 = 0 := |
| 36 | congrArg (fun α : M ⟶ (horizontal U P).X 1 => α.f q) |
| 37 | (NonemptyCech.Augmentation.NonemptyCechAugmentation.cocycle U P M η) |
| 38 | |
| 39 | variable [HasFiniteCoproducts A] |
| 40 | |
| 41 | local instance hasTotal : (CechConeTotal.bicomplex U P).HasTotal (.up ℕ) := |
| 42 | AlgebraicGeometry.Comparison.Betti.TotalExists.hasTotal_of_finiteCoproducts _ |
| 43 | |
| 44 | def total : CochainComplex A ℕ := (CechConeTotal.bicomplex U P).total (.up ℕ) |
| 45 | |
| 46 | def augmentation : M ⟶ CechConeTotal.total U P := |
| 47 | (AlgebraicGeometry.SheafCohomology.Cech.UpNatHorizontalEdge.HomologicalComplex₂.totalUpNatHorizontalEdge (bicomplex U P)) M (component U P M η) |
| 48 | (fun q q' _ => CechConeTotal.comm U P M η q q') (cocycle U P M η) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.NumberTheory.PadicHodge.GeometricComparison.CechCone.Total.CechConeTotal |