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.CechTopClass |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.SingleTopEdgeDegree |
| 3 | import Mathlib.CategoryTheory.Abelian.FunctorCategory |
| 4 | |
| 5 | /-! # Cech Single Top Coordinates -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechSingleTopCoordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual augmented top total class has the original signed |
| 12 | single-degree coordinate, with its total-degree transport explicit. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite _root_.HomologicalComplex |
| 14 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechTopClass |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u v w |
| 18 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 19 | {ι : Type u} [LinearOrder ι] [Fintype ι] (U : ι → C) |
| 20 | {R : Type v} [CommRing R] [HasProducts.{u} (ModuleCat.{w} R)] |
| 21 | |
| 22 | theorem topTotalClass_transport (K : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{w} R) ℕ) |
| 23 | (m : ℕ) (hm : Fintype.card ι = m) (c : ℕ) |
| 24 | (outgoing : ∀ q, ((CechFunctor.bicomplex U K).d c (c+1)).f q = 0) |
| 25 | (d : ℕ) (hd : c+m=d) (z : (K.X c).obj (op (CechCoordinates.topObject U m hm))) |
| 26 | (hz : (K.d c (c+1)).app (op (CechCoordinates.topObject U m hm)) z = 0) : |
| 27 | (eqToHom (congrArg (fun j => ((CechFunctor.bicomplex U K).total (.up ℕ)).homology j) hd)) |
| 28 | (CechLargeTop.topTotalClass U K m hm c z hz) = |
| 29 | Single.ColumnTopEdgeDegree.Row.mapTo (CechFunctor.bicomplex U K) c outgoing m d hd |
| 30 | (CechTopClass.topClass U (K.X c) m hm z) := by |
| 31 | cases hd |
| 32 | exact CechTopClass.topTotalClass_edge U m hm K c outgoing z hz |
| 33 | |
| 34 | abbrev coefficientSingle (N : Cᵒᵖ ⥤ ModuleCat.{w} R) (c : ℕ) := |
| 35 | (single (Cᵒᵖ ⥤ ModuleCat.{w} R) (.up ℕ) c).obj N |
| 36 | |
| 37 | variable (N : Cᵒᵖ ⥤ ModuleCat.{w} R) (m : ℕ) (hm : Fintype.card ι = m) (c : ℕ) |
| 38 | |
| 39 | abbrev singleValue (z : N.obj (op (CechCoordinates.topObject U m hm))) := |
| 40 | (singleObjXSelf (.up ℕ) c N).inv.app (op (CechCoordinates.topObject U m hm)) z |
| 41 | |
| 42 | omit [HasProducts (ModuleCat R)] in |
| 43 | theorem singleValue_closed (z : N.obj (op (CechCoordinates.topObject U m hm))) : |
| 44 | ((coefficientSingle N c).d c (c+1)).app (op (CechCoordinates.topObject U m hm)) |
| 45 | (singleValue U N m hm c z) = 0 := by |
| 46 | rw [single_obj_d] |
| 47 | rfl |
| 48 | |
| 49 | theorem topTotalClass_coordinates (z : N.obj (op (CechCoordinates.topObject U m hm))) |
| 50 | (hz : ((coefficientSingle N c).d c (c+1)).app (op (CechCoordinates.topObject U m hm)) |
| 51 | (singleValue U N m hm c z) = 0) : |
| 52 | (Functor.SingleTotal.homologyIso (CechFunctor.functor U) N c m).hom |
| 53 | ((eqToHom (congrArg |
| 54 | (fun j => ((CechFunctor.bicomplex U (coefficientSingle N c)).total (.up ℕ)).homology j) |
| 55 | (Nat.add_comm c m))) |
| 56 | (CechLargeTop.topTotalClass U (coefficientSingle N c) |
| 57 | m hm c (singleValue U N m hm c z) hz)) = |
| 58 | ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) c m • CechTopClass.topClass U N m hm z := by |
| 59 | let outgoing := Functor.SingleTopEdge.outgoing (CechFunctor.functor U) N c |
| 60 | have hrow : homologyMap (Functor.SingleTotal.rowIso (CechFunctor.functor U) N c).hom m |
| 61 | (CechTopClass.topClass U ((coefficientSingle N c).X c) m hm (singleValue U N m hm c z)) = |
| 62 | CechTopClass.topClass U N m hm z := by |
| 63 | change homologyMap (CechFunctor.complexMap U (singleObjXSelf (.up ℕ) c N).hom) m |
| 64 | (CechTopClass.topClass U ((coefficientSingle N c).X c) m hm (singleValue U N m hm c z)) = _ |
| 65 | rw [CechTopClass.topClass_naturality] |
| 66 | apply congrArg (CechTopClass.topClass U N m hm) |
| 67 | exact ConcreteCategory.congr_hom |
| 68 | (congrArg (fun a : N ⟶ N => a.app (op (CechCoordinates.topObject U m hm))) |
| 69 | (singleObjXSelf (.up ℕ) c N).inv_hom_id) z |
| 70 | erw [topTotalClass_transport U (coefficientSingle N c) m hm c outgoing |
| 71 | (m+c) (Nat.add_comm c m) (singleValue U N m hm c z) hz] |
| 72 | change homologyMap (Functor.SingleTotal.rowIso (CechFunctor.functor U) N c).hom m |
| 73 | ((Single.ColumnCycleCoordinates.homologyIso |
| 74 | (Functor.SingleTotal.bicomplex (CechFunctor.functor U) N c) c |
| 75 | (Functor.SingleTotal.off_degree (CechFunctor.functor U) N c) m).hom _) = _ |
| 76 | erw [Single.ColumnTopEdgeDegree.map_apply |
| 77 | (Functor.SingleTotal.bicomplex (CechFunctor.functor U) N c) c |
| 78 | (Functor.SingleTotal.off_degree (CechFunctor.functor U) N c) outgoing m] |
| 79 | simpa only [Units.smul_def, map_zsmul] using congrArg |
| 80 | (fun x => ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) c m • x) hrow |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechSingleTopCoordinates |