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.RationalDeRham.TotalLeibniz |
| 2 | |
| 3 | /-! # Total Boundaries -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.RationalDeRham.TotalBoundaries.CechCup |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Products of closed total cochains are closed, and multiplying a |
| 10 | boundary by a closed cochain gives an explicit boundary. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable (R : Type u) [CommRing R] [Algebra ℚ R] |
| 17 | (X : Over (Spec (CommRingCat.of R))) |
| 18 | (N : SimplicialObject (FormalCoproduct.{u} X.left.Opens)) |
| 19 | |
| 20 | omit [Algebra ℚ R] in |
| 21 | theorem totalDegreeCast_d_target {a b c : ℕ} (h : b = c) (x : (TotalCup.Cech.total R X N).X a) : |
| 22 | TotalComponents.CechCup.totalDegreeCast R X N h ((TotalCup.Cech.total R X N).d a b x) = (TotalCup.Cech.total R X N).d a c x := by |
| 23 | subst c |
| 24 | rfl |
| 25 | |
| 26 | theorem totalDegreeCast_cupInto {p q a b : ℕ} (h : a = b) (hpq : p + q = a) |
| 27 | (x : (TotalCup.Cech.total R X N).X p) (y : (TotalCup.Cech.total R X N).X q) : |
| 28 | TotalComponents.CechCup.totalDegreeCast R X N h (TotalComponents.CechCup.cupInto R X N p q a hpq x y) = |
| 29 | TotalComponents.CechCup.cupInto R X N p q b (hpq.trans h) x y := by |
| 30 | subst b |
| 31 | rfl |
| 32 | |
| 33 | theorem totalCup_closed (p q : ℕ) (x : (TotalCup.Cech.total R X N).X p) (y : (TotalCup.Cech.total R X N).X q) |
| 34 | (hx : (TotalCup.Cech.total R X N).d p (p + 1) x = 0) (hy : (TotalCup.Cech.total R X N).d q (q + 1) y = 0) : |
| 35 | (TotalCup.Cech.total R X N).d (p + q) (p + q + 1) (TotalCup.Cech.totalCup R X N p q x y) = 0 := by |
| 36 | rw [TotalLeibniz.CechCup.differential_totalCup, hx, hy, map_zero, map_zero] |
| 37 | simp only [LinearMap.zero_apply, smul_zero, add_zero] |
| 38 | |
| 39 | theorem differential_totalCup_right_closed (p q k : ℕ) (hk : (p + 1) + q = k) |
| 40 | (x : (TotalCup.Cech.total R X N).X p) (y : (TotalCup.Cech.total R X N).X q) |
| 41 | (hy : (TotalCup.Cech.total R X N).d q (q + 1) y = 0) : |
| 42 | (TotalCup.Cech.total R X N).d (p + q) k (TotalCup.Cech.totalCup R X N p q x y) = |
| 43 | TotalComponents.CechCup.cupInto R X N (p + 1) q k hk ((TotalCup.Cech.total R X N).d p (p + 1) x) y := by |
| 44 | have h := TotalLeibniz.CechCup.differential_totalCup R X N p q x y |
| 45 | rw [hy, map_zero, smul_zero, add_zero] at h |
| 46 | have ht : p + q + 1 = k := by omega |
| 47 | exact (totalDegreeCast_d_target R X N ht _).symm.trans |
| 48 | ((congrArg (TotalComponents.CechCup.totalDegreeCast R X N ht) h).trans |
| 49 | (totalDegreeCast_cupInto R X N ht (by omega) _ _)) |
| 50 | |
| 51 | theorem differential_totalCup_left_closed (p q k : ℕ) (hk : p + (q + 1) = k) |
| 52 | (x : (TotalCup.Cech.total R X N).X p) (y : (TotalCup.Cech.total R X N).X q) |
| 53 | (hx : (TotalCup.Cech.total R X N).d p (p + 1) x = 0) : |
| 54 | (TotalCup.Cech.total R X N).d (p + q) k ((-1 : ℤ) ^ p • TotalCup.Cech.totalCup R X N p q x y) = |
| 55 | TotalComponents.CechCup.cupInto R X N p (q + 1) k hk x ((TotalCup.Cech.total R X N).d q (q + 1) y) := by |
| 56 | have h := TotalLeibniz.CechCup.differential_totalCup R X N p q x y |
| 57 | rw [hx, map_zero, LinearMap.zero_apply, zero_add] at h |
| 58 | have hs : (TotalCup.Cech.total R X N).d (p + q) (p + q + 1) ((-1 : ℤ) ^ p • TotalCup.Cech.totalCup R X N p q x y) = |
| 59 | TotalComponents.CechCup.cupInto R X N p (q + 1) (p + q + 1) (by omega) x ((TotalCup.Cech.total R X N).d q (q + 1) y) := by |
| 60 | rw [map_zsmul, h, smul_smul, ← mul_pow] |
| 61 | simp only [neg_mul_neg, one_mul, one_pow, one_smul] |
| 62 | have ht : p + q + 1 = k := by omega |
| 63 | exact (totalDegreeCast_d_target R X N ht _).symm.trans |
| 64 | ((congrArg (TotalComponents.CechCup.totalDegreeCast R X N ht) hs).trans |
| 65 | (totalDegreeCast_cupInto R X N ht (by omega) _ _)) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.IntegralComparison.RationalDeRham.TotalBoundaries.CechCup |