Weinberg (1965): Minkowski products, relative velocity, soft angular functions , and exponents ,
DefinitionWeinberg1965_DefsShared definitions for the mission on S. Weinberg, Infrared Photons and Gravitons (1965). Units and the paper's metric (footnote 7): for four-vectors , , , so on the mass shell.
The external lines of a process are indexed by a finite set; line has mass , three-momentum , charge and sign (outgoing) or (incoming).
Vec3— Euclidean space .solidAngleIntegral F— , the integral of over the unit sphere against surface measure (total solid angle ).energy m p— the on-shell energy .mdot m₁ p₁ m₂ p₂— the Minkowski product of on-shell four-momenta.mdotNull m p q— for the null four-vector of a soft photon or graviton.relVel— Eq. (2.17): , the relative velocity of and in the rest frame of either.photonAngular— Eq. (2.15):
photonIndex— Eq. (2.14): .gravitonAngular— Eq. (2.25):
gravitonIndex— Eq. (2.24): .photonKernel β— the pair kernel of Eq. (2.16), for , and its limiting value at .fWeinberg β— Eq. (4.6): for , and its limiting value at .
These are the angular functions and spectral indices , that control the infrared factors , of Eqs. (2.18), (2.27) and the soft emission spectra (2.51), (2.52).
Formalization Note The printed Eq. (4.6) carries an exponent on the argument of the logarithm; with it, , which contradicts both Eq. (2.26) (via (4.5)) and the expansion (4.9) . The definition drops that exponent, which is the reading consistent with (2.26), (4.5) and (4.9). The diagonal terms have ; the kernels are extended there by their limits ( and ), as the paper's sums implicitly require.
import Mathlib
/-!
# Weinberg (1965), *Infrared Photons and Gravitons* — definitions
Conventions of the paper (footnote 7): `ħ = c = 1`, and the Minkowski product of
four-vectors `p = (𝐩, p⁰)`, `q = (𝐪, q⁰)` is `p · q = 𝐩 · 𝐪 − p⁰ q⁰`, so a particle of
mass `m` has `p · p = −m²`.
The external lines of a process `α → β` are indexed by a finite type `ι`. Line `n` carries
a mass `m n`, a three-momentum `p n ∈ ℝ³`, an energy `E_n = √(|𝐩_n|² + m_n²)` (on the mass
shell), a charge `e n`, and a sign `η n` (`+1` outgoing, `−1` incoming).
Solid-angle integrals `∫ d²Ω` are integrals over the unit sphere `S² ⊂ ℝ³` against the
surface-area measure (total mass `4π`), realised in Mathlib as `volume.toSphere`.
-/
namespace Weinberg1965
open MeasureTheory
/-- Three-dimensional Euclidean space `ℝ³` (spatial momenta and directions). -/
abbrev Vec3 : Type := EuclideanSpace ℝ (Fin 3)
/-- The solid-angle integral `∫ d²Ω F(q̂)` of a real function over the unit sphere
`S² ⊂ ℝ³`, taken with respect to the surface-area measure (total solid angle `4π`). -/
noncomputable def solidAngleIntegral (F : Vec3 → ℝ) : ℝ :=
∫ u : Metric.sphere (0 : Vec3) 1, F (u : Vec3) ∂(volume.toSphere)
/-- On-shell energy `E = √(|𝐩|² + m²)` of a particle of mass `m` and three-momentum `𝐩`. -/
noncomputable def energy (m : ℝ) (p : Vec3) : ℝ :=
Real.sqrt (‖p‖ ^ 2 + m ^ 2)
/-- Minkowski product (footnote 7) of the on-shell four-momenta `(𝐩₁, E₁)` and `(𝐩₂, E₂)`
of particles of masses `m₁, m₂`: `p₁ · p₂ = 𝐩₁ · 𝐩₂ − E₁ E₂`. -/
noncomputable def mdot (m₁ : ℝ) (p₁ : Vec3) (m₂ : ℝ) (p₂ : Vec3) : ℝ :=
inner ℝ p₁ p₂ - energy m₁ p₁ * energy m₂ p₂
/-- Minkowski product `p · q = 𝐩 · 𝐪 − E |𝐪|` of the on-shell four-momentum of a particle of
mass `m` and three-momentum `𝐩` with the null four-vector `q = (𝐪, |𝐪|)` (a soft photon or
graviton of three-momentum `𝐪`). -/
noncomputable def mdotNull (m : ℝ) (p : Vec3) (q : Vec3) : ℝ :=
inner ℝ p q - energy m p * ‖q‖
/-- Eq. (2.17): the relative velocity of particles `n` and `m` in the rest frame of either,
`β_{nm} = [1 − m_n² m_m² / (p_n · p_m)²]^{1/2}`. -/
noncomputable def relVel (m₁ : ℝ) (p₁ : Vec3) (m₂ : ℝ) (p₂ : Vec3) : ℝ :=
Real.sqrt (1 - m₁ ^ 2 * m₂ ^ 2 / (mdot m₁ p₁ m₂ p₂) ^ 2)
/-- Eq. (2.15): the photon angular function
`A(q̂) = (1 / (2(2π)³)) ∑_{n,m} e_n e_m η_n η_m (p_n · p_m) / ([E_n − 𝐩_n · q̂][E_m − 𝐩_m · q̂])`. -/
noncomputable def photonAngular {ι : Type*} [Fintype ι]
(m : ι → ℝ) (p : ι → Vec3) (e η : ι → ℝ) (u : Vec3) : ℝ :=
(1 / (2 * (2 * Real.pi) ^ 3)) *
∑ n, ∑ k, e n * e k * η n * η k * mdot (m n) (p n) (m k) (p k) /
((energy (m n) (p n) - inner ℝ (p n) u) * (energy (m k) (p k) - inner ℝ (p k) u))
/-- Eq. (2.14): the infrared-photon exponent `A = ∫ d²Ω A(q̂)`. -/
noncomputable def photonIndex {ι : Type*} [Fintype ι]
(m : ι → ℝ) (p : ι → Vec3) (e η : ι → ℝ) : ℝ :=
solidAngleIntegral (photonAngular m p e η)
/-- Eq. (2.25): the graviton angular function
`B(q̂) = (8πG / (2(2π)³)) ∑_{n,m} η_n η_m [(p_n · p_m)² − ½ m_n² m_m²] /
([E_n − 𝐩_n · q̂][E_m − 𝐩_m · q̂])`. -/
noncomputable def gravitonAngular {ι : Type*} [Fintype ι]
(G : ℝ) (m : ι → ℝ) (p : ι → Vec3) (η : ι → ℝ) (u : Vec3) : ℝ :=
(8 * Real.pi * G / (2 * (2 * Real.pi) ^ 3)) *
∑ n, ∑ k, η n * η k *
((mdot (m n) (p n) (m k) (p k)) ^ 2 - (1 / 2) * m n ^ 2 * m k ^ 2) /
((energy (m n) (p n) - inner ℝ (p n) u) * (energy (m k) (p k) - inner ℝ (p k) u))
/-- Eq. (2.24): the infrared-graviton exponent `B = ∫ d²Ω B(q̂)`. -/
noncomputable def gravitonIndex {ι : Type*} [Fintype ι]
(G : ℝ) (m : ι → ℝ) (p : ι → Vec3) (η : ι → ℝ) : ℝ :=
solidAngleIntegral (gravitonAngular G m p η)
/-- The photon pair kernel of Eq. (2.16): `β⁻¹ ln((1+β)/(1−β))` for `β ≠ 0`, extended by its
limiting value `2` at `β = 0` (the value relevant for the diagonal terms `n = m`). -/
noncomputable def photonKernel (β : ℝ) : ℝ :=
if β = 0 then 2 else β⁻¹ * Real.log ((1 + β) / (1 - β))
/-- Eq. (4.6), in the form consistent with Eqs. (2.26), (4.5) and (4.9) (the printed exponent
`1/2` on the argument of the logarithm is dropped):
`f(β) = (1 + β²) / (2β(1 − β²)^{1/2}) · ln((1+β)/(1−β))` for `β ≠ 0`, extended by its limiting
value `1` at `β = 0`. -/
noncomputable def fWeinberg (β : ℝ) : ℝ :=
if β = 0 then 1
else (1 + β ^ 2) / (2 * β * Real.sqrt (1 - β ^ 2)) * Real.log ((1 + β) / (1 - β))
end Weinberg1965
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic) — non-blind, same agent as drafter
Non-blind read-back — not independent testimony. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statements, with full knowledge of the source paper and of the intended meaning. It is not a blind audit and must not be mistaken for independent testimony; an independent blind read-back is still recommended before the proposal is submitted.
The file declares, in the namespace Weinberg1965:
- := the Euclidean space (with its standard inner product and Lebesgue measure).
- For , , where is the unit sphere and is Mathlib's surface measure
volume.toSphereon it (total mass ). If restricted to is not integrable, the value is . - (real square root; the argument is always ).
- .
- .
- ; if the quotient is (so the value is ), and if the radicand is negative the value is .
- For a finite index type , , and :
with ; a term whose denominator is contributes . 8. . 9. For additionally :
(zero denominators again give ), and . 10. if , otherwise (Lean's satisfies and , and , so for the value is and for it is ). 11. if , otherwise (same junk conventions; for the square root is and the whole value is ).
No hypotheses are attached to the definitions: masses may be zero or negative, and and are arbitrary reals.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.