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.VanishingIdeal |
| 2 | |
| 3 | /-! # Polynomial Stabilizer -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.PolynomialStabilizer.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A finite-dimensional polynomial subspace detecting membership in the |
| 10 | matrix group. This is the subspace stage of the stabilizer construction. -/ |
| 11 | |
| 12 | open scoped Classical |
| 13 | open _root_.MvPolynomial |
| 14 | |
| 15 | def boundedVanishingSpace {k : Type} [Field k] {n : ℕ} |
| 16 | (G : Algebraic.MatrixAlgebraicGroup k n) (d : ℕ) : Submodule k (Algebraic.CoordinatePolynomial n k) := |
| 17 | (VanishingIdeal.Construction.coordinateVanishingIdeal G).restrictScalars k ⊓ |
| 18 | restrictTotalDegree (Fin n × Fin n) k d |
| 19 | |
| 20 | theorem boundedVanishingSpace_fg {k : Type} [Field k] {n : ℕ} |
| 21 | (G : Algebraic.MatrixAlgebraicGroup k n) (d : ℕ) : (boundedVanishingSpace G d).FG := |
| 22 | (Submodule.FG.of_finite (N := restrictTotalDegree (Fin n × Fin n) k d)).of_le inf_le_right |
| 23 | |
| 24 | theorem rightTranslate_mem_boundedVanishingSpace {k : Type} [Field k] {n : ℕ} |
| 25 | (G : Algebraic.MatrixAlgebraicGroup k n) (d : ℕ) |
| 26 | (g : Algebraic.SL n k) (hg : g ∈ G.subgroup k (RingHom.id k)) |
| 27 | (p : Algebraic.CoordinatePolynomial n k) (hp : p ∈ boundedVanishingSpace G d) : |
| 28 | PolynomialAction.Construction.rightTranslate (g : Matrix (Fin n) (Fin n) k) p ∈ boundedVanishingSpace G d := by |
| 29 | refine ⟨VanishingIdeal.Construction.rightTranslate_mem_vanishingIdeal G g hg p hp.1, ?_⟩ |
| 30 | apply (mem_restrictTotalDegree _ _ _).mpr |
| 31 | exact (PolynomialAction.Construction.rightTranslate_totalDegree_le _ p).trans ((mem_restrictTotalDegree _ _ _).mp hp.2) |
| 32 | |
| 33 | theorem rightTranslate_boundedVanishingSpace_eq {k : Type} [Field k] {n : ℕ} |
| 34 | (G : Algebraic.MatrixAlgebraicGroup k n) (d : ℕ) |
| 35 | (g : Algebraic.SL n k) (hg : g ∈ G.subgroup k (RingHom.id k)) : |
| 36 | (boundedVanishingSpace G d).map |
| 37 | (PolynomialAction.Construction.rightTranslate (g : Matrix (Fin n) (Fin n) k)).toLinearMap = |
| 38 | boundedVanishingSpace G d := by |
| 39 | apply le_antisymm |
| 40 | · rintro _ ⟨p, hp, rfl⟩ |
| 41 | exact rightTranslate_mem_boundedVanishingSpace G d g hg p hp |
| 42 | · intro p hp |
| 43 | refine ⟨PolynomialAction.Construction.rightTranslate ((g⁻¹ : Algebraic.SL n k) : Matrix (Fin n) (Fin n) k) p, |
| 44 | rightTranslate_mem_boundedVanishingSpace G d g⁻¹ |
| 45 | ((G.subgroup k (RingHom.id k)).inv_mem hg) p hp, ?_⟩ |
| 46 | exact (PolynomialAction.Construction.rightTranslateEquiv g).apply_symm_apply p |
| 47 | |
| 48 | theorem exists_bounded_polynomial_stabilizer {k : Type} [Field k] {n : ℕ} |
| 49 | (G : Algebraic.MatrixAlgebraicGroup k n) : |
| 50 | ∃ d : ℕ, ∀ g : Algebraic.SL n k, |
| 51 | g ∈ G.subgroup k (RingHom.id k) ↔ |
| 52 | (boundedVanishingSpace G d).map |
| 53 | (PolynomialAction.Construction.rightTranslate (g : Matrix (Fin n) (Fin n) k)).toLinearMap = |
| 54 | boundedVanishingSpace G d := by |
| 55 | obtain ⟨S, hS, hdef⟩ := VanishingIdeal.Construction.exists_finite_defining_polynomials G |
| 56 | let d : ℕ := S.sup MvPolynomial.totalDegree |
| 57 | refine ⟨d, fun g => ⟨rightTranslate_boundedVanishingSpace_eq G d g, ?_⟩⟩ |
| 58 | intro hstable |
| 59 | apply (hdef k (RingHom.id k) g).mpr |
| 60 | intro p hp |
| 61 | have hpI : p ∈ VanishingIdeal.Construction.coordinateVanishingIdeal G := hS ▸ Ideal.subset_span hp |
| 62 | have hpD : p ∈ restrictTotalDegree (Fin n × Fin n) k d := |
| 63 | (mem_restrictTotalDegree _ _ _).mpr (Finset.le_sup hp) |
| 64 | have htrans : PolynomialAction.Construction.rightTranslate (g : Matrix (Fin n) (Fin n) k) p ∈ |
| 65 | boundedVanishingSpace G d := by |
| 66 | rw [← hstable] |
| 67 | exact ⟨p, ⟨hpI, hpD⟩, rfl⟩ |
| 68 | have hzero := htrans.1 k (RingHom.id k) |
| 69 | (1 : G.Points (RingHom.id k)) |
| 70 | rw [PolynomialAction.Construction.rightTranslate_evaluate] at hzero |
| 71 | have hid : Matrix.SpecialLinearGroup.map (RingHom.id k) g = g := by |
| 72 | apply Matrix.SpecialLinearGroup.ext |
| 73 | intro i j |
| 74 | rfl |
| 75 | simpa only [OneMemClass.coe_one, one_mul, hid] using hzero |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.NumberTheory.ArithmeticGroups.Lattices.PolynomialStabilizer.Construction |