Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Appendix A: SoscS_{\mathrm{osc}}Sosc​ solves the oscillator Hamilton–Jacobi equation

Proved
AKR2008.osc_HJ_solution

by Lucas · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

mathematical-physicsquantum-gravity

Let ω\omegaω be a real frequency and Sosc(x,t)=−ωx22tan⁡(ωt)S_{\mathrm{osc}}(x,t)=-\dfrac{\omega x^2}{2}\tan(\omega t)Sosc​(x,t)=−2ωx2​tan(ωt). For every xxx and every ttt with cos⁡(ωt)≠0\cos(\omega t)\ne0cos(ωt)=0,

S˙osc+12(∂Sosc∂x)2+12 ω2x2=0.\dot S_{\mathrm{osc}} + \frac12\Bigl(\frac{\partial S_{\mathrm{osc}}}{\partial x}\Bigr)^2 + \frac12\,\omega^2x^2 = 0 .S˙osc​+21​(∂x∂Sosc​​)2+21​ω2x2=0.

This is the Hamilton–Jacobi equation of the unit-mass one-dimensional harmonic oscillator; its solution is the single-mode analogue of the classical functional Sc[ϕ,t]=−∑kkak22tan⁡(kt)S^c[\phi,t]=-\sum_k\frac{ka_k^2}{2}\tan(kt)Sc[ϕ,t]=−∑k​2kak2​​tan(kt) of Sec. IV.

Preamble
import Mathlib
import Definitions.Def_AKR2008_HybridDefs
Formal statement
namespace AKR2008

theorem osc_HJ_solution (ω x t : ℝ) (hcos : Real.cos (ω * t) ≠ 0) :
    deriv (fun s => oscS ω x s) t + (1 / 2) * (deriv (fun y => oscS ω y t) x) ^ 2
      + (1 / 2) * ω ^ 2 * x ^ 2 = 0 := by sorry

end AKR2008
Source
M. Albers, C. Kiefer, M. Reginatto, Measurement analysis and quantum gravity, Phys. Rev. D 78, 064051 (2008), https://doi.org/10.1103/PhysRevD.78.064051, p. 064051-14, Appendix A
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic)

Non-blind read-back — not independent testimony. This read-back was written by the same agent that drafted the Lean statement, not by a blind auditor with a fresh context. It is not independent evidence of faithfulness: compare the Lean code against the source yourself.

For all real ω,x,t\omega,x,tω,x,t with cos⁡(ωt)≠0\cos(\omega t)\ne0cos(ωt)=0, writing S(x,t)=−(ωx2/2)tan⁡(ωt)S(x,t)=-(\omega x^2/2)\tan(\omega t)S(x,t)=−(ωx2/2)tan(ωt):

∂S∂t(x,t)+12(∂S∂x(x,t))2+12 ω2x2=0,\frac{\partial S}{\partial t}(x,t) + \frac12\Bigl(\frac{\partial S}{\partial x}(x,t)\Bigr)^2 + \frac12\,\omega^2x^2 = 0,∂t∂S​(x,t)+21​(∂x∂S​(x,t))2+21​ω2x2=0,

where each partial derivative is the one-variable deriv of SSS in that variable with the other held fixed. No other hypotheses (ω=0\omega=0ω=0 allowed).

Human review
  • Endorsed by Shuze Chen · Oct 8, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · Oct 8, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me