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.Functor.SingleCoefficientIso |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.CoefficientTotal |
| 3 | |
| 4 | /-! # Single Coefficient Coordinates -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.SingleCoefficientCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Exact coefficient change in the literal ordered Cech complex |
| 11 | preserves the original single-degree total coordinates. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u uA vA uB vB uD vD |
| 16 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 17 | {ι : Type u} [LinearOrder ι] (U : ι → C) |
| 18 | {A : Type uA} [Category.{vA} A] [Abelian A] [HasProducts.{u} A] [HasCoproducts.{0} A] |
| 19 | {B : Type uB} [Category.{vB} B] [Abelian B] [HasProducts.{u} B] [HasCoproducts.{0} B] |
| 20 | {D : Type uD} [Category.{vD} D] [Abelian D] |
| 21 | (J : D ⥤ Cᵒᵖ ⥤ A) [J.Additive] |
| 22 | (G : A ⥤ B) [G.Additive] [G.PreservesHomology] [PreservesLimitsOfSize.{u,u} G] |
| 23 | |
| 24 | local instance finiteBiproducts : HasFiniteBiproducts A := Abelian.hasFiniteBiproducts |
| 25 | |
| 26 | abbrev sourceFunctor := J ⋙ OrderedCech.Functor.Projection.functor U |
| 27 | abbrev targetFunctor := J ⋙ (Functor.whiskeringRight Cᵒᵖ A B).obj G ⋙ |
| 28 | OrderedCech.Functor.Projection.functor U |
| 29 | |
| 30 | def functorIso : IntegralComparison.Functor.SingleCoefficientChange.mappedFunctor (sourceFunctor U J) G ≅ |
| 31 | targetFunctor U J G := |
| 32 | NatIso.ofComponents (fun M => CoefficientChange.complexIso U G (J.obj M)) |
| 33 | (fun a => CoefficientChange.naturality U G _ (J.map a)) |
| 34 | |
| 35 | abbrev coefficientIso (M : D) (n : ℕ) := |
| 36 | IntegralComparison.Functor.SingleCoefficientIso.coefficientIso (sourceFunctor U J) G |
| 37 | (targetFunctor U J G) (functorIso U J G) M n |
| 38 | |
| 39 | theorem comparison (M : D) (c n : ℕ) : |
| 40 | (CoefficientTotal.homologyIso U G |
| 41 | ((J.mapHomologicalComplex (.up ℕ)).obj ((single D (.up ℕ) c).obj M)) (n+c)).hom ≫ |
| 42 | (IntegralComparison.Functor.SingleTotal.homologyIso (targetFunctor U J G) M c n).hom = |
| 43 | G.map (IntegralComparison.Functor.SingleTotal.homologyIso (sourceFunctor U J) M c n).hom ≫ |
| 44 | (coefficientIso U J G M n).hom := |
| 45 | IntegralComparison.Functor.SingleCoefficientIso.comparison (sourceFunctor U J) G |
| 46 | (targetFunctor U J G) (functorIso U J G) M c n |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.SingleCoefficientCoordinates |