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.Components |
| 2 | |
| 3 | /-! # Differential -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TripleTotal.Differential |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Both bracketings retain the same three native differential |
| 10 | components, with signs 1, (-1)^r, and (-1)^(r+i). -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Preadditive |
| 13 | |
| 14 | universe u v |
| 15 | variable {A : Type u} [Category.{v} A] [Abelian A] [HasFiniteCoproducts A] |
| 16 | |
| 17 | local instance total (K : HomologicalComplex₂ A (.up ℕ) (.up ℕ)) : |
| 18 | K.HasTotal (.up ℕ) := AlgebraicGeometry.Comparison.Betti.TotalExists.hasTotal_of_finiteCoproducts K |
| 19 | local instance complexTotal (K : HomologicalComplex₂ (CochainComplex A ℕ) (.up ℕ) (.up ℕ)) : |
| 20 | K.HasTotal (.up ℕ) := AlgebraicGeometry.Comparison.Betti.TotalExists.hasTotal_of_finiteCoproducts K |
| 21 | |
| 22 | variable (T : HomologicalComplex₂ (CochainComplex A ℕ) (.up ℕ) (.up ℕ)) |
| 23 | open OAI.NumberTheory.PadicHodge.IntegralComparison.TripleTotal.Components |
| 24 | |
| 25 | omit [HasFiniteCoproducts A] in |
| 26 | theorem left_inner (r i j : ℕ) : |
| 27 | (T.ιTotal (.up ℕ) r i (r + i) rfl).f j ≫ |
| 28 | ((Components.leftBicomplex T).d (r + i) (r + i + 1)).f j = |
| 29 | ((T.d r (r + 1)).f i).f j ≫ |
| 30 | (T.ιTotal (.up ℕ) (r + 1) i (r + i + 1) (by change r + 1 + i = r + i + 1; omega)).f j + |
| 31 | ((-1 : ℤˣ)^r) • (((T.X r).d i (i + 1)).f j ≫ |
| 32 | (T.ιTotal (.up ℕ) r (i + 1) (r + i + 1) (by change r + (i + 1) = r + i + 1; omega)).f j) := by |
| 33 | have hd := congrArg (HomologicalComplex.eval A (.up ℕ) j).map ((AlgebraicGeometry.SheafCohomology.Cech.UpNatLowDegrees.HomologicalComplex₂.ιTotal_d_upNat T) r i) |
| 34 | simp only [Functor.map_comp, Functor.map_add, Functor.map_units_smul] at hd |
| 35 | exact hd |
| 36 | |
| 37 | theorem left_d (r i j N : ℕ) (hN : r + i + j = N) : |
| 38 | Components.leftInjection T r i j N hN ≫ (Components.left T).d N (N + 1) = |
| 39 | ((T.d r (r + 1)).f i).f j ≫ Components.leftInjection T (r + 1) i j (N + 1) (by omega) + |
| 40 | ((-1 : ℤˣ)^r) • |
| 41 | (((T.X r).d i (i + 1)).f j ≫ Components.leftInjection T r (i + 1) j (N + 1) (by omega)) + |
| 42 | ((-1 : ℤˣ)^(r + i)) • |
| 43 | (((T.X r).X i).d j (j + 1) ≫ Components.leftInjection T r i (j + 1) (N + 1) (by omega)) := by |
| 44 | subst N |
| 45 | rw [Components.leftInjection_eq T (r + 1) i (r + i + 1) j (r + i + j + 1) (by omega) (by omega), |
| 46 | Components.leftInjection_eq T r (i + 1) (r + i + 1) j (r + i + j + 1) (by omega) (by omega), |
| 47 | Components.leftInjection_eq T r i (r + i) (j + 1) (r + i + j + 1) rfl (by omega)] |
| 48 | change ((T.ιTotal (.up ℕ) r i (r + i) rfl).f j ≫ |
| 49 | (Components.leftBicomplex T).ιTotal (.up ℕ) (r + i) j (r + i + j) rfl) ≫ _ = _ |
| 50 | erw [Category.assoc, AlgebraicGeometry.SheafCohomology.Cech.UpNatLowDegrees.HomologicalComplex₂.ιTotal_d_upNat, comp_add, Linear.comp_units_smul, |
| 51 | ← Category.assoc, left_inner, add_comp, Linear.units_smul_comp] |
| 52 | have hv := (T.ιTotal (.up ℕ) r i (r + i) rfl).comm j (j + 1) |
| 53 | erw [← Category.assoc, hv] |
| 54 | dsimp only [Components.leftBicomplex] |
| 55 | erw [Category.assoc, Category.assoc, Category.assoc] |
| 56 | rfl |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TripleTotal.Differential |