Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Rydberg formula in the Bohr model (infinite nuclear mass)

Proved
RydbergConstant.bohr_rydberg_formula_inf

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

atomic-physicsphysicsrydberg-constant

Here KKK is a bundle of five real constants: the electron rest mass mem_eme​, the elementary charge eee, the vacuum permittivity ε0\varepsilon_0ε0​, the Planck constant hhh and the speed of light ccc, each assumed strictly positive; no numerical (SI) values are fixed. Let n1≠n2n_1\neq n_2n1​=n2​ be positive integers and consider two Bohr orbits of an electron of mass mem_eme​ about an infinitely heavy charge +e+e+e, with quantum numbers n1n_1n1​ and n2n_2n2​, radii ri>0r_i>0ri​>0, speeds vi>0v_i>0vi​>0, satisfying mevi2/ri=e2/(4πε0ri2)m_ev_i^2/r_i=e^2/(4\pi\varepsilon_0r_i^2)me​vi2​/ri​=e2/(4πε0​ri2​) and meviri=niℏm_ev_ir_i=n_i\hbarme​vi​ri​=ni​ℏ. With orbit energies Ei=12mevi2−e2/(4πε0ri)E_i=\tfrac12m_ev_i^2-e^2/(4\pi\varepsilon_0r_i)Ei​=21​me​vi2​−e2/(4πε0​ri​) and photon wavenumber 1/λ=(E2−E1)/(hc)1/\lambda=(E_2-E_1)/(hc)1/λ=(E2​−E1​)/(hc),

1λ=Ry⋅1hc(1n12−1n22)=mee48ε02h3c(1n12−1n22).\frac1\lambda=\mathrm{Ry}\cdot\frac1{hc}\left(\frac1{n_1^2}-\frac1{n_2^2}\right)=\frac{m_ee^4}{8\varepsilon_0^2h^3c}\left(\frac1{n_1^2}-\frac1{n_2^2}\right).λ1​=Ry⋅hc1​(n12​1​−n22​1​)=8ε02​h3cme​e4​(n12​1​−n22​1​).

Formalization Note The wavenumber of the photon is taken to be the energy difference of the two orbits divided by hchchc (Planck–Einstein relation); for n2>n1n_2>n_1n2​>n1​ it is positive (emission from n2n_2n2​ to n1n_1n1​), otherwise its absolute value is the wavenumber of the absorbed photon.

Preamble
import Mathlib
import Definitions.Def_RydbergConstant_Defs
Formal statement
namespace RydbergConstant

theorem bohr_rydberg_formula_inf (K : Constants) (n₁ n₂ : ℕ)
    (hn₁ : 0 < n₁) (hn₂ : 0 < n₂) (hne : n₁ ≠ n₂) (r₁ v₁ r₂ v₂ : ℝ)
    (h₁ : IsBohrOrbit K K.me n₁ r₁ v₁) (h₂ : IsBohrOrbit K K.me n₂ r₂ v₂) :
    (orbitEnergy K K.me r₂ v₂ - orbitEnergy K K.me r₁ v₁) / (K.h * K.c) =
        rydbergEnergy K * (1 / (K.h * K.c)) * (1 / (n₁ : ℝ) ^ 2 - 1 / (n₂ : ℝ) ^ 2) ∧
    (orbitEnergy K K.me r₂ v₂ - orbitEnergy K K.me r₁ v₁) / (K.h * K.c) =
        K.me * K.e ^ 4 / (8 * K.ε0 ^ 2 * K.h ^ 3 * K.c) *
          (1 / (n₁ : ℝ) ^ 2 - 1 / (n₂ : ℝ) ^ 2) := by sorry

end RydbergConstant
Source
Wikipedia, "Rydberg constant", revision oldid=1341645811 (https://en.wikipedia.org/w/index.php?title=Rydberg_constant&oldid=1341645811)
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic) — same agent as the drafter; non-blind

Non-blind read-back — not independent testimony. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statements, at the explicit request of the proposal owner. The author knew the source and the intended meaning while writing it, so it must not be mistaken for the blind, independent auditor read-back the platform recommends; please compare it against the Lean code yourself, or replace it with an independent read-back.

For every bundle of constants me,e,ε0,h,c>0m_e,e,\varepsilon_0,h,c>0me​,e,ε0​,h,c>0, all natural numbers n1,n2n_1,n_2n1​,n2​ with n1>0n_1>0n1​>0, n2>0n_2>0n2​>0, n1≠n2n_1\neq n_2n1​=n2​, and all reals r1,v1,r2,v2r_1,v_1,r_2,v_2r1​,v1​,r2​,v2​ such that for i=1,2i=1,2i=1,2: ri>0r_i>0ri​>0, vi>0v_i>0vi​>0, mevi2ri=e24πε0ri2\dfrac{m_ev_i^2}{r_i}=\dfrac{e^2}{4\pi\varepsilon_0r_i^2}ri​me​vi2​​=4πε0​ri2​e2​ and meviri=niℏm_ev_ir_i=n_i\hbarme​vi​ri​=ni​ℏ (ℏ=h/2π\hbar=h/2\piℏ=h/2π), writing Ei=12mevi2−e24πε0riE_i=\tfrac12m_ev_i^2-\dfrac{e^2}{4\pi\varepsilon_0r_i}Ei​=21​me​vi2​−4πε0​ri​e2​, both equalities hold:

E2−E1hc=Ry⋅1hc(1n12−1n22)andE2−E1hc=mee48ε02h3c(1n12−1n22),\frac{E_2-E_1}{hc}=\mathrm{Ry}\cdot\frac1{hc}\left(\frac1{n_1^2}-\frac1{n_2^2}\right)\qquad\text{and}\qquad \frac{E_2-E_1}{hc}=\frac{m_ee^4}{8\varepsilon_0^2h^3c}\left(\frac1{n_1^2}-\frac1{n_2^2}\right),hcE2​−E1​​=Ry⋅hc1​(n12​1​−n22​1​)andhcE2​−E1​​=8ε02​h3cme​e4​(n12​1​−n22​1​),

with Ry=hcR∞\mathrm{Ry}=hcR_\inftyRy=hcR∞​, R∞=mee48ε02h3cR_\infty=\dfrac{m_ee^4}{8\varepsilon_0^2h^3c}R∞​=8ε02​h3cme​e4​. No wavelength λ\lambdaλ appears explicitly: the left side is literally the energy difference divided by hchchc. No ordering between n1n_1n1​ and n2n_2n2​ is required, so the common value may be negative.

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