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.DoubleComplexMapReduction |
| 2 | |
| 3 | /-! # Double Complex Map Normalization -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicTopology.DeRham.Comparison.DoubleComplexMapNormalization.DoubleComplex |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Finite elimination of relative cycles of total-complex maps |
| 11 | |
| 12 | The induction removes the leftmost occupied horizontal column of a pair |
| 13 | `(x,y)` satisfying `d x = 0` and `φ x = d y`. Only the native total |
| 14 | complexes and their actual cochain map occur in the statement. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory |
| 18 | |
| 19 | universe u v |
| 20 | |
| 21 | variable {R : Type u} [Ring R] |
| 22 | {K L : HomologicalComplex₂ (ModuleCat.{v} R) |
| 23 | (ComplexShape.up ℕ) (ComplexShape.up ℕ)} (φ : K ⟶ L) |
| 24 | |
| 25 | /-- A relative cycle for the total map has an actual relative primitive |
| 26 | whenever each column map is a quasi-isomorphism. -/ |
| 27 | theorem total_relative_primitive_succ (hφ : ∀ p : ℕ, QuasiIso (φ.f p)) |
| 28 | (n : ℕ) (x : (K.total (ComplexShape.up ℕ)).X (n + 1)) |
| 29 | (y : (L.total (ComplexShape.up ℕ)).X n) |
| 30 | (hx : (K.total (ComplexShape.up ℕ)).d (n + 1) (n + 2) x = 0) |
| 31 | (hxy : (HomologicalComplex₂.total.map φ (ComplexShape.up ℕ)).f (n + 1) x = |
| 32 | (L.total (ComplexShape.up ℕ)).d n (n + 1) y) : |
| 33 | ∃ a : (K.total (ComplexShape.up ℕ)).X n, |
| 34 | ∃ b : (L.total (ComplexShape.up ℕ)).X n.pred, |
| 35 | x = (K.total (ComplexShape.up ℕ)).d n (n + 1) a ∧ |
| 36 | y = (HomologicalComplex₂.total.map φ (ComplexShape.up ℕ)).f n a - |
| 37 | (L.total (ComplexShape.up ℕ)).d n.pred n b := by |
| 38 | have aux : ∀ r m : ℕ, r + m = n + 1 → |
| 39 | ∀ (x : (K.total (ComplexShape.up ℕ)).X (n + 1)) |
| 40 | (y : (L.total (ComplexShape.up ℕ)).X n), |
| 41 | DoubleComplexLowerSupport.DoubleComplex.SupportedFrom K (n + 1) m x → DoubleComplexLowerSupport.DoubleComplex.SupportedFrom L n m y → |
| 42 | (K.total (ComplexShape.up ℕ)).d (n + 1) (n + 2) x = 0 → |
| 43 | (HomologicalComplex₂.total.map φ (ComplexShape.up ℕ)).f (n + 1) x = |
| 44 | (L.total (ComplexShape.up ℕ)).d n (n + 1) y → |
| 45 | ∃ a : (K.total (ComplexShape.up ℕ)).X n, |
| 46 | ∃ b : (L.total (ComplexShape.up ℕ)).X n.pred, |
| 47 | x = (K.total (ComplexShape.up ℕ)).d n (n + 1) a ∧ |
| 48 | y = (HomologicalComplex₂.total.map φ (ComplexShape.up ℕ)).f n a - |
| 49 | (L.total (ComplexShape.up ℕ)).d n.pred n b := by |
| 50 | intro r |
| 51 | induction r with |
| 52 | | zero => |
| 53 | intro m hm x y hxs hys hx hxy |
| 54 | have hm' : m = n + 1 := by omega |
| 55 | subst m |
| 56 | obtain ⟨hx0, hy0⟩ := DoubleComplexMapReduction.DoubleComplex.relative_supported_last_zero φ hφ n x y hxs hys hx hxy |
| 57 | refine ⟨0, 0, ?_, ?_⟩ |
| 58 | · simpa only [map_zero] using hx0 |
| 59 | · simpa only [map_zero, sub_zero] using hy0 |
| 60 | | succ r ih => |
| 61 | intro m hm x y hxs hys hx hxy |
| 62 | have hmr : m + r = n := by omega |
| 63 | obtain ⟨a, b, hxs', hys'⟩ := DoubleComplexMapReduction.DoubleComplex.raise_relative_support φ hφ n m r hmr x y hxs hys hx hxy |
| 64 | have hi := DoubleComplexRelativeBoundary.DoubleComplex.relative_cycle_sub_boundary |
| 65 | (HomologicalComplex₂.total.map φ (ComplexShape.up ℕ)) n x y a b hx hxy |
| 66 | obtain ⟨a', b', hx', hy'⟩ := ih (m + 1) (by omega) |
| 67 | (x - (K.total (ComplexShape.up ℕ)).d n (n + 1) a) |
| 68 | (y - (HomologicalComplex₂.total.map φ (ComplexShape.up ℕ)).f n a + |
| 69 | (L.total (ComplexShape.up ℕ)).d n.pred n b) hxs' hys' hi.1 hi.2 |
| 70 | exact ⟨a' + a, b' + b, DoubleComplexRelativeBoundary.DoubleComplex.relative_boundary_add |
| 71 | (HomologicalComplex₂.total.map φ (ComplexShape.up ℕ)) n x y a a' b b' hx' hy'⟩ |
| 72 | exact aux (n + 1) 0 (by omega) x y |
| 73 | (DoubleComplexLowerSupport.DoubleComplex.supportedFrom_zero_degree K (n + 1) x) (DoubleComplexLowerSupport.DoubleComplex.supportedFrom_zero_degree L n y) hx hxy |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicTopology.DeRham.Comparison.DoubleComplexMapNormalization.DoubleComplex |