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.Crystalline.Cohomology.Cech.CoefficientChangeNaturality |
| 2 | |
| 3 | /-! # Coefficient Composition -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.CoefficientComposition.CechCoefficientComposition |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The canonical Čech coefficient comparison respects composition of product-preserving additive functors. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory Limits Opposite Simplicial |
| 12 | |
| 13 | universe w v u vA uA vB uB vD uD |
| 14 | |
| 15 | variable {C : Type u} [Category.{v} C] |
| 16 | {A : Type uA} [Category.{vA} A] [Preadditive A] [HasProducts.{w} A] |
| 17 | {B : Type uB} [Category.{vB} B] [Preadditive B] [HasProducts.{w} B] |
| 18 | {D : Type uD} [Category.{vD} D] [Preadditive D] [HasProducts.{w} D] |
| 19 | (F : A ⥤ B) (G : B ⥤ D) [F.Additive] [G.Additive] |
| 20 | [PreservesLimitsOfSize.{w, w} F] [PreservesLimitsOfSize.{w, w} G] |
| 21 | |
| 22 | omit [Preadditive A] [Preadditive B] [Preadditive D] [F.Additive] [G.Additive] |
| 23 | [PreservesLimitsOfSize.{w, w} F] [PreservesLimitsOfSize.{w, w} G] in |
| 24 | theorem piComparison {ι : Type w} (P : ι → A) : |
| 25 | G.map (Limits.piComparison F P) ≫ Limits.piComparison G (fun i => F.obj (P i)) = |
| 26 | Limits.piComparison (F ⋙ G) P := by |
| 27 | apply Pi.hom_ext |
| 28 | intro i |
| 29 | rw [Category.assoc, piComparison_comp_π, ← G.map_comp, piComparison_comp_π] |
| 30 | exact (piComparison_comp_π (F ⋙ G) P i).symm |
| 31 | |
| 32 | theorem hom (E : SimplicialObject (FormalCoproduct.{w} C)) (P : Cᵒᵖ ⥤ A) : |
| 33 | (G.mapHomologicalComplex (.up ℕ)).map (AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChange.CechCoefficientChange.complexIso F E P).hom ≫ |
| 34 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChange.CechCoefficientChange.complexIso G E (P ⋙ F)).hom = |
| 35 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChange.CechCoefficientChange.complexIso (F ⋙ G) E P).hom := by |
| 36 | apply HomologicalComplex.Hom.ext |
| 37 | funext n |
| 38 | simp only [HomologicalComplex.comp_f, Functor.mapHomologicalComplex_map_f, |
| 39 | AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChangeNaturality.CechCoefficientChangeNaturality.hom_f] |
| 40 | exact CechCoefficientComposition.piComparison F G (fun i : (E.obj (op ⦋n⦌)).I => P.obj (op ((E.obj (op ⦋n⦌)).obj i))) |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.CoefficientComposition.CechCoefficientComposition |