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.Finite.CechCoefficientChange |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.CochainLimits |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor |
| 4 | |
| 5 | /-! # Coefficient Total -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.CoefficientTotal.CechPresheafCoefficientTotal |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Additive coefficient change commutes with original finite Cech totals |
| 12 | of presheaf-valued complexes. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite Simplicial |
| 15 | |
| 16 | universe u v a b d e |
| 17 | variable {C : Type u} [Category.{v} C] |
| 18 | {A : Type a} [Category.{b} A] [Abelian A] [HasProducts.{0} A] [HasCoproducts.{0} A] |
| 19 | {B : Type d} [Category.{e} B] [Abelian B] [HasProducts.{0} B] [HasCoproducts.{0} B] |
| 20 | (F : A ⥤ B) [F.Additive] (E : SimplicialObject (FormalCoproduct.{0} C)) |
| 21 | (hE : ∀ n, Finite (E.obj (op n)).I) (K : CochainComplex (Cᵒᵖ ⥤ A) ℕ) |
| 22 | |
| 23 | def presheaves : (Cᵒᵖ ⥤ A) ⥤ (Cᵒᵖ ⥤ B) := (Functor.whiskeringRight Cᵒᵖ A B).obj F |
| 24 | |
| 25 | instance presheaves_additive : (presheaves (C := C) F).Additive := by |
| 26 | dsimp only [presheaves] |
| 27 | infer_instance |
| 28 | |
| 29 | def bicomplex : HomologicalComplex₂ A (.up ℕ) (.up ℕ) := |
| 30 | ((FormalCoproduct.cochainComplexFunctor E).mapHomologicalComplex (.up ℕ)).obj K |
| 31 | |
| 32 | def mappedComplex : CochainComplex (Cᵒᵖ ⥤ B) ℕ := |
| 33 | ((presheaves (C := C) F).mapHomologicalComplex (.up ℕ)).obj K |
| 34 | |
| 35 | def bicomplexIso : AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex F (bicomplex E K) ≅ |
| 36 | bicomplex E (mappedComplex F K) := |
| 37 | (NatIso.mapHomologicalComplex (GeometricComparison.Finite.CechCoefficientChange.FiniteCechCoefficientChange.iso F E hE) (.up ℕ)).app K |
| 38 | |
| 39 | def totalIso : (F.mapHomologicalComplex (.up ℕ)).obj ((bicomplex E K).total (.up ℕ)) ≅ |
| 40 | (bicomplex E (mappedComplex F K)).total (.up ℕ) := |
| 41 | (AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonIso F (bicomplex E K)).symm ≪≫ |
| 42 | HomologicalComplex₂.total.mapIso (bicomplexIso F E hE K) (.up ℕ) |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.NumberTheory.PadicHodge.GeometricComparison.CechPresheaf.CoefficientTotal.CechPresheafCoefficientTotal |