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.TripleTotal.Differential |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TripleTotal.RightDifferential |
| 3 | |
| 4 | /-! # Association -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TripleTotal.Association |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Canonical regrouping of a first-quadrant triple total. Its map |
| 11 | preserves each actual triple injection, and the three signed |
| 12 | differentials coincide term by term. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Preadditive |
| 15 | |
| 16 | universe u v |
| 17 | variable {A : Type u} [Category.{v} A] [Abelian A] [HasFiniteCoproducts A] |
| 18 | |
| 19 | local instance total (K : HomologicalComplex₂ A (.up ℕ) (.up ℕ)) : |
| 20 | K.HasTotal (.up ℕ) := AlgebraicGeometry.Comparison.Betti.TotalExists.hasTotal_of_finiteCoproducts K |
| 21 | local instance complexTotal (K : HomologicalComplex₂ (CochainComplex A ℕ) (.up ℕ) (.up ℕ)) : |
| 22 | K.HasTotal (.up ℕ) := AlgebraicGeometry.Comparison.Betti.TotalExists.hasTotal_of_finiteCoproducts K |
| 23 | |
| 24 | variable (T : HomologicalComplex₂ (CochainComplex A ℕ) (.up ℕ) (.up ℕ)) |
| 25 | open OAI.NumberTheory.PadicHodge.IntegralComparison.TripleTotal.Components |
| 26 | attribute [local irreducible] Components.leftInjection Components.rightInjection |
| 27 | |
| 28 | theorem differential (N : ℕ) : |
| 29 | Components.component T N ≫ (Components.left T).d N (N + 1) = (Components.right T).d N (N + 1) ≫ Components.component T (N + 1) := by |
| 30 | apply Components.right_hom_ext T N |
| 31 | intro r i j hN |
| 32 | erw [← Category.assoc, Components.rightInjection_component, Differential.left_d, |
| 33 | ← Category.assoc, RightDifferential.right_d, add_comp, add_comp, |
| 34 | Linear.units_smul_comp, Linear.units_smul_comp, Category.assoc, |
| 35 | Components.rightInjection_component, Category.assoc, Components.rightInjection_component, |
| 36 | Category.assoc, Components.rightInjection_component] |
| 37 | |
| 38 | def map : Components.right T ⟶ Components.left T where |
| 39 | f := Components.component T |
| 40 | comm' N M h := by |
| 41 | obtain rfl : M = N + 1 := h.symm |
| 42 | exact differential T N |
| 43 | |
| 44 | @[reassoc] |
| 45 | theorem injection (r i j N : ℕ) (h : r + i + j = N) : |
| 46 | Components.rightInjection T r i j N h ≫ (map T).f N = Components.leftInjection T r i j N h := |
| 47 | Components.rightInjection_component T r i j N h |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TripleTotal.Association |