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.CechPresheaf.CoefficientTotal |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.TotalCoefficientComposition |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ExactHomology |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.InverseCoordinateHomology |
| 5 | |
| 6 | /-! # Coefficient Naturality -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.CoefficientNaturality.CechPresheafCoefficientNaturality |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original Cech total coefficient isomorphism is natural in |
| 13 | actual maps of presheaf complexes. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite Simplicial |
| 16 | |
| 17 | universe u v a b d e |
| 18 | variable {C : Type u} [Category.{v} C] |
| 19 | {A : Type a} [Category.{b} A] [Abelian A] [HasProducts.{0} A] [HasCoproducts.{0} A] |
| 20 | {B : Type d} [Category.{e} B] [Abelian B] [HasProducts.{0} B] [HasCoproducts.{0} B] |
| 21 | (F : A ⥤ B) [F.Additive] (E : SimplicialObject (FormalCoproduct.{0} C)) |
| 22 | (hE : ∀ n, Finite (E.obj (op n)).I) |
| 23 | {K L : CochainComplex (Cᵒᵖ ⥤ A) ℕ} (a : K ⟶ L) |
| 24 | |
| 25 | def bicomplexMap : CoefficientTotal.CechPresheafCoefficientTotal.bicomplex E K ⟶ CoefficientTotal.CechPresheafCoefficientTotal.bicomplex E L := |
| 26 | ((FormalCoproduct.cochainComplexFunctor E).mapHomologicalComplex (.up ℕ)).map a |
| 27 | |
| 28 | def totalMap := HomologicalComplex₂.total.map (bicomplexMap E a) (.up ℕ) |
| 29 | |
| 30 | omit [HasCoproducts.{0} A] [HasCoproducts.{0} B] in |
| 31 | theorem bicomplex : TotalCoefficientComposition.TotalCoefficientComparisonNaturality.bicomplexMap F (bicomplexMap E a) ≫ |
| 32 | (CoefficientTotal.CechPresheafCoefficientTotal.bicomplexIso F E hE L).hom = |
| 33 | (CoefficientTotal.CechPresheafCoefficientTotal.bicomplexIso F E hE K).hom ≫ |
| 34 | bicomplexMap E (((CoefficientTotal.CechPresheafCoefficientTotal.presheaves F).mapHomologicalComplex (.up ℕ)).map a) := |
| 35 | (NatIso.mapHomologicalComplex (GeometricComparison.Finite.CechCoefficientChange.FiniteCechCoefficientChange.iso F E hE) (.up ℕ)).hom.naturality a |
| 36 | |
| 37 | theorem total : (F.mapHomologicalComplex (.up ℕ)).map (totalMap E a) ≫ |
| 38 | (CoefficientTotal.CechPresheafCoefficientTotal.totalIso F E hE L).hom = |
| 39 | (CoefficientTotal.CechPresheafCoefficientTotal.totalIso F E hE K).hom ≫ |
| 40 | totalMap E (((CoefficientTotal.CechPresheafCoefficientTotal.presheaves F).mapHomologicalComplex (.up ℕ)).map a) := by |
| 41 | have h₁ := IntegralComparison.InverseCoordinateHomology.inverse |
| 42 | (AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso F (CoefficientTotal.CechPresheafCoefficientTotal.bicomplex E K)) |
| 43 | (AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso F (CoefficientTotal.CechPresheafCoefficientTotal.bicomplex E L)) |
| 44 | (HomologicalComplex₂.total.map (TotalCoefficientComposition.TotalCoefficientComparisonNaturality.bicomplexMap F (bicomplexMap E a)) (.up ℕ)) |
| 45 | ((F.mapHomologicalComplex (.up ℕ)).map (totalMap E a)) |
| 46 | (TotalCoefficientComposition.TotalCoefficientComparisonNaturality.natural F (bicomplexMap E a)) |
| 47 | let T := HomologicalComplex₂.totalFunctor B (.up ℕ) (.up ℕ) (.up ℕ) |
| 48 | have h₂ := (T.map_comp (TotalCoefficientComposition.TotalCoefficientComparisonNaturality.bicomplexMap F (bicomplexMap E a)) |
| 49 | (CoefficientTotal.CechPresheafCoefficientTotal.bicomplexIso F E hE L).hom).symm.trans |
| 50 | ((congrArg T.map (bicomplex F E hE a)).trans |
| 51 | (T.map_comp (CoefficientTotal.CechPresheafCoefficientTotal.bicomplexIso F E hE K).hom |
| 52 | (bicomplexMap E (((CoefficientTotal.CechPresheafCoefficientTotal.presheaves F).mapHomologicalComplex (.up ℕ)).map a)))) |
| 53 | exact ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ h₁ h₂ |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.CoefficientNaturality.CechPresheafCoefficientNaturality |