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.DoubleComplexProjections |
| 2 | import OAI.AlgebraicTopology.DeRham.Comparison.DoubleComplexRows |
| 3 | |
| 4 | /-! # Double Complex Support -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicTopology.DeRham.Comparison.DoubleComplexSupport.DoubleComplex |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Finite horizontal support in an actual total complex |
| 12 | |
| 13 | These lemmas concern mathlib's coproduct totalization, with horizontal degree |
| 14 | first. They will be used to eliminate positive horizontal components by |
| 15 | subtracting genuine total boundaries. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory |
| 19 | |
| 20 | universe u v |
| 21 | |
| 22 | variable {R : Type u} [Ring R] |
| 23 | (K : HomologicalComplex₂ (ModuleCat.{v} R) (ComplexShape.up ℕ) (ComplexShape.up ℕ)) |
| 24 | |
| 25 | /-- An element of total degree `n` has no component above horizontal degree `m`. -/ |
| 26 | def SupportedTo (n m : ℕ) (x : (K.total (ComplexShape.up ℕ)).X n) : Prop := |
| 27 | ∀ p q (h : p + q = n), m < p → DoubleComplexProjections.DoubleComplex.πTotal K p q n h x = 0 |
| 28 | |
| 29 | theorem supportedTo_degree (n : ℕ) (x : (K.total (ComplexShape.up ℕ)).X n) : |
| 30 | SupportedTo K n n x := by |
| 31 | intro p q h hp |
| 32 | omega |
| 33 | |
| 34 | theorem supportedTo_zero (n m : ℕ) : |
| 35 | SupportedTo K n m 0 := by |
| 36 | intro p q h _ |
| 37 | exact map_zero _ |
| 38 | |
| 39 | theorem SupportedTo.mono {n m k : ℕ} {x : (K.total (ComplexShape.up ℕ)).X n} |
| 40 | (hx : SupportedTo K n m x) (hmk : m ≤ k) : SupportedTo K n k x := by |
| 41 | intro p q h hp |
| 42 | exact hx p q h (by omega) |
| 43 | |
| 44 | theorem SupportedTo.add {n m : ℕ} {x y : (K.total (ComplexShape.up ℕ)).X n} |
| 45 | (hx : SupportedTo K n m x) (hy : SupportedTo K n m y) : |
| 46 | SupportedTo K n m (x + y) := by |
| 47 | intro p q h hp |
| 48 | rw [map_add, hx p q h hp, hy p q h hp, zero_add] |
| 49 | |
| 50 | theorem SupportedTo.sub {n m : ℕ} {x y : (K.total (ComplexShape.up ℕ)).X n} |
| 51 | (hx : SupportedTo K n m x) (hy : SupportedTo K n m y) : |
| 52 | SupportedTo K n m (x - y) := by |
| 53 | intro p q h hp |
| 54 | rw [map_sub, hx p q h hp, hy p q h hp, sub_zero] |
| 55 | |
| 56 | theorem project_iota_self (p q n : ℕ) (h : p + q = n) (x : (K.X p).X q) : |
| 57 | DoubleComplexProjections.DoubleComplex.πTotal K p q n h (K.ιTotal (ComplexShape.up ℕ) p q n h x) = x := |
| 58 | ConcreteCategory.congr_hom (DoubleComplexProjections.DoubleComplex.iota_πTotal_self K p q n h) x |
| 59 | |
| 60 | theorem project_iota_ne (a b p q n : ℕ) (hab : a + b = n) (hpq : p + q = n) |
| 61 | (hne : (a, b) ≠ (p, q)) (x : (K.X a).X b) : |
| 62 | DoubleComplexProjections.DoubleComplex.πTotal K p q n hpq (K.ιTotal (ComplexShape.up ℕ) a b n hab x) = 0 := |
| 63 | ConcreteCategory.congr_hom (DoubleComplexProjections.DoubleComplex.iota_πTotal_ne K a b p q n hab hpq hne) x |
| 64 | |
| 65 | theorem supportedTo_iota (p q n : ℕ) (h : p + q = n) (x : (K.X p).X q) : |
| 66 | SupportedTo K n p (K.ιTotal (ComplexShape.up ℕ) p q n h x) := by |
| 67 | intro a b hab ha |
| 68 | exact project_iota_ne K p q a b n h hab (by |
| 69 | intro heq |
| 70 | have := Prod.mk.inj heq |
| 71 | omega) x |
| 72 | |
| 73 | /-- If only the zeroth column is present, the element is its zeroth-column inclusion. -/ |
| 74 | theorem SupportedTo.eq_iota_zero {n : ℕ} {x : (K.total (ComplexShape.up ℕ)).X n} |
| 75 | (hx : SupportedTo K n 0 x) : |
| 76 | x = K.ιTotal (ComplexShape.up ℕ) 0 n n (by simp) |
| 77 | (DoubleComplexProjections.DoubleComplex.πTotal K 0 n n (by simp) x) := by |
| 78 | apply DoubleComplexProjections.DoubleComplex.total_element_ext K n |
| 79 | intro p q hpq |
| 80 | by_cases hp : p = 0 |
| 81 | · subst p |
| 82 | have hq : q = n := by omega |
| 83 | subst q |
| 84 | exact (project_iota_self K 0 n n (by simp) _).symm |
| 85 | · rw [hx p q hpq (Nat.pos_of_ne_zero hp)] |
| 86 | exact (project_iota_ne K 0 n p q n (by simp) hpq (by |
| 87 | intro heq |
| 88 | exact hp (Prod.mk.inj heq).1.symm) _).symm |
| 89 | |
| 90 | /-- Subtracting a boundary does not change the next differential. -/ |
| 91 | theorem differential_sub_boundary (n : ℕ) |
| 92 | (x : (K.total (ComplexShape.up ℕ)).X (n + 1)) |
| 93 | (y : (K.total (ComplexShape.up ℕ)).X n) : |
| 94 | (K.total (ComplexShape.up ℕ)).d (n + 1) (n + 2) |
| 95 | (x - (K.total (ComplexShape.up ℕ)).d n (n + 1) y) = |
| 96 | (K.total (ComplexShape.up ℕ)).d (n + 1) (n + 2) x := by |
| 97 | rw [map_sub] |
| 98 | have hz := ConcreteCategory.congr_hom |
| 99 | ((K.total (ComplexShape.up ℕ)).d_comp_d n (n + 1) (n + 2)) y |
| 100 | change (K.total (ComplexShape.up ℕ)).d (n + 1) (n + 2) |
| 101 | ((K.total (ComplexShape.up ℕ)).d n (n + 1) y) = 0 at hz |
| 102 | rw [hz, sub_zero] |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.AlgebraicTopology.DeRham.Comparison.DoubleComplexSupport.DoubleComplex |