Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
632be54
feat(QuantumMechanics): add waveDeriv, raise, reducedHamiltonian and …
kubanemil Oct 16, 2026
cc055c3
feat(Mathematics): add hasDerivAt_tanh, tendsto_tanh_atTop and tendst…
kubanemil Oct 16, 2026
7c8a19a
feat(QuantumMechanics): add PoschlTeller.scatteringState and prove re…
kubanemil Oct 16, 2026
f674b83
refactor(QuantumMechanics): rename Pöschl-Teller polynomial operators…
kubanemil Oct 19, 2026
a024e63
refactor(QuantumMechanics): rename PoschlTeller.polyWave to waveOfPoly
kubanemil Oct 19, 2026
158decc
Merge remote-tracking branch 'origin/master' into poschl-teller-refle…
kubanemil Oct 27, 2026
ac2fb2d
feat(Mathematics): add HasTemperateGrowth.fderiv, polynomial_eval and…
kubanemil Oct 29, 2026
209f610
feat(QuantumMechanics): add integral_mul_momentumCLM
kubanemil Oct 29, 2026
4c42be2
feat(QuantumMechanics): add SpaceDQuantumSystem.IsReflectionless
kubanemil Oct 29, 2026
e6326f7
feat(QuantumMechanics): add PoschlTeller.scatteringState as a bra and…
kubanemil Oct 29, 2026
325329f
feat: add translateSchwartz_single_apply and momentumState_oneEquiv_s…
kubanemil Nov 8, 2026
e750727
refactor(QuantumMechanics): state IsReflectionless on the Schwartz dual
kubanemil Nov 8, 2026
369a846
Merge remote-tracking branch 'origin/master' into poschl-teller-refle…
kubanemil Nov 11, 2026
3e6d158
chore(QuantumMechanics): remove transitive imports in Scattering and …
kubanemil Nov 14, 2026
faa7db1
Merge remote-tracking branch 'origin/master' into poschl-teller-refle…
kubanemil Nov 15, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 32 additions & 1 deletion Physlib/Mathematics/ForMathlib/HasTemperateGrowth.lean
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ Authors: Gregory J. Loges
-/
module

public import Mathlib.Analysis.Distribution.TemperateGrowth
public import Mathlib.Analysis.Distribution.SchwartzSpace.Basic
public import Mathlib.Algebra.Polynomial.Eval.Defs
/-!

