| zero => exact (FunctionsMetaplectic.Construction.schwartzBruhat k m).zero_mem
| add f g _ _ hf hg => exact (FunctionsMetaplectic.Construction.schwartzBruhat k m).add_mem hf hg
| smul c f _ hf => exact (FunctionsMetaplectic.Construction.schwartzBruhat k m).smul_mem c hf
deftestSpaceTransport {k l : Type} [NormedField k] [NormedField l] {m n : ℕ}
(e : FunctionsMetaplectic.Construction.Position k m ≃ₜ+ FunctionsMetaplectic.Construction.Position l n) : FunctionsMetaplectic.Construction.schwartzBruhat k m ≃ₗ[ℂ] FunctionsMetaplectic.Construction.schwartzBruhat l n where
toFun f := ⟨f.val ∘ e.symm, schwartzBruhat_comp_crossField e.symm f.property⟩
invFun f := ⟨f.val ∘ e, schwartzBruhat_comp_crossField e f.property⟩
left_inv f :=by ext x; simp
right_inv f :=by ext x; simp
map_add' _ _ := rfl
map_smul' _ _ := rfl
theoremtestSpaceTransport_apply {k l : Type} [NormedField k] [NormedField l] {m n : ℕ}
(e : FunctionsMetaplectic.Construction.Position k m ≃ₜ+ FunctionsMetaplectic.Construction.Position l n) (f : FunctionsMetaplectic.Construction.schwartzBruhat k m) (x : FunctionsMetaplectic.Construction.Position l n) :
(testSpaceTransport e f).val x = f.val (e.symm x) := rfl
[SecondCountableTopology k] [SecondCountableTopology l] {m n : ℕ}
(e : FunctionsMetaplectic.Construction.Position k m ≃ₜ+ FunctionsMetaplectic.Construction.Position l n) (f g : FunctionsMetaplectic.Construction.schwartzBruhat k m)
(hfg : FunctionsMetaplectic.Construction.l2Energy k m f = FunctionsMetaplectic.Construction.l2Energy k m g) :
FunctionsMetaplectic.Construction.l2Energy l n (testSpaceTransport e f) = FunctionsMetaplectic.Construction.l2Energy l n (testSpaceTransport e g) :=by
let μ :=UnitaryInner.Construction.referencePositionMeasure l n
let ν :=UnitaryInner.Construction.referencePositionMeasure k m
let : (μ.map e.symm).IsAddHaarMeasure:= e.symm.isAddHaarMeasure_map μ
have hμ :=Measure.isAddLeftInvariant_eq_smul_of_regular (μ.map e.symm) ν
have hi (f : FunctionsMetaplectic.Construction.schwartzBruhat k m) : FunctionsMetaplectic.Construction.l2Energy l n (testSpaceTransport e f) =
(Measure.addHaarScalarFactor (μ.map e.symm) ν : ℝ) * FunctionsMetaplectic.Construction.l2Energy k m f :=by
have h := integral_map_equiv (μ := μ) e.symm.toHomeomorph.toMeasurableEquiv
(fun x => ‖f.val x‖ ^ 2)
change (∫ x, ‖f.val x‖ ^ 2 ∂μ.map e.symm) = _ at h
rw [hμ, integral_smul_nnreal_measure] at h
exact h.symm
rw [hi, hi, hfg]
end
section
/-! The actual reference Haar measures under a topological field isomorphism. -/
open _root_.MeasureTheory
openscopedNNReal
deffieldAddHomeomorph {k l : Type} [NormedField k] [NormedField l]
(e : k ≃+* l) (he : Continuous e) (he' : Continuous e.symm) : k ≃ₜ+ l where