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.DoubleComplexSigns |
| 2 | |
| 3 | /-! # Double Complex Relative Boundary -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicTopology.DeRham.Comparison.DoubleComplexRelativeBoundary.DoubleComplex |
| 6 | |
| 7 | /-! |
| 8 | # Relative cycles and subtraction of relative boundaries |
| 9 | |
| 10 | These are elementwise identities for actual module cochain maps. They are |
| 11 | the elementary algebra behind the comparison of total complexes, and apply |
| 12 | without any exactness or quasi-isomorphism hypothesis. |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory |
| 16 | |
| 17 | universe u v w |
| 18 | |
| 19 | /-- Every sign occurring in the total differential acts as an involution. -/ |
| 20 | theorem sign_zsmul_involutive {V : Type w} [AddCommGroup V] (p : ℕ) : |
| 21 | Function.Involutive (fun x : V => ((-1 : ℤ) ^ p) • x) := by |
| 22 | intro x |
| 23 | change ((-1 : ℤ) ^ p) • (((-1 : ℤ) ^ p) • x) = x |
| 24 | rw [smul_smul, ← mul_pow] |
| 25 | simp |
| 26 | |
| 27 | theorem sign_zsmul_eq_zero_iff {V : Type w} [AddCommGroup V] (p : ℕ) (x : V) : |
| 28 | ((-1 : ℤ) ^ p) • x = 0 ↔ x = 0 := by |
| 29 | constructor |
| 30 | · intro hx |
| 31 | have h := congrArg (fun y : V => ((-1 : ℤ) ^ p) • y) hx |
| 32 | simpa only [sign_zsmul_involutive p x, smul_zero] using h |
| 33 | · rintro rfl |
| 34 | exact smul_zero _ |
| 35 | |
| 36 | variable {R : Type u} [Ring R] |
| 37 | {C D : CochainComplex (ModuleCat.{v} R) ℕ} (f : C ⟶ D) |
| 38 | |
| 39 | /-- Subtracting a relative boundary preserves both equations of a relative |
| 40 | cycle. The incoming predecessor is allowed to be zero at the endpoint. -/ |
| 41 | theorem relative_cycle_sub_boundary (n : ℕ) |
| 42 | (x : C.X (n + 1)) (y : D.X n) (a : C.X n) (b : D.X n.pred) |
| 43 | (hx : C.d (n + 1) (n + 2) x = 0) |
| 44 | (hxy : f.f (n + 1) x = D.d n (n + 1) y) : |
| 45 | C.d (n + 1) (n + 2) (x - C.d n (n + 1) a) = 0 ∧ |
| 46 | f.f (n + 1) (x - C.d n (n + 1) a) = |
| 47 | D.d n (n + 1) (y - f.f n a + D.d n.pred n b) := by |
| 48 | have hC := ConcreteCategory.congr_hom (C.d_comp_d n (n + 1) (n + 2)) a |
| 49 | have hD := ConcreteCategory.congr_hom (D.d_comp_d n.pred n (n + 1)) b |
| 50 | have hf := ConcreteCategory.congr_hom (f.comm n (n + 1)) a |
| 51 | change C.d (n + 1) (n + 2) (C.d n (n + 1) a) = 0 at hC |
| 52 | change D.d n (n + 1) (D.d n.pred n b) = 0 at hD |
| 53 | change D.d n (n + 1) (f.f n a) = f.f (n + 1) (C.d n (n + 1) a) at hf |
| 54 | constructor |
| 55 | · rw [map_sub, hx, hC, sub_zero] |
| 56 | · rw [map_sub, map_add, map_sub, hxy, hf, hD, add_zero] |
| 57 | |
| 58 | /-- Primitives for the reduced relative cycle combine with the subtracted |
| 59 | primitive to give a primitive for the original pair. -/ |
| 60 | theorem relative_boundary_add (n : ℕ) |
| 61 | (x : C.X (n + 1)) (y : D.X n) |
| 62 | (a a' : C.X n) (b b' : D.X n.pred) |
| 63 | (hx : x - C.d n (n + 1) a = C.d n (n + 1) a') |
| 64 | (hy : y - f.f n a + D.d n.pred n b = f.f n a' - D.d n.pred n b') : |
| 65 | x = C.d n (n + 1) (a' + a) ∧ |
| 66 | y = f.f n (a' + a) - D.d n.pred n (b' + b) := by |
| 67 | constructor |
| 68 | · rw [map_add, ← hx, sub_add_cancel] |
| 69 | · calc |
| 70 | y = (y - f.f n a + D.d n.pred n b) + f.f n a - D.d n.pred n b := by abel |
| 71 | _ = (f.f n a' - D.d n.pred n b') + f.f n a - D.d n.pred n b := by rw [hy] |
| 72 | _ = f.f n (a' + a) - D.d n.pred n (b' + b) := by |
| 73 | rw [map_add, map_add] |
| 74 | abel |
| 75 | |
| 76 | end OAI.AlgebraicTopology.DeRham.Comparison.DoubleComplexRelativeBoundary.DoubleComplex |