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 Uniqueness -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.ParameterUniqueness.Central |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The normalized triple is unique up to permutation, retaining repeated |
| 10 | roots. The finite-family matching uses equal fiber cardinalities. -/ |
| 11 | |
| 12 | open scoped Classical BigOperators |
| 13 | |
| 14 | theorem finite_family_permutation {I F : Type*} [Fintype I] |
| 15 | (α β : I → F) (h : Finset.univ.val.map α = Finset.univ.val.map β) : |
| 16 | ∃ σ : Equiv.Perm I, ∀ i, α i = β (σ i) := by |
| 17 | have hc (z : F) : Fintype.card {i // α i = z} = Fintype.card {i // β i = z} := by |
| 18 | have hz := congrArg (Multiset.count z) h |
| 19 | simpa only [Multiset.count_map, Fintype.card_subtype, Finset.card_def, |
| 20 | Finset.filter_val, eq_comm] using hz |
| 21 | let e : ∀ z, {i // α i = z} ≃ {i // β i = z} := fun z => Fintype.equivOfCardEq (hc z) |
| 22 | exact ⟨Equiv.ofFiberEquiv e, fun i => (Equiv.ofFiberEquiv_map e i).symm⟩ |
| 23 | |
| 24 | theorem parameter_triple_unique {F : Type*} [Field F] (α β : Fin 3 → F) |
| 25 | (hs : α 0 + α 1 + α 2 = β 0 + β 1 + β 2) |
| 26 | (hp : α 0 * α 1 + α 0 * α 2 + α 1 * α 2 = |
| 27 | β 0 * β 1 + β 0 * β 2 + β 1 * β 2) |
| 28 | (hd : α 0 * α 1 * α 2 = β 0 * β 1 * β 2) : |
| 29 | ∃ σ : Equiv.Perm (Fin 3), ∀ i, α i = β (σ i) := by |
| 30 | let P (a : Fin 3 → F) : Polynomial F := ∏ i : Fin 3, (Polynomial.X - Polynomial.C (a i)) |
| 31 | have hP (a : Fin 3 → F) : P a = Polynomial.X ^ 3 - |
| 32 | Polynomial.C (a 0 + a 1 + a 2) * Polynomial.X ^ 2 + |
| 33 | Polynomial.C (a 0 * a 1 + a 0 * a 2 + a 1 * a 2) * Polynomial.X - |
| 34 | Polynomial.C (a 0 * a 1 * a 2) := by |
| 35 | simp only [P, Fin.prod_univ_three, map_add, map_mul] |
| 36 | ring |
| 37 | have he : P α = P β := by rw [hP, hP, hs, hp, hd] |
| 38 | have hr (a : Fin 3 → F) : (P a).roots = Finset.univ.val.map a := by |
| 39 | have hprod : ((Finset.univ.val.map a).map (fun x => Polynomial.X - Polynomial.C x)).prod = P a := by |
| 40 | rw [Multiset.map_map] |
| 41 | rfl |
| 42 | rw [← hprod, Polynomial.roots_multiset_prod_X_sub_C] |
| 43 | apply finite_family_permutation α β |
| 44 | rw [← hr, ← hr, he] |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.ParameterUniqueness.Central |