Deriv eigenfunction zero
QuantumMechanics.OneDimension.HarmonicOscillator.deriv_eigenfunction_zero
Project documentation
The nth eigenvalues for a Harmonic oscillator is defined as (n + 1/2) * ℏ * ω. -/ noncomputable def eigenValue (n : ℕ) : ℝ := (n + 1/2) * ℏ * Q.ω /-! ## Derivatives of the eigenfunctions
Exact Lean statement
lemma deriv_eigenfunction_zero : deriv (Q.eigenfunction 0) =
Complex.ofReal (- 1 / Q.ξ ^2) • Complex.ofReal * Q.eigenfunction 0Formal artifact
Lean source
lemma deriv_eigenfunction_zero : deriv (Q.eigenfunction 0) = Complex.ofReal (- 1 / Q.ξ ^2) • Complex.ofReal * Q.eigenfunction 0 := by rw [eigenfunction_zero] simp only [deriv_const_mul_field', Complex.ofReal_div, Complex.ofReal_neg, Algebra.smul_mul_assoc] ext x have h1 : deriv (fun (x : ℝ) => Complex.exp (- x ^ 2 / (2 * Q.ξ ^ 2))) x = - x /Q.ξ^2 * Complex.exp (- x ^ 2 / (2 * Q.ξ ^ 2)) := by rw [show (fun (x : ℝ) => Complex.exp (- x ^ 2 / (2 * Q.ξ ^ 2))) = Complex.exp ∘ (fun (x : ℝ) => - x ^ 2 / (2 * Q.ξ ^ 2)) from rfl, deriv_comp _ (by fun_prop) (by fun_prop)] simp only [Complex.deriv_exp, deriv_div_const, deriv.fun_neg'] have h1' : deriv (fun x => (Complex.ofReal x) ^ 2) x = 2 * x := by simp only [pow_two] rw [deriv_fun_mul Complex.differentiableAt_ofReal Complex.differentiableAt_ofReal] simp only [Complex.deriv_ofReal, one_mul, mul_one] ring rw [h1'] field_simp simp only [Pi.smul_apply, Pi.mul_apply, smul_eq_mul] rw [h1] simp only [Real.sqrt_nonneg, Real.sqrt_mul, Complex.ofReal_mul, one_div, mul_inv_rev, Complex.ofReal_one, Complex.ofReal_pow] ring- Project
- Physlib
- License
- Apache-2.0
- Commit
- dd43e9e65791
- Source
- Physlib/QuantumMechanics/HarmonicOscillator/OneDimension/TISE.lean:35-57
Reuse this declaration
Bring the exact result into your workflow
The import identifies the source module. Your project still needs the pinned package dependency shown on this page.
What this badge means
This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.
Continue in this project
Related declarations
Adiabatic relation log
adiabatic_relation_log
Plain-language statement
Adiabatic relation in logarithmic form: If S(Ua,Va,N) = S(Ub,Vb,N) with N fixed, then c * log (Ua/Ub) + log (Va/Vb) = 0.
Source project: Physlib
Person-level attribution pending.
Adiabatic relation Ua Ub Va Vb
adiabatic_relation_UaUbVaVb
Plain-language statement
Adiabatic relation in product form: If S(Ua,Va,N) = S(Ub,Vb,N) with N fixed, then (Ua/Ub)^c * (Va/Vb) = 1.
Source project: Physlib
Person-level attribution pending.
Deriv Within mean Energy Beta eq neg variance
CanonicalEnsemble.derivWithin_meanEnergy_Beta_eq_neg_variance
Plain-language statement
(∂U/∂β) = -Var(E) for finite systems.
Source project: Physlib
Person-level attribution pending.