# Functions of temperate growth
Expand All @@ -19,6 +20,7 @@ This file is intended to collect useful general properties of `HasTemperateGrowt
namespace Function.HasTemperateGrowth

open Finset
open scoped ContDiff

/-- The finite product of functions of temperate growth is again of temperate growth. -/
@[to_fun (attr := fun_prop)]
Expand All @@ -32,4 +34,33 @@ lemma prod {ι : Type*} {s : Finset ι} {E F : Type*} [NormedAddCommGroup E]
simp_rw [insert_eq, prod_union (disjoint_singleton_left.mpr hjt), prod_singleton]
exact fun_mul (hf j <| mem_insert_self j t) (ih fun i h ↦ hf i <| mem_insert_of_mem h)

/-- The derivative of a function of temperate growth is again of temperate growth. -/
lemma fderiv {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup F]
[NormedSpace ℝ F] {f : E → F} (hf : HasTemperateGrowth f) :
HasTemperateGrowth (fderiv ℝ f) := by
refine ⟨hf.1.fderiv_right (m := ∞) (by simp), fun n => ?_⟩
obtain ⟨k, C, h⟩ := hf.2 (n + 1)
exact ⟨k, C, fun x => norm_iteratedFDeriv_fderiv.le.trans (h x)⟩

/-- A polynomial evaluated on a function of temperate growth is again of temperate growth. -/
lemma polynomial_eval {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedCommRing F]
[NormedAlgebra ℝ F] {f : E → F} (hf : HasTemperateGrowth f) (p : Polynomial F) :
HasTemperateGrowth (fun x => p.eval (f x)) := by
induction p using Polynomial.induction_on' with
| add p q hp hq =>
simp only [Polynomial.eval_add]
exact hp.add hq
| monomial n a =>
simp only [Polynomial.eval_monomial]
exact (const a).mul (hf.pow n)

/-- The product of a function of temperate growth and a Schwartz map is integrable. -/
lemma integrable_mul_schwartzMap {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E]
[MeasurableSpace E] [BorelSpace E] [SecondCountableTopology E] {μ : MeasureTheory.Measure E}
[μ.HasTemperateGrowth] {g : E → ℂ} (hg : HasTemperateGrowth g) (ψ : SchwartzMap E ℂ) :
MeasureTheory.Integrable (fun x => g x * ψ x) μ := by
have h := (SchwartzMap.smulLeftCLM ℂ g ψ).integrable (μ := μ)
rw [SchwartzMap.smulLeftCLM_apply hg] at h
simpa using h

end Function.HasTemperateGrowth
16 changes: 16 additions & 0 deletions Physlib/QuantumMechanics/HilbertSpaces/SpaceD/MomentumStates.lean
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,22 @@ def momentumState (p : Space d) : StrongDual ℂ 𝓢(Space d, ℂ) :=
lemma momentumState_apply (p : Space d) (ψ : 𝓢(Space d, ℂ)) :
momentumState p ψ = 𝓕 ψ ((2 * π)⁻¹ • p) := rfl

open MeasureTheory Space Complex in
/-- In one dimension the momentum state with wavenumber `k` pairs `ψ` with the plane wave
`exp (I k x)`. -/
lemma momentumState_oneEquiv_symm_apply (k : ℝ) (ψ : 𝓢(Space 1, ℂ)) :
momentumState (oneEquiv.symm k) ψ = ∫ x : Space 1, exp (-(k * (x 0 : ℝ) * I)) * ψ x := by
rw [momentumState_apply, SchwartzMap.fourier_coe, Real.fourier_eq]
refine integral_congr_ae (Filter.Eventually.of_forall fun x => ?_)
have hi : inner ℝ x ((2 * π)⁻¹ • oneEquiv.symm k) = (2 * π)⁻¹ * (x 0 * k) := by
rw [inner_smul_right, Space.inner_eq_sum]
simp [oneEquiv_symm_apply]
simp only [Circle.smul_def, smul_eq_mul, Real.fourierChar_apply, hi]
congr 2
push_cast
have := Real.pi_ne_zero
field_simp

/-- Two Schwartz maps are equal if they are equal on all momentum states. -/
lemma eq_of_eq_momentumState {ψ φ : 𝓢(Space d, ℂ)}
(h : ∀ p, momentumState p ψ = momentumState p φ) : ψ = φ :=
Expand Down
34 changes: 34 additions & 0 deletions Physlib/QuantumMechanics/Operators/Momentum.lean
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ public import Physlib.QuantumMechanics.Operators.Unbounded
public import Physlib.QuantumMechanics.HilbertSpaces.SpaceD.SchwartzSubmodule
public import Physlib.QuantumMechanics.PlanckConstant
public import Physlib.SpaceAndTime.Space.Derivatives.Basic
public import Physlib.Mathematics.ForMathlib.HasTemperateGrowth
import Mathlib.Analysis.Calculus.FDeriv.Star
import Mathlib.Analysis.Calculus.LineDeriv.IntegrationByParts
/-!

# Momentum operators
Expand All @@ -26,13 +28,18 @@ Definitions:
- `momentumOperator` : a symmetric unbounded operator acting on the Schwartz submodule
of the Hilbert space `SpaceDHilbertSpace d`.

Results:
- `integral_mul_momentumCLM` : integration by parts of `momentumCLM` against a function of
temperate growth.

Notation:
- `𝐩` for `momentumOperator`

## iii. Table of contents

- A. Momentum vector operator
- B. Unbounded momentum vector operator
- C. Integration by parts against functions of temperate growth

## iv. References

Expand Down Expand Up @@ -166,5 +173,32 @@ lemma momentumSqOperator_domain_eq : momentumSqOperator.domain = SchwartzSubmodu
rw [← iInf_const (a := SchwartzSubmodule d) (ι := Fin d)]
congr

/-!

## C. Integration by parts against functions of temperate growth

-/

/-- For a function `g` of temperate growth and a Schwartz map `ψ`,
`∫ g (𝐩ᵢ ψ) = iℏ ∫ (∂ᵢ g) ψ`. -/
lemma integral_mul_momentumCLM {g : Space d → ℂ} (hg : g.HasTemperateGrowth)
(ψ : 𝓢(Space d, ℂ)) :
∫ x, g x * 𝐩 i ψ x = I * ℏ * ∫ x, ∂[i] g x * ψ x := by
have hg' : (∂[i] g).HasTemperateGrowth :=
(ContinuousLinearMap.apply ℝ ℂ (basis i)).hasTemperateGrowth.comp hg.fderiv
have hψ' : ∂[i] ψ = ⇑(SchwartzMap.evalCLM ℂ (Space d) ℂ (basis i)
(SchwartzMap.fderivCLM ℂ (Space d) ℂ ψ)) := rfl
have hibp : ∫ x, g x * ∂[i] ψ x = -∫ x, ∂[i] g x * ψ x := by
have h := integral_bilinear_hasLineDerivAt_right_eq_neg_left_of_integrable
(μ := volume) (B := ContinuousLinearMap.mul ℝ ℂ) (f := g) (f' := ∂[i] g) (g := ψ)
(g' := ∂[i] ψ) (v := basis i) (hg'.integrable_mul_schwartzMap ψ)
(by rw [hψ']; exact hg.integrable_mul_schwartzMap _) (hg.integrable_mul_schwartzMap ψ)
(fun x _ => ((hg.1.differentiable (by simp)) x).hasFDerivAt.hasLineDerivAt (basis i))
(fun x _ => ψ.differentiableAt.hasFDerivAt.hasLineDerivAt (basis i))
simpa using h
simp only [momentumCLM_apply]
simp_rw [mul_left_comm (g _), integral_const_mul, hibp]
ring

end
end QuantumMechanics
2 changes: 0 additions & 2 deletions Physlib/QuantumMechanics/PoschlTeller/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ TODO "Develop the eigensystem of the Hamiltonian for the Pöschl-Teller quantum
using properties of the creation/annihilation operators
(e.g. following https://arxiv.org/pdf/2411.14941 [ref: arxiv_2411_14941])."

TODO "Prove that the Pöschl-Teller potential is reflectionless."

noncomputable section

namespace QuantumMechanics
Expand Down
Loading
Loading