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.PolynomialStabilizer |
| 2 | |
| 3 | /-! # Bounded Representation -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.BoundedRepresentation.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The finite-dimensional representation on polynomials of bounded degree. -/ |
| 10 | |
| 11 | open scoped Classical |
| 12 | open _root_.MvPolynomial |
| 13 | |
| 14 | abbrev BoundedPolynomials (k : Type) [Field k] (n d : ℕ) := |
| 15 | restrictTotalDegree (Fin n × Fin n) k d |
| 16 | |
| 17 | def boundedPolynomialEquiv {k : Type} [Field k] {n : ℕ} |
| 18 | (d : ℕ) (g : Algebraic.SL n k) : BoundedPolynomials k n d ≃ₗ[k] BoundedPolynomials k n d where |
| 19 | toFun p := ⟨PolynomialAction.Construction.rightTranslate (g : Matrix (Fin n) (Fin n) k) p.val, |
| 20 | (mem_restrictTotalDegree _ _ _).mpr |
| 21 | ((PolynomialAction.Construction.rightTranslate_totalDegree_le _ p.val).trans |
| 22 | ((mem_restrictTotalDegree _ _ _).mp p.property))⟩ |
| 23 | invFun p := ⟨PolynomialAction.Construction.rightTranslate ((g⁻¹ : Algebraic.SL n k) : Matrix (Fin n) (Fin n) k) p.val, |
| 24 | (mem_restrictTotalDegree _ _ _).mpr |
| 25 | ((PolynomialAction.Construction.rightTranslate_totalDegree_le _ p.val).trans |
| 26 | ((mem_restrictTotalDegree _ _ _).mp p.property))⟩ |
| 27 | left_inv p := Subtype.ext (PolynomialAction.Construction.rightTranslate_inverse_left g p.val) |
| 28 | right_inv p := Subtype.ext ((PolynomialAction.Construction.rightTranslateEquiv g).apply_symm_apply p.val) |
| 29 | map_add' p q := Subtype.ext (map_add _ p.val q.val) |
| 30 | map_smul' c p := Subtype.ext |
| 31 | ((PolynomialAction.Construction.rightTranslate (g : Matrix (Fin n) (Fin n) k)).toLinearMap.map_smul c p.val) |
| 32 | |
| 33 | def boundedPolynomialRepresentation {k : Type} [Field k] {n : ℕ} (d : ℕ) : |
| 34 | Algebraic.SL n k →* (BoundedPolynomials k n d ≃ₗ[k] BoundedPolynomials k n d) where |
| 35 | toFun := boundedPolynomialEquiv d |
| 36 | map_one' := by |
| 37 | apply LinearEquiv.ext |
| 38 | intro p |
| 39 | apply Subtype.ext |
| 40 | change PolynomialAction.Construction.rightTranslate (1 : Matrix (Fin n) (Fin n) k) p.val = p.val |
| 41 | rw [PolynomialAction.Construction.rightTranslate_one] |
| 42 | rfl |
| 43 | map_mul' g h := by |
| 44 | apply LinearEquiv.ext |
| 45 | intro p |
| 46 | apply Subtype.ext |
| 47 | change PolynomialAction.Construction.rightTranslate ((g * h : Algebraic.SL n k) : Matrix (Fin n) (Fin n) k) p.val = |
| 48 | PolynomialAction.Construction.rightTranslate (g : Matrix (Fin n) (Fin n) k) |
| 49 | (PolynomialAction.Construction.rightTranslate (h : Matrix (Fin n) (Fin n) k) p.val) |
| 50 | rw [Matrix.SpecialLinearGroup.coe_mul, PolynomialAction.Construction.rightTranslate_mul] |
| 51 | rfl |
| 52 | |
| 53 | def boundedIdealSubspace {k : Type} [Field k] {n : ℕ} |
| 54 | (G : Algebraic.MatrixAlgebraicGroup k n) (d : ℕ) : Submodule k (BoundedPolynomials k n d) := |
| 55 | ((VanishingIdeal.Construction.coordinateVanishingIdeal G).restrictScalars k).comap |
| 56 | (restrictTotalDegree (Fin n × Fin n) k d).subtype |
| 57 | |
| 58 | theorem mem_boundedIdealSubspace {k : Type} [Field k] {n : ℕ} |
| 59 | (G : Algebraic.MatrixAlgebraicGroup k n) (d : ℕ) (p : BoundedPolynomials k n d) : |
| 60 | p ∈ boundedIdealSubspace G d ↔ p.val ∈ VanishingIdeal.Construction.coordinateVanishingIdeal G := Iff.rfl |
| 61 | |
| 62 | theorem boundedIdealSubspace_map_subtype {k : Type} [Field k] {n : ℕ} |
| 63 | (G : Algebraic.MatrixAlgebraicGroup k n) (d : ℕ) : |
| 64 | (boundedIdealSubspace G d).map (BoundedPolynomials k n d).subtype = |
| 65 | PolynomialStabilizer.Construction.boundedVanishingSpace G d := by |
| 66 | simp [boundedIdealSubspace, PolynomialStabilizer.Construction.boundedVanishingSpace, BoundedPolynomials, |
| 67 | Submodule.map_comap_subtype, inf_comm] |
| 68 | |
| 69 | theorem boundedIdealSubspace_stabilizer_iff {k : Type} [Field k] {n : ℕ} |
| 70 | (G : Algebraic.MatrixAlgebraicGroup k n) (d : ℕ) (g : Algebraic.SL n k) : |
| 71 | (boundedIdealSubspace G d).map (boundedPolynomialRepresentation d g).toLinearMap = |
| 72 | boundedIdealSubspace G d ↔ |
| 73 | (PolynomialStabilizer.Construction.boundedVanishingSpace G d).map |
| 74 | (PolynomialAction.Construction.rightTranslate (g : Matrix (Fin n) (Fin n) k)).toLinearMap = |
| 75 | PolynomialStabilizer.Construction.boundedVanishingSpace G d := by |
| 76 | have hcomp : (BoundedPolynomials k n d).subtype.comp |
| 77 | (boundedPolynomialRepresentation d g).toLinearMap = |
| 78 | (PolynomialAction.Construction.rightTranslate (g : Matrix (Fin n) (Fin n) k)).toLinearMap.comp |
| 79 | (BoundedPolynomials k n d).subtype := by |
| 80 | apply LinearMap.ext |
| 81 | intro p |
| 82 | rfl |
| 83 | rw [← (Submodule.map_injective_of_injective |
| 84 | (show Function.Injective (BoundedPolynomials k n d).subtype from Subtype.val_injective)).eq_iff] |
| 85 | rw [← Submodule.map_comp, hcomp, Submodule.map_comp, boundedIdealSubspace_map_subtype] |
| 86 | |
| 87 | theorem exists_finite_dimensional_stabilizer {k : Type} [Field k] {n : ℕ} |
| 88 | (G : Algebraic.MatrixAlgebraicGroup k n) : |
| 89 | ∃ d : ℕ, ∀ g : Algebraic.SL n k, |
| 90 | g ∈ G.subgroup k (RingHom.id k) ↔ |
| 91 | (boundedIdealSubspace G d).map (boundedPolynomialRepresentation d g).toLinearMap = |
| 92 | boundedIdealSubspace G d := by |
| 93 | obtain ⟨d, hd⟩ := PolynomialStabilizer.Construction.exists_bounded_polynomial_stabilizer G |
| 94 | exact ⟨d, fun g => (hd g).trans (boundedIdealSubspace_stabilizer_iff G d g).symm⟩ |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.NumberTheory.ArithmeticGroups.Lattices.BoundedRepresentation.Construction |