Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The standing waves sin⁡(nπx/L)\sin(n\pi x/L)sin(nπx/L) realize the levels EnE_nEn​

Proved
SchrodingerEquation.eigenfunction_isStationaryState

by LG · Sep 21, 2026 · Mathlib 0df444a (Lean v4.33.1)

differential-equationsmathematical-physicsquantum-mechanicsspectral-theory

Let ℏ>0\hbar > 0ℏ>0, m>0m > 0m>0, L>0L > 0L>0 and let n≥1n \ge 1n≥1 be an integer. Then the standing wave

ψn(x)=sin⁡ ⁣(nπxL)\psi_n(x) = \sin\!\left(\frac{n\pi x}{L}\right)ψn​(x)=sin(Lnπx​)

is a stationary state of the infinite well of width LLL with energy

En=n2π2ℏ22mL2,E_n = \frac{n^{2}\pi^{2}\hbar^{2}}{2 m L^{2}},En​=2mL2n2π2ℏ2​,

that is, it is continuous on [0,L][0,L][0,L], twice differentiable on (0,L)(0,L)(0,L), satisfies −ℏ22mψn′′=Enψn-\frac{\hbar^2}{2m}\psi_n'' = E_n \psi_n−2mℏ2​ψn′′​=En​ψn​ there, and vanishes at both walls; moreover it is not identically zero inside the box.

This is the converse direction of the quantization statement: each of the energies EnE_nEn​ is actually attained, so the goal theorem is not vacuous.

Preamble
import Definitions.Def_SchrodingerEquation_infinite_well_model
Formal statement
namespace SchrodingerEquation

theorem eigenfunction_isStationaryState (hbar m L : ℝ) (n : ℕ)
    (hbar_pos : 0 < hbar) (hm : 0 < m) (hL : 0 < L) (hn : 1 ≤ n) :
    IsStationaryState hbar m L (energyLevel hbar m L n) (eigenfunction L n) ∧
      ∃ x ∈ Set.Ioo 0 L, eigenfunction L n x ≠ 0 := by sorry

end SchrodingerEquation
Source
Schrödinger equation, Wikipedia (revision retrieved 2026-09-21), https://en.wikipedia.org/wiki/Schr%C3%B6dinger_equation — sections "Time-independent equation", "Separation of variables" and "Examples → Particle in a box" (one-dimensional infinite potential well: general solution, boundary conditions at x = 0 and x = L, quantization condition k L = n π, energy levels E_n = n² π² ħ² / (2 m L²)).
Read-back

What the Lean code literally says, in plain math · non-blind self-read-back by the drafting agent (Aristotle, Harmonic)

Disclosure — this read-back is NOT independent testimony. It was written by the same agent that drafted the Lean statement it describes, at the explicit instruction of the proposal's owner, and not blind by a separate auditor with a fresh context. The author already knew what the statement was intended to say, so this text cannot serve the usual purpose of an independent cross-check; reviewers should weight it accordingly and may wish to commission a genuinely blind read-back before approval.

For real numbers ℏ\hbarℏ, mmm, LLL and a natural number nnn, assume ℏ>0\hbar > 0ℏ>0, m>0m > 0m>0, L>0L > 0L>0 and n≥1n \ge 1n≥1.

The conclusion is a conjunction of two assertions about the specific function ψn:R→C\psi_n : \mathbb{R} \to \mathbb{C}ψn​:R→C, ψn(x)=sin⁡(nπx/L)\psi_n(x) = \sin(n\pi x/L)ψn​(x)=sin(nπx/L) (real sine, value embedded in C\mathbb{C}C).

First, ψn\psi_nψn​ satisfies the stationary-state conditions with energy parameter E=n2π2ℏ2/(2mL2)E = n^{2}\pi^{2}\hbar^{2}/(2mL^{2})E=n2π2ℏ2/(2mL2); unfolded, this says: ψn\psi_nψn​ is continuous on the closed interval [0,L][0, L][0,L]; ψn\psi_nψn​ is differentiable at every point of (0,L)(0, L)(0,L); the derivative function ψn′\psi_n'ψn′​ is differentiable at every point of (0,L)(0, L)(0,L); for every real xxx with 0<x<L0 < x < L0<x<L,

−ℏ22m ψn′′(x)  =  n2π2ℏ22mL2 ψn(x)-\frac{\hbar^{2}}{2m}\,\psi_n''(x) \;=\; \frac{n^{2}\pi^{2}\hbar^{2}}{2mL^{2}}\,\psi_n(x)−2mℏ2​ψn′′​(x)=2mL2n2π2ℏ2​ψn​(x)

as complex numbers; and ψn(0)=0\psi_n(0) = 0ψn​(0)=0 together with ψn(L)=0\psi_n(L) = 0ψn​(L)=0.

Second, there exists a real xxx strictly between 000 and LLL with ψn(x)≠0\psi_n(x) \neq 0ψn​(x)=0.

The statement fixes the eigenfunction explicitly — no free constant, no normalization factor — and makes no claim that these are the only stationary states, nor any claim about ψn\psi_nψn​ outside [0,L][0, L][0,L].

Human review
  • Endorsed by Shuze Chen · Sep 24, 2026

    Confirmed by the moderator at approval.

  • Endorsed by LG · Sep 24, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me