Electroweak interaction (Wikipedia): basic objects
DefinitionElectroweakWiki_defsThis file sets up the objects used throughout the mission, following the Wikipedia article Electroweak interaction.
- Weak mixing angle , and the electromagnetic coupling (the altitude of the Weinberg triangle).
- Neutral physical fields and .
- Charged fields .
- Tree-level masses and .
- Pauli matrices , , (Lean indices ).
- Gauge part of the covariant derivative on a doublet of hypercharge , with the factor removed:
- Higgs vacuum , the squared doublet norm , and the Higgs potential .
- Electric charge , and the generator , which is acting on the Higgs doublet (, ).
Formalization Note The article writes ; because the factor is written out, is taken to be the Pauli matrix . Fields are real numbers at a single point and Lorentz index.
import Mathlib
namespace ElectroweakWiki
open Complex
/-- The weak mixing (Weinberg) angle `θ_W`, fixed by `tan θ_W = g' / g`. -/
noncomputable def weinbergAngle (g g' : ℝ) : ℝ := Real.arctan (g' / g)
/-- The electromagnetic coupling read off the Weinberg triangle: `e = g g' / √(g² + g'²)`. -/
noncomputable def elemCharge (g g' : ℝ) : ℝ := g * g' / Real.sqrt (g ^ 2 + g' ^ 2)
/-- Photon field component `γ = cos θ · B + sin θ · W₃`. -/
noncomputable def photonField (θ B W3 : ℝ) : ℝ := Real.cos θ * B + Real.sin θ * W3
/-- Z-boson field component `Z⁰ = -sin θ · B + cos θ · W₃`. -/
noncomputable def zField (θ B W3 : ℝ) : ℝ := -Real.sin θ * B + Real.cos θ * W3
/-- Charged boson `W⁺ = (W₁ - i W₂) / √2`. -/
noncomputable def wPlus (W1 W2 : ℝ) : ℂ := ((W1 : ℂ) - I * (W2 : ℂ)) / (Real.sqrt 2 : ℂ)
/-- Charged boson `W⁻ = (W₁ + i W₂) / √2`. -/
noncomputable def wMinus (W1 W2 : ℝ) : ℂ := ((W1 : ℂ) + I * (W2 : ℂ)) / (Real.sqrt 2 : ℂ)
/-- Tree-level W mass `m_W = g v / 2`. -/
noncomputable def wMass (g v : ℝ) : ℝ := g * v / 2
/-- Tree-level Z mass `m_Z = √(g² + g'²) v / 2`. -/
noncomputable def zMass (g g' v : ℝ) : ℝ := Real.sqrt (g ^ 2 + g' ^ 2) * v / 2
/-- The Pauli matrices `σ₁, σ₂, σ₃` (indexed by `0, 1, 2`). -/
def pauli : Fin 3 → Matrix (Fin 2) (Fin 2) ℂ
| 0 => !![0, 1; 1, 0]
| 1 => !![0, -I; I, 0]
| 2 => !![1, 0; 0, -1]
/-- The gauge-field part of the covariant derivative on a weak-isospin doublet of
hypercharge `Y`, with the factor `-i` stripped:
`(g'/2) Y B · 𝟙 + (g/2) (W¹ σ₁ + W² σ₂ + W³ σ₃)`. -/
noncomputable def gaugeTerm (g g' Y B W1 W2 W3 : ℝ) : Matrix (Fin 2) (Fin 2) ℂ :=
((g' / 2 * Y * B : ℝ) : ℂ) • (1 : Matrix (Fin 2) (Fin 2) ℂ) +
((g / 2 : ℝ) : ℂ) • ((W1 : ℂ) • pauli 0 + (W2 : ℂ) • pauli 1 + (W3 : ℂ) • pauli 2)
/-- The Higgs vacuum doublet `h₀ = (0, v / √2)`. -/
noncomputable def higgsVacuum (v : ℝ) : Fin 2 → ℂ := ![0, ((v / Real.sqrt 2 : ℝ) : ℂ)]
/-- Squared Hermitian norm `|h|² = |h₁|² + |h₂|²` of a doublet. -/
noncomputable def doubletNormSq (h : Fin 2 → ℂ) : ℝ := Complex.normSq (h 0) + Complex.normSq (h 1)
/-- The Higgs potential `λ (|h|² - v²/2)²`. -/
noncomputable def higgsPotential (lam v : ℝ) (h : Fin 2 → ℂ) : ℝ :=
lam * (doubletNormSq h - v ^ 2 / 2) ^ 2
/-- Electric charge `Q = T₃ + Y / 2` of a state with isospin component `T₃` and hypercharge `Y`. -/
noncomputable def electricCharge (T3 Y : ℝ) : ℝ := T3 + Y / 2
/-- The generator `a T₃ + b Y / 2` acting on the Higgs doublet (hypercharge `Y = 1`),
with `T₃ = σ₃ / 2`: the matrix `(a/2) σ₃ + (b/2) 𝟙`. -/
noncomputable def isospinHyperchargeGenerator (a b : ℝ) : Matrix (Fin 2) (Fin 2) ℂ :=
((a / 2 : ℝ) : ℂ) • pauli 2 + ((b / 2 : ℝ) : ℂ) • (1 : Matrix (Fin 2) (Fin 2) ℂ)
end ElectroweakWiki
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 these Lean statements (at the explicit direction of the proposal's owner), not by an independent blind auditor. The author knew the intended meaning while writing it, so it must not be mistaken for independent testimony; reviewers should check it against the Lean code themselves.
The file declares the following objects in the namespace ElectroweakWiki. All real parameters range over all of ; no definition carries a hypothesis.
- . When the quotient is the junk value , so the angle is .
- , where is the real square root; when this is .
- and (real numbers).
- and , complex numbers.
- and ; these can be negative if or .
- sends the indices to the complex matrices , , .
- is the complex matrix .
- is the vector .
- for (a real number).
- .
- .
- , i.e. the diagonal matrix .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.