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 Mathlib.Analysis.Distribution.TemperedDistribution

Position states

We define position state as a member of the dual of the Schwartz submodule of the 1d Hilbert space.

This module has been generalized to d-dimensions in QuantumMechanics/HilbertSpaces/SpaceD/PositionStates.lean and will be removed in the near future.

@[expose] public section

Position state as a member of the dual of the Schwartz submodule of the Hilbert space.

def positionState (x : ) : 𝓢(, ) →L[] := TemperedDistribution.delta x
lemma positionState_apply (x : ) (ψ : 𝓢(, )) : positionState x ψ = ψ x := rfl

Two elements of the 𝓢(ℝ, ℂ) are equal if they are equal on all position states.

lemma eq_of_eq_positionState {ψ1 ψ2 : 𝓢(, )} (h : x, positionState x ψ1 = positionState x ψ2) : ψ1 = ψ2 := ψ1:𝓢(, )ψ2:𝓢(, )h: (x : ), (positionState x) ψ1 = (positionState x) ψ2ψ1 = ψ2 ψ1:𝓢(, )ψ2:𝓢(, )h: (x : ), (positionState x) ψ1 = (positionState x) ψ2x:ψ1 x = ψ2 x All goals completed! 🐙