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.CechReindexTop |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechReindexTotal |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechLargeTop |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Module.CochainClassNaturality |
| 5 | |
| 6 | /-! # Cech Reindex Top Total -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechReindexTopTotal |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual full-intersection residue cycle and its total |
| 13 | cohomology class are natural under principal-index reindexing. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechLargeTop |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | universe u v w |
| 22 | variable {C D : Type u} [Preorder C] [HasFiniteProducts C] [Preorder D] [HasFiniteProducts D] |
| 23 | (r : C ⥤ D) [PreservesFiniteProducts r] |
| 24 | {ι : Type u} [LinearOrder ι] [Fintype ι] (U : ι → C) |
| 25 | {R : Type v} [CommRing R] [HasProducts.{u} (ModuleCat.{w} R)] |
| 26 | (K : CochainComplex (Dᵒᵖ ⥤ ModuleCat.{w} R) ℕ) |
| 27 | |
| 28 | abbrev pulled := ((CechReindexTotal.restriction r).mapHomologicalComplex (.up ℕ)).obj K |
| 29 | |
| 30 | variable (g : ℕ) (hg : Fintype.card ι = g) |
| 31 | |
| 32 | theorem inclusion (q N : ℕ) (hN : q + g = N) : |
| 33 | CechLargeTop.topTotalInclusion U (pulled r K) g hg q N hN ≫ |
| 34 | (CechReindexTotal.totalIso r U K).hom.f N = |
| 35 | CechReindexTop.coefficient r U g hg (K.X q) ≫ |
| 36 | CechLargeTop.topTotalInclusion (r.obj ∘ U) K g hg q N hN := by |
| 37 | simp only [CechLargeTop.topTotalInclusion] |
| 38 | erw [Category.assoc, CechReindexTotal.totalIso, |
| 39 | HomologicalComplex₂.ιTotal_map, ← Category.assoc] |
| 40 | change (CechCoordinates.topInclusion U (r.op ⋙ K.X q) g hg ≫ (CechReindex.componentIso r U (K.X q) g).hom) ≫ _ = _ |
| 41 | rw [CechReindexTop.inclusion, Category.assoc] |
| 42 | |
| 43 | variable (q : ℕ) (x : ((pulled r K).X q).obj (op (CechCoordinates.topObject U g hg))) |
| 44 | (hx : ((pulled r K).d q (q+1)).app (op (CechCoordinates.topObject U g hg)) x = 0) |
| 45 | |
| 46 | include hx in |
| 47 | omit [HasProducts (ModuleCat R)] in |
| 48 | theorem coefficient_closed : |
| 49 | (K.d q (q+1)).app (op (CechCoordinates.topObject (r.obj ∘ U) g hg)) |
| 50 | (CechReindexTop.coefficient r U g hg (K.X q) x) = 0 := by |
| 51 | have h := ConcreteCategory.congr_hom |
| 52 | ((K.d q (q+1)).naturality (CechReindexTop.objectIso r U g hg).inv.op) x |
| 53 | change (K.d q (q+1)).app (op (CechCoordinates.topObject (r.obj ∘ U) g hg)) |
| 54 | (CechReindexTop.coefficient r U g hg (K.X q) x) = |
| 55 | CechReindexTop.coefficient r U g hg (K.X (q+1)) |
| 56 | (((pulled r K).d q (q+1)).app (op (CechCoordinates.topObject U g hg)) x) at h |
| 57 | rw [hx, map_zero] at h |
| 58 | exact h |
| 59 | |
| 60 | theorem cycle : |
| 61 | Module.CochainClassNaturality.cycleMap |
| 62 | (CechReindexTotal.totalIso r U K).hom (q+g) |
| 63 | (CechLargeTop.topTotalCycle U (pulled r K) g hg q x hx) = |
| 64 | CechLargeTop.topTotalCycle (r.obj ∘ U) K g hg q |
| 65 | (CechReindexTop.coefficient r U g hg (K.X q) x) |
| 66 | (coefficient_closed r U K g hg q x hx) := by |
| 67 | apply Subtype.ext |
| 68 | exact ConcreteCategory.congr_hom (inclusion r U K g hg q (q+g) rfl) x |
| 69 | |
| 70 | theorem homology : |
| 71 | HomologicalComplex.homologyMap |
| 72 | (CechReindexTotal.totalIso r U K).hom (q+g) |
| 73 | (CechLargeTop.topTotalClass U (pulled r K) g hg q x hx) = |
| 74 | CechLargeTop.topTotalClass (r.obj ∘ U) K g hg q |
| 75 | (CechReindexTop.coefficient r U g hg (K.X q) x) |
| 76 | (coefficient_closed r U K g hg q x hx) := by |
| 77 | have h := Module.CochainClassNaturality.naturality_apply |
| 78 | (CechReindexTotal.totalIso r U K).hom (q+g) |
| 79 | (CechLargeTop.topTotalCycle U (pulled r K) g hg q x hx) |
| 80 | rw [cycle] at h |
| 81 | exact h.symm |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechReindexTopTotal |