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.AugmentedOrdered.CechCoefficientTop |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechReindexTopTotal |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechForgetNaturality |
| 4 | |
| 5 | /-! # Cech Reindex Coefficient Top -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechReindexCoefficientTop |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Coefficient change followed by reindexing carries the original |
| 12 | full-intersection class to the class of its literal coefficient image. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | universe u v w |
| 20 | variable {C D : Type u} [Preorder C] [HasFiniteProducts C] [Preorder D] [HasFiniteProducts D] |
| 21 | (r : C ⥤ D) [PreservesFiniteProducts r] |
| 22 | {ι : Type u} [LinearOrder ι] [Fintype ι] (U : ι → C) |
| 23 | {R : Type v} [CommRing R] [HasProducts.{u} (ModuleCat.{w} R)] |
| 24 | (L : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{w} R) ℕ) |
| 25 | (K : CochainComplex (Dᵒᵖ ⥤ ModuleCat.{w} R) ℕ) |
| 26 | (f : L ⟶ CechReindexTopTotal.pulled r K) |
| 27 | |
| 28 | def map : (CechFunctor.bicomplex U L).total (.up ℕ) ⟶ (CechFunctor.bicomplex (r.obj ∘ U) K).total (.up ℕ) := |
| 29 | CechForgetNaturality.map U f ≫ |
| 30 | (CechReindexTotal.totalIso r U K).hom |
| 31 | |
| 32 | variable (g : ℕ) (hg : Fintype.card ι = g) (q : ℕ) |
| 33 | (x : (L.X q).obj (op (CechCoordinates.topObject U g hg))) |
| 34 | (hx : (L.d q (q+1)).app (op (CechCoordinates.topObject U g hg)) x = 0) |
| 35 | |
| 36 | def image : (K.X q).obj (op (CechCoordinates.topObject (r.obj ∘ U) g hg)) := |
| 37 | CechReindexTop.coefficient r U g hg (K.X q) |
| 38 | ((f.f q).app (op (CechCoordinates.topObject U g hg)) x) |
| 39 | |
| 40 | include hx in |
| 41 | omit [HasProducts (ModuleCat R)] in |
| 42 | theorem image_closed : (K.d q (q+1)).app (op (CechCoordinates.topObject (r.obj ∘ U) g hg)) |
| 43 | (image r U L K f g hg q x) = 0 := |
| 44 | CechReindexTopTotal.coefficient_closed r U K g hg q _ |
| 45 | (CechCoefficientTop.mapped_coefficient_closed U f g hg q x hx) |
| 46 | |
| 47 | theorem homology : |
| 48 | HomologicalComplex.homologyMap (map r U L K f) (q+g) |
| 49 | (CechLargeTop.topTotalClass U L g hg q x hx) = |
| 50 | CechLargeTop.topTotalClass (r.obj ∘ U) K g hg q (image r U L K f g hg q x) |
| 51 | (image_closed r U L K f g hg q x hx) := by |
| 52 | rw [map, HomologicalComplex.homologyMap_comp, ConcreteCategory.comp_apply] |
| 53 | change HomologicalComplex.homologyMap |
| 54 | (CechReindexTotal.totalIso r U K).hom (q+g) |
| 55 | (HomologicalComplex.homologyMap |
| 56 | (CechCoefficientTop.totalMap U f) (q+g) |
| 57 | (CechLargeTop.topTotalClass U L g hg q x hx)) = _ |
| 58 | rw [CechCoefficientTop.topTotalClass_naturality] |
| 59 | exact CechReindexTopTotal.homology r U K g hg q _ _ |
| 60 | |
| 61 | theorem homology_of_image_eq |
| 62 | (y : (K.X q).obj (op (CechCoordinates.topObject (r.obj ∘ U) g hg))) |
| 63 | (hy : (K.d q (q+1)).app (op (CechCoordinates.topObject (r.obj ∘ U) g hg)) y = 0) |
| 64 | (hxy : image r U L K f g hg q x = y) : |
| 65 | HomologicalComplex.homologyMap (map r U L K f) (q+g) |
| 66 | (CechLargeTop.topTotalClass U L g hg q x hx) = CechLargeTop.topTotalClass (r.obj ∘ U) K g hg q y hy := by |
| 67 | subst y |
| 68 | exact homology r U L K f g hg q x hx |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechReindexCoefficientTop |