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 | /-! # Right Differential -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TripleTotal.RightDifferential |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The three differential components in the bracketing that first |
| 10 | totals the inner two degrees. -/ |
| 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 | theorem right_d (r i j N : ℕ) (hN : r + i + j = N) : |
| 26 | Components.rightInjection T r i j N hN ≫ (Components.right T).d N (N + 1) = |
| 27 | ((T.d r (r + 1)).f i).f j ≫ Components.rightInjection T (r + 1) i j (N + 1) (by omega) + |
| 28 | ((-1 : ℤˣ)^r) • |
| 29 | (((T.X r).d i (i + 1)).f j ≫ Components.rightInjection T r (i + 1) j (N + 1) (by omega)) + |
| 30 | ((-1 : ℤˣ)^(r + i)) • |
| 31 | (((T.X r).X i).d j (j + 1) ≫ Components.rightInjection T r i (j + 1) (N + 1) (by omega)) := by |
| 32 | have hN' : r + (i + j) = N := by omega |
| 33 | cases hN' |
| 34 | rw [Components.rightInjection_eq T (r + 1) i j (i + j) (r + (i + j) + 1) rfl (by omega), |
| 35 | Components.rightInjection_eq T r (i + 1) j (i + j + 1) (r + (i + j) + 1) (by omega) (by omega), |
| 36 | Components.rightInjection_eq T r i (j + 1) (i + j + 1) (r + (i + j) + 1) (by omega) (by omega)] |
| 37 | change (HomologicalComplex₂.ιTotal (T.X r) (.up ℕ) i j (i + j) rfl ≫ |
| 38 | (Components.rightBicomplex T).ιTotal (.up ℕ) r (i + j) (r + (i + j)) rfl) ≫ _ = _ |
| 39 | erw [Category.assoc, AlgebraicGeometry.SheafCohomology.Cech.UpNatLowDegrees.HomologicalComplex₂.ιTotal_d_upNat, comp_add, Linear.comp_units_smul] |
| 40 | change (HomologicalComplex₂.ιTotal (T.X r) (.up ℕ) i j (i + j) rfl ≫ |
| 41 | (HomologicalComplex₂.total.map (T.d r (r + 1)) (.up ℕ)).f (i + j) ≫ _) + _ = _ |
| 42 | erw [← Category.assoc, HomologicalComplex₂.ιTotal_map] |
| 43 | erw [← Category.assoc, AlgebraicGeometry.SheafCohomology.Cech.UpNatLowDegrees.HomologicalComplex₂.ιTotal_d_upNat] |
| 44 | erw [add_comp, Linear.units_smul_comp, smul_add, smul_smul, ← pow_add, |
| 45 | Category.assoc, Category.assoc, Category.assoc] |
| 46 | symm |
| 47 | exact add_assoc _ _ _ |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TripleTotal.RightDifferential |