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.CechScalarTop |
| 3 | |
| 4 | /-! # Weighted Iso -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.WeightedIso |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An isomorphism carrying the literal weighted top coefficient to a |
| 11 | fraction carries its supported class back to the same weighted residue. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 14 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechScalarTop.Large |
| 15 | |
| 16 | universe u v w |
| 17 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 18 | {ι : Type u} [LinearOrder ι] [Fintype ι] (U : ι → C) |
| 19 | {R : Type v} [CommRing R] [HasProducts.{u} (ModuleCat.{w} R)] |
| 20 | {K L : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{w} R) ℕ} |
| 21 | (e : K ≅ L) (g : ℕ) (hg : Fintype.card ι = g) (q : ℕ) |
| 22 | (x : (K.X q).obj (op (AugmentedOrdered.CechCoordinates.topObject U g hg))) |
| 23 | (hx : (K.d q (q + 1)).app (op (AugmentedOrdered.CechCoordinates.topObject U g hg)) x = 0) |
| 24 | (r : R) (y : (L.X q).obj (op (AugmentedOrdered.CechCoordinates.topObject U g hg))) |
| 25 | (hy : (L.d q (q + 1)).app (op (AugmentedOrdered.CechCoordinates.topObject U g hg)) y = 0) |
| 26 | (hxy : (e.hom.f q).app (op (AugmentedOrdered.CechCoordinates.topObject U g hg)) (r • x) = y) |
| 27 | |
| 28 | include hxy in |
| 29 | omit [HasProducts (ModuleCat R)] in |
| 30 | theorem inverse_coefficient : |
| 31 | (e.inv.f q).app (op (AugmentedOrdered.CechCoordinates.topObject U g hg)) y = r • x := by |
| 32 | rw [← hxy] |
| 33 | exact ConcreteCategory.congr_hom |
| 34 | (NatTrans.congr_app (congrArg (fun a => a.f q) e.hom_inv_id) |
| 35 | (op (AugmentedOrdered.CechCoordinates.topObject U g hg))) (r • x) |
| 36 | |
| 37 | include hxy in |
| 38 | theorem inverse_class : |
| 39 | HomologicalComplex.homologyMap |
| 40 | (AugmentedOrdered.CechCoefficientTop.totalMap U e.inv) (q + g) |
| 41 | (AugmentedOrdered.CechLargeTop.topTotalClass U L g hg q y hy) = |
| 42 | r • AugmentedOrdered.CechLargeTop.topTotalClass U K g hg q x hx := by |
| 43 | have h := AugmentedOrdered.CechCoefficientTop.topTotalClass_naturality |
| 44 | U e.inv g hg q y hy |
| 45 | have hv := inverse_coefficient U e g hg q x r y hxy |
| 46 | have hr : (K.d q (q + 1)).app (op (AugmentedOrdered.CechCoordinates.topObject U g hg)) (r • x) = 0 := by |
| 47 | rw [map_smul, hx, smul_zero] |
| 48 | refine h.trans ?_ |
| 49 | simpa only [hv] using AugmentedOrdered.CechScalarTop.Large.topTotalClass_smul U K g hg q x hx r hr |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.WeightedIso |