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.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ElementaryModules |
| 2 | |
| 3 | /-! # Hecke Exponents -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.HeckeExponents |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The three C0^i T_i elementary types. The active kernel has i |
| 10 | coordinates of exponent one; compact multiplicative kernels have all |
| 11 | three coordinates of exponent i. Thus the active level is q-torsion |
| 12 | while the common multiplier and compact level are q^i. -/ |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ElementaryModules.Construction |
| 15 | |
| 16 | def neighborLevel (i : Fin 3) : ℕ := i.val + 1 |
| 17 | |
| 18 | def activeExponents (i : Fin 3) (k : Fin 3) : ℕ := |
| 19 | if k.val < neighborLevel i then 1 else 0 |
| 20 | |
| 21 | def neighborExponents {s : ℕ} (active : Fin s) (multiplicative : Fin s → Bool) |
| 22 | (i : Fin 3) (v : Fin s) (k : Fin 3) : ℕ := |
| 23 | if v = active then activeExponents i k else |
| 24 | if multiplicative v then neighborLevel i else 0 |
| 25 | |
| 26 | theorem neighborExponents_bound {s : ℕ} (active : Fin s) (multiplicative : Fin s → Bool) |
| 27 | (i : Fin 3) (v : Fin s) (k : Fin 3) : |
| 28 | neighborExponents active multiplicative i v k ≤ neighborLevel i := by |
| 29 | unfold neighborExponents activeExponents neighborLevel |
| 30 | split_ifs <;> omega |
| 31 | |
| 32 | theorem activeExponents_sum (i : Fin 3) : ∑ k, activeExponents i k = neighborLevel i := by |
| 33 | fin_cases i <;> decide |
| 34 | |
| 35 | theorem activeExponents_bound (i : Fin 3) (k : Fin 3) : activeExponents i k ≤ 1 := by |
| 36 | unfold activeExponents |
| 37 | split_ifs <;> omega |
| 38 | |
| 39 | theorem activeElementaryModule_killed (q : ℕ) (i : Fin 3) |
| 40 | (x : AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (activeExponents i)) : q • x = 0 := by |
| 41 | simpa only [pow_one] using |
| 42 | AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.rankThreeElementaryModule_killed q 1 (activeExponents i) (activeExponents_bound i) x |
| 43 | |
| 44 | theorem neighborExponents_active {s : ℕ} (active : Fin s) (multiplicative : Fin s → Bool) |
| 45 | (i : Fin 3) : neighborExponents active multiplicative i active = activeExponents i := by |
| 46 | funext k |
| 47 | simp [neighborExponents] |
| 48 | |
| 49 | theorem neighborExponents_compact {s : ℕ} (active v : Fin s) (hv : v ≠ active) |
| 50 | (multiplicative : Fin s → Bool) (i : Fin 3) : |
| 51 | neighborExponents active multiplicative i v = |
| 52 | fun _ => if multiplicative v then neighborLevel i else 0 := by |
| 53 | funext k |
| 54 | simp only [neighborExponents, ite_eq_right hv] |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.HeckeExponents |