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.Single.ColumnTopEdgeDegree |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.SingleTopEdge |
| 3 | |
| 4 | /-! # Single Top Edge Degree -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.SingleTopEdgeDegree |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Functorial single-degree coordinates followed by a bicomplex map |
| 11 | are the original top-row edge with the sign in every bidegree. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex |
| 13 | |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | universe u v w z |
| 19 | variable {C : Type u} [Category.{v} C] [Abelian C] |
| 20 | {R : Type w} [CommRing R] |
| 21 | (F : C ⥤ CochainComplex (ModuleCat.{z} R) ℕ) [F.Additive] |
| 22 | (M : C) (c n : ℕ) |
| 23 | |
| 24 | theorem inverse_coordinate (x : (F.obj M).homology n) : |
| 25 | (SingleTotal.homologyIso F M c n).inv x = |
| 26 | ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) c n • |
| 27 | Single.ColumnTopEdgeDegree.Row.mapTo (SingleTotal.bicomplex F M c) c |
| 28 | (SingleTopEdge.outgoing F M c) n (n+c) (Nat.add_comm c n) |
| 29 | (homologyMap (SingleTotal.rowIso F M c).inv n x) := by |
| 30 | change (Single.ColumnCycleCoordinates.homologyIso |
| 31 | (SingleTotal.bicomplex F M c) c |
| 32 | (SingleTotal.off_degree F M c) n).inv |
| 33 | (homologyMap (SingleTotal.rowIso F M c).inv n x) = _ |
| 34 | exact Single.ColumnTopEdgeDegree.inv_apply (SingleTotal.bicomplex F M c) c |
| 35 | (SingleTotal.off_degree F M c) (SingleTopEdge.outgoing F M c) n _ |
| 36 | |
| 37 | variable (L : HomologicalComplex₂ (ModuleCat.{z} R) (.up ℕ) (.up ℕ)) |
| 38 | (hL : ∀ q, (L.d c (c+1)).f q = 0) |
| 39 | (a : SingleTotal.bicomplex F M c ⟶ L) |
| 40 | |
| 41 | theorem map_apply (x : (F.obj M).homology n) : |
| 42 | homologyMap (HomologicalComplex₂.total.map a (.up ℕ)) (n+c) |
| 43 | ((SingleTotal.homologyIso F M c n).inv x) = |
| 44 | ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) c n • |
| 45 | Single.ColumnTopEdgeDegree.Row.mapTo L c hL n (n+c) (Nat.add_comm c n) |
| 46 | (homologyMap ((SingleTotal.rowIso F M c).inv ≫ a.f c) n x) := by |
| 47 | rw [inverse_coordinate F M c n x] |
| 48 | simp only [Units.smul_def, map_zsmul] |
| 49 | rw [Single.ColumnTopEdgeDegree.Row.naturality (SingleTotal.bicomplex F M c) c |
| 50 | (SingleTopEdge.outgoing F M c) L hL a n (n+c) (Nat.add_comm c n)] |
| 51 | rw [homologyMap_comp] |
| 52 | rfl |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.SingleTopEdgeDegree |