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 Mathlib.Algebra.Homology.HomologicalBicomplex |
| 2 | import Mathlib.Algebra.Homology.ShortComplex.ModuleCat |
| 3 | import Mathlib.Algebra.Homology.QuasiIso |
| 4 | |
| 5 | /-! # Double Complex Rows -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicTopology.DeRham.Comparison.DoubleComplexRows.DoubleComplex |
| 8 | |
| 9 | /-! Concrete row exactness and augmentation lemmas for genuine first-quadrant bicomplexes. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | variable {R : Type u} [Ring R] |
| 16 | (K : HomologicalComplex₂ (ModuleCat.{v} R) (ComplexShape.up ℕ) (ComplexShape.up ℕ)) |
| 17 | |
| 18 | /-- Exactness of a positive horizontal row term is the usual kernel/image condition. -/ |
| 19 | theorem row_exact_iff (p q : ℕ) : |
| 20 | (K.flip.X q).ExactAt (p + 1) ↔ |
| 21 | Function.Exact ((K.d p (p + 1)).f q) ((K.d (p + 1) (p + 2)).f q) := by |
| 22 | rw [HomologicalComplex.exactAt_iff' _ p (p + 1) (p + 2) (by simp) (by simp)] |
| 23 | exact ShortComplex.ShortExact.moduleCat_exact_iff_function_exact _ |
| 24 | |
| 25 | /-- A horizontal cycle in a positive Čech degree has a predecessor in an exact row. -/ |
| 26 | theorem row_primitive (p q : ℕ) (hexact : (K.flip.X q).ExactAt (p + 1)) |
| 27 | (x : (K.X (p + 1)).X q) (hx : ((K.d (p + 1) (p + 2)).f q) x = 0) : |
| 28 | ∃ y : (K.X p).X q, ((K.d p (p + 1)).f q) y = x := |
| 29 | ((row_exact_iff K p q).mp hexact x).mp hx |
| 30 | |
| 31 | variable {K} {A : CochainComplex (ModuleCat.{v} R) ℕ} (ε : A ⟶ K.X 0) |
| 32 | |
| 33 | /-- An injective augmentation reflects closedness using its actual cochain-map law. -/ |
| 34 | theorem augmentation_reflects_closed (n : ℕ) (hinj : Function.Injective (ε.f (n + 1))) |
| 35 | (a : A.X n) (ha : (K.X 0).d n (n + 1) (ε.f n a) = 0) : |
| 36 | A.d n (n + 1) a = 0 := by |
| 37 | apply hinj |
| 38 | rw [map_zero] |
| 39 | have h := congrArg (fun f : A.X n ⟶ (K.X 0).X (n + 1) => f a) (ε.comm n (n + 1)) |
| 40 | exact h.symm.trans ha |
| 41 | |
| 42 | /-- At an exact augmented row, a boundary in the zero column lifts to a |
| 43 | boundary in the augmenting complex. -/ |
| 44 | theorem augmentation_lifts_boundary (n : ℕ) |
| 45 | (hinj : Function.Injective (ε.f (n + 1))) |
| 46 | (hexact : Function.Exact (ε.f n) ((K.d 0 1).f n)) |
| 47 | (a : A.X (n + 1)) (b : (K.X 0).X n) |
| 48 | (hb : ((K.d 0 1).f n) b = 0) |
| 49 | (ha : ε.f (n + 1) a = (K.X 0).d n (n + 1) b) : |
| 50 | ∃ c : A.X n, A.d n (n + 1) c = a := by |
| 51 | obtain ⟨c, hc⟩ := (hexact b).mp hb |
| 52 | refine ⟨c, hinj ?_⟩ |
| 53 | have h := congrArg (fun f : A.X n ⟶ (K.X 0).X (n + 1) => f c) (ε.comm n (n + 1)) |
| 54 | calc |
| 55 | ε.f (n + 1) (A.d n (n + 1) c) = (K.X 0).d n (n + 1) (ε.f n c) := h.symm |
| 56 | _ = (K.X 0).d n (n + 1) b := congrArg ((K.X 0).d n (n + 1)) hc |
| 57 | _ = ε.f (n + 1) a := ha.symm |
| 58 | |
| 59 | end OAI.AlgebraicTopology.DeRham.Comparison.DoubleComplexRows.DoubleComplex |