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.ArithmeticGroups.Lattices.Finite.AlgebraicLocus |
| 2 | |
| 3 | /-! # Algebraic Locus Base Change -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.AlgebraicLocusBaseChange.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Finiteness of geometric zero sets controls zero sets in every field. -/ |
| 10 | |
| 11 | open scoped Classical |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | theorem zeroLocus_map_scalar_tower |
| 15 | {k K L σ : Type*} [Field k] [Field K] [Field L] |
| 16 | [Algebra k K] [Algebra K L] [Algebra k L] [IsScalarTower k K L] |
| 17 | (I : Ideal (MvPolynomial σ k)) : |
| 18 | zeroLocus L (I.map (MvPolynomial.map (algebraMap k K))) = zeroLocus L I := by |
| 19 | have he (x : σ → L) (p : MvPolynomial σ k) : |
| 20 | aeval (R := K) x (MvPolynomial.map (algebraMap k K) p) = aeval (R := k) x p := by |
| 21 | simp only [aeval_eq_eval₂Hom, eval₂Hom_map_hom, ← IsScalarTower.algebraMap_eq k K L] |
| 22 | ext x |
| 23 | change (I.map (MvPolynomial.map (algebraMap k K)) ≤ RingHom.ker (aeval (R := K) x)) ↔ |
| 24 | I ≤ RingHom.ker (aeval (R := k) x) |
| 25 | rw [Ideal.map_le_iff_le_comap] |
| 26 | constructor <;> intro h p hp |
| 27 | · change aeval (R := k) x p = 0 |
| 28 | rw [← he] |
| 29 | exact h hp |
| 30 | · change aeval (R := K) x (MvPolynomial.map (algebraMap k K) p) = 0 |
| 31 | rw [he] |
| 32 | exact h hp |
| 33 | |
| 34 | theorem zeroLocus_map_point |
| 35 | {k K L σ : Type*} [Field k] [Field K] [Field L] |
| 36 | [Algebra k K] [Algebra K L] [Algebra k L] [IsScalarTower k K L] |
| 37 | (I : Ideal (MvPolynomial σ k)) {x : σ → K} (hx : x ∈ zeroLocus K I) : |
| 38 | (fun i => algebraMap K L (x i)) ∈ zeroLocus L I := by |
| 39 | intro p hp |
| 40 | have he := map_aeval x (algebraMap K L) p |
| 41 | rw [hx p hp, map_zero, ← IsScalarTower.algebraMap_eq k K L] at he |
| 42 | exact he.symm |
| 43 | |
| 44 | theorem finite_zeroLocus_of_finite_algClosure |
| 45 | {k K σ : Type*} [Field k] [Field K] [Algebra k K] [Finite σ] |
| 46 | (I : Ideal (MvPolynomial σ k)) (hI : (zeroLocus (AlgebraicClosure k) I).Finite) : |
| 47 | (zeroLocus K I).Finite := by |
| 48 | let L := AlgebraicClosure K |
| 49 | let φ : AlgebraicClosure k →ₐ[k] L := IsAlgClosed.lift |
| 50 | let : Algebra (AlgebraicClosure k) L := φ.toRingHom.toAlgebra |
| 51 | let : Module (AlgebraicClosure k) L := Algebra.toModule |
| 52 | let : IsScalarTower k (AlgebraicClosure k) L := |
| 53 | IsScalarTower.of_algebraMap_eq (fun c => (φ.commutes c).symm) |
| 54 | let J := I.map (MvPolynomial.map (algebraMap k (AlgebraicClosure k))) |
| 55 | have hJ : (zeroLocus (AlgebraicClosure k) J).Finite := by |
| 56 | rw [show J = I.map (MvPolynomial.map (algebraMap k (AlgebraicClosure k))) from rfl, |
| 57 | zeroLocus_map_scalar_tower] |
| 58 | exact hI |
| 59 | have hL : (zeroLocus L I).Finite := by |
| 60 | rw [← zeroLocus_map_scalar_tower (K := AlgebraicClosure k)] |
| 61 | exact Lattices.Finite.AlgebraicLocus.Construction.finite_zeroLocus_field_extension J hJ |
| 62 | let f : (σ → K) → (σ → L) := fun x i => algebraMap K L (x i) |
| 63 | have hf : Function.Injective f := by |
| 64 | intro x y h |
| 65 | funext i |
| 66 | exact (algebraMap K L).injective (congrFun h i) |
| 67 | apply Set.Finite.of_finite_image (f := f) (hL.subset ?_) (hf.injOn) |
| 68 | rintro _ ⟨x, hx, rfl⟩ |
| 69 | exact zeroLocus_map_point I hx |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.ArithmeticGroups.Lattices.AlgebraicLocusBaseChange.Construction |