Lorentz Factor: Kinematics of the Gamma FactorTextbook
Motivation
Every quantitative statement of special relativity — how much a moving clock slows, how much a moving rod shortens, how the momentum and energy of a fast particle grow — is controlled by a single dimensionless number, the Lorentz factor . It is the factor by which the time, length, and inertia of a body in uniform motion differ from their rest values, and it is the quantity that makes relativistic kinematics quantitative rather than qualitative. Its consequences are measured routinely: cosmic-ray muons with a mean lifetime of reach the ground from an altitude of about in numbers explained by their large , and the standard model of long gamma-ray bursts requires ejecta with initial to resolve the compactness problem.
The material formalized here is textbook kinematics rather than open research: the definition of , the identities relating it to its reciprocal, to momentum, and to rapidity, its numerical and asymptotic behaviour, and the composition law of the boosts it parametrizes. The value of the mission is a reusable, machine-checked treatment of that material in Lean 4 — a small, self-contained piece of relativistic kinematics that later formalizations of Minkowski geometry or relativistic dynamics can build on.
Setting
Fix an inertial frame and a relative velocity along a single spatial axis, and let be the speed of light in vacuum. Write for the dimensionless velocity ratio. All statements in this mission are in units where , so is the only kinematic parameter and takes values in the interval for a massive body.
The Lorentz factor is
and its reciprocal is , the quantity tabulated alongside in the source article.
Two derived objects appear throughout. Relativistic velocity addition is
and the Lorentz boost of velocity , acting on the coordinate pair by and , is the symmetric matrix
Finally, the rapidity of a motion is the hyperbolic angle with .
Formalization targets
Goal — boosts compose by relativistic velocity addition
for all subluminal . The goal asserts only the shape of the composition law — that the boosts are closed under composition and that the composed velocity is the relativistic sum — and fixes no numerical constants, so it is stable under any later refinement of the surrounding development.
Supporting targets
The milestones cover, in the order of the source article: the bound with equality exactly at rest; the reciprocal identity ; strict monotonicity of on and its divergence as ; the rapidity identities and ; additivity of rapidity, ; the momentum form ; the Newtonian limit as ; the exact table entries , , ; and the inversion on .
Significance
The composition law is what turns the Lorentz factor from a formula into a group structure: closure of the boosts under composition, with velocities combining by , is the reason rapidity is additive and the reason the velocity of light is the same in every inertial frame, since stays inside . The supporting milestones are the facts a downstream development actually consumes — positivity and monotonicity of , the reciprocal identity, the momentum and rapidity representations, and the low-speed limit that recovers Newtonian kinetic energy.
None of these statements is mathematically open; all are standard. What the mission produces is their machine-checked form in Lean 4, stated against one fixed set of definitions so that the results compose with each other, together with a boost model usable by later work on Minkowski space. Mathlib supplies the analytic infrastructure (real square roots, hyperbolic functions, filters and limits, matrices) but carries no development of relativistic kinematics built on it.
Difficulty
The individual statements are elementary; the friction is in the analysis, not the physics. Three specific places are where a naive attempt stalls.
First, the real square root is a total function returning on negative inputs, so is defined — and useless — outside . Every algebraic step needs the positivity of in hand before dividing, and the hypothesis must be propagated to each intermediate expression, including to the composed velocity in the goal.
Second, the goal's matrix identity does not follow from entrywise algebra alone: the
entries of contain , a nested
square root, and the composition law only becomes polynomial after the identity
has
been proved. Attempting field_simp on the raw matrix equation, before establishing that
identity, produces a goal with three independent radicals.
Third, the two asymptotic milestones are statements about filters, not pointwise bounds. The divergence at is a one-sided limit that must be routed through the positivity of on a left neighbourhood of , and the Newtonian limit is stated on the punctured neighbourhood of , where the quotient has to be rewritten as a function continuous at before any limit theorem applies.
Formalization scope
Everything is over the real numbers in units ; the definitions bundle fixes , , , and as total functions, and the boost is the matrix acting on with the sign convention . Subluminality is never built into the types: it appears as an explicit hypothesis on each statement that needs it, so the statements are about the physical regime and not about the junk values the definitions take elsewhere. Those junk values are the one trivialization risk worth naming: for the square root is and , so a statement that omitted the hypothesis would be false rather than vacuous, and a statement that replaced it by an unsatisfiable condition would be vacuous — every milestone here carries hypotheses that are satisfiable and that exclude only the unphysical range.
A complete development needs Mathlib's real square root, hyperbolic functions, filter and limit API, and matrix notation; nothing beyond Mathlib is assumed. The boost model and the velocity-addition operation are the reusable parts: extensions to boosts in dimensions, to the invariance of the Minkowski quadratic form, to time dilation and length contraction as corollaries of the goal, and to the energy–momentum relation are all welcome as follow-up contributions.
Selected references
- Lorentz factor, Wikipedia (revision oldid=1355686906). https://en.wikipedia.org/w/index.php?title=Lorentz_factor&oldid=1355686906
- J. Forshaw and G. Smith, Dynamics and Relativity, John Wiley & Sons, 2014, p. 118.
- J. D. Jackson, Kinematics, Particle Data Group review, 2005 (rapidity, p. 7). https://pdg.lbl.gov/2005/reviews/kinemarpp.pdf