Native electron–photon support from ParticlePhotonLimit
DefinitionMarkovScatteringJoint_NativeSupport_19markov-scattering
Source context for the measured electron–photon line, carrying these native mathematical modules and their certified helper results: ParticlePhotonLimit.
Definition code
import Definitions.Def_MarkovScatteringJoint_NativeSupport_15
import Definitions.Def_MarkovScatteringJoint_NativeSupport_16
section
/-! Fixed modes, fixed photon multiplicity, and amputated endpoint cells. -/
namespace MarkovScattering.ParticlePhoton.Limit
open Filter Topology Matrix
open scoped BigOperators
open ParticleDiracLine
noncomputable section
/-- Physical mode with undeformed time and the sine calibration of the
compensated nearest-neighbor spinor in each spatial axis. -/
def latticeMode (a t : ℝ) (p : ParticlePhoton.Momentum) : ParticleDiracLine.Momentum :=
Fin.cases (t : ℂ) (fun j : Fin 3 => (freeSlope a (p j) : ℂ))
theorem latticeMode_continuous (t : ℝ) (p : ParticlePhoton.Momentum) :
Continuous (fun a => latticeMode a t p) := by
apply continuous_pi
intro i
refine Fin.cases ?_ (fun j => ?_) i
· exact continuous_const
· change Continuous (fun a => (freeSlope a (p j) : ℂ))
unfold freeSlope
fun_prop
theorem latticeFreeNumerator_continuous (t m : ℝ) (p : ParticlePhoton.Momentum) :
Continuous (fun a => freeNumerator (latticeMode a t p) (m : ℂ)) := by
have h (j : Fin 4) : Continuous (fun a => latticeMode a t p j) :=
(continuous_apply j).comp (latticeMode_continuous t p)
apply continuous_pi
intro i
apply continuous_pi
intro j
fin_cases i <;> fin_cases j <;> simp [freeNumerator, slash, Matrix.add_apply, Matrix.smul_apply] <;>
fun_prop (disch := assumption)
theorem latticeVirtuality_continuous (t m : ℝ) (p : ParticlePhoton.Momentum) :
Continuous (fun a => virtuality (latticeMode a t p) (m : ℂ)) := by
have h (j : Fin 4) : Continuous (fun a => latticeMode a t p j) :=
(continuous_apply j).comp (latticeMode_continuous t p)
unfold virtuality minkowskiSquare
fun_prop (disch := assumption)
theorem latticePropagator_tendsto (t m : ℝ) (p : ParticlePhoton.Momentum)
(h : virtuality (latticeMode 0 t p) (m : ℂ) ≠ 0) :
Tendsto (fun a => freePropagator (latticeMode a t p) (m : ℂ)) (𝓝 0)
(𝓝 (freePropagator (latticeMode 0 t p) (m : ℂ))) := by
exact ((latticeVirtuality_continuous t m p).continuousAt.tendsto.inv₀ h).smul
(latticeFreeNumerator_continuous t m p).continuousAt.tendsto
theorem latticeVirtuality_eventually_regular (t m : ℝ) (p : ParticlePhoton.Momentum)
(h : virtuality (latticeMode 0 t p) (m : ℂ) ≠ 0) :
∀ᶠ a in 𝓝 0, virtuality (latticeMode a t p) (m : ℂ) ≠ 0 := by
exact (latticeVirtuality_continuous t m p).continuousAt.tendsto.eventually
(isOpen_ne.mem_nhds h)
/-- Gate for one spatial photon, including Wilson averaging along the link.
A fixed similarity converts this Dirac convention to the Weyl orbital row. -/
def latticeSingle (a : ℝ) (q : ℂ) (p k : ParticlePhoton.Momentum)
(ε : Fin 3 → ℂ) : SpinMatrix :=
q • slash (Fin.cases 0 (fun j => ε j * (wilsonFactor a (p j) (k j) : ℂ)))
theorem latticeSingle_continuous (q : ℂ) (p k : ParticlePhoton.Momentum)
(ε : Fin 3 → ℂ) : Continuous (fun a => latticeSingle a q p k ε) := by
let E (a : ℝ) : ParticleDiracLine.Momentum :=
Fin.cases 0 (fun j => ε j * (wilsonFactor a (p j) (k j) : ℂ))
have h (i : Fin 4) : Continuous (fun a => E a i) := by
refine Fin.cases ?_ (fun j => ?_) i
· exact continuous_const
· change Continuous (fun a => ε j * (wilsonFactor a (p j) (k j) : ℂ))
unfold wilsonFactor midpointFactor
fun_prop
change Continuous (fun a => q • slash (E a))
apply continuous_pi
intro i
apply continuous_pi
intro j
fin_cases i <;> fin_cases j <;> simp [slash, Matrix.smul_apply] <;>
fun_prop (disch := assumption)
theorem latticeSingle_zero (q : ℂ) (p k : ParticlePhoton.Momentum) (ε : Fin 3 → ℂ) :
latticeSingle 0 q p k ε = q • slash (Fin.cases 0 ε) := by
unfold latticeSingle
apply congrArg (fun z : ParticleDiracLine.Momentum => q • slash z)
funext i
refine Fin.cases ?_ (fun j => ?_) i
· rfl
· simp [wilsonFactor, midpointFactor]
section Sources
variable {J : Type*}
/-- Ordered hop phase derivative after taking one derivative per distinct
label. Along one oriented spatial hop the field components commute. -/
def orientedDerivative (a x : ℝ) (q : ℂ) (A : Finset J)
(k : J → ParticlePhoton.Momentum) (ε : J → Fin 3 → ℂ) (j : Fin 3) : ℂ :=
Spacetime.reflectionPhase (a*x) * ∏ i ∈ A,
(-Complex.I*q*a) * segmentAverage a (k i j) (ε i j)
/-- The positive orientation and its reverse use the same compensation
as the free sine gate, so one factor of spacing is divided out. -/
def rawContact (a : ℝ) (q : ℂ) (p : ParticlePhoton.Momentum) (A : Finset J)
(k : J → ParticlePhoton.Momentum) (ε : J → Fin 3 → ℂ) (j : Fin 3) : ℂ :=
(orientedDerivative a (p j) q A k ε j -
orientedDerivative (-a) (p j) q A k ε j) / (2*Complex.I*a)
/-- The part of the derivative with the common spacing factor stripped. -/
def orientedCoefficient (a x : ℝ) (q : ℂ) (A : Finset J)
(k : J → ParticlePhoton.Momentum) (ε : J → Fin 3 → ℂ) (j : Fin 3) : ℂ :=
Spacetime.reflectionPhase (a*x) * ∏ i ∈ A,
(-Complex.I*q) * segmentAverage a (k i j) (ε i j)
theorem orientedDerivative_factored (a x : ℝ) (q : ℂ) (A : Finset J)
(k : J → ParticlePhoton.Momentum) (ε : J → Fin 3 → ℂ) (j : Fin 3) :
orientedDerivative a x q A k ε j =
(a : ℂ)^A.card * orientedCoefficient a x q A k ε j := by
unfold orientedDerivative orientedCoefficient
simp_rw [show ∀ z : ℂ, -Complex.I*q*a*z = (a : ℂ)*(-Complex.I*q*z) by intro; ring]
rw [Finset.prod_mul_distrib]
simp [mul_left_comm]
theorem orientedCoefficient_continuous (x : ℝ) (q : ℂ) (A : Finset J)
(k : J → ParticlePhoton.Momentum) (ε : J → Fin 3 → ℂ) (j : Fin 3) :
Continuous (fun a => orientedCoefficient a x q A k ε j) := by
unfold orientedCoefficient
have h (z : ℝ) : Continuous (fun a : ℝ => Spacetime.reflectionPhase (a*z)) := by
unfold Spacetime.reflectionPhase
fun_prop
apply (h x).mul
apply continuous_finset_prod
intro i _
unfold segmentAverage
have hi : Continuous (fun a : ℝ => Spacetime.reflectionPhase (a*k i j/2)) := by
unfold Spacetime.reflectionPhase
fun_prop
fun_prop (disch := assumption)
theorem rawContact_factored (a : ℝ) (ha : a ≠ 0) (q : ℂ)
(p : ParticlePhoton.Momentum) (A : Finset J) (hA : 0 < A.card)
(k : J → ParticlePhoton.Momentum) (ε : J → Fin 3 → ℂ) (j : Fin 3) :
rawContact a q p A k ε j = (a : ℂ)^(A.card-1) *
((orientedCoefficient a (p j) q A k ε j -
(-1 : ℂ)^A.card * orientedCoefficient (-a) (p j) q A k ε j) /
(2*Complex.I)) := by
unfold rawContact
rw [orientedDerivative_factored, orientedDerivative_factored, Complex.ofReal_neg, neg_pow]
conv_lhs =>
rw [show A.card = (A.card-1)+1 by omega, pow_succ]
have haC : (a : ℂ) ≠ 0 := Complex.ofReal_ne_zero.mpr ha
field_simp [Complex.I_ne_zero]
have hp : (-1 : ℂ)^A.card = (-1 : ℂ)^(A.card-1)*(-1) := by
conv_lhs => rw [show A.card = (A.card-1)+1 by omega, pow_succ]
rw [hp]
ring
theorem rawContact_tendsto_zero (q : ℂ) (p : ParticlePhoton.Momentum)
(A : Finset J) (hA : 2 ≤ A.card)
(k : J → ParticlePhoton.Momentum) (ε : J → Fin 3 → ℂ) (j : Fin 3) :
Tendsto (fun a => rawContact a q p A k ε j) (𝓝[≠] 0) (𝓝 0) := by
let F (a : ℝ) := (orientedCoefficient a (p j) q A k ε j -
(-1 : ℂ)^A.card * orientedCoefficient (-a) (p j) q A k ε j) / (2*Complex.I)
have hc := orientedCoefficient_continuous (p j) q A k ε j
have hF : Continuous F := (hc.sub (continuous_const.mul (hc.comp continuous_neg))).div_const _
apply ((higher_contact_tendsto A.card hA F (F 0) hF.continuousAt.tendsto).mono_left
nhdsWithin_le_nhds).congr'
filter_upwards [self_mem_nhdsWithin] with a ha
exact (rawContact_factored a ha q p A (by omega) k ε j).symm
/-- The covariant matrix of a multi-photon contact is the same fixed spin
basis contraction of the differentiated spatial slopes. -/
def contactMatrix (a : ℝ) (q : ℂ) (p : ParticlePhoton.Momentum) (A : Finset J)
(k : J → ParticlePhoton.Momentum) (ε : J → Fin 3 → ℂ) : SpinMatrix :=
slash (Fin.cases 0 (fun j => -rawContact a q p A k ε j))
theorem slash_continuous : Continuous (slash : ParticleDiracLine.Momentum → SpinMatrix) := by
apply continuous_pi
intro i
apply continuous_pi
intro j
fin_cases i <;> fin_cases j <;> simp [slash] <;> fun_prop
theorem contactMatrix_tendsto_zero (q : ℂ) (p : ParticlePhoton.Momentum) (A : Finset J)
(hA : 2 ≤ A.card) (k : J → ParticlePhoton.Momentum) (ε : J → Fin 3 → ℂ) :
Tendsto (fun a => contactMatrix a q p A k ε) (𝓝[≠] 0) (𝓝 0) := by
have ht : Tendsto (fun a => (Fin.cases 0 (fun j => -rawContact a q p A k ε j) :
ParticleDiracLine.Momentum)) (𝓝[≠] 0) (𝓝 0) := by
apply tendsto_pi_nhds.mpr
intro j
refine Fin.cases ?_ (fun j => ?_) j
· exact tendsto_const_nhds
· simpa using (rawContact_tendsto_zero q p A hA k ε j).neg
have hz : slash 0 = 0 := by
ext i j
fin_cases i <;> fin_cases j <;> simp [slash]
simpa only [contactMatrix, Function.comp_def, hz] using slash_continuous.continuousAt.tendsto.comp ht
theorem contactMatrix_singleton (a : ℝ) (ha : a ≠ 0) (q : ℝ) (p : ParticlePhoton.Momentum)
(i : J) (k : J → ParticlePhoton.Momentum) (ε : J → Fin 3 → ℂ) :
contactMatrix a (q : ℂ) p {i} k ε = latticeSingle a (q : ℂ) p (k i) (ε i) := by
unfold contactMatrix latticeSingle
rw [← slash_smul]
apply congrArg slash
funext j
refine Fin.cases ?_ (fun j => ?_) j
· simp
· simp only [Fin.cases_succ, Pi.smul_apply, smul_eq_mul]
have h (r : ℝ) : orientedDerivative r (p j) (q : ℂ) {i} k ε j =
Spacetime.reflectionPhase (r*p j) * ((-Complex.I*q*r) * segmentAverage r (k i j) (ε i j)) := by
simp [orientedDerivative]
rw [rawContact, h, h]
push_cast
rw [show -a * p j = -(a * p j) by ring,
show -Complex.I * (q : ℂ) * -(a : ℂ) = Complex.I*q*a by ring,
linkPair_derivative_reduces a (p j) (k i j) q (ε i j) ha]
ring
variable [Fintype J] [DecidableEq J]
/-- Finite spacing spatial source. A transition inserts each new photon
label once, with the full mixed derivative when two or more arrive on one
link. The restriction to strict inclusions is supplied by sourcedKinetic. -/
def latticeSource (a q : ℝ) (p : Finset J → ParticlePhoton.Momentum)
(k : J → ParticlePhoton.Momentum) (ε : J → Fin 3 → ℂ) (T S : Finset J) : SpinMatrix :=
(∑ j ∈ T, if T.erase j = S then latticeSingle a (q : ℂ) (p S) (k j) (ε j) else 0)
+ if 2 ≤ (T \ S).card then contactMatrix a (q : ℂ) (p S) (T \ S) k ε else 0
omit [Fintype J] in
theorem latticeSource_tendsto (q : ℝ) (p : Finset J → ParticlePhoton.Momentum)
(k : J → ParticlePhoton.Momentum) (ε : J → Fin 3 → ℂ) (T S : Finset J) :
Tendsto (fun a => latticeSource a q p k ε T S) (𝓝[≠] 0)
(𝓝 (affineSource (fun j => (q : ℂ) • slash (Fin.cases 0 (ε j))) T S)) := by
have hsum : Tendsto
(fun a => ∑ j ∈ T, if T.erase j = S then latticeSingle a (q : ℂ) (p S) (k j) (ε j) else 0)
(𝓝[≠] 0) (𝓝 (affineSource (fun j => (q : ℂ) • slash (Fin.cases 0 (ε j))) T S)) := by
unfold affineSource
apply tendsto_finset_sum
intro j _
split_ifs
· change Tendsto _ _ (𝓝 ((q : ℂ) • slash (Fin.cases 0 (ε j))))
rw [← latticeSingle_zero (q : ℂ) (p S) (k j) (ε j)]
exact (latticeSingle_continuous (q : ℂ) (p S) (k j) (ε j)).continuousAt.tendsto.mono_left
nhdsWithin_le_nhds
· exact tendsto_const_nhds
have hc : Tendsto (fun a => if 2 ≤ (T \ S).card then
contactMatrix a (q : ℂ) (p S) (T \ S) k ε else 0) (𝓝[≠] 0) (𝓝 0) := by
split_ifs with h
· exact contactMatrix_tendsto_zero (q : ℂ) (p S) (T \ S) h k ε
· exact tendsto_const_nhds
simpa only [latticeSource, add_zero] using hsum.add hc
omit [Fintype J] in
theorem latticeSource_eq_contact (a q : ℝ) (ha : a ≠ 0)
(p : Finset J → ParticlePhoton.Momentum) (k : J → ParticlePhoton.Momentum)
(ε : J → Fin 3 → ℂ) {T S : Finset J} (hST : S ⊂ T) :
latticeSource a q p k ε T S = contactMatrix a (q : ℂ) (p S) (T \ S) k ε := by
have he (j : J) (hj : j ∈ T) : T.erase j = S ↔ T \ S = {j} := by
constructor
· rintro rfl
exact Finset.sdiff_erase_self hj
· intro h
rw [← Finset.sdiff_singleton_eq_erase, ← h, Finset.sdiff_sdiff_eq_self hST.subset]
by_cases hc : 2 ≤ (T \ S).card
· have hz : (∑ j ∈ T, if T.erase j = S then
latticeSingle a (q : ℂ) (p S) (k j) (ε j) else 0) = 0 := by
apply Finset.sum_eq_zero
intro j hj
have hn : T.erase j ≠ S := by
intro hs
rw [((he j hj).mp hs), Finset.card_singleton] at hc
omega
simp [hn]
simp [latticeSource, hc, hz]
· have hh := Finset.card_sdiff_of_subset hST.subset
have hp := Finset.card_lt_card hST
obtain ⟨j,hj⟩ := Finset.card_eq_one.mp (show (T \ S).card = 1 by omega)
have hjT : j ∈ T := (Finset.mem_sdiff.mp (hj.symm ▸ Finset.mem_singleton_self j)).1
have hsum : (∑ i ∈ T, if T.erase i = S then
latticeSingle a (q : ℂ) (p S) (k i) (ε i) else 0) =
latticeSingle a (q : ℂ) (p S) (k j) (ε j) := by
rw [Finset.sum_eq_single_of_mem j hjT]
· simp [(he j hjT).mpr hj]
· intro i hi hij
have hn : T.erase i ≠ S := by
intro hs
exact hij (Finset.singleton_inj.mp (((he i hi).mp hs).symm.trans hj))
simp [hn]
rw [latticeSource, hsum, if_neg hc, add_zero, hj, contactMatrix_singleton a ha]
/-- Unit endpoint cells implement amputation. The same kinetic block and its
inverse occupy each proper nonempty subset, with finite-spacing momenta. -/
def amputate (M : Finset J → SpinMatrix) (S : Finset J) : SpinMatrix :=
if S = ∅ ∨ S = Finset.univ then 1 else M S
theorem finiteSpatialResponse_tendsto_orders (q m : ℝ) (t : Finset J → ℝ)
(p : Finset J → ParticlePhoton.Momentum) (k : J → ParticlePhoton.Momentum)
(ε : J → Fin 3 → ℂ) (u : Spinor)
(hreg : ∀ S, S ≠ ∅ → S ≠ Finset.univ → virtuality (latticeMode 0 (t S) (p S)) (m : ℂ) ≠ 0) :
let D a := amputate (fun S => freeKinetic (latticeMode a (t S) (p S)) (m : ℂ))
let G a := amputate (fun S => freePropagator (latticeMode a (t S) (p S)) (m : ℂ))
Tendsto (fun a => (sourcedKinetic (D a) (latticeSource a q p k ε))⁻¹ *ᵥ
(sourceBoundary (J := J) u)) (𝓝[≠] 0)
(𝓝 (fun b : SourceRegister J => responseOrders (G 0)
(fun j => (q : ℂ) • slash (Fin.cases 0 (ε j))) u b.2 b.1)) := by
dsimp only
let D a := amputate (fun S => freeKinetic (latticeMode a (t S) (p S)) (m : ℂ))
let G a := amputate (fun S => freePropagator (latticeMode a (t S) (p S)) (m : ℂ))
apply sourcedResponse_tendsto_orders (D := D) (G := G) (d := D 0) (g := G 0)
· apply Filter.eventually_all.mpr
intro S
by_cases h : S = ∅ ∨ S = Finset.univ
· exact Filter.Eventually.of_forall (fun a => by simp [D,G,amputate,h])
· push_neg at h
have he := (latticeVirtuality_eventually_regular (t S) m (p S) (hreg S h.1.ne_empty h.2)).filter_mono
(nhdsWithin_le_nhds : 𝓝[≠] (0 : ℝ) ≤ 𝓝 0)
filter_upwards [he] with a ha
simpa [D,G,amputate,h.1.ne_empty,h.2] using (freePropagator_inverse _ _ ha).1
· intro S
by_cases h : S = ∅ ∨ S = Finset.univ
· simp [D,G,amputate,h]
· push_neg at h
simpa [D,G,amputate,h.1.ne_empty,h.2] using (freePropagator_inverse _ _ (hreg S h.1.ne_empty h.2)).1
· simp [D,amputate]
· intro S
by_cases h : S = ∅ ∨ S = Finset.univ
· simpa only [G,amputate,h,if_true] using (tendsto_const_nhds : Tendsto (fun _ : ℝ => (1 : SpinMatrix))
(𝓝[≠] 0) (𝓝 1))
· push_neg at h
simpa [G,amputate,h.1.ne_empty,h.2] using
(latticePropagator_tendsto (t S) m (p S) (hreg S h.1.ne_empty h.2)).mono_left
(nhdsWithin_le_nhds : 𝓝[≠] (0 : ℝ) ≤ 𝓝 0)
· exact latticeSource_tendsto q p k ε
end Sources
end
end MarkovScattering.ParticlePhoton.Limit
end
Source