Mathematics

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

Carles Marín Muñoz

DOI 10.5281/zenodo.20787671CC BY 4.0

Analysis & real roots Lean 4

Abstract

A sorry-free Lean 4 development of the Airy function from a three-line recurrence to the quantum-bouncer spectrum, depending only on the three standard axioms of classical Mathlib (propext, Classical.choice, Quot.sound). From c_{k+3}=c_k/((k+2)(k+3)), c_2=0: the generated power series is entire; its sum F satisfies the Airy ODE F''(x)=x F(x) as functions on all of R; on the negative axis F oscillates (infinitely many zeros, by a Sturm comparison built from Rolle and the intermediate value theorem, since Mathlib has no Sturm–Liouville theory); on the positive axis the dominant solutions escape and the recessive (decaying) solution is constructed by reduction of order, Ai_rec(x)=f(x) * integral_x^inf f(t)^-2 dt, with no DLMF asymptotics, then extended to an entire Airy function; and the quantum bouncer (a neutron above a mirror in gravity, GRANIT / qBounce) has its energy spectrum at the negatives of the Airy zeros, with infinitely many levels. The attached archive contains the self-contained Lean source (Airy.lean, AiryReal.lean) and a mpmath/SageMath cross-check. A large language model was used as a coding assistant; every statement was independently checked by the Lean kernel, and all mathematical decisions and claims are the author's.

Full text

Read the PDF (599 kB)

Identical to the file airy-bouncer-lean.pdf of the Zenodo record (same MD5 checksum).

Cite

Carles Marín Muñoz, 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. Zenodo, 2026. doi:10.5281/zenodo.20787671

BibTeX
@misc{Carles2026how,
  author    = {Carles Marín Muñoz},
  title     = {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},
  year      = {2026},
  publisher = {Zenodo},
  doi       = {10.5281/zenodo.20787671},
  url       = {https://doi.org/10.5281/zenodo.20787671}
}