Imports
/- Copyright (c) 2025 Joseph Tooby-Smith. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Joseph Tooby-Smith -/ module public import Physlib.QuantumMechanics.HilbertSpaces.OneDimension.Basic public import Mathlib.Analysis.Distribution.SchwartzSpace.Basic public import Physlib.Meta.TODO.Basic

Schwartz submodule of the Hilbert space

This can be used to define e.g. the rigged Hilbert space.

TODO "Remove 1d Schwartz submodule once dependencies are all generalized to SpaceDHilbertSpace."@[expose] public section

The continuous linear map including Schwartz functions into the hilbert space.

def schwartzIncl : 𝓢(, ) →L[] HilbertSpace := SchwartzMap.toLpCLM (E := ) 2 MeasureTheory.volume
lemma schwartzIncl_injective : Function.Injective schwartzIncl := SchwartzMap.injective_toLp _ _lemma schwartzIncl_coe_ae (ψ : 𝓢(, )) : ψ.1 =ᶠ[ae volume] (schwartzIncl ψ) := (SchwartzMap.coeFn_toLp _ 2 volume).symmψ1:𝓢(, )ψ2:𝓢(, )h1✝:ψ1.toFun =ᵐ[volume] (schwartzIncl ψ1)h2✝:ψ2.toFun =ᵐ[volume] (schwartzIncl ψ2)a✝:h1:ψ1.toFun a✝ = (schwartzIncl ψ1) a✝h2:ψ2.toFun a✝ = (schwartzIncl ψ2) a✝(starRingEnd ) (ψ1.toFun a✝) * ψ2.toFun a✝ = (starRingEnd ) (ψ1 a✝) * ψ2 a✝ All goals completed! 🐙