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.NumberTheory.PadicHodge.IntegralComparison.Module.CochainClasses |
| 2 | |
| 3 | /-! # Cochain Boundary -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Module.CochainBoundary |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Subtracting an actual cochain boundary preserves the original homology class. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory |
| 12 | |
| 13 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Module.CochainClasses |
| 14 | |
| 15 | universe u v |
| 16 | |
| 17 | variable {R : Type u} [CommRing R] (K : CochainComplex (ModuleCat.{v} R) ℕ) |
| 18 | |
| 19 | def subBoundary (n : ℕ) (x : CochainClasses.cycles K (n + 1)) (z : K.X n) : CochainClasses.cycles K (n + 1) := |
| 20 | ⟨x.val - K.d n (n + 1) z, by |
| 21 | change K.d (n + 1) (n + 1 + 1) (x.val - K.d n (n + 1) z) = 0 |
| 22 | rw [map_sub, x.property] |
| 23 | have h := congrArg (fun f => f z) (K.d_comp_d n (n + 1) (n + 1 + 1)) |
| 24 | change K.d (n + 1) (n + 1 + 1) (K.d n (n + 1) z) = 0 at h |
| 25 | rw [h, sub_self]⟩ |
| 26 | |
| 27 | theorem class_eq (n : ℕ) (x : CochainClasses.cycles K (n + 1)) (z : K.X n) : |
| 28 | CochainClasses.classMap K (n + 1) (subBoundary K n x z) = CochainClasses.classMap K (n + 1) x := by |
| 29 | symm |
| 30 | apply sub_eq_zero.mp |
| 31 | rw [← map_sub] |
| 32 | apply (CochainClasses.classMap_succ_eq_zero_iff K n (x - subBoundary K n x z)).mpr |
| 33 | exact ⟨z, by change _ = x.val - (x.val - _); abel⟩ |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Module.CochainBoundary |