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.Quaternion.Arithmetic.EmbeddedCommensurability |
| 2 | import OAI.NumberTheory.Quaternion.Arithmetic.LocalProductTangent |
| 3 | |
| 4 | /-! # Product Tangent To -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.Quaternion.Arithmetic.ProductTangentTo |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Conjugation acts on the simultaneous local tangent span. Rational |
| 13 | commensurators therefore preserve this span over a common prime field. -/ |
| 14 | |
| 15 | open scoped Classical _root_.NumberField |
| 16 | open IsDedekindDomain Set Filter _root_.Topology |
| 17 | |
| 18 | variable {F κ : Type} [Field F] [NumberField F] [Field κ] {n : ℕ} {ι : Type*} |
| 19 | variable (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) (v : ι → HeightOneSpectrum (𝓞 F)) |
| 20 | variable [∀ i, Algebra κ ((v i).adicCompletion F)] |
| 21 | |
| 22 | def productMatrixConjugation (g : ∀ i, LocalAdeles.LocalPoints G (Sum.inr (v i))) : |
| 23 | (∀ i, Matrix (Fin n) (Fin n) ((v i).adicCompletion F)) →L[κ] |
| 24 | (∀ i, Matrix (Fin n) (Fin n) ((v i).adicCompletion F)) := |
| 25 | ContinuousLinearMap.pi (fun i => |
| 26 | ((TangentCone.matrixConjugation (K := (v i).adicCompletion F) G (LocalAdeles.localEmbedding (Sum.inr (v i))) (g i)).restrictScalars κ).comp |
| 27 | (ContinuousLinearMap.proj i)) |
| 28 | |
| 29 | theorem productMatrixConjugation_one (g : ∀ i, LocalAdeles.LocalPoints G (Sum.inr (v i))) : |
| 30 | productMatrixConjugation (κ := κ) G v g 1 = 1 := by |
| 31 | funext i |
| 32 | exact TangentCone.matrixConjugation_one G (LocalAdeles.localEmbedding (Sum.inr (v i))) (g i) |
| 33 | |
| 34 | theorem continuous_productMatrixConjugation_point |
| 35 | (X : ∀ i, Matrix (Fin n) (Fin n) ((v i).adicCompletion F)) : |
| 36 | Continuous (fun g => productMatrixConjugation (κ := κ) G v g X) := by |
| 37 | apply continuous_pi |
| 38 | intro i |
| 39 | exact (TangentBracket.continuous_matrixConjugation_point G (LocalAdeles.localEmbedding (Sum.inr (v i))) (X i)).comp |
| 40 | (continuous_apply i) |
| 41 | |
| 42 | theorem productMatrixConjugation_mapsTo_tangentCone |
| 43 | (H : Subgroup (∀ i, LocalAdeles.LocalPoints G (Sum.inr (v i)))) (g : ∀ i, LocalAdeles.LocalPoints G (Sum.inr (v i))) : |
| 44 | MapsTo (productMatrixConjugation (κ := κ) G v g) |
| 45 | (tangentConeAt κ (PrimeBlockDecomposition.finiteMatrixProductHom G v '' (H : Set _)) 1) |
| 46 | (tangentConeAt κ (PrimeBlockDecomposition.finiteMatrixProductHom G v '' |
| 47 | (H.map (MulAut.conj g).toMonoidHom : Set _)) 1) := by |
| 48 | have he : productMatrixConjugation (κ := κ) G v g '' (PrimeBlockDecomposition.finiteMatrixProductHom G v '' (H : Set _)) = |
| 49 | PrimeBlockDecomposition.finiteMatrixProductHom G v '' (H.map (MulAut.conj g).toMonoidHom : Set _) := by |
| 50 | rw [Subgroup.coe_map, image_image, image_image] |
| 51 | rfl |
| 52 | have ht := TangentCone.continuousLinearMap_mapsTo_tangentCone (productMatrixConjugation (κ := κ) G v g) |
| 53 | (PrimeBlockDecomposition.finiteMatrixProductHom G v '' (H : Set _)) 1 |
| 54 | rw [he, productMatrixConjugation_one] at ht |
| 55 | exact ht |
| 56 | |
| 57 | theorem product_conjugation_preserves_closure_tangentSpan |
| 58 | (H : Subgroup (∀ i, LocalAdeles.LocalPoints G (Sum.inr (v i)))) (g : ∀ i, LocalAdeles.LocalPoints G (Sum.inr (v i))) |
| 59 | (hc : (H.map (MulAut.conj g).toMonoidHom).Commensurable H) : |
| 60 | MapsTo (productMatrixConjugation (κ := κ) G v g) |
| 61 | (Submodule.span κ (tangentConeAt κ (PrimeBlockDecomposition.finiteMatrixProductHom G v '' |
| 62 | (H.topologicalClosure : Set _)) 1) : Set _) |
| 63 | (Submodule.span κ (tangentConeAt κ (PrimeBlockDecomposition.finiteMatrixProductHom G v '' |
| 64 | (H.topologicalClosure : Set _)) 1) : Set _) := by |
| 65 | have ht := productMatrixConjugation_mapsTo_tangentCone (κ := κ) G v H.topologicalClosure g |
| 66 | rw [← TangentCone.closure_map_conj] at ht |
| 67 | have hemb : IsEmbedding (PrimeBlockDecomposition.finiteMatrixProductHom G v) := |
| 68 | (IsClosedEmbedding.piMap (fun i => IntegralCompact.localPoints_closedEmbedding G (Sum.inr (v i)))).isEmbedding |
| 69 | have hn := congrArg (Filter.map (PrimeBlockDecomposition.finiteMatrixProductHom G v)) (ClosureCommensurability.commensurable_closures_nhdsWithin_eq hc) |
| 70 | rw [hemb.map_nhdsWithin_eq, hemb.map_nhdsWithin_eq, map_one] at hn |
| 71 | have he := tangentConeAt_congr (𝕜 := κ) hn |
| 72 | let W := Submodule.span κ (tangentConeAt κ (PrimeBlockDecomposition.finiteMatrixProductHom G v '' |
| 73 | (H.topologicalClosure : Set _)) 1) |
| 74 | have hle : W ≤ W.comap (productMatrixConjugation (κ := κ) G v g).toLinearMap := by |
| 75 | apply Submodule.span_le.mpr |
| 76 | intro x hx |
| 77 | exact Submodule.subset_span (he.le (ht hx)) |
| 78 | exact hle |
| 79 | |
| 80 | end |
| 81 | |
| 82 | section |
| 83 | |
| 84 | /-! The simultaneous tangent commutator limit, over a common scalar |
| 85 | field for the selected local factors. -/ |
| 86 | |
| 87 | open scoped Classical _root_.NumberField |
| 88 | open IsDedekindDomain Set Filter _root_.Topology |
| 89 | |
| 90 | variable {F κ : Type} [Field F] [NumberField F] [Field κ] {n : ℕ} {ι : Type*} |
| 91 | variable (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) (v : ι → HeightOneSpectrum (𝓞 F)) |
| 92 | variable [∀ i, Algebra κ ((v i).adicCompletion F)] |
| 93 | |
| 94 | theorem scaled_product_conjugation_displacement |
| 95 | (g : ∀ i, LocalAdeles.LocalPoints G (Sum.inr (v i))) |
| 96 | (X : ∀ i, Matrix (Fin n) (Fin n) ((v i).adicCompletion F)) (c : κ) : |
| 97 | c • (productMatrixConjugation (κ := κ) G v g X - X) = |
| 98 | ((c • (PrimeBlockDecomposition.finiteMatrixProductHom G v g - 1)) * X - |
| 99 | X * (c • (PrimeBlockDecomposition.finiteMatrixProductHom G v g - 1))) * PrimeBlockDecomposition.finiteMatrixProductHom G v g⁻¹ := by |
| 100 | funext i |
| 101 | exact TangentBracket.scaled_conjugation_displacement_over (K := (v i).adicCompletion F) |
| 102 | (κ := κ) G (LocalAdeles.localEmbedding (Sum.inr (v i))) (g i) (X i) c |
| 103 | |
| 104 | theorem product_tangent_commutator_mem |
| 105 | (H : Subgroup (∀ i, LocalAdeles.LocalPoints G (Sum.inr (v i)))) |
| 106 | (W : Submodule κ (∀ i, Matrix (Fin n) (Fin n) ((v i).adicCompletion F))) |
| 107 | (hclosed : IsClosed (W : Set (∀ i, Matrix (Fin n) (Fin n) ((v i).adicCompletion F)))) |
| 108 | (hinvariant : ∀ g ∈ H, MapsTo (productMatrixConjugation (κ := κ) G v g) |
| 109 | (W : Set (∀ i, Matrix (Fin n) (Fin n) ((v i).adicCompletion F))) |
| 110 | (W : Set (∀ i, Matrix (Fin n) (Fin n) ((v i).adicCompletion F)))) |
| 111 | {X Y : ∀ i, Matrix (Fin n) (Fin n) ((v i).adicCompletion F)} |
| 112 | (hX : X ∈ W) |
| 113 | (hY : Y ∈ tangentConeAt κ (PrimeBlockDecomposition.finiteMatrixProductHom G v '' (H : Set _)) 1) : |
| 114 | Y * X - X * Y ∈ W := by |
| 115 | obtain ⟨α, l, hl, c, d, hd, hs, hcd⟩ := exists_fun_of_mem_tangentConeAt hY |
| 116 | have hM : Tendsto (fun a => (1 : ∀ i, Matrix (Fin n) (Fin n) ((v i).adicCompletion F)) + d a) |
| 117 | l (𝓝 1) := by simpa only [add_zero] using tendsto_const_nhds.add hd |
| 118 | let invM := fun a => fun i => ((1 + d a) i).adjugate |
| 119 | have hi : Tendsto invM l (𝓝 1) := by |
| 120 | apply tendsto_pi_nhds.mpr |
| 121 | intro i |
| 122 | have h := (continuous_id.matrix_adjugate.tendsto |
| 123 | (1 : Matrix (Fin n) (Fin n) ((v i).adicCompletion F))).comp ((tendsto_pi_nhds.mp hM) i) |
| 124 | simpa only [invM, Matrix.adjugate_one, Function.comp_def, id_eq, Pi.one_apply] using h |
| 125 | let z := fun a => ((c a • d a) * X - X * (c a • d a)) * invM a |
| 126 | have hz : Tendsto z l (𝓝 (Y * X - X * Y)) := by |
| 127 | simpa only [mul_one] using |
| 128 | ((hcd.mul tendsto_const_nhds).sub (tendsto_const_nhds.mul hcd)).mul hi |
| 129 | apply hclosed.mem_of_tendsto hz |
| 130 | filter_upwards [hs] with a ha |
| 131 | obtain ⟨g, hg, hge⟩ := ha |
| 132 | have hm := W.smul_mem (c a) (W.sub_mem (hinvariant g hg hX) hX) |
| 133 | rw [scaled_product_conjugation_displacement] at hm |
| 134 | have hginv : PrimeBlockDecomposition.finiteMatrixProductHom G v g⁻¹ = invM a := by |
| 135 | funext i |
| 136 | exact congrArg (fun M => (M i).adjugate) hge |
| 137 | have hdg : PrimeBlockDecomposition.finiteMatrixProductHom G v g - 1 = d a := by |
| 138 | calc |
| 139 | PrimeBlockDecomposition.finiteMatrixProductHom G v g - 1 = (1 + d a) - 1 := congrArg (fun M => M - 1) hge |
| 140 | _ = d a := by abel |
| 141 | change z a ∈ W |
| 142 | dsimp only [z] |
| 143 | simpa only [hdg, hginv] using hm |
| 144 | |
| 145 | end |
| 146 | |
| 147 | /-! A commensurated simultaneous local subgroup has a tangent ideal in |
| 148 | the tangent Lie algebra of its commensurating group. -/ |
| 149 | |
| 150 | open scoped Classical _root_.NumberField |
| 151 | open IsDedekindDomain Set |
| 152 | |
| 153 | variable {F κ : Type} [Field F] [NumberField F] [Field κ] {n : ℕ} {ι : Type*} |
| 154 | variable (G : ArithmeticGroups.Lattices.Algebraic.MatrixAlgebraicGroup F n) (v : ι → HeightOneSpectrum (𝓞 F)) |
| 155 | variable [∀ i, Algebra κ ((v i).adicCompletion F)] |
| 156 | |
| 157 | theorem product_tangentSpan_commutator_mem |
| 158 | (H : Subgroup (∀ i, LocalAdeles.LocalPoints G (Sum.inr (v i)))) |
| 159 | (W : Submodule κ (∀ i, Matrix (Fin n) (Fin n) ((v i).adicCompletion F))) |
| 160 | (hclosed : IsClosed (W : Set (∀ i, Matrix (Fin n) (Fin n) ((v i).adicCompletion F)))) |
| 161 | (hinvariant : ∀ g ∈ H, MapsTo (productMatrixConjugation (κ := κ) G v g) |
| 162 | (W : Set (∀ i, Matrix (Fin n) (Fin n) ((v i).adicCompletion F))) |
| 163 | (W : Set (∀ i, Matrix (Fin n) (Fin n) ((v i).adicCompletion F)))) |
| 164 | {X Y : ∀ i, Matrix (Fin n) (Fin n) ((v i).adicCompletion F)} |
| 165 | (hX : X ∈ W) |
| 166 | (hY : Y ∈ Submodule.span κ (tangentConeAt κ (PrimeBlockDecomposition.finiteMatrixProductHom G v '' (H : Set _)) 1)) : |
| 167 | Y * X - X * Y ∈ W := by |
| 168 | let f : (∀ i, Matrix (Fin n) (Fin n) ((v i).adicCompletion F)) →ₗ[κ] |
| 169 | (∀ i, Matrix (Fin n) (Fin n) ((v i).adicCompletion F)) := { |
| 170 | toFun Y := Y * X - X * Y |
| 171 | map_add' := fun Y Z => by simp only [add_mul, mul_add]; abel |
| 172 | map_smul' := fun c Y => by |
| 173 | simp only [smul_mul_assoc, mul_smul_comm, smul_sub, RingHom.id_apply] } |
| 174 | have hle : Submodule.span κ (tangentConeAt κ (PrimeBlockDecomposition.finiteMatrixProductHom G v '' (H : Set _)) 1) ≤ |
| 175 | W.comap f := by |
| 176 | apply Submodule.span_le.mpr |
| 177 | exact fun Y hY => product_tangent_commutator_mem G v H W hclosed hinvariant hX hY |
| 178 | exact hle hY |
| 179 | |
| 180 | theorem product_conjugation_invariance_extends_to_closure |
| 181 | (R : Subgroup (∀ i, LocalAdeles.LocalPoints G (Sum.inr (v i)))) |
| 182 | (W : Submodule κ (∀ i, Matrix (Fin n) (Fin n) ((v i).adicCompletion F))) |
| 183 | (hclosed : IsClosed (W : Set (∀ i, Matrix (Fin n) (Fin n) ((v i).adicCompletion F)))) |
| 184 | (hR : ∀ g ∈ R, MapsTo (productMatrixConjugation (κ := κ) G v g) |
| 185 | (W : Set (∀ i, Matrix (Fin n) (Fin n) ((v i).adicCompletion F))) |
| 186 | (W : Set (∀ i, Matrix (Fin n) (Fin n) ((v i).adicCompletion F)))) : |
| 187 | ∀ g ∈ R.topologicalClosure, MapsTo (productMatrixConjugation (κ := κ) G v g) |
| 188 | (W : Set (∀ i, Matrix (Fin n) (Fin n) ((v i).adicCompletion F))) |
| 189 | (W : Set (∀ i, Matrix (Fin n) (Fin n) ((v i).adicCompletion F))) := by |
| 190 | intro g hg X hX |
| 191 | have hs := hclosed.preimage (continuous_productMatrixConjugation_point (κ := κ) G v X) |
| 192 | exact closure_minimal (fun a ha => hR a ha hX) hs hg |
| 193 | |
| 194 | theorem product_tangent_commutator_mem_of_commensurated |
| 195 | (H R : Subgroup (∀ i, LocalAdeles.LocalPoints G (Sum.inr (v i)))) |
| 196 | (hcomm : ∀ g ∈ R, (H.map (MulAut.conj g).toMonoidHom).Commensurable H) |
| 197 | (hclosed : IsClosed (Submodule.span κ (tangentConeAt κ (PrimeBlockDecomposition.finiteMatrixProductHom G v '' |
| 198 | (H.topologicalClosure : Set _)) 1) : Set (∀ i, Matrix (Fin n) (Fin n) ((v i).adicCompletion F)))) |
| 199 | {X Y : ∀ i, Matrix (Fin n) (Fin n) ((v i).adicCompletion F)} |
| 200 | (hX : X ∈ Submodule.span κ (tangentConeAt κ (PrimeBlockDecomposition.finiteMatrixProductHom G v '' |
| 201 | (H.topologicalClosure : Set _)) 1)) |
| 202 | (hY : Y ∈ Submodule.span κ (tangentConeAt κ (PrimeBlockDecomposition.finiteMatrixProductHom G v '' |
| 203 | (R.topologicalClosure : Set _)) 1)) : |
| 204 | Y * X - X * Y ∈ Submodule.span κ (tangentConeAt κ (PrimeBlockDecomposition.finiteMatrixProductHom G v '' |
| 205 | (H.topologicalClosure : Set _)) 1) := by |
| 206 | apply product_tangentSpan_commutator_mem G v R.topologicalClosure _ hclosed _ hX hY |
| 207 | apply product_conjugation_invariance_extends_to_closure G v R _ hclosed |
| 208 | exact fun g hg => product_conjugation_preserves_closure_tangentSpan G v H g (hcomm g hg) |
| 209 | |
| 210 | end |
| 211 | |
| 212 | end OAI.NumberTheory.Quaternion.Arithmetic.ProductTangentTo |