Native electron–photon support from ParticleDiracLineWeyl
DefinitionMarkovScatteringJoint_NativeSupport_10markov-scattering
Source context for the measured electron–photon line, carrying these native mathematical modules and their certified helper results: ParticleDiracLineWeyl, ParticleRootMassSpin, ParticleSpeciesBosons.
Definition code
import Definitions.Def_MarkovScatteringJoint_NativeSupport_09
import Mathlib.LinearAlgebra.Matrix.NonsingularInverse
import Definitions.Def_MarkovScatteringJoint_NativeSupport_08
import Mathlib.NumberTheory.Zsqrtd.GaussianInt
import Mathlib.Data.Complex.Basic
import Mathlib.LinearAlgebra.Matrix.Notation
import Mathlib.LinearAlgebra.Matrix.ConjTranspose
import Mathlib.Tactic.FinCases
import Mathlib.Tactic.FieldSimp
import Mathlib.Tactic.Linarith
import Mathlib.Tactic.Ring
import Mathlib.Tactic.Positivity
section
/-! Matching the paired-Weyl hopping and partner swap convention used by
the local particle chain to the four-component Dirac representation. -/
namespace MarkovScattering.ParticleDiracLine
open Matrix
noncomputable section
/-- Block Hadamard, with normalization kept in its inverse. -/
def toWeyl : SpinMatrix := !![1,0,1,0;0,1,0,1;1,0,-1,0;0,1,0,-1]
def fromWeyl : SpinMatrix := (1/2 : ℂ) • toWeyl
theorem toWeyl_fromWeyl : toWeyl*fromWeyl = 1 := by
ext i j
fin_cases i <;> fin_cases j <;>
norm_num [fromWeyl,toWeyl,Matrix.mul_apply,Fin.sum_univ_succ,Matrix.one_apply]
theorem fromWeyl_toWeyl : fromWeyl*toWeyl = 1 := by
ext i j
fin_cases i <;> fin_cases j <;>
norm_num [fromWeyl,toWeyl,Matrix.mul_apply,Fin.sum_univ_succ,Matrix.one_apply]
def weylBeta : SpinMatrix := !![0,0,1,0;0,0,0,1;1,0,0,0;0,1,0,0]
def weylSpatial (p : Momentum) : SpinMatrix :=
!![p 3,p 1-Complex.I*p 2,0,0;
p 1+Complex.I*p 2,-p 3,0,0;
0,0,-p 3,-p 1+Complex.I*p 2;
0,0,-p 1-Complex.I*p 2,p 3]
def weylHamiltonian (p : Momentum) (m : ℂ) : SpinMatrix :=
weylSpatial p + m • weylBeta
def weylSlash (p : Momentum) : SpinMatrix :=
!![0,0,p 0+p 3,p 1-Complex.I*p 2;
0,0,p 1+Complex.I*p 2,p 0-p 3;
p 0-p 3,-p 1+Complex.I*p 2,0,0;
-p 1-Complex.I*p 2,p 0+p 3,0,0]
theorem weylSlash_from_hopping (p : Momentum) :
weylBeta * (p 0 • (1 : SpinMatrix) - weylSpatial p) = weylSlash p := by
rw [Matrix.mul_sub,Matrix.mul_smul,mul_one]
ext i j
fin_cases i <;> fin_cases j <;>
norm_num [weylSlash,weylBeta,weylSpatial,Matrix.mul_apply,Fin.sum_univ_succ] <;> ring
theorem weylSlash_eq (p : Momentum) : weylSlash p = toWeyl * slash p * fromWeyl := by
ext i j
fin_cases i <;> fin_cases j <;>
norm_num [weylSlash,weylBeta,weylSpatial,toWeyl,fromWeyl,slash,Matrix.mul_apply,
Fin.sum_univ_succ,Matrix.vecMul,dotProduct] <;> ring
theorem weylBeta_square : weylBeta * weylBeta = 1 := by
ext i j
fin_cases i <;> fin_cases j <;> norm_num [weylBeta,Matrix.mul_apply,Fin.sum_univ_succ,Matrix.one_apply]
/-- The local Hamiltonian kinetic matrix becomes the same covariant Dirac
matrix after the Weyl partner swap and change of orbital basis. -/
theorem weylKinetic_eq (p : Momentum) (m : ℂ) :
weylBeta * (p 0 • (1 : SpinMatrix) - weylHamiltonian p m) =
toWeyl * freeKinetic p m * fromWeyl := by
have h : weylBeta * (p 0 • (1 : SpinMatrix) - weylHamiltonian p m) = weylSlash p - m • 1 := by
unfold weylHamiltonian
rw [sub_add_eq_sub_sub,Matrix.mul_sub (M := weylBeta) _ (m • weylBeta),
Matrix.mul_smul,weylBeta_square,weylSlash_from_hopping]
rw [h,weylSlash_eq,freeKinetic]
rw [Matrix.mul_sub,Matrix.sub_mul,Matrix.mul_smul,Matrix.smul_mul,mul_one,toWeyl_fromWeyl]
/-- The local photon insertion has the same basis change as the free
kinetic matrix. This is the continuum minimal Dirac insertion. -/
theorem weylInsertion_eq (p k : Momentum) (m : ℂ) :
weylBeta * ((p+k) 0 • (1 : SpinMatrix) - weylHamiltonian (p+k) m) -
weylBeta * (p 0 • (1 : SpinMatrix) - weylHamiltonian p m) = weylSlash k := by
rw [weylKinetic_eq,weylKinetic_eq,← Matrix.sub_mul,← Matrix.mul_sub,kinetic_shift,weylSlash_eq]
/-- The inverse of the decoded Weyl Hamiltonian, with the partner swap
on its right, is precisely the covariant free propagator in those orbitals. -/
theorem weylHamiltonian_resolvent (p : Momentum) (m : ℂ) (h : virtuality p m ≠ 0) :
((p 0 • (1 : SpinMatrix) - weylHamiltonian p m)⁻¹) * weylBeta =
toWeyl * freePropagator p m * fromWeyl := by
let Q := p 0 • (1 : SpinMatrix) - weylHamiltonian p m
let W := toWeyl * freePropagator p m * fromWeyl
have hw : (weylBeta * Q) * W = 1 := by
change (weylBeta * (p 0 • (1 : SpinMatrix) - weylHamiltonian p m)) * W = 1
rw [weylKinetic_eq]
change (toWeyl * freeKinetic p m * fromWeyl) * (toWeyl * freePropagator p m * fromWeyl) = 1
calc
_ = toWeyl * (freeKinetic p m * (fromWeyl * toWeyl) * freePropagator p m) * fromWeyl := by
simp only [mul_assoc]
_ = _ := by rw [fromWeyl_toWeyl,mul_one,(freePropagator_inverse p m h).1,mul_one,toWeyl_fromWeyl]
have hQ : Q * (W * weylBeta) = 1 := by
calc
_ = ((weylBeta * weylBeta)*Q)*(W*weylBeta) := by rw [weylBeta_square,one_mul]
_ = weylBeta * ((weylBeta * Q) * W) * weylBeta := by simp only [mul_assoc]
_ = _ := by rw [hw,mul_one,weylBeta_square]
change Q⁻¹ * weylBeta = W
rw [Matrix.inv_eq_right_inv hQ,mul_assoc,weylBeta_square,mul_one]
end
end MarkovScattering.ParticleDiracLine
end
section
/-! The directional quarter-phase rows, family-changing rest row and the
spin test for the paired E8 matter construction. All three kinetic slopes
are measured on the same four orbitals and preserve the root charge. -/
namespace MarkovScattering.ParticleRootMass
open ParticleDiracLine
open scoped BigOperators
noncomputable section
/-- Orbital order is two singlet/right orbitals, then two doublet/left
orbitals. The signs refer to the spatial Dirac representation. -/
def orbitalRoot (b : Bool) (x : ParticleD5.Spinor) (o : Fin 4) (u : Fin 3) : RootPair :=
if o < 2 then atRoot (!b) (partner x) u else atRoot b x u
def switchOrbital (o : Fin 4) : Fin 4 := o + 2
theorem orbital_mass_flip (b : Bool) (x : ParticleD5.Spinor) (o : Fin 4) (u v : Fin 3) :
rootFlip (orbitalRoot b x o u) v = orbitalRoot b x (switchOrbital o) v := by
have hp := partner_involutive x
cases b <;> fin_cases o <;> simp [rootFlip, orbitalRoot, switchOrbital, rootBits_at, hp] <;> rfl
def hopOrbital (j : Fin 3) : Fin 4 → Fin 4 :=
if j=2 then id else ![1,0,3,2]
def hopTurn : Fin 3 → Fin 4 → Fin 4 := ![![0,0,2,2], ![3,1,1,3], ![0,2,2,0]]
def hopRow (j : Fin 3) (o t : Fin 4) (r : Fin 4) : ℝ :=
if t = hopOrbital j o ∧ r = hopTurn j o then 1 else 0
theorem hopRow_law (j : Fin 3) (o : Fin 4) :
(∀ t r, 0 ≤ hopRow j o t r) ∧ ∑ t, ∑ r, hopRow j o t r = 1 := by
constructor
· intro t r
simp [hopRow]
split <;> norm_num
· simp [hopRow, ite_and]
theorem hop_preserves_root (j : Fin 3) (o : Fin 4) (b : Bool) (x : ParticleD5.Spinor) (u : Fin 3) :
orbitalRoot b x (hopOrbital j o) u = orbitalRoot b x o u := by
fin_cases j <;> fin_cases o <;> rfl
/-- Character of the actual directional-hop row. The opposite displacement
adds a half-turn so the same matrix is the normalized momentum slope. -/
def slope (j : Fin 3) : SpinMatrix := fun o t =>
∑ r, (hopRow j o t r : ℂ) * FourPhase.phase r
private theorem slope_entry (j : Fin 3) (o t : Fin 4) :
slope j o t = if t = hopOrbital j o then FourPhase.phase (hopTurn j o) else 0 := by
by_cases h : t = hopOrbital j o
· subst t
simp only [slope, hopRow, true_and, if_true]
rw [Finset.sum_eq_single (hopTurn j o)]
· simp
· intro b _ hb
simp [hb]
· simp
· simp [slope, hopRow, h]
private def explicitSlope : Fin 3 → SpinMatrix := ![
!![0,1,0,0; 1,0,0,0; 0,0,0,-1; 0,0,-1,0],
!![0,-Complex.I,0,0; Complex.I,0,0,0; 0,0,0,Complex.I; 0,0,-Complex.I,0],
!![1,0,0,0; 0,-1,0,0; 0,0,-1,0; 0,0,0,1]]
private theorem slope_eq_explicit (j : Fin 3) : slope j = explicitSlope j := by
ext o t
rw [slope_entry]
fin_cases j <;> fin_cases o <;> fin_cases t <;> rfl
theorem slopes_eq_spatial (p : Momentum) :
∑ j : Fin 3, p j.succ • slope j = weylSpatial p := by
have ht : Fin.succ (2 : Fin 3) = 3 := rfl
simp_rw [slope_eq_explicit]
ext o t
fin_cases o <;> fin_cases t <;>
norm_num [Fin.sum_univ_succ, Matrix.add_apply, Matrix.smul_apply,
explicitSlope, weylSpatial, smul_eq_mul, Matrix.cons_val_two, Matrix.cons_val_three,
Matrix.vecHead, Matrix.vecTail, ht, sub_eq_add_neg, mul_comm]
abbrev IntegralSpinMatrix := Matrix (Fin 4) (Fin 4) GaussianInt
private def gi : GaussianInt := ⟨0,1⟩
/-- The same signed counts in Gaussian integers, before dividing spin by two. -/
def integralSlope (j : Fin 3) : IntegralSpinMatrix := fun o t =>
if t = hopOrbital j o then (![1,gi,-1,-gi] : Fin 4 → GaussianInt) (hopTurn j o) else 0
theorem integral_slope_reads (j : Fin 3) (o t : Fin 4) :
GaussianInt.toComplex (integralSlope j o t) = slope j o t := by
rw [slope_entry, integralSlope]
split_ifs
· generalize hopTurn j o = r
fin_cases r <;> apply Complex.ext <;> norm_num [gi, GaussianInt.toComplex_def₂, FourPhase.phase, Matrix.cons_val_two, Matrix.cons_val_three]
· exact map_zero _
def twiceSpin (j : Fin 3) : IntegralSpinMatrix :=
(-gi) • (integralSlope (j+1) * integralSlope (j+2))
set_option maxRecDepth 12000 in
set_option maxHeartbeats 2500000 in
theorem spin_rotates_slopes : ∀ (a b : Fin 3),
twiceSpin a * integralSlope b - integralSlope b * twiceSpin a =
if a=b then 0 else if b=a+1 then (2*gi) • integralSlope (a+2)
else (-2*gi) • integralSlope (a+1) := by decide
set_option maxRecDepth 12000 in
set_option maxHeartbeats 2500000 in
theorem spin_lie_bracket : ∀ a : Fin 3,
twiceSpin a * twiceSpin (a+1) - twiceSpin (a+1) * twiceSpin a =
(2*gi) • twiceSpin (a+2) := by decide
set_option maxRecDepth 12000 in
set_option maxHeartbeats 2500000 in
theorem spin_casimir :
∑ j : Fin 3, twiceSpin j * twiceSpin j = 3 • (1 : IntegralSpinMatrix) := by decide
/-- The mass readout changes orbital partner and applies the measured
family kernel. Its matrix on this wave is the same beta as the free line. -/
def restAction (L : FamilyLaw) (b : Bool) (clock : ℝ) (i u : Fin 3) (o t : Fin 4) : ℝ :=
∑ v, L.jump b u v * wave i v * (if t = switchOrbital o then clock else 0)
theorem rest_eq (L : FamilyLaw) (b : Bool) (clock : ℝ) (i u : Fin 3) (o t : Fin 4) :
(restAction L b clock i u o t : ℂ) =
((clock * gain L i * wave i u : ℝ) : ℂ) * weylBeta o t := by
rw [restAction, ← Finset.sum_mul, L.mode]
by_cases h : t = switchOrbital o
· subst t
fin_cases o <;> simp [switchOrbital, weylBeta] <;> ring
· have hz : weylBeta o t = 0 := by
fin_cases o <;> fin_cases t <;> simp_all [switchOrbital, weylBeta]
simp [h,hz]
end
end MarkovScattering.ParticleRootMass
end
section
/-! The common quadratic response of one colour-singlet hypercharge-half
doublet. The formulas refer to one measured radial vacuum norm and canonical
gauge kinetic normalization. They do not identify nonperturbative particle
poles or gauge-singlet asymptotic gluons. -/
namespace MarkovScattering.ParticleSpecies.Bosons
noncomputable section
open Matrix
abbrev WeakField := Fin 4 → ℝ
abbrev ColourField := Fin 8 → ℝ
abbrev GaugeField := ColourField × WeakField
/-- The second component of the doublet supplies a radial gauge slice. -/
def vacuum (r : ℝ) : Fin 2 → ℂ := ![0,(r : ℂ)]
/-- The half-hypercharge covariant action with canonical couplings. Colour
acts trivially on the doublet, by its supplied singlet representation. -/
def covariant (g gp : ℝ) (w : WeakField) : Matrix (Fin 2) (Fin 2) ℂ :=
(Complex.I / 2) • !![
((g*w 2 + gp*w 3 : ℝ) : ℂ), (g*w 0 : ℝ) - Complex.I*(g*w 1 : ℝ);
(g*w 0 : ℝ) + Complex.I*(g*w 1 : ℝ), ((-g*w 2 + gp*w 3 : ℝ) : ℂ)]
def response (g gp r : ℝ) (u : GaugeField) : Fin 2 → ℂ :=
covariant g gp u.2 *ᵥ vacuum r
def responseCost (g gp r : ℝ) (u : GaugeField) : ℝ :=
Complex.normSq (response g gp r u 0) + Complex.normSq (response g gp r u 1)
/-- A single covariant response determines every charged and neutral
coefficient. The factor of two converts a quadratic action to its Hessian. -/
theorem action_from_vacuum (g gp r : ℝ) (u : GaugeField) :
2 * responseCost g gp r u =
r^2/2 * ((g*u.2 0)^2 + (g*u.2 1)^2 + (g*u.2 2 - gp*u.2 3)^2) := by
simp [responseCost, response, covariant, vacuum, mulVec, dotProduct, Fin.sum_univ_two,
Complex.normSq_apply, Complex.mul_re, Complex.mul_im]
ring
def chargedMassSq (g r : ℝ) : ℝ := r^2/2*g^2
def neutralMassSq (g gp r : ℝ) : ℝ := r^2/2*(g^2+gp^2)
/-- The real weak Hessian acts in the (W1,W2,W3,B) link coordinates. -/
def weakMassAction (g gp r : ℝ) (w : WeakField) : WeakField :=
let z := g*w 2 - gp*w 3
(r^2/2) • ![g^2*w 0,g^2*w 1,g*z,-gp*z]
def gaugeMassAction (g gp r : ℝ) (u : GaugeField) : GaugeField :=
(0, weakMassAction g gp r u.2)
theorem response_hessian (g gp r : ℝ) (u : GaugeField) :
∑ i, u.2 i * (gaugeMassAction g gp r u).2 i = 2 * responseCost g gp r u := by
rw [action_from_vacuum, Fin.sum_univ_succ, Fin.sum_univ_succ, Fin.sum_univ_succ,
Fin.sum_univ_one]
simp [gaugeMassAction, weakMassAction]
ring
def weakOne : WeakField := ![1,0,0,0]
def weakTwo : WeakField := ![0,1,0,0]
def photonAxis (g gp : ℝ) : WeakField := ![0,0,gp,g]
def zAxis (g gp : ℝ) : WeakField := ![0,0,g,-gp]
/-- The two real charged directions combine into W⁺ and W⁻ in a complex
charge basis. Both have the same mass-squared. -/
theorem charged_axes (g gp r : ℝ) :
weakMassAction g gp r weakOne = chargedMassSq g r • weakOne ∧
weakMassAction g gp r weakTwo = chargedMassSq g r • weakTwo := by
constructor <;> funext i <;> fin_cases i <;>
simp [weakMassAction, chargedMassSq, weakOne, weakTwo, Pi.smul_apply]
theorem photon_zero (g gp r : ℝ) :
weakMassAction g gp r (photonAxis g gp) = 0 := by
funext i
fin_cases i <;> simp [weakMassAction, photonAxis, mul_comm g gp]
theorem z_axis (g gp r : ℝ) :
weakMassAction g gp r (zAxis g gp) = neutralMassSq g gp r • zAxis g gp := by
funext i
fin_cases i <;> simp [weakMassAction, neutralMassSq, zAxis, Pi.smul_apply] <;> ring
theorem photon_z_orthogonal (g gp : ℝ) :
∑ i, photonAxis g gp i * zAxis g gp i = 0 := by
rw [Fin.sum_univ_succ, Fin.sum_univ_succ, Fin.sum_univ_succ, Fin.sum_univ_one]
simp [photonAxis, zAxis]
ring
/-- The chosen gauge axes exhaust the four electroweak directions. -/
theorem weak_decompose {g gp : ℝ} (hg : 0 < g) (w : WeakField) :
w =
w 0 • weakOne + w 1 • weakTwo +
((g*w 2-gp*w 3)/(g^2+gp^2)) • zAxis g gp +
((gp*w 2+g*w 3)/(g^2+gp^2)) • photonAxis g gp := by
have h : g^2+gp^2 ≠ 0 := by positivity
funext i
fin_cases i <;> simp [weakOne, weakTwo, zAxis, photonAxis] <;>
field_simp [h] <;> ring
/-- Exactly the photon line and all eight independent colour coordinates
are unbroken at quadratic order. -/
theorem unbroken_directions {g gp r : ℝ} (hg : 0 < g) (hr : 0 < r) (u : GaugeField) :
gaugeMassAction g gp r u = 0 ↔ ∃ a : ℝ, u.2 = a • photonAxis g gp := by
constructor
· intro h
have hw : weakMassAction g gp r u.2 = 0 := congrArg Prod.snd h
have h0 := congrFun hw 0
have h1 := congrFun hw 1
have h2 := congrFun hw 2
simp only [weakMassAction, Pi.smul_apply] at h0 h1 h2
have h0' : u.2 0 = 0 := by
exact (mul_eq_zero.mp ((mul_eq_zero.mp h0).resolve_left (by positivity))).resolve_left
(by positivity)
have h1' : u.2 1 = 0 := by
exact (mul_eq_zero.mp ((mul_eq_zero.mp h1).resolve_left (by positivity))).resolve_left
(by positivity)
have h2' : g*u.2 2-gp*u.2 3 = 0 := by
exact (mul_eq_zero.mp ((mul_eq_zero.mp h2).resolve_left (by positivity))).resolve_left hg.ne'
refine ⟨(gp*u.2 2+g*u.2 3)/(g^2+gp^2), ?_⟩
simpa [h0', h1', h2'] using weak_decompose (gp := gp) hg u.2
· rintro ⟨a,ha⟩
apply Prod.ext
· rfl
· change weakMassAction g gp r u.2 = 0
rw [ha]
funext i
fin_cases i <;> simp [weakMassAction, photonAxis] <;> ring_nf <;> simp
theorem electroweak_tree_relation {g gp r : ℝ} (hg : 0 < g) :
chargedMassSq g r = neutralMassSq g gp r * (g^2/(g^2+gp^2)) := by
have h : g^2+gp^2 ≠ 0 := by positivity
unfold chargedMassSq neutralMassSq
field_simp [h]
/-- The radial potential uses the same vacuum modulus measured above. The
canonically normalized displacement is h, so v = √2 r. -/
def radialPotential (coupling v h : ℝ) : ℝ :=
coupling/4 * ((v+h)^2-v^2)^2
def radialMassSq (coupling r : ℝ) : ℝ := 4*coupling*r^2
theorem radial_expansion (coupling v h : ℝ) :
radialPotential coupling v h =
coupling*v^2*h^2 + coupling*v*h^3 + coupling/4*h^4 := by
unfold radialPotential
ring
theorem radial_same_vacuum (coupling v r : ℝ) (h : v^2 = 2*r^2) :
2*coupling*v^2 = radialMassSq coupling r := by
rw [h]
unfold radialMassSq
ring
end
end MarkovScattering.ParticleSpecies.Bosons
end
Source