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.HomologySquare |
| 3 | |
| 4 | /-! # Ordinary Coefficient Projection -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.OrdinaryCoefficientProjection.Ordinary |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual ordinary-to-ordered projection commutes with an exact |
| 11 | coefficient change on an arbitrary cover. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite _root_.HomologicalComplex |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u uA vA uB vB |
| 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 | (G : A ⥤ B) [G.Additive] [G.PreservesHomology] [PreservesLimitsOfSize.{u,u} G] |
| 21 | (P : Cᵒᵖ ⥤ A) |
| 22 | |
| 23 | abbrev ordinaryIso := AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChange.CechCoefficientChange.complexIso G (NonemptyCechNerve.nerve U) P |
| 24 | |
| 25 | omit [HasCoproducts A] [HasCoproducts B] [G.PreservesHomology] in |
| 26 | theorem cochain : |
| 27 | (G.mapHomologicalComplex (.up ℕ)).map (Projection.map U P) ≫ |
| 28 | (CoefficientChange.complexIso U G P).hom = |
| 29 | (ordinaryIso U G P).hom ≫ Projection.map U (P ⋙ G) := by |
| 30 | apply HomologicalComplex.Hom.ext |
| 31 | funext q |
| 32 | apply Pi.hom_ext |
| 33 | intro (a : Projection.Index (ι := ι) q) |
| 34 | change (G.map (Projection.mapF U P q) ≫ piComparison G _) ≫ |
| 35 | Projection.projection U (P ⋙ G) q a = |
| 36 | ((ordinaryIso U G P).hom.f q ≫ Projection.mapF U (P ⋙ G) q) ≫ |
| 37 | Projection.projection U (P ⋙ G) q a |
| 38 | rw [Category.assoc] |
| 39 | erw [piComparison_comp_π, ← G.map_comp, Projection.mapF_projection] |
| 40 | rw [Category.assoc, Projection.mapF_projection] |
| 41 | rw [AlgebraicGeometry.Crystalline.Cohomology.Cech.CoefficientChangeNaturality.CechCoefficientChangeNaturality.hom_f] |
| 42 | exact (piComparison_comp_π G _ a.val).symm |
| 43 | |
| 44 | omit [HasCoproducts A] [HasCoproducts B] in |
| 45 | theorem homology (q : ℕ) : |
| 46 | G.map (homologyMap (Projection.map U P) q) ≫ |
| 47 | (Ordered.SingleGlobalSourceCoefficients.coefficientIso G P U q).hom = |
| 48 | (Functor.HomologySquare.iso G (ordinaryIso U G P) q).hom ≫ |
| 49 | homologyMap (Projection.map U (P ⋙ G)) q := |
| 50 | Functor.HomologySquare.naturality G (Projection.map U P) |
| 51 | (Projection.map U (P ⋙ G)) (ordinaryIso U G P) |
| 52 | (CoefficientChange.complexIso U G P) (cochain U G P) q |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.OrdinaryCoefficientProjection.Ordinary |