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.CoordinateIdeal |
| 2 | |
| 3 | /-! # Base Change -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.BaseChange.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Extension of the concrete matrix-group equations to another field. -/ |
| 10 | |
| 11 | open scoped Classical |
| 12 | open _root_.MvPolynomial Set |
| 13 | |
| 14 | theorem evaluateMatrix_coefficient_map |
| 15 | {k K L : Type} [Field k] [Field K] [Field L] {n : ℕ} |
| 16 | (ι : k →+* K) (ρ : K →+* L) (g : Algebraic.SL n L) (p : Algebraic.CoordinatePolynomial n k) : |
| 17 | Algebraic.evaluateMatrix ρ g (MvPolynomial.map ι p) = Algebraic.evaluateMatrix (ρ.comp ι) g p := by |
| 18 | exact MvPolynomial.eval₂Hom_map_hom ι _ ρ p |
| 19 | |
| 20 | def matrixGroupBaseChange |
| 21 | {k K : Type} [Field k] [Field K] {n : ℕ} |
| 22 | (G : Algebraic.MatrixAlgebraicGroup k n) (ι : k →+* K) : Algebraic.MatrixAlgebraicGroup K n where |
| 23 | equations := MvPolynomial.map ι '' G.equations |
| 24 | subgroup L _ ρ := G.subgroup L (ρ.comp ι) |
| 25 | mem_iff L _ ρ g := by |
| 26 | rw [G.mem_iff] |
| 27 | constructor |
| 28 | · intro h q hq |
| 29 | obtain ⟨p, hp, rfl⟩ := hq |
| 30 | rw [evaluateMatrix_coefficient_map] |
| 31 | exact h p hp |
| 32 | · intro h p hp |
| 33 | have he := h (MvPolynomial.map ι p) ⟨p, hp, rfl⟩ |
| 34 | rwa [evaluateMatrix_coefficient_map] at he |
| 35 | |
| 36 | theorem coefficient_map_mem_baseChange_vanishingIdeal |
| 37 | {k K : Type} [Field k] [Field K] {n : ℕ} |
| 38 | (G : Algebraic.MatrixAlgebraicGroup k n) (ι : k →+* K) |
| 39 | {p : Algebraic.CoordinatePolynomial n k} (hp : p ∈ VanishingIdeal.Construction.coordinateVanishingIdeal G) : |
| 40 | MvPolynomial.map ι p ∈ VanishingIdeal.Construction.coordinateVanishingIdeal (matrixGroupBaseChange G ι) := by |
| 41 | intro L _ ρ x |
| 42 | rw [evaluateMatrix_coefficient_map] |
| 43 | exact hp L (ρ.comp ι) x |
| 44 | |
| 45 | theorem mem_vanishingIdeal_iff_rational_of_algClosed |
| 46 | {k : Type} [Field k] [IsAlgClosed k] {n : ℕ} |
| 47 | (G : Algebraic.MatrixAlgebraicGroup k n) (p : Algebraic.CoordinatePolynomial n k) : |
| 48 | p ∈ VanishingIdeal.Construction.coordinateVanishingIdeal G ↔ |
| 49 | ∀ g : G.RationalPoints, Algebraic.evaluateMatrix (RingHom.id k) g.val p = 0 := by |
| 50 | constructor |
| 51 | · intro hp g |
| 52 | exact hp k (RingHom.id k) g |
| 53 | · intro hp |
| 54 | rw [CoordinateIdeal.Construction.vanishingIdeal_eq_radical_definingIdeal, |
| 55 | ← MvPolynomial.vanishingIdeal_zeroLocus_eq_radical (K := k)] |
| 56 | intro x hx |
| 57 | have hd := hx (CoordinateIdeal.Construction.determinantEquation k n) (Ideal.subset_span (mem_insert _ _)) |
| 58 | have hdet : Matrix.det (fun i j : Fin n => x (i, j)) = 1 := by |
| 59 | apply sub_eq_zero.mp |
| 60 | simpa only [MvPolynomial.aeval_eq_eval₂Hom, Algebra.algebraMap_self, |
| 61 | CoordinateIdeal.Construction.eval_determinantEquation] using hd |
| 62 | let g : Algebraic.SL n k := ⟨fun i j => x (i, j), hdet⟩ |
| 63 | have hg : g ∈ G.subgroup k (RingHom.id k) := by |
| 64 | apply (G.mem_iff k (RingHom.id k) g).mpr |
| 65 | intro q hq |
| 66 | exact hx q (Ideal.subset_span (mem_insert_of_mem _ hq)) |
| 67 | exact hp ⟨g, hg⟩ |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.NumberTheory.ArithmeticGroups.Lattices.BaseChange.Construction |