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.Archimedean.ClosedImage |
| 2 | import OAI.NumberTheory.ArithmeticGroups.Lattices.Archimedean.IntegralDiscrete |
| 3 | |
| 4 | /-! # Quotient -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.Archimedean.Quotient.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The full archimedean arithmetic quotient embeds as a closed subspace |
| 13 | of the ambient special-linear arithmetic quotient. -/ |
| 14 | |
| 15 | open scoped Classical _root_.NumberField |
| 16 | |
| 17 | theorem fullArchimedeanMatrixGroup_quotient_closedEmbedding |
| 18 | {k : Type} [Field k] [NumberField k] {n : ℕ} |
| 19 | (G : Algebraic.MatrixAlgebraicGroup k n) (hconn : G.IsGeometricallyConnected) (hsemi : G.IsSemisimple) : |
| 20 | Topology.IsClosedEmbedding |
| 21 | (ClosedOrbitQuotient.Construction.subgroupCosetMap (ExteriorAction.Construction.fullArchimedeanMatrixGroup G) (ExteriorAction.Construction.fullArchimedeanIntegralSL k n)) := by |
| 22 | let : DiscreteTopology (ExteriorAction.Construction.fullArchimedeanIntegralSL k n) := IntegralDiscrete.Construction.fullArchimedeanIntegralSL_discrete k n |
| 23 | let : SigmaCompactSpace (ExteriorAction.Construction.fullArchimedeanMatrixGroup G) := |
| 24 | (IntegralDiscrete.Construction.fullArchimedeanMatrixGroup_closed G).sigmaCompactSpace |
| 25 | exact StabilizerSaturation.Construction.subgroup_quotient_embedding_of_closed_image _ _ |
| 26 | (ClosedImage.Construction.fullArchimedeanMatrixGroup_quotient_image_closed G hconn hsemi) |
| 27 | |
| 28 | end |
| 29 | |
| 30 | section |
| 31 | |
| 32 | /-! Comparison of the full archimedean subgroup with the point-product |
| 33 | and integral stabilizer used by the stable Lattices statement. -/ |
| 34 | |
| 35 | open scoped Classical _root_.NumberField |
| 36 | open _root_.NumberField |
| 37 | |
| 38 | theorem matrixGroup_mem_iff_scalar_extension |
| 39 | {k K : Type} [Field k] [Field K] {n : ℕ} |
| 40 | (G : Algebraic.MatrixAlgebraicGroup k n) (ι : k →+* K) (g : Algebraic.SL n k) : |
| 41 | Matrix.SpecialLinearGroup.map ι g ∈ G.subgroup K ι ↔ g ∈ G.subgroup k (RingHom.id k) := by |
| 42 | constructor |
| 43 | · intro hg |
| 44 | apply (G.mem_iff k (RingHom.id k) g).mpr |
| 45 | intro p hp |
| 46 | apply ι.injective |
| 47 | have he := (G.mem_iff K ι _).mp hg p hp |
| 48 | simpa only [Algebraic.evaluateMatrix, MvPolynomial.map_eval₂Hom, map_zero, |
| 49 | Matrix.SpecialLinearGroup.map_apply_coe, RingHom.mapMatrix_apply, |
| 50 | Matrix.map_apply, RingHom.comp_id] using he |
| 51 | · intro hg |
| 52 | exact (G.map (RingHom.id k) ι ⟨g, hg⟩).property |
| 53 | |
| 54 | theorem fullArchimedeanSLMap_mem_iff |
| 55 | {k : Type} [Field k] [NumberField k] {n : ℕ} |
| 56 | (G : Algebraic.MatrixAlgebraicGroup k n) (g : Algebraic.SL n k) : |
| 57 | ExteriorAction.Construction.fullArchimedeanSLMap k n g ∈ ExteriorAction.Construction.fullArchimedeanMatrixGroup G ↔ |
| 58 | g ∈ G.subgroup k (RingHom.id k) := by |
| 59 | constructor |
| 60 | · intro hg |
| 61 | let v : InfinitePlace k := Classical.choice inferInstance |
| 62 | exact (matrixGroup_mem_iff_scalar_extension G (algebraMap k v.Completion) g).mp (hg v) |
| 63 | · intro hg v |
| 64 | exact (matrixGroup_mem_iff_scalar_extension G (algebraMap k v.Completion) g).mpr hg |
| 65 | |
| 66 | def fullArchimedeanRationalPointMap |
| 67 | {k : Type} [Field k] [NumberField k] {n : ℕ} (G : Algebraic.MatrixAlgebraicGroup k n) : |
| 68 | G.RationalPoints →* ExteriorAction.Construction.fullArchimedeanMatrixGroup G where |
| 69 | toFun g := ⟨ExteriorAction.Construction.fullArchimedeanSLMap k n g.val, (fullArchimedeanSLMap_mem_iff G g.val).mpr g.property⟩ |
| 70 | map_one' := Subtype.ext (map_one (ExteriorAction.Construction.fullArchimedeanSLMap k n)) |
| 71 | map_mul' g h := Subtype.ext (map_mul (ExteriorAction.Construction.fullArchimedeanSLMap k n) g.val h.val) |
| 72 | |
| 73 | def fullArchimedeanPointsEquiv |
| 74 | {k : Type} [Field k] {n : ℕ} (G : Algebraic.MatrixAlgebraicGroup k n) : |
| 75 | G.ArchimedeanProduct Set.univ ≃ₜ* ExteriorAction.Construction.fullArchimedeanMatrixGroup G where |
| 76 | toFun g := ⟨fun v => (g ⟨v, Set.mem_univ v⟩).val, fun v => (g ⟨v, Set.mem_univ v⟩).property⟩ |
| 77 | invFun g v := ⟨g.val v.val, g.property v.val⟩ |
| 78 | left_inv g := by funext v; rfl |
| 79 | right_inv g := by apply Subtype.ext; rfl |
| 80 | map_mul' g h := by apply Subtype.ext; rfl |
| 81 | continuous_toFun := by |
| 82 | apply Continuous.subtype_mk |
| 83 | apply continuous_pi |
| 84 | intro v |
| 85 | exact continuous_subtype_val.comp |
| 86 | (continuous_apply (⟨v, Set.mem_univ v⟩ : (Set.univ : Set (InfinitePlace k)))) |
| 87 | continuous_invFun := by |
| 88 | apply continuous_pi |
| 89 | intro v |
| 90 | exact ((continuous_apply v.val).comp continuous_subtype_val).subtype_mk _ |
| 91 | |
| 92 | theorem fullArchimedeanPointsEquiv_diagonal |
| 93 | {k : Type} [Field k] [NumberField k] {n : ℕ} |
| 94 | (G : Algebraic.MatrixAlgebraicGroup k n) (g : G.RationalPoints) : |
| 95 | fullArchimedeanPointsEquiv G (G.diagonal Set.univ g) = fullArchimedeanRationalPointMap G g := rfl |
| 96 | |
| 97 | theorem fullArchimedean_standard_arithmetic_subgroup |
| 98 | {k : Type} [Field k] [NumberField k] {n : ℕ} (G : Algebraic.MatrixAlgebraicGroup k n) : |
| 99 | (G.latticeStabilizer (IntegralLattice.FullLattice.standard k n)).map (fullArchimedeanRationalPointMap G) = |
| 100 | (ExteriorAction.Construction.fullArchimedeanIntegralSL k n).subgroupOf (ExteriorAction.Construction.fullArchimedeanMatrixGroup G) := by |
| 101 | ext g |
| 102 | constructor |
| 103 | · rintro ⟨q, hq, rfl⟩ |
| 104 | obtain ⟨A, hA⟩ := (Integral.Matrices.Construction.standard_lattice_stabilizer_iff_integral G q).mp hq |
| 105 | exact ⟨A, congrArg (ExteriorAction.Construction.fullArchimedeanSLMap k n) hA⟩ |
| 106 | · rintro ⟨A, hA⟩ |
| 107 | let q := Matrix.SpecialLinearGroup.map (algebraMap (𝓞 k) k) A |
| 108 | have hq : q ∈ G.subgroup k (RingHom.id k) := by |
| 109 | apply (fullArchimedeanSLMap_mem_iff G q).mp |
| 110 | change ExteriorAction.Construction.fullArchimedeanSLMap k n q = g.val at hA |
| 111 | exact hA.symm ▸ g.property |
| 112 | refine ⟨⟨q, hq⟩, (Integral.Matrices.Construction.standard_lattice_stabilizer_iff_integral G ⟨q, hq⟩).mpr ⟨A, rfl⟩, ?_⟩ |
| 113 | exact Subtype.ext hA |
| 114 | |
| 115 | end |
| 116 | |
| 117 | section |
| 118 | |
| 119 | /-! The archimedean matrix product is a special-linear group over the |
| 120 | mixed real/complex algebra. This is the matrix realization used for |
| 121 | restriction of scalars to the reals. -/ |
| 122 | |
| 123 | open scoped Classical |
| 124 | open _root_.NumberField _root_.NumberField.mixedEmbedding |
| 125 | |
| 126 | def archimedeanAdeleMatrix {k : Type} [Field k] {n : ℕ} (g : ExteriorAction.Construction.FullArchimedeanSL k n) : |
| 127 | Matrix (Fin n) (Fin n) (InfiniteAdeleRing k) := Matrix.of (fun i j v => g v i j) |
| 128 | |
| 129 | theorem archimedeanAdeleMatrix_det {k : Type} [Field k] {n : ℕ} (g : ExteriorAction.Construction.FullArchimedeanSL k n) : |
| 130 | (archimedeanAdeleMatrix g).det = 1 := by |
| 131 | funext v |
| 132 | let ev : InfiniteAdeleRing k →+* v.Completion := Pi.evalRingHom (fun w => w.Completion) v |
| 133 | have he : (archimedeanAdeleMatrix g).map ev = (g v : Matrix (Fin n) (Fin n) v.Completion) := rfl |
| 134 | change ev (archimedeanAdeleMatrix g).det = 1 |
| 135 | rw [RingHom.map_det, RingHom.mapMatrix_apply, he, Matrix.SpecialLinearGroup.det_coe] |
| 136 | |
| 137 | def archimedeanAdeleSL (k : Type) [Field k] (n : ℕ) : |
| 138 | ExteriorAction.Construction.FullArchimedeanSL k n →* Algebraic.SL n (InfiniteAdeleRing k) where |
| 139 | toFun g := ⟨archimedeanAdeleMatrix g, archimedeanAdeleMatrix_det g⟩ |
| 140 | map_one' := by |
| 141 | apply Matrix.SpecialLinearGroup.ext |
| 142 | intro i j |
| 143 | funext v |
| 144 | change (1 : Matrix (Fin n) (Fin n) v.Completion) i j = |
| 145 | (1 : Matrix (Fin n) (Fin n) (InfiniteAdeleRing k)) i j v |
| 146 | simp only [Matrix.one_apply] |
| 147 | split_ifs <;> rfl |
| 148 | map_mul' g h := by |
| 149 | apply Matrix.SpecialLinearGroup.ext |
| 150 | intro i j |
| 151 | funext v |
| 152 | let ev : InfiniteAdeleRing k →+* v.Completion := Pi.evalRingHom (fun w => w.Completion) v |
| 153 | change (∑ l, g v i l * h v l j) = |
| 154 | ev (∑ l, archimedeanAdeleMatrix g i l * archimedeanAdeleMatrix h l j) |
| 155 | rw [map_sum] |
| 156 | apply Finset.sum_congr rfl |
| 157 | intro l _ |
| 158 | rw [map_mul] |
| 159 | rfl |
| 160 | |
| 161 | def archimedeanMixedSL (k : Type) [Field k] (n : ℕ) : |
| 162 | ExteriorAction.Construction.FullArchimedeanSL k n →* Algebraic.SL n (mixedSpace k) := |
| 163 | (Matrix.SpecialLinearGroup.map (InfiniteAdeleRing.ringEquiv_mixedSpace k).toRingHom).comp |
| 164 | (archimedeanAdeleSL k n) |
| 165 | |
| 166 | theorem archimedeanMixedSL_entry {k : Type} [Field k] {n : ℕ} |
| 167 | (g : ExteriorAction.Construction.FullArchimedeanSL k n) (i j : Fin n) : |
| 168 | archimedeanMixedSL k n g i j = InfiniteAdeleRing.ringEquiv_mixedSpace k (fun v => g v i j) := rfl |
| 169 | |
| 170 | theorem archimedeanMixedSL_injective (k : Type) [Field k] (n : ℕ) : |
| 171 | Function.Injective (archimedeanMixedSL k n) := by |
| 172 | intro g h he |
| 173 | funext v |
| 174 | apply Matrix.SpecialLinearGroup.ext |
| 175 | intro i j |
| 176 | have hij := congrArg (fun z : Algebraic.SL n (mixedSpace k) => z i j) he |
| 177 | exact congrFun ((InfiniteAdeleRing.ringEquiv_mixedSpace k).injective hij) v |
| 178 | |
| 179 | theorem continuous_archimedeanMixedSL (k : Type) [Field k] (n : ℕ) : |
| 180 | Continuous (archimedeanMixedSL k n) := by |
| 181 | apply Continuous.subtype_mk |
| 182 | apply continuous_pi |
| 183 | intro i |
| 184 | apply continuous_pi |
| 185 | intro j |
| 186 | change Continuous (fun g : ExteriorAction.Construction.FullArchimedeanSL k n => |
| 187 | InfiniteAdeleRing.ringEquiv_mixedSpace k (fun v => g v i j)) |
| 188 | apply Discrete.Construction.continuous_adele_to_mixed.comp |
| 189 | apply continuous_pi |
| 190 | intro v |
| 191 | exact (continuous_apply j).comp (Matrix.SpecialLinearGroup.continuous_apply _ (continuous_apply v) i) |
| 192 | |
| 193 | theorem archimedeanMixedSL_surjective (k : Type) [Field k] (n : ℕ) : |
| 194 | Function.Surjective (archimedeanMixedSL k n) := by |
| 195 | intro A |
| 196 | let B := Matrix.SpecialLinearGroup.map (InfiniteAdeleRing.ringEquiv_mixedSpace k).symm.toRingHom A |
| 197 | let g : ExteriorAction.Construction.FullArchimedeanSL k n := fun v => |
| 198 | Matrix.SpecialLinearGroup.map |
| 199 | (show InfiniteAdeleRing k →+* v.Completion from Pi.evalRingHom (fun w => w.Completion) v) B |
| 200 | refine ⟨g, ?_⟩ |
| 201 | apply Matrix.SpecialLinearGroup.ext |
| 202 | intro i j |
| 203 | change InfiniteAdeleRing.ringEquiv_mixedSpace k |
| 204 | ((InfiniteAdeleRing.ringEquiv_mixedSpace k).symm (A i j)) = A i j |
| 205 | exact (InfiniteAdeleRing.ringEquiv_mixedSpace k).apply_symm_apply (A i j) |
| 206 | |
| 207 | end |
| 208 | |
| 209 | /-! Restriction of scalars gives a faithful, determinant-one real |
| 210 | representation on the Minkowski coordinate space. -/ |
| 211 | |
| 212 | open scoped Classical |
| 213 | open _root_.NumberField _root_.NumberField.mixedEmbedding |
| 214 | |
| 215 | def archimedeanRealRepresentation (k : Type) [Field k] (n : ℕ) : |
| 216 | ExteriorAction.Construction.FullArchimedeanSL k n →* ((Fin n → mixedSpace k) ≃ₗ[ℝ] (Fin n → mixedSpace k)) where |
| 217 | toFun g := (Matrix.SpecialLinearGroup.toLin' (archimedeanMixedSL k n g)).restrictScalars ℝ |
| 218 | map_one' := by |
| 219 | apply LinearEquiv.ext |
| 220 | intro x |
| 221 | change Matrix.SpecialLinearGroup.toLin' (archimedeanMixedSL k n 1) x = x |
| 222 | rw [map_one, map_one] |
| 223 | rfl |
| 224 | map_mul' g h := by |
| 225 | apply LinearEquiv.ext |
| 226 | intro x |
| 227 | change Matrix.SpecialLinearGroup.toLin' (archimedeanMixedSL k n (g * h)) x = |
| 228 | Matrix.SpecialLinearGroup.toLin' (archimedeanMixedSL k n g) |
| 229 | (Matrix.SpecialLinearGroup.toLin' (archimedeanMixedSL k n h) x) |
| 230 | rw [map_mul, map_mul] |
| 231 | rfl |
| 232 | |
| 233 | theorem archimedeanRealRepresentation_det (k : Type) [Field k] (n : ℕ) |
| 234 | (g : ExteriorAction.Construction.FullArchimedeanSL k n) : |
| 235 | (archimedeanRealRepresentation k n g).toLinearMap.det = 1 := by |
| 236 | change ((Matrix.toLin' (archimedeanMixedSL k n g : Matrix (Fin n) (Fin n) (mixedSpace k))).restrictScalars ℝ).det = 1 |
| 237 | rw [LinearMap.det_restrictScalars, LinearMap.det_toLin', Matrix.SpecialLinearGroup.det_coe, map_one] |
| 238 | |
| 239 | theorem archimedeanRealRepresentation_injective (k : Type) [Field k] (n : ℕ) : |
| 240 | Function.Injective (archimedeanRealRepresentation k n) := by |
| 241 | intro g h he |
| 242 | apply archimedeanMixedSL_injective k n |
| 243 | apply Matrix.SpecialLinearGroup.toLin'_injective |
| 244 | apply LinearEquiv.ext |
| 245 | intro x |
| 246 | exact congrArg (fun f : (Fin n → mixedSpace k) ≃ₗ[ℝ] (Fin n → mixedSpace k) => f x) he |
| 247 | |
| 248 | theorem continuous_archimedeanRealRepresentation_apply (k : Type) [Field k] (n : ℕ) : |
| 249 | Continuous (fun a : ExteriorAction.Construction.FullArchimedeanSL k n × (Fin n → mixedSpace k) => |
| 250 | archimedeanRealRepresentation k n a.1 a.2) := by |
| 251 | apply continuous_pi |
| 252 | intro i |
| 253 | change Continuous (fun a : ExteriorAction.Construction.FullArchimedeanSL k n × (Fin n → mixedSpace k) => |
| 254 | ∑ j, archimedeanMixedSL k n a.1 i j * a.2 j) |
| 255 | apply continuous_finsetSum |
| 256 | intro j _ |
| 257 | have hm : Continuous (fun a : ExteriorAction.Construction.FullArchimedeanSL k n × (Fin n → mixedSpace k) => |
| 258 | archimedeanMixedSL k n a.1 i j) := |
| 259 | (continuous_apply j).comp (Matrix.SpecialLinearGroup.continuous_apply _ |
| 260 | ((continuous_archimedeanMixedSL k n).comp continuous_fst) i) |
| 261 | exact hm.mul ((continuous_apply j).comp continuous_snd) |
| 262 | |
| 263 | end |
| 264 | |
| 265 | end OAI.NumberTheory.ArithmeticGroups.Lattices.Archimedean.Quotient.Construction |