The real Airy functions #
The power series F = Σ aₙ xⁿ with a_{k+3} = a_k / ((k + 2)(k + 3)), a₀ = c0, a₁ = c1,
a₂ = 0, as a real function airyFun c0 c1 : ℝ → ℝ. It is entire, solves F'' = x F as a
functional identity, has zeros unbounded below, and does not decay at +∞ when positive with
non-negative slope at some x₀ > 0. A decaying (recessive) solution is built by reduction of order,
Ai_rec = f ∫ₓ^∞ f⁻², without the asymptotic expansions of DLMF §9.7, and is extended to an
entire Airy function. Applied to the quantum bouncer ψ'' = α²(αx − β)ψ on [0, ∞) with
ψ(0) = 0: there are infinitely many energy levels.
Main results #
Airy.airyFun_entire:airyFun c0 c1is analytic on all ofℝ(radius of convergence∞).Airy.airyFun_ode:deriv (deriv (airyFun c0 c1)) x = x * airyFun c0 c1 x.Airy.sturm_unbounded_zeros,Airy.airyFun_unbounded_zeros: every solution has zeros unbounded below (Sturm comparison withsin (√c (x − a)), from Rolle and the intermediate value theorem).Airy.airyFun_not_decaying: a solution positive with non-negative slope atx₀ > 0does not tend to0.Airy.exists_recessive_solution: a non-trivial solution on(0, ∞)tending to0at+∞.Airy.exists_entire_recessive: an entireairyFun c0 c1, not identically zero, tending to0at+∞(through the basis WronskianW(f, g) = 1).Airy.bouncer_ode,Airy.bouncer_bc,Airy.bouncer_levels_infinite: the quantum bouncer has infinitely many energy levels, the negatives of the zeros of an Airy function.
Implementation notes #
Mathlib has no Sturm–Liouville or Sturm comparison theory; the oscillation argument is built here from Rolle's theorem, the mean value theorem and the intermediate value theorem.
References #
- NIST Digital Library of Mathematical Functions, Chapter 9 (Airy and Related Functions), https://dlmf.nist.gov/9.
- O. Vallée, M. Soares, Airy Functions and Applications to Physics, Imperial College Press (2010).
- E. A. Coddington, N. Levinson, Theory of Ordinary Differential Equations, McGraw–Hill (1955), Ch. 8.
- R. L. Gibbs, The quantum bouncer, Am. J. Phys. 43 (1975) 25–28.
- V. V. Nesvizhevsky et al., Quantum states of neutrons in the Earth's gravitational field, Nature 415 (2002) 297–299.
- C. Marín, How a Falling Particle Counts Its Floors: the Airy function as a verified entire
solution of y''=xy, its oscillation, and the quantum-bouncer spectrum, machine-checked in Lean 4
(2026), doi:10.5281/zenodo.20787671. Ported from
AiryReal.leanof karlesmarin/airy-bouncer-lean (Lean v4.30.0-rc2).
Real Airy coefficients: solution of y''=xy with y(0)=c0, y'(0)=c1.
Equations
- Airy.coeffR c0 c1 0 = c0
- Airy.coeffR c0 c1 1 = c1
- Airy.coeffR c0 c1 2 = 0
- Airy.coeffR c0 c1 k.succ.succ.succ = Airy.coeffR c0 c1 k / ((↑k + 2) * (↑k + 3))
Instances For
Term-by-term differentiation. If f is the sum of ∑ aₙ xⁿ on a ball, then deriv f
is the sum of ∑ (n+1) a_{n+1} xⁿ. Built from HasFPowerSeriesOnBall.fderiv (the derivative's
power series is derivSeries) + evaluation at 1 + derivSeries_coeff_one.
The Airy power series over ℝ as a FormalMultilinearSeries.
Equations
- Airy.airySeries c0 c1 = FormalMultilinearSeries.ofScalars ℝ (Airy.coeffR c0 c1)
Instances For
The real Airy solution F : ℝ → ℝ with F(0)=c0, F'(0)=c1.
Equations
- Airy.airyFun c0 c1 = (Airy.airySeries c0 c1).sum
Instances For
Radius of convergence = ∞. The Airy series is entire.
F is a real entire function (analytic on all of ℝ).
Coefficients of F'': (n+1)(n+2)·a(n+2) (= apply deriv_ofScalarsSum twice).
Equations
- Airy.coeffR2 c0 c1 n = (↑n + 1) * (↑n + 2) * Airy.coeffR c0 c1 (n + 2)
Instances For
The Airy ODE y'' = x·y, as a real functional identity. Every entire solution F
of the recurrence satisfies deriv (deriv F) x = x · F x at every real x. Proof:
term-by-term differentiation gives F'' as the power series ∑ (n+1)(n+2)a(n+2) xⁿ; the recurrence
coeffR2_succ reindexes it to ∑ aₙ xⁿ⁺¹ = x·F.
Sturm comparison core: a positive solution of y''=xy on an interval of length π/√c lying in
(−∞,−c] is impossible. Wronskian W=f'z−fz' vs z=sin(√c(x−a)): W'=(x+c)·f·z ≤ 0 but the
endpoints force W(a)<0<W(a+π/√c).
Sturm zero existence: any solution of y''=xy has a zero in [a, a+π/√c] when that interval
lies in (−∞,−c] (apply the positive-case contradiction to f or −f).
Oscillation (generic): any solution of y''=xy has zeros unbounded below — for every M
there is a zero < M. Intervals of length π/√c pushed into (−∞,−c] as c→∞.
If f'' = g ≥ 0 on [a,b] and f'(a) ≥ 0, then f is non-decreasing on [a,b]
(f' non-decreasing ⟹ f' ≥ f'(a) ≥ 0 ⟹ f non-decreasing).
On (0,∞), a solution of y''=xy positive with non-negative slope stays positive. It is convex where positive, so once non-decreasing it cannot return to 0 (first-zero argument).
Such a solution is non-decreasing on [x0,∞).
A dominant solution does not decay: positive with non-negative slope at some x0>0 ⟹ it
stays ≥ f x0 > 0, so it cannot tend to 0 at +∞.
airyFun and its derivative as HasDerivAt facts (from entire + the ODE).
Dominant Airy solutions. If F = airyFun c0 c1 is positive with non-negative slope at
some x0>0, then on [x0,∞) it is positive and non-decreasing, and it does NOT decay to 0 at +∞.
(The recessive solution, which does decay, is constructed below by reduction of order:
exists_recessive_solution, exists_entire_recessive.)
Infinitely many bound-state energies. For every bound B there is a (rescaled) energy
β > B with Ai(−β)=0, i.e. the quantum bouncer has infinitely many gravitational levels, given by
the (negatives of the) Airy zeros. This is a consequence of the oscillation theorem.
The affine tangent bound (c+m(t−x))⁻² is integrable on (x,∞) for c,m>0.
1/f² is integrable on (x,∞) for x>0 (f = airyFun 1 0): dominated by the convexity
tangent bound f(t) ≥ f(x)+f'(x)(t−x), which is integrable.
FTC on a half-line (reference b): d/dx ∫_x^∞ h = -h(a) for a > b, h continuous on
[b,∞) and integrable on (b,∞).
The reduction-of-order integral ∫_x^∞ dt/f(t)².
Equations
- Airy.airyRecInt x = ∫ (t : ℝ) in Set.Ioi x, (Airy.airyFun 1 0 t)⁻¹ ^ 2
Instances For
The recessive Airy solution on (0,∞): Ai_rec(x) = f(x)·∫_x^∞ dt/f(t)².
Equations
- Airy.airyRec x = Airy.airyFun 1 0 x * Airy.airyRecInt x
Instances For
1/f² is continuous on [b,∞) for b>0.
d/dx airyRecInt = -1/f(x)² for x>0.
First derivative of Ai_rec: Ai_rec' = f'·g − 1/f (product rule; f·(1/f²) = 1/f).
Reduction of order: Ai_rec'' = x·Ai_rec — the 1/f² terms cancel, leaving f''·g = xf·g.
So Ai_rec solves y''=xy on (0,∞).
The recessive solution decays: Ai_rec(x) → 0 as x → +∞
(0 ≤ Ai_rec ≤ 1/f' ≤ 2/x² → 0).
The Wronskian W(f, Ai_rec) = f·Ai_rec' − f'·Ai_rec = −1 (constant; the synthesis identity).
The f·g terms cancel, leaving −f·(1/f) = −1.
Existence of the recessive solution. There is a non-trivial real solution y of y''=xy
on (0,∞) that decays to 0 at +∞. (y = Ai_rec; non-triviality from W(1)=−1≠0.) This is the
decaying solution whose existence the DLMF §9.7 asymptotics classically guarantee — here built and
verified by reduction of order, with no asymptotics.
Entire extension of the recessive solution (linearity + Wronskian + quotient identity) #
The entire recessive solution exists. There is a non-trivial entire airyFun c0 c1
(with c1 = −1, c0 = (Ai_rec(1)+g(1))/f(1) the synthesis constant) that decays to 0 at +∞ —
the recessive Airy solution, now an honest entire power series rather than an imported asymptotic
object. Proof: choosing c1=−1 forces W(f, airyFun c0 (−1)) = c1·W(f,g) = −1 = W(f, Ai_rec), so the
difference has Wronskian 0 with f; hence (airyFun c0 (−1) − Ai_rec)/f has derivative 0 on
(0,∞), is constant, and vanishes at 1 (by the choice of c0). Thus airyFun c0 (−1) = Ai_rec on
(0,∞) and inherits its decay.