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.IntegralComparison.Ordered.SingleGlobalSourceCoefficients |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.HomologyComposition |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Cech.CoefficientComposition |
| 4 | |
| 5 | /-! # Coefficient Composition -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.CoefficientComposition |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual ordered Cech coefficient coordinates commute with |
| 12 | successive exact changes of the coefficient category. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite _root_.HomologicalComplex |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | attribute [local instance] Functor.HomologyComposition.composite_preservesHomology |
| 17 | universe u uA vA uB vB uD vD |
| 18 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 19 | {ι : Type u} [LinearOrder ι] (U : ι → C) |
| 20 | {A : Type uA} [Category.{vA} A] [Abelian A] [HasProducts.{u} A] [HasCoproducts.{0} A] |
| 21 | {B : Type uB} [Category.{vB} B] [Abelian B] [HasProducts.{u} B] [HasCoproducts.{0} B] |
| 22 | {D : Type uD} [Category.{vD} D] [Abelian D] [HasProducts.{u} D] [HasCoproducts.{0} D] |
| 23 | (F : A ⥤ B) (G : B ⥤ D) [F.Additive] [G.Additive] |
| 24 | [F.PreservesHomology] [G.PreservesHomology] |
| 25 | [PreservesLimitsOfSize.{u,u} F] [PreservesLimitsOfSize.{u,u} G] |
| 26 | [PreservesFiniteLimits G] [PreservesFiniteColimits G] |
| 27 | (P : Cᵒᵖ ⥤ A) |
| 28 | |
| 29 | omit [HasCoproducts A] [HasCoproducts B] [HasCoproducts D] [F.PreservesHomology] [G.PreservesHomology] [PreservesFiniteLimits G] [PreservesFiniteColimits G] in |
| 30 | theorem cochain : |
| 31 | (G.mapHomologicalComplex (.up ℕ)).map (CoefficientChange.complexIso U F P).hom ≫ |
| 32 | (CoefficientChange.complexIso U G (P ⋙ F)).hom = |
| 33 | (CoefficientChange.complexIso U (F ⋙ G) P).hom := by |
| 34 | apply HomologicalComplex.Hom.ext |
| 35 | funext q |
| 36 | change G.map (piComparison F _) ≫ piComparison G _ = piComparison (F ⋙ G) _ |
| 37 | exact GeometricComparison.Cech.CoefficientComposition.CechCoefficientComposition.piComparison F G _ |
| 38 | |
| 39 | omit [HasCoproducts A] [HasCoproducts B] [HasCoproducts D] in |
| 40 | theorem homology (q : ℕ) : |
| 41 | G.map (Ordered.SingleGlobalSourceCoefficients.coefficientIso F P U q).hom ≫ |
| 42 | (Ordered.SingleGlobalSourceCoefficients.coefficientIso G (P ⋙ F) U q).hom = |
| 43 | (Ordered.SingleGlobalSourceCoefficients.coefficientIso (F ⋙ G) P U q).hom := |
| 44 | Functor.HomologyComposition.comparison F G (Projection.complex U P) |
| 45 | (Projection.complex U (P ⋙ F)) |
| 46 | (Projection.complex U ((P ⋙ F) ⋙ G)) |
| 47 | (CoefficientChange.complexIso U F P) |
| 48 | (CoefficientChange.complexIso U G (P ⋙ F)) |
| 49 | (CoefficientChange.complexIso U (F ⋙ G) P) (cochain U F G P) q |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.CoefficientComposition |