diff --git a/Physlib/Mathematics/ForMathlib/HasTemperateGrowth.lean b/Physlib/Mathematics/ForMathlib/HasTemperateGrowth.lean index 5ab893702e..1d56fd4c4f 100644 --- a/Physlib/Mathematics/ForMathlib/HasTemperateGrowth.lean +++ b/Physlib/Mathematics/ForMathlib/HasTemperateGrowth.lean @@ -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 @@ -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)] @@ -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 diff --git a/Physlib/QuantumMechanics/HilbertSpaces/SpaceD/MomentumStates.lean b/Physlib/QuantumMechanics/HilbertSpaces/SpaceD/MomentumStates.lean index d1caa52c33..b15c5f63ce 100644 --- a/Physlib/QuantumMechanics/HilbertSpaces/SpaceD/MomentumStates.lean +++ b/Physlib/QuantumMechanics/HilbertSpaces/SpaceD/MomentumStates.lean @@ -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 φ) : ψ = φ := diff --git a/Physlib/QuantumMechanics/Operators/Momentum.lean b/Physlib/QuantumMechanics/Operators/Momentum.lean index 696f04d269..6365e116b9 100644 --- a/Physlib/QuantumMechanics/Operators/Momentum.lean +++ b/Physlib/QuantumMechanics/Operators/Momentum.lean @@ -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 @@ -26,6 +28,10 @@ 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` @@ -33,6 +39,7 @@ Notation: - A. Momentum vector operator - B. Unbounded momentum vector operator +- C. Integration by parts against functions of temperate growth ## iv. References @@ -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 diff --git a/Physlib/QuantumMechanics/PoschlTeller/Basic.lean b/Physlib/QuantumMechanics/PoschlTeller/Basic.lean index 488892871c..206aec2df3 100644 --- a/Physlib/QuantumMechanics/PoschlTeller/Basic.lean +++ b/Physlib/QuantumMechanics/PoschlTeller/Basic.lean @@ -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 diff --git a/Physlib/QuantumMechanics/PoschlTeller/Scattering.lean b/Physlib/QuantumMechanics/PoschlTeller/Scattering.lean index 4a3bfa765c..0e9e777b7f 100644 --- a/Physlib/QuantumMechanics/PoschlTeller/Scattering.lean +++ b/Physlib/QuantumMechanics/PoschlTeller/Scattering.lean @@ -10,37 +10,54 @@ public import Physlib.QuantumMechanics.PoschlTeller.Basic # Scattering states of the 1d Pöschl-Teller system -The polynomials describing the scattering states of the Pöschl-Teller system. +The Pöschl-Teller potential is reflectionless. ## i. Overview -At energy `E = ℏ² k² / (2 m)` the scattering states of the Pöschl-Teller system are of the form -`ψₖ(x) = Pₖ(tanh (κ x)) e^{i k x}`, where the polynomial `Pₖ` is obtained by applying the -operators `-∂ₓ + n κ tanh (κ x)`, for `n = 1, …, N`, to the plane wave `e^{i k x}`. The operator -`-∂ₓ + n κ tanh (κ x)` intertwines the Hamiltonians of the Pöschl-Teller systems with family -numbers `n - 1` and `n`, so it maps solutions of the one to solutions of the other at the same -energy. +At energy `E = ℏ² k² / (2 m)` the time-independent Schrödinger equation of the Pöschl-Teller +system has the exact solution `ψₖ(x) = Pₖ(tanh (κ x)) e^{i k x}`, where the polynomial `Pₖ` is +obtained by applying the operators `-∂ₓ + n κ tanh (κ x)`, for `n = 1, …, N`, to the plane wave +`e^{i k x}`. The operator `-∂ₓ + n κ tanh (κ x)` intertwines the Hamiltonians of the Pöschl-Teller +systems with family numbers `n - 1` and `n`, so it maps solutions of the one to solutions of the +other at the same energy. -This file works with the polynomial in `tanh (κ x)` multiplying `e^{i k x}`, as an element of -`ℂ[X]`. The derivative, the raising operators and the Hamiltonian become operators on `ℂ[X]`, and +Since `tanh (κ x) → ±1` as `x → ±∞`, the solution tends to `Pₖ(±1) e^{i k x}` at both ends. +For `k ≠ 0` it describes a wave incident from the left (`k > 0`) or from the right (`k < 0`) +which is fully transmitted: no reflected wave `e^{-i k x}` appears. This is the statement that the +Pöschl-Teller potential is reflectionless. + +The polynomial in `tanh (κ x)` multiplying `e^{i k x}` is tracked as an element of `ℂ[X]`, so that the intertwining relation becomes an identity of polynomials. +The scattering wave `ψₖ` is not normalizable, so it does not lie in the Hilbert space. Following +`momentumState`, the scattering state is instead the bra `⟨ψₖ|` in the strong dual of the Schwartz +space, and the Schrödinger equation holds in the form `⟨ψₖ| H = E ⟨ψₖ|`, where `H` is the +Hamiltonian acting on Schwartz maps. + ## ii. Key results -- `polyReducedHamiltonian_polyRaise` : the raising operator intertwines the Hamiltonians with family - numbers `n` and `n + 1`. -- `polyReducedHamiltonian_polyScattering` : the scattering polynomial `Pₖ` is an eigenvector of the - reduced Hamiltonian with eigenvalue `k²`. -- `polyScattering_eval_one`, `polyScattering_eval_neg_one` : the values `Pₖ(1) = ∏ₙ (n κ - i k)` - and `Pₖ(-1) = ∏ₙ (-n κ - i k)`. +- `scatteringState_comp_hamiltonianCLM` : the scattering state is a generalized eigenvector of the + Hamiltonian with energy `ℏ² k² / (2 m)`. +- `tendsto_exp_mul_scatteringState_translateSchwartz_atTop`, + `tendsto_exp_mul_scatteringState_translateSchwartz_atBot` : the scattering state approaches a + non-zero multiple of the plane wave bra `⟨k|` as test functions are translated to `±∞`. +- `isReflectionless` : the Pöschl-Teller potential is reflectionless. ## iii. Table of contents -- A. Polynomials in `tanh (κ x)` - - A.1. Derivative, raising operator and Hamiltonian - - A.2. The intertwining relation - - A.3. The scattering polynomials - - A.4. Values at `±1` +- A. The scattering state + - A.1. The scattering polynomials + - A.2. Waves modulated by polynomials in `tanh (κ x)` + - A.3. The scattering state as a bra +- B. Polynomial identities + - B.1. The intertwining relation + - B.2. Values at `±1` +- C. The wave equation and asymptotics + - C.1. Derivatives + - C.2. The Hamiltonian + - C.3. Asymptotics +- D. Scattering states as generalized eigenvectors +- E. Reflectionlessness ## iv. References @@ -54,16 +71,18 @@ namespace QuantumMechanics namespace PoschlTeller -open Complex Polynomial +open Complex Constants Polynomial Filter Topology SchwartzMap MeasureTheory Space +open SpaceDHilbertSpace +open scoped ComplexConjugate variable (Q : PoschlTeller) /-! -## A. Polynomials in `tanh (κ x)` +## A. The scattering state -/ /-! -### A.1. Derivative, raising operator and Hamiltonian +### A.1. The scattering polynomials -/ /-- The derivative acting on the polynomial of a wave `p(tanh (κ x)) e^{i k x}`, @@ -76,16 +95,72 @@ def polyDeriv (k : ℝ) (p : ℂ[X]) : ℂ[X] := `p(tanh (κ x)) e^{i k x}`. -/ def polyRaise (k : ℝ) (n : ℕ) (p : ℂ[X]) : ℂ[X] := -Q.polyDeriv k p + C (n * Q.κ : ℂ) * X * p +/-- The polynomial `Pₖ` of the scattering state `Pₖ(tanh (κ x)) e^{i k x}` of the Pöschl-Teller + system with family number `n`, obtained by applying the raising operators with + `1, …, n` to `1`. -/ +def polyScattering (k : ℝ) : ℕ → ℂ[X] + | 0 => 1 + | n + 1 => Q.polyRaise k (n + 1) (polyScattering k n) + +/-! +### A.2. Waves modulated by polynomials in `tanh (κ x)` +-/ + +/-- The wave `x ↦ p(tanh (κ x)) e^{i k x}`. -/ +def waveOfPoly (k : ℝ) (p : ℂ[X]) (x : ℝ) : ℂ := + p.eval (Real.tanh (Q.κ * x) : ℂ) * exp (k * x * I) + +/-- The wave `p(tanh (κ x)) e^{i k x}` has temperate growth. -/ +lemma waveOfPoly_hasTemperateGrowth (k : ℝ) (p : ℂ[X]) : + (Q.waveOfPoly k p).HasTemperateGrowth := by + have ht : (fun x : ℝ => (Real.tanh (Q.κ * x) : ℂ)).HasTemperateGrowth := + Complex.ofRealCLM.hasTemperateGrowth.comp (tanh_const_mul_hasTemperateGrowth Q.κ) + have he : (fun x : ℝ => exp (k * x * I)).HasTemperateGrowth := by + convert Complex.hasTemperateGrowth_exp_mul_I.comp + (k • ContinuousLinearMap.id ℝ ℝ).hasTemperateGrowth using 2 with x + simp + exact (ht.polynomial_eval p).mul he + +/-- The complex conjugate of `p(tanh (κ x)) e^{i k x}`, as a function on `Space 1`, has temperate + growth. -/ +lemma conj_waveOfPoly_hasTemperateGrowth (k : ℝ) (p : ℂ[X]) : + (fun x : Space 1 => conj (Q.waveOfPoly k p (x 0))).HasTemperateGrowth := + Complex.conjCLE.hasTemperateGrowth.comp + ((Q.waveOfPoly_hasTemperateGrowth k p).comp (Space.eval_hasTemperateGrowth 0)) + +/-! +### A.3. The scattering state as a bra +-/ + +/-- The scattering state with wavenumber `k` as a member of the strong dual of the Schwartz space. + + This is the bra `⟨ψₖ|` of the non-normalizable scattering wave `ψₖ`, that is + `φ ↦ ⟨ψₖ, φ⟩ = ∫ ψ̄ₖ φ`. -/ +def scatteringState (k : ℝ) : StrongDual ℂ 𝓢(Space 1, ℂ) := + Function.HasTemperateGrowth.toTemperedDistribution volume + (Q.conj_waveOfPoly_hasTemperateGrowth k (Q.polyScattering k Q.N)) + +/-- The defining property of the scattering state. -/ +lemma scatteringState_apply (k : ℝ) (φ : 𝓢(Space 1, ℂ)) : + Q.scatteringState k φ = ∫ x, conj (Q.waveOfPoly k (Q.polyScattering k Q.N) (x 0)) * φ x := + (Function.HasTemperateGrowth.toTemperedDistribution_apply volume + (Q.conj_waveOfPoly_hasTemperateGrowth k (Q.polyScattering k Q.N)) φ).trans <| by + simp [mul_comm] + +/-! +## B. Polynomial identities +-/ + +/-! +### B.1. The intertwining relation +-/ + /-- The operator `-∂ₓ² - n (n + 1) κ² / cosh² (κ x)` acting on the polynomial of a wave `p(tanh (κ x)) e^{i k x}`. This is `2 m / ℏ²` times the Hamiltonian of the Pöschl-Teller system with family number `n`. -/ def polyReducedHamiltonian (k : ℝ) (n : ℕ) (p : ℂ[X]) : ℂ[X] := -Q.polyDeriv k (Q.polyDeriv k p) - C ((Q.κ : ℂ) ^ 2 * n * (n + 1)) * (1 - X ^ 2) * p -/-! -### A.2. The intertwining relation --/ - /-- The raising operator intertwines the Hamiltonians with family numbers `n` and `n + 1`. -/ lemma polyReducedHamiltonian_polyRaise (k : ℝ) (n : ℕ) (p : ℂ[X]) : Q.polyReducedHamiltonian k (n + 1) (Q.polyRaise k (n + 1) p) = @@ -107,17 +182,6 @@ lemma polyRaise_C_mul (k : ℝ) (n : ℕ) (c : ℂ) (p : ℂ[X]) : simp only [polyRaise, polyDeriv, derivative_mul, derivative_C, zero_mul, zero_add] ring -/-! -### A.3. The scattering polynomials --/ - -/-- The polynomial `Pₖ` of the scattering state `Pₖ(tanh (κ x)) e^{i k x}` of the Pöschl-Teller - system with family number `n`, obtained by applying the raising operators with - `1, …, n` to `1`. -/ -def polyScattering (k : ℝ) : ℕ → ℂ[X] - | 0 => 1 - | n + 1 => Q.polyRaise k (n + 1) (polyScattering k n) - /-- The scattering polynomial with family number `n` is an eigenvector of the reduced Hamiltonian with eigenvalue `k²`. -/ lemma polyReducedHamiltonian_polyScattering (k : ℝ) (n : ℕ) : @@ -132,7 +196,7 @@ lemma polyReducedHamiltonian_polyScattering (k : ℝ) (n : ℕ) : | succ n ih => rw [polyScattering, polyReducedHamiltonian_polyRaise, ih, polyRaise_C_mul] /-! -### A.4. Values at `±1` +### B.2. Values at `±1` -/ /-- At `tanh (κ x) = 1` the raising operator acts as multiplication by `n κ - i k`. -/ @@ -192,6 +256,255 @@ lemma polyScattering_eval_neg_one_ne_zero (k : ℝ) (n : ℕ) : have := Q.κ_pos nlinarith [(Nat.cast_nonneg j : (0 : ℝ) ≤ j)] +/-! +## C. The wave equation and asymptotics +-/ + +/-! +### C.1. Derivatives +-/ + +/-- The derivative of `p(tanh (κ x)) e^{i k x}` is `(polyDeriv k p)(tanh (κ x)) e^{i k x}`. -/ +lemma hasDerivAt_waveOfPoly (k : ℝ) (p : ℂ[X]) (x : ℝ) : + HasDerivAt (Q.waveOfPoly k p) (Q.waveOfPoly k (Q.polyDeriv k p) x) x := by + have ht : HasDerivAt (fun x => (Real.tanh (Q.κ * x) : ℂ)) + (((1 - Real.tanh (Q.κ * x) ^ 2) * (Q.κ * 1) : ℝ) : ℂ) x := + ((hasDerivAt_tanh _).comp x ((hasDerivAt_id x).const_mul Q.κ)).ofReal_comp + have hp := (p.hasDerivAt _).comp x ht + have he : HasDerivAt (fun x : ℝ => exp (k * x * I)) (exp (k * x * I) * (k * 1 * I)) x := + ((((hasDerivAt_id x).ofReal_comp).const_mul (k : ℂ)).mul_const I).cexp + refine (hp.mul he).congr_deriv ?_ + simp only [waveOfPoly, polyDeriv, Function.comp_apply, eval_add, eval_mul, eval_C, eval_sub, + eval_one, eval_pow, eval_X] + push_cast + ring + +/-- The derivative of the complex conjugate of `p(tanh (κ x)) e^{i k x}` on `Space 1`. -/ +lemma deriv_conj_waveOfPoly (k : ℝ) (p : ℂ[X]) : + ∂[0] (fun x : Space 1 => conj (Q.waveOfPoly k p (x 0))) = + fun x => conj (Q.waveOfPoly k (Q.polyDeriv k p) (x 0)) := by + funext x + have he : HasFDerivAt (fun x : Space 1 => x 0) (Space.coordCLM 0) x := by + convert (Space.coordCLM (d := 1) 0).hasFDerivAt using 1 + funext y + simp [Space.coordCLM_apply, Space.coord] + have h := Complex.conjCLE.hasFDerivAt.comp x + ((Q.hasDerivAt_waveOfPoly k p (x 0)).hasFDerivAt.comp x he) + have hfun : (fun x : Space 1 => conj (Q.waveOfPoly k p (x 0))) = + ⇑Complex.conjCLE ∘ Q.waveOfPoly k p ∘ fun x => x 0 := rfl + rw [Space.deriv, hfun, h.fderiv] + simp [Space.coordCLM_apply, Space.coord] + +/-! +### C.2. The Hamiltonian +-/ + +/-- Multiplying the polynomial by a constant multiplies the wave by that constant. -/ +lemma waveOfPoly_C_mul (k : ℝ) (c : ℂ) (p : ℂ[X]) : + Q.waveOfPoly k (C c * p) = c • Q.waveOfPoly k p := by + funext x + simp only [waveOfPoly, ofReal_tanh, ofReal_mul, eval_mul, eval_C, mul_assoc, Pi.smul_apply, + smul_eq_mul] + +/-- The Hamiltonian `-ℏ² / (2 m) ∂ₓ² + V` acts on `p(tanh (κ x)) e^{i k x}` through the reduced + Hamiltonian with family number `N`. -/ +lemma waveOfPoly_polyReducedHamiltonian (k : ℝ) (p : ℂ[X]) (x : Space 1) : + ((ℏ ^ 2 / (2 * Q.m) : ℝ) : ℂ) * Q.waveOfPoly k (Q.polyReducedHamiltonian k Q.N p) (x 0) = + -((ℏ ^ 2 / (2 * Q.m) : ℝ) : ℂ) * Q.waveOfPoly k (Q.polyDeriv k (Q.polyDeriv k p)) (x 0) + + Q.potential x * Q.waveOfPoly k p (x 0) := by + simp only [waveOfPoly, polyReducedHamiltonian, Q.potential_eq_tanh, depth, eval_sub, eval_neg, + eval_mul, eval_C, eval_one, eval_pow, eval_X] + push_cast + ring + +/-! +### C.3. Asymptotics +-/ + +/-- Removing the plane wave factor from `p(tanh (κ x)) e^{i k x}` leaves `p(tanh (κ x))`. -/ +lemma waveOfPoly_mul_exp (k : ℝ) (p : ℂ[X]) (x : ℝ) : + Q.waveOfPoly k p x * exp (-(k * x * I)) = p.eval (Real.tanh (Q.κ * x) : ℂ) := by + rw [waveOfPoly, mul_assoc, ← exp_add, add_neg_cancel, exp_zero, mul_one] + +/-- As `x → ∞`, `p(tanh (κ x)) e^{i k x}` approaches `p(1) e^{i k x}`. -/ +lemma tendsto_waveOfPoly_mul_exp_atTop (k : ℝ) (p : ℂ[X]) : + Tendsto (fun x => Q.waveOfPoly k p x * exp (-(k * x * I))) atTop (𝓝 (p.eval 1)) := by + simp_rw [Q.waveOfPoly_mul_exp] + have ht : Tendsto (fun x => Real.tanh (Q.κ * x)) atTop (𝓝 1) := + tendsto_tanh_atTop.comp (tendsto_id.const_mul_atTop Q.κ_pos) + have h := (p.continuous.tendsto _).comp ((continuous_ofReal.tendsto _).comp ht) + simpa only [ofReal_tanh, ofReal_mul, Function.comp_def, ofReal_one] using h + +/-- As `x → -∞`, `p(tanh (κ x)) e^{i k x}` approaches `p(-1) e^{i k x}`. -/ +lemma tendsto_waveOfPoly_mul_exp_atBot (k : ℝ) (p : ℂ[X]) : + Tendsto (fun x => Q.waveOfPoly k p x * exp (-(k * x * I))) atBot (𝓝 (p.eval (-1))) := by + simp_rw [Q.waveOfPoly_mul_exp] + have ht : Tendsto (fun x => Real.tanh (Q.κ * x)) atBot (𝓝 (-1)) := + tendsto_tanh_atBot.comp (tendsto_id.const_mul_atBot Q.κ_pos) + have h := (p.continuous.tendsto _).comp ((continuous_ofReal.tendsto _).comp ht) + simpa only [ofReal_tanh, ofReal_mul, Function.comp_def, ofReal_neg, ofReal_one] using h + +/-! +## D. Scattering states as generalized eigenvectors +-/ + +/-- The scattering wave `ψₖ = waveOfPoly k (polyScattering k N)` solves the time-independent + Schrödinger equation at energy `ℏ² k² / (2 m)` against all Schwartz maps, + `∫ ψ̄ₖ (H φ) = E ∫ ψ̄ₖ φ`. -/ +lemma integral_conj_waveOfPoly_polyScattering_mul_hamiltonianCLM (k : ℝ) (φ : 𝓢(Space 1, ℂ)) : + ∫ x, conj (Q.waveOfPoly k (Q.polyScattering k Q.N) (x 0)) * + Q.toSpaceDQuantumSystem.hamiltonianCLM φ x = + ((ℏ ^ 2 * k ^ 2 / (2 * Q.m) : ℝ) : ℂ) * + ∫ x, conj (Q.waveOfPoly k (Q.polyScattering k Q.N) (x 0)) * φ x := by + have hg := Q.conj_waveOfPoly_hasTemperateGrowth k + set c : ℂ := (((2 * Q.m)⁻¹ : ℝ) : ℂ) + -- The Schrödinger equation for the conjugate of the scattering wave, pointwise. + have hpt (x : Space 1) : + c * (I * ℏ * (I * ℏ * + conj (Q.waveOfPoly k (Q.polyDeriv k (Q.polyDeriv k (Q.polyScattering k Q.N))) (x 0)))) + + conj (Q.waveOfPoly k (Q.polyScattering k Q.N) (x 0)) * Q.potential x = + ((ℏ ^ 2 * k ^ 2 / (2 * Q.m) : ℝ) : ℂ) * + conj (Q.waveOfPoly k (Q.polyScattering k Q.N) (x 0)) := by + have h := Q.waveOfPoly_polyReducedHamiltonian k (Q.polyScattering k Q.N) x + rw [polyReducedHamiltonian_polyScattering, waveOfPoly_C_mul, Pi.smul_apply, + smul_eq_mul] at h + have h' := congrArg conj h + simp only [map_mul, map_add, map_neg, map_pow, Complex.conj_ofReal] at h' + simp only [c] + push_cast at h' ⊢ + linear_combination -h' + ((2 * (Q.m : ℂ))⁻¹ * (ℏ : ℂ) ^ 2 * + conj (Q.waveOfPoly k (Q.polyDeriv k (Q.polyDeriv k (Q.polyScattering k Q.N))) (x 0))) * I_sq + -- Integrating by parts twice moves both derivatives of the kinetic term onto the wave. + have hkin : ∫ a, conj (Q.waveOfPoly k (Q.polyScattering k Q.N) (a 0)) * + (c * 𝐩 0 (𝐩 0 φ) a) = + c * (I * ℏ * (I * ℏ * ∫ a, conj (Q.waveOfPoly k + (Q.polyDeriv k (Q.polyDeriv k (Q.polyScattering k Q.N))) (a 0)) * φ a)) := by + calc _ = ∫ a, c * (conj (Q.waveOfPoly k (Q.polyScattering k Q.N) (a 0)) * + 𝐩 0 (𝐩 0 φ) a) := by + congr 1; funext a; ring + _ = _ := by + rw [integral_const_mul, integral_mul_momentumCLM 0 (hg _), Q.deriv_conj_waveOfPoly, + integral_mul_momentumCLM 0 (hg _), Q.deriv_conj_waveOfPoly] + simp only [Q.toSpaceDQuantumSystem_hamiltonianCLM_apply, Complex.real_smul, mul_add] + have hpot := (hg (Q.polyScattering k Q.N)).integrable_mul_schwartzMap (μ := volume) + (Q.toSpaceDQuantumSystem.potentialCLM φ) + simp only [Q.toSpaceDQuantumSystem_potentialCLM_apply, Complex.real_smul] at hpot + rw [integral_add + (((hg _).integrable_mul_schwartzMap (𝐩 0 (𝐩 0 φ))).const_mul c |>.congr + (by filter_upwards with x; ring)) hpot] + rw [hkin, ← integral_const_mul (I * ℏ), ← integral_const_mul (I * ℏ), ← integral_const_mul c, + ← integral_add, ← integral_const_mul] + · refine integral_congr_ae (Eventually.of_forall fun a => ?_) + simp only + linear_combination φ a * hpt a + · exact ((hg _).integrable_mul_schwartzMap φ).const_mul (c * (I * ℏ * (I * ℏ))) + |>.congr (by filter_upwards with a; ring) + · exact hpot + +/-- The scattering state `scatteringState k` is a generalized eigenvector of the Hamiltonian with + energy `ℏ² k² / (2 m)`, in the bra form `⟨ψₖ| H = E ⟨ψₖ|` as functionals on Schwartz space. -/ +lemma scatteringState_comp_hamiltonianCLM (k : ℝ) : + Q.scatteringState k ∘L Q.toSpaceDQuantumSystem.hamiltonianCLM = + ((ℏ ^ 2 * k ^ 2 / (2 * Q.m) : ℝ) : ℂ) • Q.scatteringState k := by + ext φ + simp only [ContinuousLinearMap.comp_apply, _root_.smul_apply, smul_eq_mul, + scatteringState_apply, integral_conj_waveOfPoly_polyScattering_mul_hamiltonianCLM] + +/-! +## E. Reflectionlessness +-/ + +/-- The wave `p(tanh (κ x)) e^{i k x}` is bounded. -/ +lemma exists_norm_waveOfPoly_le (k : ℝ) (p : ℂ[X]) : ∃ M, ∀ x, ‖Q.waveOfPoly k p x‖ ≤ M := by + obtain ⟨M, hM⟩ := (isCompact_Icc (a := (-1 : ℝ)) (b := 1)).exists_bound_of_continuousOn + (f := fun t : ℝ => p.eval (t : ℂ)) (by fun_prop) + refine ⟨M, fun x => ?_⟩ + rw [waveOfPoly, norm_mul, ← ofReal_mul, norm_exp_ofReal_mul_I, mul_one] + exact hM _ ⟨(Real.neg_one_lt_tanh _).le, (Real.tanh_lt_one _).le⟩ + +/-- Translating a Schwartz map by `a` shifts the argument of the wave by `a`. -/ +lemma integral_conj_waveOfPoly_mul_translateSchwartz (k a : ℝ) (p : ℂ[X]) (φ : 𝓢(Space 1, ℂ)) : + ∫ x, conj (Q.waveOfPoly k p (x 0)) * translateSchwartz (EuclideanSpace.single 0 a) φ x = + ∫ x, conj (Q.waveOfPoly k p (x 0 + a)) * φ x := by + have h := integral_sub_right_eq_self (μ := volume) + (fun x : Space 1 => conj (Q.waveOfPoly k p (x 0 + a)) * φ x) (oneEquiv.symm a) + rw [← h] + refine integral_congr_ae (Eventually.of_forall fun x => ?_) + have hx : (x - oneEquiv.symm a) 0 + a = x 0 := by simp [oneEquiv_symm_apply] + simp only [translateSchwartz_single_apply, hx] + +/-- If `ψ(x) e^{-i k x}` tends to `c` far along the filter `l`, then translating a test function + along `l` pairs it with `c̄ ⟨k|`, up to the phase `e^{-i k a}`. -/ +lemma tendsto_exp_mul_integral_conj_waveOfPoly_mul_translateSchwartz {l : Filter ℝ} + [l.IsCountablyGenerated] (k : ℝ) (p : ℂ[X]) (c : ℂ) (φ : 𝓢(Space 1, ℂ)) + (h : ∀ x, Tendsto (fun a => Q.waveOfPoly k p (x + a) * exp (-(k * (x + a : ℝ) * I))) l (𝓝 c)) : + Tendsto (fun a : ℝ => exp (k * a * I) * ∫ x, conj (Q.waveOfPoly k p (x 0)) * + translateSchwartz (EuclideanSpace.single 0 a) φ x) l + (𝓝 (conj c * momentumState (oneEquiv.symm k) φ)) := by + obtain ⟨M, hM⟩ := Q.exists_norm_waveOfPoly_le k p + have hcont := (Q.waveOfPoly_hasTemperateGrowth k p).1.continuous + simp_rw [integral_conj_waveOfPoly_mul_translateSchwartz, momentumState_oneEquiv_symm_apply, + ← integral_const_mul] + refine tendsto_integral_filter_of_dominated_convergence (fun x => M * ‖φ x‖) ?_ ?_ + (φ.integrable.norm.const_mul M) ?_ + · refine Eventually.of_forall fun a => Continuous.aestronglyMeasurable ?_ + have : Continuous fun x : Space 1 => Q.waveOfPoly k p (x 0 + a) := + hcont.comp (by fun_prop) + exact continuous_const.mul ((Complex.continuous_conj.comp this).mul φ.continuous) + · refine Eventually.of_forall fun a => Eventually.of_forall fun x => ?_ + rw [norm_mul, ← ofReal_mul, norm_exp_ofReal_mul_I, one_mul, norm_mul, Complex.norm_conj] + exact mul_le_mul_of_nonneg_right (hM _) (norm_nonneg _) + · refine Eventually.of_forall fun x => ?_ + have hc := ((Complex.continuous_conj.tendsto _).comp (h (x 0))).mul_const + (exp (-(k * (x 0 : ℝ) * I)) * φ x) + refine hc.congr fun a => ?_ + have hconj : conj (exp (-(k * (x 0 + a : ℝ) * I))) = exp (k * (x 0 + a : ℝ) * I) := by + rw [← Complex.exp_conj] + simp + have hexp : exp (k * (x 0 + a : ℝ) * I) * exp (-(k * (x 0 : ℝ) * I)) = exp (k * a * I) := by + rw [← exp_add] + congr 1 + push_cast + ring + simp only [Function.comp_apply, map_mul, hconj] + linear_combination (conj (Q.waveOfPoly k p (x 0 + a)) * φ x) * hexp + +/-- Far to the right the scattering state looks like the bra of the transmitted plane wave: + `e^{i k a} ⟨ψₖ|τₐ φ⟩ → conj (∏ₙ (n κ - i k)) ⟨k|φ⟩` as `a → ∞`. -/ +lemma tendsto_exp_mul_scatteringState_translateSchwartz_atTop (k : ℝ) (φ : 𝓢(Space 1, ℂ)) : + Tendsto (fun a : ℝ => exp (k * a * I) * + Q.scatteringState k (translateSchwartz (EuclideanSpace.single 0 a) φ)) atTop + (𝓝 (conj (∏ j ∈ Finset.range Q.N, ((j + 1) * Q.κ - k * I)) * + momentumState (oneEquiv.symm k) φ)) := by + simp_rw [scatteringState_apply] + rw [← polyScattering_eval_one] + exact Q.tendsto_exp_mul_integral_conj_waveOfPoly_mul_translateSchwartz k _ _ φ fun x => + (Q.tendsto_waveOfPoly_mul_exp_atTop k _).comp (tendsto_atTop_add_const_left _ x tendsto_id) + +/-- Far to the left the scattering state looks like the bra of the same plane wave, with no + reflected part: `e^{i k a} ⟨ψₖ|τₐ φ⟩ → conj (∏ₙ (-n κ - i k)) ⟨k|φ⟩` as `a → -∞`. -/ +lemma tendsto_exp_mul_scatteringState_translateSchwartz_atBot (k : ℝ) (φ : 𝓢(Space 1, ℂ)) : + Tendsto (fun a : ℝ => exp (k * a * I) * + Q.scatteringState k (translateSchwartz (EuclideanSpace.single 0 a) φ)) atBot + (𝓝 (conj (∏ j ∈ Finset.range Q.N, (-((j + 1) * Q.κ) - k * I)) * + momentumState (oneEquiv.symm k) φ)) := by + simp_rw [scatteringState_apply] + rw [← polyScattering_eval_neg_one] + exact Q.tendsto_exp_mul_integral_conj_waveOfPoly_mul_translateSchwartz k _ _ φ fun x => + (Q.tendsto_waveOfPoly_mul_exp_atBot k _).comp (tendsto_atBot_add_const_left _ x tendsto_id) + +/-- The Pöschl-Teller potential is reflectionless: for every wavenumber `k ≠ 0` the scattering + state passes the well with no reflected wave `e^{-i k x}`. -/ +lemma isReflectionless : Q.toSpaceDQuantumSystem.IsReflectionless := by + intro k _ + refine ⟨Q.scatteringState k, Q.scatteringState_comp_hamiltonianCLM k, _, _, ?_, ?_, fun φ => + ⟨Q.tendsto_exp_mul_scatteringState_translateSchwartz_atTop k φ, + Q.tendsto_exp_mul_scatteringState_translateSchwartz_atBot k φ⟩⟩ + · rw [Ne, map_eq_zero, ← polyScattering_eval_one] + exact Q.polyScattering_eval_one_ne_zero k Q.N + · rw [Ne, map_eq_zero, ← polyScattering_eval_neg_one] + exact Q.polyScattering_eval_neg_one_ne_zero k Q.N + end PoschlTeller end QuantumMechanics end diff --git a/Physlib/QuantumMechanics/SpaceDQuantumSystem.lean b/Physlib/QuantumMechanics/SpaceDQuantumSystem.lean index 8ccf56cc8d..4722b210e6 100644 --- a/Physlib/QuantumMechanics/SpaceDQuantumSystem.lean +++ b/Physlib/QuantumMechanics/SpaceDQuantumSystem.lean @@ -5,8 +5,9 @@ Authors: Gregory J. Loges -/ module -public import Physlib.QuantumMechanics.Operators.Momentum +public import Physlib.QuantumMechanics.HilbertSpaces.SpaceD.MomentumStates public import Physlib.QuantumMechanics.Operators.Multiplication +public import Physlib.SpaceAndTime.Space.Translations /-! # Single-particle quantum system on `Space d` @@ -27,6 +28,7 @@ namely the number of spatial dimensions, the particle's mass and the potential f - B.1. Kinetic energy - B.2. Potential energy - B.3. Hamiltonian +- C. Reflectionless systems in one dimension ## iv. References @@ -147,6 +149,29 @@ lemma hamiltonianOperator_eq : Q.hamiltonianOperator = Q.kineticOperator + Q.pot end +/-! +## C. Reflectionless systems in one dimension +-/ + +open Constants Filter Topology SchwartzMap Space SpaceDHilbertSpace + +/-- A system in one dimension is reflectionless if for every wavenumber `k ≠ 0` there is a + generalized eigenvector `⟨Ψ|` of the Hamiltonian in the strong dual of the Schwartz space, with + energy `ℏ² k² / (2 m)`, which looks like a non-zero multiple of the plane wave bra `⟨k|` at both + ends. Far away is probed by translating a test function by `a`: + `e^{i k a} ⟨Ψ|τₐ φ⟩ → T ⟨k|φ⟩` as `a → ∞`, and likewise with `T'` as `a → -∞`. A reflected wave + `e^{-i k x}` would add a term oscillating like `e^{2 i k a}`, so the limits would not exist. -/ +def IsReflectionless (Q : SpaceDQuantumSystem 1) : Prop := + ∀ k : ℝ, k ≠ 0 → ∃ Ψ : StrongDual ℂ 𝓢(Space 1, ℂ), + Ψ ∘L Q.hamiltonianCLM = ((ℏ ^ 2 * k ^ 2 / (2 * Q.m) : ℝ) : ℂ) • Ψ ∧ + ∃ T T' : ℂ, T ≠ 0 ∧ T' ≠ 0 ∧ ∀ φ : 𝓢(Space 1, ℂ), + Tendsto (fun a : ℝ => exp (k * a * I) * + Ψ (translateSchwartz (EuclideanSpace.single 0 a) φ)) atTop + (𝓝 (T * momentumState (oneEquiv.symm k) φ)) ∧ + Tendsto (fun a : ℝ => exp (k * a * I) * + Ψ (translateSchwartz (EuclideanSpace.single 0 a) φ)) atBot + (𝓝 (T' * momentumState (oneEquiv.symm k) φ)) + end end SpaceDQuantumSystem end QuantumMechanics diff --git a/Physlib/SpaceAndTime/Space/Translations.lean b/Physlib/SpaceAndTime/Space/Translations.lean index 523dbc092d..c83b234df0 100644 --- a/Physlib/SpaceAndTime/Space/Translations.lean +++ b/Physlib/SpaceAndTime/Space/Translations.lean @@ -90,6 +90,15 @@ lemma translateSchwartz_coe_eq {d : ℕ} (a : EuclideanSpace ℝ (Fin d)) ext simp +/-- In one dimension, translating by `a` subtracts the point `a` from the argument. -/ +lemma translateSchwartz_single_apply (a : ℝ) (η : 𝓢(Space 1, X)) (x : Space 1) : + translateSchwartz (EuclideanSpace.single 0 a) η x = η (x - oneEquiv.symm a) := by + rw [translateSchwartz_apply] + congr 2 + ext i + fin_cases i + simp [oneEquiv_symm_apply] + /-- The continuous linear map translating distributions. -/ noncomputable def distTranslate {d : ℕ} (a : EuclideanSpace ℝ (Fin d)) : ((Space d) →d[ℝ] X) →ₗ[ℝ] ((Space d) →d[ℝ] X) where