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.RepresentationTheory.Hecke.RadialDilation.TestSections |
| 2 | |
| 3 | /-! # Tensor Commutant -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Hecke.RadialDilation.TensorCommutant.Realization |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Extension of actual local operators by acting on product sections. -/ |
| 12 | |
| 13 | open scoped Classical _root_.Topology |
| 14 | open Filter |
| 15 | |
| 16 | variable {X Y : Type*} [TopologicalSpace X] [TopologicalSpace Y] [T2Space X] [T2Space Y] |
| 17 | |
| 18 | omit [T2Space X] [T2Space Y] in |
| 19 | theorem uncurry_test_locallyConstant |
| 20 | (s : Y → TestSections.Realization.lcCompactSpace X) (hs : IsLocallyConstant s) : |
| 21 | IsLocallyConstant (fun p : X × Y => (s p.2).val p.1) := by |
| 22 | rw [IsLocallyConstant.iff_eventually_eq] |
| 23 | intro p |
| 24 | have h₁ := (hs.comp_continuous (continuous_snd : Continuous (Prod.snd : X × Y → Y))).eventually_eq p |
| 25 | have h₂ := ((s p.2).property.1.comp_continuous |
| 26 | (continuous_fst : Continuous (Prod.fst : X × Y → X))).eventually_eq p |
| 27 | filter_upwards [h₁, h₂] with p' hp₁ hp₂ |
| 28 | change s p'.2 = s p.2 at hp₁ |
| 29 | rw [hp₁] |
| 30 | exact hp₂ |
| 31 | |
| 32 | theorem uncurry_test_compactSupport |
| 33 | (s : Y → TestSections.Realization.lcCompactSpace X) (hs : IsLocallyConstant s) (hc : HasCompactSupport s) : |
| 34 | HasCompactSupport (fun p : X × Y => (s p.2).val p.1) := by |
| 35 | let K : Set X := ⋃ f ∈ Set.range s, tsupport f.val |
| 36 | have hK : IsCompact K := |
| 37 | (TestSections.Realization.locallyConstant_compact_range_finite s hs hc).isCompact_biUnion (fun f _ => f.property.2) |
| 38 | apply HasCompactSupport.intro (hK.prod hc) |
| 39 | rintro ⟨x, y⟩ hxy |
| 40 | by_contra hn |
| 41 | have hy : s y ≠ 0 := by |
| 42 | intro hy |
| 43 | rw [hy] at hn |
| 44 | exact hn rfl |
| 45 | have hx : x ∈ K := Set.mem_iUnion.mpr ⟨s y, |
| 46 | Set.mem_iUnion.mpr ⟨⟨y, rfl⟩, subset_tsupport (s y).val hn⟩⟩ |
| 47 | exact hxy ⟨hx, subset_tsupport s hy⟩ |
| 48 | |
| 49 | def uncurryTest (s : Y → TestSections.Realization.lcCompactSpace X) (hs : IsLocallyConstant s) (hc : HasCompactSupport s) : |
| 50 | TestSections.Realization.lcCompactSpace (X × Y) := |
| 51 | ⟨fun p => (s p.2).val p.1, uncurry_test_locallyConstant s hs, uncurry_test_compactSupport s hs hc⟩ |
| 52 | |
| 53 | /-- The operator acts on every actual section at a fixed auxiliary point. |
| 54 | Preservation of the test space is proved from compactness and local constancy. -/ |
| 55 | def extendTestLinear (T : TestSections.Realization.lcCompactSpace X →ₗ[ℂ] TestSections.Realization.lcCompactSpace X) : |
| 56 | TestSections.Realization.lcCompactSpace (X × Y) →ₗ[ℂ] TestSections.Realization.lcCompactSpace (X × Y) where |
| 57 | toFun f := uncurryTest (fun y => T (TestSections.Realization.testSection y f)) |
| 58 | ((TestSections.Realization.testSection_locallyConstant f).comp T) |
| 59 | ((TestSections.Realization.testSection_compactSupport f).comp_left T.map_zero) |
| 60 | map_add' f g := by |
| 61 | apply Subtype.ext |
| 62 | funext p |
| 63 | change (T (TestSections.Realization.testSection p.2 (f + g))).val p.1 = _ |
| 64 | rw [map_add, map_add] |
| 65 | rfl |
| 66 | map_smul' c f := by |
| 67 | apply Subtype.ext |
| 68 | funext p |
| 69 | change (T (TestSections.Realization.testSection p.2 (c • f))).val p.1 = _ |
| 70 | rw [map_smul, map_smul] |
| 71 | rfl |
| 72 | |
| 73 | theorem testSection_extend (T : TestSections.Realization.lcCompactSpace X →ₗ[ℂ] TestSections.Realization.lcCompactSpace X) |
| 74 | (f : TestSections.Realization.lcCompactSpace (X × Y)) (y : Y) : |
| 75 | TestSections.Realization.testSection y (extendTestLinear T f) = T (TestSections.Realization.testSection y f) := by |
| 76 | apply Subtype.ext |
| 77 | rfl |
| 78 | |
| 79 | def extendTestEquiv (T : TestSections.Realization.lcCompactSpace X ≃ₗ[ℂ] TestSections.Realization.lcCompactSpace X) : |
| 80 | TestSections.Realization.lcCompactSpace (X × Y) ≃ₗ[ℂ] TestSections.Realization.lcCompactSpace (X × Y) := |
| 81 | { extendTestLinear T.toLinearMap with |
| 82 | invFun := extendTestLinear T.symm.toLinearMap |
| 83 | left_inv := by |
| 84 | intro f |
| 85 | apply Subtype.ext |
| 86 | funext p |
| 87 | change (T.symm (TestSections.Realization.testSection p.2 (extendTestLinear T.toLinearMap f))).val p.1 = f.val p |
| 88 | rw [testSection_extend] |
| 89 | change (T.symm (T (TestSections.Realization.testSection p.2 f))).val p.1 = f.val p |
| 90 | rw [T.symm_apply_apply] |
| 91 | rfl |
| 92 | right_inv := by |
| 93 | intro f |
| 94 | apply Subtype.ext |
| 95 | funext p |
| 96 | change (T (TestSections.Realization.testSection p.2 (extendTestLinear T.symm.toLinearMap f))).val p.1 = f.val p |
| 97 | rw [testSection_extend] |
| 98 | change (T (T.symm (TestSections.Realization.testSection p.2 f))).val p.1 = f.val p |
| 99 | rw [T.apply_symm_apply] |
| 100 | rfl } |
| 101 | |
| 102 | def extendTestHom : (TestSections.Realization.lcCompactSpace X ≃ₗ[ℂ] TestSections.Realization.lcCompactSpace X) →* |
| 103 | (TestSections.Realization.lcCompactSpace (X × Y) ≃ₗ[ℂ] TestSections.Realization.lcCompactSpace (X × Y)) where |
| 104 | toFun := extendTestEquiv |
| 105 | map_one' := by |
| 106 | apply LinearEquiv.ext |
| 107 | intro f |
| 108 | apply Subtype.ext |
| 109 | rfl |
| 110 | map_mul' T U := by |
| 111 | apply LinearEquiv.ext |
| 112 | intro f |
| 113 | apply Subtype.ext |
| 114 | funext p |
| 115 | change (T (U (TestSections.Realization.testSection p.2 f))).val p.1 = |
| 116 | (T (TestSections.Realization.testSection p.2 (extendTestLinear U.toLinearMap f))).val p.1 |
| 117 | rw [testSection_extend] |
| 118 | rfl |
| 119 | |
| 120 | end |
| 121 | |
| 122 | section |
| 123 | |
| 124 | /-! Pure test tensors and changes of position coordinates. -/ |
| 125 | |
| 126 | open scoped Classical |
| 127 | |
| 128 | def testPullback {X Y : Type*} [TopologicalSpace X] [TopologicalSpace Y] (e : X ≃ₜ Y) : |
| 129 | TestSections.Realization.lcCompactSpace Y ≃ₗ[ℂ] TestSections.Realization.lcCompactSpace X where |
| 130 | toFun f := ⟨f.val ∘ e, f.property.1.comp_continuous e.continuous, f.property.2.comp_homeomorph e⟩ |
| 131 | invFun f := ⟨f.val ∘ e.symm, f.property.1.comp_continuous e.symm.continuous, |
| 132 | f.property.2.comp_homeomorph e.symm⟩ |
| 133 | left_inv f := by apply Subtype.ext; funext x; simp |
| 134 | right_inv f := by apply Subtype.ext; funext x; simp |
| 135 | map_add' f g := rfl |
| 136 | map_smul' c f := rfl |
| 137 | |
| 138 | def conjugateLinearAut {S T : Type*} [AddCommGroup S] [AddCommGroup T] [Module ℂ S] [Module ℂ T] |
| 139 | (e : S ≃ₗ[ℂ] T) : (S ≃ₗ[ℂ] S) →* (T ≃ₗ[ℂ] T) where |
| 140 | toFun U := e.symm.trans (U.trans e) |
| 141 | map_one' := by apply LinearEquiv.ext; intro f; simp |
| 142 | map_mul' U V := by apply LinearEquiv.ext; intro f; simp |
| 143 | |
| 144 | theorem conjugateLinearAut_neg {S T : Type*} [AddCommGroup S] [AddCommGroup T] |
| 145 | [Module ℂ S] [Module ℂ T] (e : S ≃ₗ[ℂ] T) : |
| 146 | conjugateLinearAut e (LinearEquiv.neg ℂ) = LinearEquiv.neg ℂ := by |
| 147 | apply LinearEquiv.ext |
| 148 | intro f |
| 149 | change e (-e.symm f) = -f |
| 150 | rw [map_neg, e.apply_symm_apply] |
| 151 | |
| 152 | variable {X Y : Type*} [TopologicalSpace X] [TopologicalSpace Y] [T2Space X] [T2Space Y] |
| 153 | |
| 154 | def tensorTest (f : TestSections.Realization.lcCompactSpace X) (g : TestSections.Realization.lcCompactSpace Y) : TestSections.Realization.lcCompactSpace (X × Y) := by |
| 155 | refine uncurryTest (fun y => g.val y • f) (g.property.1.comp (fun c : ℂ => c • f)) ?_ |
| 156 | apply HasCompactSupport.intro g.property.2 |
| 157 | intro y hy |
| 158 | have hz : g.val y = 0 := image_eq_zero_of_notMem_tsupport hy |
| 159 | rw [hz, zero_smul] |
| 160 | |
| 161 | theorem tensorTest_apply (f : TestSections.Realization.lcCompactSpace X) (g : TestSections.Realization.lcCompactSpace Y) (x : X) (y : Y) : |
| 162 | (tensorTest f g).val (x, y) = f.val x * g.val y := mul_comm _ _ |
| 163 | |
| 164 | theorem testSection_tensor (f : TestSections.Realization.lcCompactSpace X) (g : TestSections.Realization.lcCompactSpace Y) (y : Y) : |
| 165 | TestSections.Realization.testSection y (tensorTest f g) = g.val y • f := by |
| 166 | apply Subtype.ext |
| 167 | rfl |
| 168 | |
| 169 | theorem extendTestLinear_tensor (T : TestSections.Realization.lcCompactSpace X →ₗ[ℂ] TestSections.Realization.lcCompactSpace X) |
| 170 | (f : TestSections.Realization.lcCompactSpace X) (g : TestSections.Realization.lcCompactSpace Y) : |
| 171 | extendTestLinear T (tensorTest f g) = tensorTest (T f) g := by |
| 172 | apply Subtype.ext |
| 173 | funext p |
| 174 | change (T (TestSections.Realization.testSection p.2 (tensorTest f g))).val p.1 = (tensorTest (T f) g).val p |
| 175 | rw [testSection_tensor, map_smul] |
| 176 | rfl |
| 177 | |
| 178 | theorem extendTestHom_tensor (T : TestSections.Realization.lcCompactSpace X ≃ₗ[ℂ] TestSections.Realization.lcCompactSpace X) |
| 179 | (f : TestSections.Realization.lcCompactSpace X) (g : TestSections.Realization.lcCompactSpace Y) : |
| 180 | extendTestHom T (tensorTest f g) = tensorTest (T f) g := |
| 181 | extendTestLinear_tensor T.toLinearMap f g |
| 182 | |
| 183 | theorem extendTestHom_neg : |
| 184 | (extendTestHom (X := X) (Y := Y)) (LinearEquiv.neg ℂ) = LinearEquiv.neg ℂ := by |
| 185 | apply LinearEquiv.ext |
| 186 | intro f |
| 187 | apply Subtype.ext |
| 188 | rfl |
| 189 | |
| 190 | end |
| 191 | |
| 192 | section |
| 193 | |
| 194 | /-! Finite pure-tensor expansions of actual product test functions. -/ |
| 195 | |
| 196 | open scoped Classical |
| 197 | |
| 198 | variable {X Y : Type*} [TopologicalSpace X] [TopologicalSpace Y] [T2Space X] [T2Space Y] |
| 199 | |
| 200 | def testFiberCoefficient (s : Y → TestSections.Realization.lcCompactSpace X) (hs : IsLocallyConstant s) |
| 201 | (hc : HasCompactSupport s) (v : TestSections.Realization.lcCompactSpace X) : TestSections.Realization.lcCompactSpace Y := by |
| 202 | by_cases hv : v = 0 |
| 203 | · exact 0 |
| 204 | · let K : Set Y := {y | s y = v} |
| 205 | have hK : IsClopen K := ⟨hs.isClosed_fiber v, hs.isOpen_fiber v⟩ |
| 206 | have hcompact : IsCompact K := hc.of_isClosed_subset hK.isClosed (by |
| 207 | intro y hy |
| 208 | apply subset_tsupport s |
| 209 | change s y ≠ 0 |
| 210 | rwa [show s y = v from hy]) |
| 211 | refine ⟨K.indicator (fun _ => 1), (LocallyConstant.charFn ℂ hK).isLocallyConstant, ?_⟩ |
| 212 | apply HasCompactSupport.intro hcompact |
| 213 | intro y hy |
| 214 | exact Set.indicator_of_notMem hy _ |
| 215 | |
| 216 | omit [T2Space X] in |
| 217 | theorem testFiberCoefficient_apply (s : Y → TestSections.Realization.lcCompactSpace X) (hs : IsLocallyConstant s) |
| 218 | (hc : HasCompactSupport s) (v : TestSections.Realization.lcCompactSpace X) (y : Y) : |
| 219 | (testFiberCoefficient s hs hc v).val y = if s y = v then (if v = 0 then 0 else 1) else 0 := by |
| 220 | by_cases hv : v = 0 |
| 221 | · simp [testFiberCoefficient, hv] |
| 222 | · simp [testFiberCoefficient, hv, Set.indicator] |
| 223 | |
| 224 | theorem test_tensor_expansion (f : TestSections.Realization.lcCompactSpace (X × Y)) : |
| 225 | ∃ r : Finset (TestSections.Realization.lcCompactSpace X), ∃ g : TestSections.Realization.lcCompactSpace X → TestSections.Realization.lcCompactSpace Y, |
| 226 | f = ∑ v ∈ r, tensorTest v (g v) := by |
| 227 | let s := fun y => TestSections.Realization.testSection y f |
| 228 | let r := (TestSections.Realization.testSection_range_finite f).toFinset |
| 229 | let g := testFiberCoefficient s (TestSections.Realization.testSection_locallyConstant f) (TestSections.Realization.testSection_compactSupport f) |
| 230 | refine ⟨r, g, ?_⟩ |
| 231 | apply Subtype.ext |
| 232 | funext p |
| 233 | change f.val (p.1, p.2) = (∑ v ∈ r, tensorTest v (g v)).val (p.1, p.2) |
| 234 | simp only [Submodule.coe_sum, Finset.sum_apply, tensorTest_apply] |
| 235 | change f.val (p.1, p.2) = ∑ v ∈ r, v.val p.1 * |
| 236 | (testFiberCoefficient s (TestSections.Realization.testSection_locallyConstant f) (TestSections.Realization.testSection_compactSupport f) v).val p.2 |
| 237 | simp_rw [testFiberCoefficient_apply] |
| 238 | rw [Finset.sum_eq_single (s p.2)] |
| 239 | · simp only [ite_true] |
| 240 | by_cases hz : s p.2 = 0 |
| 241 | · rw [ite_eq_left hz, mul_zero] |
| 242 | exact congrArg (fun v : TestSections.Realization.lcCompactSpace X => v.val p.1) hz |
| 243 | · rw [ite_eq_right hz, mul_one] |
| 244 | rfl |
| 245 | · intro v _ hv |
| 246 | rw [ite_eq_right (Ne.symm hv), mul_zero] |
| 247 | · intro hs |
| 248 | exact (hs ((TestSections.Realization.testSection_range_finite f).mem_toFinset.mpr ⟨p.2, rfl⟩)).elim |
| 249 | |
| 250 | theorem test_linear_ext {V : Type*} [AddCommGroup V] [Module ℂ V] |
| 251 | (T U : TestSections.Realization.lcCompactSpace (X × Y) →ₗ[ℂ] V) |
| 252 | (h : ∀ f : TestSections.Realization.lcCompactSpace X, ∀ g : TestSections.Realization.lcCompactSpace Y, T (tensorTest f g) = U (tensorTest f g)) : |
| 253 | T = U := by |
| 254 | apply LinearMap.ext |
| 255 | intro f |
| 256 | obtain ⟨r, g, hf⟩ := test_tensor_expansion f |
| 257 | rw [hf, map_sum, map_sum] |
| 258 | exact Finset.sum_congr rfl (fun v _ => h v (g v)) |
| 259 | |
| 260 | end |
| 261 | |
| 262 | section |
| 263 | |
| 264 | /-! Independent local actions commute on the full product test space. -/ |
| 265 | |
| 266 | open scoped Classical |
| 267 | |
| 268 | variable {X Y : Type*} [TopologicalSpace X] [TopologicalSpace Y] [T2Space X] [T2Space Y] |
| 269 | |
| 270 | theorem testPullback_swap_tensor (f : TestSections.Realization.lcCompactSpace Y) (g : TestSections.Realization.lcCompactSpace X) : |
| 271 | testPullback (Homeomorph.prodComm X Y) (tensorTest f g) = tensorTest g f := by |
| 272 | apply Subtype.ext |
| 273 | funext p |
| 274 | change (tensorTest f g).val (p.2, p.1) = (tensorTest g f).val (p.1, p.2) |
| 275 | rw [tensorTest_apply, tensorTest_apply, mul_comm] |
| 276 | |
| 277 | theorem testPullback_swap_symm_tensor (f : TestSections.Realization.lcCompactSpace X) (g : TestSections.Realization.lcCompactSpace Y) : |
| 278 | (testPullback (Homeomorph.prodComm X Y)).symm (tensorTest f g) = tensorTest g f := by |
| 279 | apply (testPullback (Homeomorph.prodComm X Y)).injective |
| 280 | rw [LinearEquiv.apply_symm_apply, testPullback_swap_tensor] |
| 281 | |
| 282 | def rightTestHom : (TestSections.Realization.lcCompactSpace Y ≃ₗ[ℂ] TestSections.Realization.lcCompactSpace Y) →* |
| 283 | (TestSections.Realization.lcCompactSpace (X × Y) ≃ₗ[ℂ] TestSections.Realization.lcCompactSpace (X × Y)) := |
| 284 | (conjugateLinearAut (testPullback (Homeomorph.prodComm X Y))).comp extendTestHom |
| 285 | |
| 286 | theorem rightTestHom_tensor (U : TestSections.Realization.lcCompactSpace Y ≃ₗ[ℂ] TestSections.Realization.lcCompactSpace Y) |
| 287 | (f : TestSections.Realization.lcCompactSpace X) (g : TestSections.Realization.lcCompactSpace Y) : |
| 288 | rightTestHom U (tensorTest f g) = tensorTest f (U g) := by |
| 289 | change testPullback (Homeomorph.prodComm X Y) |
| 290 | (extendTestHom U ((testPullback (Homeomorph.prodComm X Y)).symm (tensorTest f g))) = _ |
| 291 | rw [testPullback_swap_symm_tensor, extendTestHom_tensor, testPullback_swap_tensor] |
| 292 | |
| 293 | theorem left_right_test_commute (U : TestSections.Realization.lcCompactSpace X ≃ₗ[ℂ] TestSections.Realization.lcCompactSpace X) |
| 294 | (V : TestSections.Realization.lcCompactSpace Y ≃ₗ[ℂ] TestSections.Realization.lcCompactSpace Y) : |
| 295 | Commute (extendTestHom (Y := Y) U) (rightTestHom (X := X) V) := by |
| 296 | have h : (extendTestHom U).toLinearMap.comp (rightTestHom V).toLinearMap = |
| 297 | (rightTestHom V).toLinearMap.comp (extendTestHom U).toLinearMap := by |
| 298 | apply test_linear_ext |
| 299 | intro f g |
| 300 | change extendTestHom U (rightTestHom V (tensorTest f g)) = |
| 301 | rightTestHom V (extendTestHom U (tensorTest f g)) |
| 302 | rw [rightTestHom_tensor, extendTestHom_tensor, extendTestHom_tensor, rightTestHom_tensor] |
| 303 | apply LinearEquiv.ext |
| 304 | intro f |
| 305 | exact LinearMap.congr_fun h f |
| 306 | |
| 307 | def tensorTestAut : |
| 308 | ((TestSections.Realization.lcCompactSpace X ≃ₗ[ℂ] TestSections.Realization.lcCompactSpace X) × (TestSections.Realization.lcCompactSpace Y ≃ₗ[ℂ] TestSections.Realization.lcCompactSpace Y)) →* |
| 309 | (TestSections.Realization.lcCompactSpace (X × Y) ≃ₗ[ℂ] TestSections.Realization.lcCompactSpace (X × Y)) := |
| 310 | extendTestHom.noncommCoprod rightTestHom left_right_test_commute |
| 311 | |
| 312 | theorem tensorTestAut_apply (U : TestSections.Realization.lcCompactSpace X ≃ₗ[ℂ] TestSections.Realization.lcCompactSpace X) |
| 313 | (V : TestSections.Realization.lcCompactSpace Y ≃ₗ[ℂ] TestSections.Realization.lcCompactSpace Y) |
| 314 | (f : TestSections.Realization.lcCompactSpace X) (g : TestSections.Realization.lcCompactSpace Y) : |
| 315 | tensorTestAut (U, V) (tensorTest f g) = tensorTest (U f) (V g) := by |
| 316 | change extendTestHom U (rightTestHom V (tensorTest f g)) = _ |
| 317 | rw [rightTestHom_tensor, extendTestHom_tensor] |
| 318 | |
| 319 | theorem tensorTest_smul_pair (c d : ℂ) (f : TestSections.Realization.lcCompactSpace X) (g : TestSections.Realization.lcCompactSpace Y) : |
| 320 | tensorTest (c • f) (d • g) = (c * d) • tensorTest f g := by |
| 321 | apply Subtype.ext |
| 322 | funext p |
| 323 | change (d * g.val p.2) * (c * f.val p.1) = (c * d) * (g.val p.2 * f.val p.1) |
| 324 | ring |
| 325 | |
| 326 | theorem tensorTestAut_phases (U : TestSections.Realization.lcCompactSpace X ≃ₗ[ℂ] TestSections.Realization.lcCompactSpace X) |
| 327 | (V : TestSections.Realization.lcCompactSpace Y ≃ₗ[ℂ] TestSections.Realization.lcCompactSpace Y) |
| 328 | (f f' : TestSections.Realization.lcCompactSpace X) (g : TestSections.Realization.lcCompactSpace Y) (c d : ℂ) |
| 329 | (hU : U f = c • f') (hV : V g = d • g) : |
| 330 | tensorTestAut (U, V) (tensorTest f g) = (c * d) • tensorTest f' g := by |
| 331 | rw [tensorTestAut_apply, hU, hV, tensorTest_smul_pair] |
| 332 | |
| 333 | end |
| 334 | |
| 335 | section |
| 336 | |
| 337 | /-! An operator commuting with an irreducible local action acts on the auxiliary factor. -/ |
| 338 | |
| 339 | open scoped Classical |
| 340 | |
| 341 | variable {X Y : Type*} [TopologicalSpace X] [TopologicalSpace Y] [T2Space X] [T2Space Y] |
| 342 | |
| 343 | def tensorLeftLinear (f : TestSections.Realization.lcCompactSpace X) : |
| 344 | TestSections.Realization.lcCompactSpace Y →ₗ[ℂ] TestSections.Realization.lcCompactSpace (X × Y) where |
| 345 | toFun g := tensorTest f g |
| 346 | map_add' g h := by apply Subtype.ext; funext p; exact add_mul _ _ _ |
| 347 | map_smul' c g := by apply Subtype.ext; funext p; exact mul_assoc _ _ _ |
| 348 | |
| 349 | def tensorRightLinear (g : TestSections.Realization.lcCompactSpace Y) : |
| 350 | TestSections.Realization.lcCompactSpace X →ₗ[ℂ] TestSections.Realization.lcCompactSpace (X × Y) where |
| 351 | toFun f := tensorTest f g |
| 352 | map_add' f h := by apply Subtype.ext; funext p; exact mul_add _ _ _ |
| 353 | map_smul' c f := by apply Subtype.ext; funext p; exact mul_left_comm _ _ _ |
| 354 | |
| 355 | def testRightSection (x : X) : TestSections.Realization.lcCompactSpace (X × Y) →ₗ[ℂ] TestSections.Realization.lcCompactSpace Y := |
| 356 | (TestSections.Realization.testSection x).comp (testPullback (Homeomorph.prodComm Y X)).toLinearMap |
| 357 | |
| 358 | theorem testRightSection_tensor (x : X) (f : TestSections.Realization.lcCompactSpace X) (g : TestSections.Realization.lcCompactSpace Y) : |
| 359 | testRightSection x (tensorTest f g) = f.val x • g := by |
| 360 | apply Subtype.ext |
| 361 | funext y |
| 362 | exact mul_comm _ _ |
| 363 | |
| 364 | def rightTestLinear (T : TestSections.Realization.lcCompactSpace Y →ₗ[ℂ] TestSections.Realization.lcCompactSpace Y) : |
| 365 | TestSections.Realization.lcCompactSpace (X × Y) →ₗ[ℂ] TestSections.Realization.lcCompactSpace (X × Y) := |
| 366 | (testPullback (Homeomorph.prodComm X Y)).toLinearMap.comp |
| 367 | ((extendTestLinear T).comp (testPullback (Homeomorph.prodComm X Y)).symm.toLinearMap) |
| 368 | |
| 369 | theorem rightTestLinear_tensor (T : TestSections.Realization.lcCompactSpace Y →ₗ[ℂ] TestSections.Realization.lcCompactSpace Y) |
| 370 | (f : TestSections.Realization.lcCompactSpace X) (g : TestSections.Realization.lcCompactSpace Y) : |
| 371 | rightTestLinear T (tensorTest f g) = tensorTest f (T g) := by |
| 372 | change testPullback (Homeomorph.prodComm X Y) |
| 373 | (extendTestLinear T ((testPullback (Homeomorph.prodComm X Y)).symm (tensorTest f g))) = _ |
| 374 | rw [testPullback_swap_symm_tensor, extendTestLinear_tensor, testPullback_swap_tensor] |
| 375 | |
| 376 | def auxiliaryTraceOperator (U : TestSections.Realization.lcCompactSpace (X × Y) →ₗ[ℂ] TestSections.Realization.lcCompactSpace (X × Y)) |
| 377 | (f₀ : TestSections.Realization.lcCompactSpace X) (x₀ : X) : TestSections.Realization.lcCompactSpace Y →ₗ[ℂ] TestSections.Realization.lcCompactSpace Y := |
| 378 | (testRightSection x₀).comp (U.comp (tensorLeftLinear f₀)) |
| 379 | |
| 380 | theorem local_commutant_tensor_formula {J : Type*} |
| 381 | (H : J → TestSections.Realization.lcCompactSpace X →ₗ[ℂ] TestSections.Realization.lcCompactSpace X) |
| 382 | (hSchur : ∀ A : TestSections.Realization.lcCompactSpace X →ₗ[ℂ] TestSections.Realization.lcCompactSpace X, |
| 383 | (∀ i f, A (H i f) = H i (A f)) → ∃ c : ℂ, ∀ f, A f = c • f) |
| 384 | (U : TestSections.Realization.lcCompactSpace (X × Y) →ₗ[ℂ] TestSections.Realization.lcCompactSpace (X × Y)) |
| 385 | (hU : ∀ i f, U (extendTestLinear (H i) f) = extendTestLinear (H i) (U f)) |
| 386 | (f₀ : TestSections.Realization.lcCompactSpace X) (x₀ : X) (hf₀ : f₀.val x₀ = 1) |
| 387 | (f : TestSections.Realization.lcCompactSpace X) (g : TestSections.Realization.lcCompactSpace Y) : |
| 388 | U (tensorTest f g) = tensorTest f (auxiliaryTraceOperator U f₀ x₀ g) := by |
| 389 | apply Subtype.ext |
| 390 | funext p |
| 391 | let A : TestSections.Realization.lcCompactSpace X →ₗ[ℂ] TestSections.Realization.lcCompactSpace X := |
| 392 | (TestSections.Realization.testSection p.2).comp (U.comp (tensorRightLinear g)) |
| 393 | have hA : ∀ i f, A (H i f) = H i (A f) := by |
| 394 | intro i f |
| 395 | change TestSections.Realization.testSection p.2 (U (tensorTest (H i f) g)) = |
| 396 | H i (TestSections.Realization.testSection p.2 (U (tensorTest f g))) |
| 397 | rw [← extendTestLinear_tensor, hU, testSection_extend] |
| 398 | obtain ⟨c, hc⟩ := hSchur A hA |
| 399 | have hcf := congrArg (fun v : TestSections.Realization.lcCompactSpace X => v.val p.1) (hc f) |
| 400 | have hc₀ := congrArg (fun v : TestSections.Realization.lcCompactSpace X => v.val x₀) (hc f₀) |
| 401 | change (U (tensorTest f₀ g)).val (x₀, p.2) = c * f₀.val x₀ at hc₀ |
| 402 | rw [hf₀, mul_one] at hc₀ |
| 403 | change (U (tensorTest f g)).val (p.1, p.2) = c * f.val p.1 at hcf |
| 404 | change (U (tensorTest f g)).val (p.1, p.2) = |
| 405 | (U (tensorTest f₀ g)).val (x₀, p.2) * f.val p.1 |
| 406 | rw [hc₀] |
| 407 | exact hcf |
| 408 | |
| 409 | /-- The auxiliary operator is obtained by an actual section and evaluation, |
| 410 | and the factorization holds on all test functions by finite tensor expansion. -/ |
| 411 | theorem local_commutant_factors {J : Type*} |
| 412 | (H : J → TestSections.Realization.lcCompactSpace X →ₗ[ℂ] TestSections.Realization.lcCompactSpace X) |
| 413 | (hSchur : ∀ A : TestSections.Realization.lcCompactSpace X →ₗ[ℂ] TestSections.Realization.lcCompactSpace X, |
| 414 | (∀ i f, A (H i f) = H i (A f)) → ∃ c : ℂ, ∀ f, A f = c • f) |
| 415 | (U : TestSections.Realization.lcCompactSpace (X × Y) →ₗ[ℂ] TestSections.Realization.lcCompactSpace (X × Y)) |
| 416 | (hU : ∀ i f, U (extendTestLinear (H i) f) = extendTestLinear (H i) (U f)) |
| 417 | (f₀ : TestSections.Realization.lcCompactSpace X) (x₀ : X) (hf₀ : f₀.val x₀ = 1) : |
| 418 | U = rightTestLinear (auxiliaryTraceOperator U f₀ x₀) := by |
| 419 | apply test_linear_ext |
| 420 | intro f g |
| 421 | rw [local_commutant_tensor_formula H hSchur U hU f₀ x₀ hf₀, rightTestLinear_tensor] |
| 422 | |
| 423 | end |
| 424 | |
| 425 | section |
| 426 | |
| 427 | /-! An invertible commutant operator induces an invertible auxiliary operator. -/ |
| 428 | |
| 429 | open scoped Classical |
| 430 | |
| 431 | variable {X Y : Type*} [TopologicalSpace X] [TopologicalSpace Y] [T2Space X] [T2Space Y] |
| 432 | |
| 433 | theorem tensorLeft_injective (f₀ : TestSections.Realization.lcCompactSpace X) (x₀ : X) (hf₀ : f₀.val x₀ = 1) : |
| 434 | Function.Injective (tensorTest f₀ (Y := Y)) := by |
| 435 | intro g h heq |
| 436 | have hs := congrArg (testRightSection x₀) heq |
| 437 | simpa only [testRightSection_tensor, hf₀, one_smul] using hs |
| 438 | |
| 439 | theorem inverse_commutes_test_action {J : Type*} |
| 440 | (H : J → TestSections.Realization.lcCompactSpace X →ₗ[ℂ] TestSections.Realization.lcCompactSpace X) |
| 441 | (U : TestSections.Realization.lcCompactSpace (X × Y) ≃ₗ[ℂ] TestSections.Realization.lcCompactSpace (X × Y)) |
| 442 | (hU : ∀ i f, U (extendTestLinear (H i) f) = extendTestLinear (H i) (U f)) : |
| 443 | ∀ i f, U.symm (extendTestLinear (H i) f) = extendTestLinear (H i) (U.symm f) := by |
| 444 | intro i f |
| 445 | apply U.injective |
| 446 | rw [U.apply_symm_apply, hU, U.apply_symm_apply] |
| 447 | |
| 448 | theorem local_commutant_equiv_factors {J : Type*} |
| 449 | (H : J → TestSections.Realization.lcCompactSpace X →ₗ[ℂ] TestSections.Realization.lcCompactSpace X) |
| 450 | (hSchur : ∀ A : TestSections.Realization.lcCompactSpace X →ₗ[ℂ] TestSections.Realization.lcCompactSpace X, |
| 451 | (∀ i f, A (H i f) = H i (A f)) → ∃ c : ℂ, ∀ f, A f = c • f) |
| 452 | (U : TestSections.Realization.lcCompactSpace (X × Y) ≃ₗ[ℂ] TestSections.Realization.lcCompactSpace (X × Y)) |
| 453 | (hU : ∀ i f, U (extendTestLinear (H i) f) = extendTestLinear (H i) (U f)) |
| 454 | (f₀ : TestSections.Realization.lcCompactSpace X) (x₀ : X) (hf₀ : f₀.val x₀ = 1) : |
| 455 | ∃ V : TestSections.Realization.lcCompactSpace Y ≃ₗ[ℂ] TestSections.Realization.lcCompactSpace Y, |
| 456 | U = rightTestHom V ∧ V.toLinearMap = auxiliaryTraceOperator U.toLinearMap f₀ x₀ := by |
| 457 | let T := auxiliaryTraceOperator U.toLinearMap f₀ x₀ |
| 458 | let S := auxiliaryTraceOperator U.symm.toLinearMap f₀ x₀ |
| 459 | have hT (f : TestSections.Realization.lcCompactSpace X) (g : TestSections.Realization.lcCompactSpace Y) : |
| 460 | U (tensorTest f g) = tensorTest f (T g) := |
| 461 | local_commutant_tensor_formula H hSchur U.toLinearMap hU f₀ x₀ hf₀ f g |
| 462 | have hS (f : TestSections.Realization.lcCompactSpace X) (g : TestSections.Realization.lcCompactSpace Y) : |
| 463 | U.symm (tensorTest f g) = tensorTest f (S g) := |
| 464 | local_commutant_tensor_formula H hSchur U.symm.toLinearMap |
| 465 | (inverse_commutes_test_action H U hU) f₀ x₀ hf₀ f g |
| 466 | have hST (g : TestSections.Realization.lcCompactSpace Y) : S (T g) = g := by |
| 467 | apply tensorLeft_injective f₀ x₀ hf₀ |
| 468 | rw [← hS, ← hT, U.symm_apply_apply] |
| 469 | have hTS (g : TestSections.Realization.lcCompactSpace Y) : T (S g) = g := by |
| 470 | apply tensorLeft_injective f₀ x₀ hf₀ |
| 471 | rw [← hT, ← hS, U.apply_symm_apply] |
| 472 | let V : TestSections.Realization.lcCompactSpace Y ≃ₗ[ℂ] TestSections.Realization.lcCompactSpace Y := |
| 473 | { T with invFun := S, left_inv := hST, right_inv := hTS } |
| 474 | refine ⟨V, ?_, rfl⟩ |
| 475 | have heq : U.toLinearMap = (rightTestHom V).toLinearMap := by |
| 476 | apply test_linear_ext |
| 477 | intro f g |
| 478 | exact (hT f g).trans (rightTestHom_tensor V f g).symm |
| 479 | exact LinearEquiv.toLinearMap_injective heq |
| 480 | |
| 481 | end |
| 482 | |
| 483 | /-! A local intertwiner can be factored out of an actual tensor-space intertwiner. -/ |
| 484 | |
| 485 | open scoped Classical |
| 486 | |
| 487 | variable {X Y : Type*} [TopologicalSpace X] [TopologicalSpace Y] [T2Space X] [T2Space Y] |
| 488 | |
| 489 | theorem extendTestHom_intertwines {J : Type*} |
| 490 | (H : J → TestSections.Realization.lcCompactSpace X →ₗ[ℂ] TestSections.Realization.lcCompactSpace X) (φ : J → J) |
| 491 | (L : TestSections.Realization.lcCompactSpace X ≃ₗ[ℂ] TestSections.Realization.lcCompactSpace X) |
| 492 | (hL : ∀ i f, L (H i f) = H (φ i) (L f)) (i : J) |
| 493 | (f : TestSections.Realization.lcCompactSpace (X × Y)) : |
| 494 | extendTestHom L (extendTestLinear (H i) f) = |
| 495 | extendTestLinear (H (φ i)) (extendTestHom L f) := by |
| 496 | have heq : (extendTestHom (Y := Y) L).toLinearMap.comp (extendTestLinear (H i)) = |
| 497 | (extendTestLinear (H (φ i))).comp (extendTestHom L).toLinearMap := by |
| 498 | apply test_linear_ext |
| 499 | intro a b |
| 500 | change extendTestHom L (extendTestLinear (H i) (tensorTest a b)) = |
| 501 | extendTestLinear (H (φ i)) (extendTestHom L (tensorTest a b)) |
| 502 | rw [extendTestLinear_tensor, extendTestHom_tensor, extendTestHom_tensor, |
| 503 | extendTestLinear_tensor, hL] |
| 504 | exact LinearMap.congr_fun heq f |
| 505 | |
| 506 | theorem tensor_intertwiner_factors {J : Type*} |
| 507 | (H : J → TestSections.Realization.lcCompactSpace X →ₗ[ℂ] TestSections.Realization.lcCompactSpace X) |
| 508 | (hSchur : ∀ A : TestSections.Realization.lcCompactSpace X →ₗ[ℂ] TestSections.Realization.lcCompactSpace X, |
| 509 | (∀ i f, A (H i f) = H i (A f)) → ∃ c : ℂ, ∀ f, A f = c • f) |
| 510 | (φ : J → J) (L : TestSections.Realization.lcCompactSpace X ≃ₗ[ℂ] TestSections.Realization.lcCompactSpace X) |
| 511 | (hL : ∀ i f, L (H i f) = H (φ i) (L f)) |
| 512 | (U : TestSections.Realization.lcCompactSpace (X × Y) ≃ₗ[ℂ] TestSections.Realization.lcCompactSpace (X × Y)) |
| 513 | (hU : ∀ i f, U (extendTestLinear (H i) f) = extendTestLinear (H (φ i)) (U f)) |
| 514 | (f₀ : TestSections.Realization.lcCompactSpace X) (x₀ : X) (hf₀ : f₀.val x₀ = 1) : |
| 515 | ∃ V : TestSections.Realization.lcCompactSpace Y ≃ₗ[ℂ] TestSections.Realization.lcCompactSpace Y, |
| 516 | ∀ f g, U (tensorTest f g) = tensorTest (L f) (V g) := by |
| 517 | let T := extendTestHom (Y := Y) L |
| 518 | let W := U.trans T.symm |
| 519 | have hTW (f : TestSections.Realization.lcCompactSpace (X × Y)) : T (W f) = U f := T.apply_symm_apply _ |
| 520 | have hW i f : W (extendTestLinear (H i) f) = extendTestLinear (H i) (W f) := by |
| 521 | apply T.injective |
| 522 | rw [hTW, hU] |
| 523 | change _ = extendTestHom L (extendTestLinear (H i) (W f)) |
| 524 | rw [extendTestHom_intertwines H φ L hL] |
| 525 | exact congrArg (extendTestLinear (H (φ i))) (hTW f).symm |
| 526 | obtain ⟨V, hV, _⟩ := local_commutant_equiv_factors H hSchur W hW f₀ x₀ hf₀ |
| 527 | refine ⟨V, ?_⟩ |
| 528 | intro f g |
| 529 | calc |
| 530 | U (tensorTest f g) = T (W (tensorTest f g)) := (hTW _).symm |
| 531 | _ = T (rightTestHom V (tensorTest f g)) := congrArg (fun A => T (A (tensorTest f g))) hV |
| 532 | _ = tensorTest (L f) (V g) := by |
| 533 | rw [rightTestHom_tensor] |
| 534 | exact extendTestHom_tensor L f (V g) |
| 535 | |
| 536 | end |
| 537 | |
| 538 | end OAI.RepresentationTheory.Hecke.RadialDilation.TensorCommutant.Realization |