Rydberg constant: physical constants, derived atomic scales, Bohr orbits
DefinitionRydbergConstant_DefsDefinitions shared by every statement of the mission.
- A bundle of five strictly positive reals: electron rest mass , elementary charge , vacuum permittivity , Planck constant , speed of light .
- The Rydberg constant for infinite nuclear mass .
- ; the fine-structure constant .
- Compton wavelength , Compton frequency , Compton angular frequency .
- Bohr radius and classical electron radius .
- Rydberg unit of energy .
- Reduced mass and corrected Rydberg constant .
- A Bohr orbit of a particle of mass with quantum number : radius , speed with and .
- The orbit energy .
These are exactly the formulas of the source's Value, Bohr model and Alternative expressions sections.
Formalization Note and are defined for every real (Lean's division returns on division by zero); all theorems using them assume .
import Mathlib namespace RydbergConstant /-- The fundamental constants entering the Rydberg constant, all positive reals (SI values are not fixed): electron rest mass `me`, elementary charge `e`, vacuum permittivity `ε0`, Planck constant `h`, speed of light `c`. -/ structure Constants where me : ℝ e : ℝ ε0 : ℝ h : ℝ c : ℝ me_pos : 0 < me e_pos : 0 < e ε0_pos : 0 < ε0 h_pos : 0 < h c_pos : 0 < c variable (K : Constants) /-- Rydberg constant for infinite nuclear mass: `R∞ = mₑ e⁴ / (8 ε₀² h³ c)`. -/ noncomputable def rydbergInf : ℝ := K.me * K.e ^ 4 / (8 * K.ε0 ^ 2 * K.h ^ 3 * K.c) /-- Reduced Planck constant `ħ = h / (2π)`. -/ noncomputable def hbar : ℝ := K.h / (2 * Real.pi) /-- Fine-structure constant `α = (1 / (4π ε₀)) · e² / (ħ c)`. -/ noncomputable def fineStructure : ℝ := 1 / (4 * Real.pi * K.ε0) * (K.e ^ 2 / (hbar K * K.c)) /-- Compton wavelength of the electron `λₑ = h / (mₑ c)`. -/ noncomputable def comptonWavelength : ℝ := K.h / (K.me * K.c) /-- Compton frequency of the electron `f_C = mₑ c² / h`. -/ noncomputable def comptonFrequency : ℝ := K.me * K.c ^ 2 / K.h /-- Compton angular frequency of the electron `ω_C = 2π f_C`. -/ noncomputable def comptonAngularFrequency : ℝ := 2 * Real.pi * comptonFrequency K /-- Bohr radius `a₀ = 4π ε₀ ħ² / (e² mₑ)`. -/ noncomputable def bohrRadius : ℝ := 4 * Real.pi * K.ε0 * hbar K ^ 2 / (K.e ^ 2 * K.me) /-- Classical electron radius `rₑ = (1 / (4π ε₀)) · e² / (mₑ c²)`. -/ noncomputable def classicalElectronRadius : ℝ := 1 / (4 * Real.pi * K.ε0) * (K.e ^ 2 / (K.me * K.c ^ 2)) /-- Rydberg unit of energy `Ry = h c R∞`. -/ noncomputable def rydbergEnergy : ℝ := K.h * K.c * rydbergInf K /-- Reduced mass of an electron and a nucleus of mass `M`: `μ = 1 / (1/mₑ + 1/M)`. -/ noncomputable def reducedMass (M : ℝ) : ℝ := 1 / (1 / K.me + 1 / M) /-- Rydberg constant corrected for a nucleus of mass `M`: `R_M = (μ / mₑ) R∞`. -/ noncomputable def rydbergM (M : ℝ) : ℝ := reducedMass K M / K.me * rydbergInf K /-- Bohr-model circular orbit of a particle of mass `m` and charge `-e` about a fixed point charge `+e`, with principal quantum number `n`: radius `r > 0`, speed `v > 0`, Coulomb force equal to centripetal force, and angular momentum `m v r = n ħ`. -/ def IsBohrOrbit (m : ℝ) (n : ℕ) (r v : ℝ) : Prop := 0 < r ∧ 0 < v ∧ m * v ^ 2 / r = K.e ^ 2 / (4 * Real.pi * K.ε0 * r ^ 2) ∧ m * v * r = (n : ℝ) * hbar K /-- Total (kinetic + Coulomb potential) energy of such an orbit: `E = m v² / 2 - e² / (4π ε₀ r)`. -/ noncomputable def orbitEnergy (m r v : ℝ) : ℝ := m * v ^ 2 / 2 - K.e ^ 2 / (4 * Real.pi * K.ε0 * r) end RydbergConstant
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.
The file declares, in namespace RydbergConstant:
- A structure Constants with five real fields and five proof fields asserting , , , , . No other constraint relates them.
For a fixed such :
- .
- (with the real number ).
- .
- ; ; .
- ; .
- .
- For any real : and . No sign condition on is built in; for the term is taken to be (Lean convention), giving and , and is also defined (possibly negative or ) for negative .
- For a real (no sign condition), a natural number (including ) and reals : the proposition IsBohrOrbit holds iff , , and . (Since , the force equation forces ; together with the second equation then forces .)
- For reals : orbit energy (with the Lean convention that the second term is if ).
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.