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 |
| 2 | |
| 3 | /-! # Parameter Triple -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.ParameterTriple.Central |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Construct the normalized three-parameter multiset from the three |
| 10 | actual Hecke eigenvalues. Repeated roots are retained; no regularity or |
| 11 | distinct-eigenvalue hypothesis is used. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | |
| 15 | variable {F : Type*} [Field F] [IsAlgClosed F] |
| 16 | |
| 17 | theorem exists_normalized_parameter_triple (Q t₁ t₂ t₃ : F) |
| 18 | (hQ : Q ≠ 0) (h₃ : t₃ ≠ 0) : |
| 19 | ∃ α : Fin 3 → F, |
| 20 | (∀ i, α i ≠ 0) ∧ |
| 21 | t₁ = Q * (α 0 + α 1 + α 2) ∧ |
| 22 | t₂ = Q * (α 0 * α 1 + α 0 * α 2 + α 1 * α 2) ∧ |
| 23 | t₃ = α 0 * α 1 * α 2 := by |
| 24 | let P : Cubic F := ⟨1, -(t₁ / Q), t₂ / Q, -t₃⟩ |
| 25 | have ha : P.a ≠ 0 := one_ne_zero |
| 26 | obtain ⟨x, y, z, hroots⟩ := (Cubic.splits_iff_roots_eq_three (φ := RingHom.id F) ha).mp |
| 27 | (IsAlgClosed.splits _) |
| 28 | have hb : t₁ / Q = x + y + z := by |
| 29 | have h := Cubic.b_eq_three_roots ha hroots |
| 30 | simpa only [P, RingHom.id_apply, one_mul, neg_inj] using h |
| 31 | have hc : t₂ / Q = x * y + x * z + y * z := by |
| 32 | simpa only [P, RingHom.id_apply, one_mul] using Cubic.c_eq_three_roots ha hroots |
| 33 | have hd : t₃ = x * y * z := by |
| 34 | have h := Cubic.d_eq_three_roots ha hroots |
| 35 | simpa only [P, RingHom.id_apply, one_mul, neg_inj] using h |
| 36 | have hp : x * y * z ≠ 0 := hd ▸ h₃ |
| 37 | have hx : x ≠ 0 := (mul_ne_zero_iff.mp (mul_ne_zero_iff.mp hp).1).1 |
| 38 | have hy : y ≠ 0 := (mul_ne_zero_iff.mp (mul_ne_zero_iff.mp hp).1).2 |
| 39 | have hz : z ≠ 0 := (mul_ne_zero_iff.mp hp).2 |
| 40 | refine ⟨![x, y, z], ?_, ?_, ?_, hd⟩ |
| 41 | · intro i |
| 42 | fin_cases i |
| 43 | · exact hx |
| 44 | · exact hy |
| 45 | · exact hz |
| 46 | · change t₁ = Q * (x + y + z) |
| 47 | simpa only [mul_comm Q] using (div_eq_iff hQ).mp hb |
| 48 | · change t₂ = Q * (x * y + x * z + y * z) |
| 49 | simpa only [mul_comm Q] using (div_eq_iff hQ).mp hc |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.ParameterTriple.Central |