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.UniformExteriorVector |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.Finite.UniformExteriorLine |
| 3 | |
| 4 | /-! # Polynomial -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Integral.Polynomial.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! A finite-dimensional, field-uniform fixed-vector stabilizer |
| 13 | realization for the connected semisimple matrix groups of Lattices. -/ |
| 14 | |
| 15 | open scoped Classical |
| 16 | open _root_.MvPolynomial |
| 17 | |
| 18 | theorem exists_finite_uniform_exterior_vector_stabilizer |
| 19 | {k : Type} [Field k] [CharZero k] {n : ℕ} |
| 20 | (G : Algebraic.MatrixAlgebraicGroup k n) (hconn : G.IsGeometricallyConnected) (hsemi : G.IsSemisimple) : |
| 21 | ∃ d r : ℕ, ∃ p : Fin r → BoundedRepresentation.Construction.BoundedPolynomials k n d, |
| 22 | ∀ (K : Type) [Field K] [Algebra k K], |
| 23 | LinearIndependent K (fun i => Lattices.Finite.UniformExteriorLine.Construction.boundedCoefficientMap (K := K) (p i)) ∧ |
| 24 | ∀ g : Algebraic.SL n K, g ∈ G.subgroup K (algebraMap k K) ↔ |
| 25 | exteriorPower.map r (BoundedRepresentation.Construction.boundedPolynomialRepresentation d g).toLinearMap |
| 26 | (exteriorPower.ιMulti K r (fun i => Lattices.Finite.UniformExteriorLine.Construction.boundedCoefficientMap (K := K) (p i))) = |
| 27 | exteriorPower.ιMulti K r (fun i => Lattices.Finite.UniformExteriorLine.Construction.boundedCoefficientMap (K := K) (p i)) := by |
| 28 | obtain ⟨d, r, p, hp, hvec⟩ := UniformExteriorVector.Construction.exists_uniform_exterior_vector_stabilizer G hconn hsemi |
| 29 | let q : Fin r → BoundedRepresentation.Construction.BoundedPolynomials k n d := fun i => |
| 30 | ⟨p i, (mem_restrictTotalDegree _ _ _).mpr (hp i)⟩ |
| 31 | refine ⟨d, r, q, fun K _ _ => ?_⟩ |
| 32 | obtain ⟨hlin, hg⟩ := hvec K |
| 33 | let f := (BoundedRepresentation.Construction.BoundedPolynomials K n d).subtype |
| 34 | let qK : Fin r → BoundedRepresentation.Construction.BoundedPolynomials K n d := fun i => Lattices.Finite.UniformExteriorLine.Construction.boundedCoefficientMap (K := K) (q i) |
| 35 | refine ⟨LinearIndependent.of_comp f hlin, fun g => ?_⟩ |
| 36 | rw [hg g, exteriorPower.map_apply_ιMulti] |
| 37 | have he := Lattices.Finite.UniformExteriorLine.Construction.exterior_line_equality_iff_injective_map f Subtype.val_injective |
| 38 | (BoundedRepresentation.Construction.boundedPolynomialRepresentation d g ∘ qK) qK (1 : K) |
| 39 | have hleft : f ∘ (BoundedRepresentation.Construction.boundedPolynomialRepresentation d g ∘ qK) = |
| 40 | (fun i => PolynomialAction.Construction.rightTranslate (g : Matrix (Fin n) (Fin n) K) |
| 41 | (MvPolynomial.map (algebraMap k K) (p i))) := rfl |
| 42 | have hright : f ∘ qK = (fun i => MvPolynomial.map (algebraMap k K) (p i)) := rfl |
| 43 | rw [hleft, hright] at he |
| 44 | simpa only [one_smul, LinearEquiv.coe_coe] using he |
| 45 | |
| 46 | end |
| 47 | |
| 48 | section |
| 49 | |
| 50 | /-! Right translation over an integral coefficient ring, and its |
| 51 | compatibility with the bounded-degree representation over a field. -/ |
| 52 | |
| 53 | open scoped Classical |
| 54 | open _root_.MvPolynomial |
| 55 | |
| 56 | def rightTranslationOverRing {R : Type} [CommRing R] {n : ℕ} |
| 57 | (A : Matrix (Fin n) (Fin n) R) : |
| 58 | Algebraic.CoordinatePolynomial n R →ₐ[R] Algebraic.CoordinatePolynomial n R := |
| 59 | MvPolynomial.aeval (fun ij : Fin n × Fin n => ∑ l, X (ij.1, l) * C (A l ij.2)) |
| 60 | |
| 61 | theorem rightTranslationOverRing_coefficient_map |
| 62 | {R k : Type} [CommRing R] [Field k] {n : ℕ} (ι : R →+* k) |
| 63 | (A : Matrix (Fin n) (Fin n) R) (p : Algebraic.CoordinatePolynomial n R) : |
| 64 | MvPolynomial.map ι (rightTranslationOverRing A p) = |
| 65 | PolynomialAction.Construction.rightTranslate (A.map ι) (MvPolynomial.map ι p) := by |
| 66 | induction p using MvPolynomial.induction_on with |
| 67 | | C c => simp [rightTranslationOverRing] |
| 68 | | add p q hp hq => simp only [map_add, hp, hq] |
| 69 | | mul_X p ij hp => |
| 70 | rcases ij with ⟨i, j⟩ |
| 71 | simp only [map_mul, hp] |
| 72 | congr 1 |
| 73 | simp [rightTranslationOverRing, PolynomialAction.Construction.rightTranslate_X] |
| 74 | |
| 75 | theorem coefficient_map_totalDegree_eq |
| 76 | {R S σ : Type*} [CommSemiring R] [CommSemiring S] |
| 77 | (ι : R →+* S) (hι : Function.Injective ι) (p : MvPolynomial σ R) : |
| 78 | (MvPolynomial.map ι p).totalDegree = p.totalDegree := by |
| 79 | unfold MvPolynomial.totalDegree |
| 80 | rw [MvPolynomial.support_map_of_injective p hι] |
| 81 | |
| 82 | theorem rightTranslationOverRing_totalDegree_le |
| 83 | {R k : Type} [CommRing R] [Field k] {n : ℕ} |
| 84 | (ι : R →+* k) (hι : Function.Injective ι) |
| 85 | (A : Matrix (Fin n) (Fin n) R) (p : Algebraic.CoordinatePolynomial n R) : |
| 86 | (rightTranslationOverRing A p).totalDegree ≤ p.totalDegree := by |
| 87 | rw [← coefficient_map_totalDegree_eq ι hι (rightTranslationOverRing A p), |
| 88 | rightTranslationOverRing_coefficient_map] |
| 89 | exact (PolynomialAction.Construction.rightTranslate_totalDegree_le _ _).trans (UniformPolynomialStabilizer.Construction.coefficient_map_totalDegree_le ι p) |
| 90 | |
| 91 | def boundedIntegralCoefficientMap |
| 92 | {R k : Type} [CommRing R] [Field k] [Algebra R k] (n d : ℕ) : |
| 93 | restrictTotalDegree (Fin n × Fin n) R d →ₗ[R] BoundedRepresentation.Construction.BoundedPolynomials k n d where |
| 94 | toFun p := ⟨MvPolynomial.map (algebraMap R k) p.val, |
| 95 | (mem_restrictTotalDegree _ _ _).mpr ((UniformPolynomialStabilizer.Construction.coefficient_map_totalDegree_le _ _).trans |
| 96 | ((mem_restrictTotalDegree _ _ _).mp p.property))⟩ |
| 97 | map_add' p q := Subtype.ext (map_add _ p.val q.val) |
| 98 | map_smul' c p := by |
| 99 | apply Subtype.ext |
| 100 | exact (MvPolynomial.mapAlgHom (Algebra.ofId R k)).toLinearMap.map_smul c p.val |
| 101 | |
| 102 | def boundedIntegralPolynomialLattice |
| 103 | {R k : Type} [CommRing R] [Field k] [Algebra R k] (n d : ℕ) : |
| 104 | Submodule R (BoundedRepresentation.Construction.BoundedPolynomials k n d) := (boundedIntegralCoefficientMap (R := R) (k := k) n d).range |
| 105 | |
| 106 | theorem boundedIntegralPolynomialLattice_fg |
| 107 | {R k : Type} [CommRing R] [Field k] [Algebra R k] (n d : ℕ) : |
| 108 | (boundedIntegralPolynomialLattice (R := R) (k := k) n d).FG := by |
| 109 | unfold boundedIntegralPolynomialLattice |
| 110 | have hfg : (⊤ : Submodule R (restrictTotalDegree (Fin n × Fin n) R d)).FG := Module.Finite.fg_top |
| 111 | simpa only [Submodule.map_top] using hfg.map (boundedIntegralCoefficientMap (R := R) (k := k) n d) |
| 112 | |
| 113 | theorem boundedIntegralPolynomialLattice_full |
| 114 | {R k : Type} [CommRing R] [Field k] [Algebra R k] (n d : ℕ) : |
| 115 | Submodule.span k (boundedIntegralPolynomialLattice (R := R) (k := k) n d : Set (BoundedRepresentation.Construction.BoundedPolynomials k n d)) = ⊤ := by |
| 116 | let s : Set ((Fin n × Fin n) →₀ ℕ) := {m | m.sum (fun _ e => e) ≤ d} |
| 117 | let b : Module.Basis s k (BoundedRepresentation.Construction.BoundedPolynomials k n d) := MvPolynomial.basisRestrictSupport k s |
| 118 | have hb (A : Type) [CommRing A] (m : s) : |
| 119 | ((MvPolynomial.basisRestrictSupport A s) m).val = (monomial m.val 1 : MvPolynomial (Fin n × Fin n) A) := by |
| 120 | change AddMonoidAlgebra.ofCoeff |
| 121 | (((Finsupp.supportedEquivFinsupp (R := A) s).symm (Finsupp.single m 1)).val) = _ |
| 122 | rw [Finsupp.supportedEquivFinsupp_symm_single] |
| 123 | rfl |
| 124 | apply top_unique |
| 125 | rw [← b.span_eq] |
| 126 | apply Submodule.span_le.mpr |
| 127 | rintro _ ⟨m, rfl⟩ |
| 128 | apply Submodule.subset_span |
| 129 | refine ⟨MvPolynomial.basisRestrictSupport R s m, ?_⟩ |
| 130 | apply Subtype.ext |
| 131 | change MvPolynomial.map (algebraMap R k) ((MvPolynomial.basisRestrictSupport R s m).val) = |
| 132 | (MvPolynomial.basisRestrictSupport k s m).val |
| 133 | rw [hb, hb] |
| 134 | simp |
| 135 | |
| 136 | end |
| 137 | |
| 138 | /-! Integral special-linear matrices preserve the full bounded-degree |
| 139 | polynomial lattice. -/ |
| 140 | |
| 141 | open scoped Classical |
| 142 | open _root_.MvPolynomial |
| 143 | |
| 144 | theorem boundedIntegralPolynomialLattice_action_mem |
| 145 | {R k : Type} [CommRing R] [Field k] [Algebra R k] [FaithfulSMul R k] {n d : ℕ} |
| 146 | (g : Matrix.SpecialLinearGroup (Fin n) R) {p : BoundedRepresentation.Construction.BoundedPolynomials k n d} |
| 147 | (hp : p ∈ boundedIntegralPolynomialLattice (R := R) (k := k) n d) : |
| 148 | BoundedRepresentation.Construction.boundedPolynomialRepresentation d (Matrix.SpecialLinearGroup.map (algebraMap R k) g) p ∈ |
| 149 | boundedIntegralPolynomialLattice (R := R) (k := k) n d := by |
| 150 | obtain ⟨q, rfl⟩ := hp |
| 151 | let q' : restrictTotalDegree (Fin n × Fin n) R d := |
| 152 | ⟨rightTranslationOverRing (g : Matrix (Fin n) (Fin n) R) q.val, |
| 153 | (mem_restrictTotalDegree _ _ _).mpr |
| 154 | ((rightTranslationOverRing_totalDegree_le (algebraMap R k) |
| 155 | (FaithfulSMul.algebraMap_injective R k) _ _).trans |
| 156 | ((mem_restrictTotalDegree _ _ _).mp q.property))⟩ |
| 157 | refine ⟨q', ?_⟩ |
| 158 | apply Subtype.ext |
| 159 | exact rightTranslationOverRing_coefficient_map (algebraMap R k) |
| 160 | (g : Matrix (Fin n) (Fin n) R) q.val |
| 161 | |
| 162 | theorem boundedIntegralPolynomialLattice_action_iff |
| 163 | {R k : Type} [CommRing R] [Field k] [Algebra R k] [FaithfulSMul R k] {n d : ℕ} |
| 164 | (g : Matrix.SpecialLinearGroup (Fin n) R) (p : BoundedRepresentation.Construction.BoundedPolynomials k n d) : |
| 165 | BoundedRepresentation.Construction.boundedPolynomialRepresentation d (Matrix.SpecialLinearGroup.map (algebraMap R k) g) p ∈ |
| 166 | boundedIntegralPolynomialLattice (R := R) (k := k) n d ↔ |
| 167 | p ∈ boundedIntegralPolynomialLattice (R := R) (k := k) n d := by |
| 168 | constructor |
| 169 | · intro hp |
| 170 | have h := boundedIntegralPolynomialLattice_action_mem g⁻¹ hp |
| 171 | have he : BoundedRepresentation.Construction.boundedPolynomialRepresentation d (Matrix.SpecialLinearGroup.map (algebraMap R k) g⁻¹) |
| 172 | (BoundedRepresentation.Construction.boundedPolynomialRepresentation d (Matrix.SpecialLinearGroup.map (algebraMap R k) g) p) = p := by |
| 173 | rw [← LinearEquiv.mul_apply, ← map_mul, ← map_mul, inv_mul_cancel, map_one, map_one] |
| 174 | rfl |
| 175 | rwa [he] at h |
| 176 | · exact boundedIntegralPolynomialLattice_action_mem g |
| 177 | |
| 178 | end |
| 179 | |
| 180 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Integral.Polynomial.Construction |