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 | /-! # Algebraic Locus -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Finite.AlgebraicLocus.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A finite algebraic locus over an algebraically closed field stays |
| 10 | finite over every extension field. -/ |
| 11 | |
| 12 | open scoped Classical |
| 13 | open _root_.MvPolynomial |
| 14 | |
| 15 | theorem zeroLocus_coordinate_mem_base_image |
| 16 | {k K σ : Type*} [Field k] [IsAlgClosed k] [Field K] [Algebra k K] [Finite σ] |
| 17 | (I : Ideal (MvPolynomial σ k)) (hI : (zeroLocus k I).Finite) |
| 18 | {x : σ → K} (hx : x ∈ zeroLocus K I) (i : σ) : |
| 19 | x i ∈ (algebraMap k K) '' ((fun y : σ → k => y i) '' zeroLocus k I) := by |
| 20 | let T := (hI.image (fun y : σ → k => y i)).toFinset |
| 21 | let p : MvPolynomial σ k := ∏ c ∈ T, (X i - C c) |
| 22 | have hp : p ∈ I.radical := by |
| 23 | rw [← vanishingIdeal_zeroLocus_eq_radical (K := k)] |
| 24 | intro y hy |
| 25 | dsimp only [p] |
| 26 | simp only [map_prod, map_sub, aeval_X, aeval_C, Algebra.algebraMap_self, RingHom.id_apply] |
| 27 | have hyT : y i ∈ T := (hI.image (fun y : σ → k => y i)).mem_toFinset.mpr ⟨y, hy, rfl⟩ |
| 28 | exact Finset.prod_eq_zero hyT (sub_self _) |
| 29 | have he := (radical_le_vanishingIdeal_zeroLocus (K := K) I hp) x hx |
| 30 | change aeval x p = 0 at he |
| 31 | dsimp only [p] at he |
| 32 | simp only [map_prod, map_sub, aeval_X, aeval_C] at he |
| 33 | obtain ⟨c, hc, hcx⟩ := Finset.prod_eq_zero_iff.mp he |
| 34 | exact ⟨c, (hI.image (fun y : σ → k => y i)).mem_toFinset.mp hc, (sub_eq_zero.mp hcx).symm⟩ |
| 35 | |
| 36 | theorem finite_zeroLocus_field_extension |
| 37 | {k K σ : Type*} [Field k] [IsAlgClosed k] [Field K] [Algebra k K] [Finite σ] |
| 38 | (I : Ideal (MvPolynomial σ k)) (hI : (zeroLocus k I).Finite) : |
| 39 | (zeroLocus K I).Finite := by |
| 40 | let S : σ → Set K := fun i => (algebraMap k K) '' ((fun y : σ → k => y i) '' zeroLocus k I) |
| 41 | have hS (i : σ) : (S i).Finite := (hI.image (fun y => y i)).image (algebraMap k K) |
| 42 | apply (Set.Finite.pi' hS).subset |
| 43 | intro x hx i |
| 44 | exact zeroLocus_coordinate_mem_base_image I hI hx i |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Finite.AlgebraicLocus.Construction |