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.AlgebraicTopology.DeRham.Comparison.DoubleComplexSupport |
| 2 | import OAI.AlgebraicTopology.DeRham.Comparison.DoubleComplexDifferential |
| 3 | |
| 4 | /-! # Double Complex Lower Support -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicTopology.DeRham.Comparison.DoubleComplexLowerSupport.DoubleComplex |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Lower horizontal support in an actual total complex |
| 12 | |
| 13 | These statements use the native coproduct totalization. A lower support bound |
| 14 | records the vanishing of all columns to its left. At the first possible column, |
| 15 | the horizontal term of the total differential vanishes, leaving the signed |
| 16 | vertical differential. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory |
| 20 | |
| 21 | universe u v |
| 22 | |
| 23 | variable {R : Type u} [Ring R] |
| 24 | (K : HomologicalComplex₂ (ModuleCat.{v} R) (ComplexShape.up ℕ) (ComplexShape.up ℕ)) |
| 25 | |
| 26 | /-- An element of total degree `n` has no component below horizontal degree `m`. -/ |
| 27 | def SupportedFrom (n m : ℕ) (x : (K.total (ComplexShape.up ℕ)).X n) : Prop := |
| 28 | ∀ p q (h : p + q = n), p < m → DoubleComplexProjections.DoubleComplex.πTotal K p q n h x = 0 |
| 29 | |
| 30 | theorem supportedFrom_zero (n m : ℕ) : SupportedFrom K n m 0 := by |
| 31 | intro p q h _ |
| 32 | exact map_zero _ |
| 33 | |
| 34 | /-- The zero lower bound imposes no restriction. -/ |
| 35 | theorem supportedFrom_zero_degree (n : ℕ) (x : (K.total (ComplexShape.up ℕ)).X n) : |
| 36 | SupportedFrom K n 0 x := by |
| 37 | intro p q h hp |
| 38 | omega |
| 39 | |
| 40 | theorem SupportedFrom.mono {n m k : ℕ} {x : (K.total (ComplexShape.up ℕ)).X n} |
| 41 | (hx : SupportedFrom K n m x) (hkm : k ≤ m) : SupportedFrom K n k x := by |
| 42 | intro p q h hp |
| 43 | exact hx p q h (by omega) |
| 44 | |
| 45 | theorem SupportedFrom.add {n m : ℕ} {x y : (K.total (ComplexShape.up ℕ)).X n} |
| 46 | (hx : SupportedFrom K n m x) (hy : SupportedFrom K n m y) : |
| 47 | SupportedFrom K n m (x + y) := by |
| 48 | intro p q h hp |
| 49 | rw [map_add, hx p q h hp, hy p q h hp, zero_add] |
| 50 | |
| 51 | theorem SupportedFrom.sub {n m : ℕ} {x y : (K.total (ComplexShape.up ℕ)).X n} |
| 52 | (hx : SupportedFrom K n m x) (hy : SupportedFrom K n m y) : |
| 53 | SupportedFrom K n m (x - y) := by |
| 54 | intro p q h hp |
| 55 | rw [map_sub, hx p q h hp, hy p q h hp, sub_zero] |
| 56 | |
| 57 | /-- In the first quadrant, no column above the total degree can occur. -/ |
| 58 | theorem SupportedFrom.eq_zero {n : ℕ} {x : (K.total (ComplexShape.up ℕ)).X n} |
| 59 | (hx : SupportedFrom K n (n + 1) x) : x = 0 := by |
| 60 | apply DoubleComplexProjections.DoubleComplex.total_element_ext K n |
| 61 | intro p q h |
| 62 | rw [hx p q h (by omega), map_zero] |
| 63 | |
| 64 | theorem supportedFrom_iota (p q n : ℕ) (h : p + q = n) (x : (K.X p).X q) : |
| 65 | SupportedFrom K n p (K.ιTotal (ComplexShape.up ℕ) p q n h x) := by |
| 66 | intro a b hab ha |
| 67 | exact DoubleComplexSupport.DoubleComplex.project_iota_ne K p q a b n h hab (by |
| 68 | intro heq |
| 69 | have := (Prod.mk.inj heq).1 |
| 70 | omega) x |
| 71 | |
| 72 | /-- A total differential never lowers horizontal degree. -/ |
| 73 | theorem supportedFrom_d_iota (p q n : ℕ) (h : p + q = n) (x : (K.X p).X q) : |
| 74 | SupportedFrom K (n + 1) p |
| 75 | ((K.total (ComplexShape.up ℕ)).d n (n + 1) |
| 76 | (K.ιTotal (ComplexShape.up ℕ) p q n h x)) := by |
| 77 | intro a b hab ha |
| 78 | exact DoubleComplexDifferential.DoubleComplex.project_d_iota_ne K p q a b n h hab (by |
| 79 | intro heq |
| 80 | have := (Prod.mk.inj heq).1 |
| 81 | omega) (by |
| 82 | intro heq |
| 83 | have := (Prod.mk.inj heq).1 |
| 84 | omega) x |
| 85 | |
| 86 | /-- Vanishing of the first possible component raises the lower support bound. -/ |
| 87 | theorem SupportedFrom.succ {n m : ℕ} {x : (K.total (ComplexShape.up ℕ)).X n} |
| 88 | (hx : SupportedFrom K n m x) (q : ℕ) (h : m + q = n) |
| 89 | (hz : DoubleComplexProjections.DoubleComplex.πTotal K m q n h x = 0) : SupportedFrom K n (m + 1) x := by |
| 90 | intro p r hpr hp |
| 91 | by_cases hpm : p = m |
| 92 | · subst p |
| 93 | have hr : r = q := by omega |
| 94 | subst r |
| 95 | exact hz |
| 96 | · exact hx p r hpr (by omega) |
| 97 | |
| 98 | /-- At the lowest supported column, only the signed vertical term survives. -/ |
| 99 | theorem project_d_of_supportedFrom (p q n : ℕ) (h : p + q = n) |
| 100 | (x : (K.total (ComplexShape.up ℕ)).X n) (hx : SupportedFrom K n p x) : |
| 101 | DoubleComplexProjections.DoubleComplex.πTotal K p (q + 1) (n + 1) (by omega) |
| 102 | ((K.total (ComplexShape.up ℕ)).d n (n + 1) x) = |
| 103 | ((-1 : ℤ) ^ p) • (K.X p).d q (q + 1) (DoubleComplexProjections.DoubleComplex.πTotal K p q n h x) := by |
| 104 | cases p with |
| 105 | | zero => |
| 106 | simpa only [pow_zero, one_smul] using DoubleComplexDifferential.DoubleComplex.project_d_zero_succ K q n (by omega) x |
| 107 | | succ p => |
| 108 | rw [DoubleComplexDifferential.DoubleComplex.project_d_succ_succ K p q n (by omega) x, |
| 109 | hx p (q + 1) (by omega) (by omega), map_zero, zero_add] |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.AlgebraicTopology.DeRham.Comparison.DoubleComplexLowerSupport.DoubleComplex |