interplane.Get Omega
Read in your language

yang

This project has not described itself yet.

Brought by drakestapleton

branch main Branches Tags History

yang / proofs / WilsonAngle.lean

446 lines · 25561 bytes Raw Blame History
1-- SPDX-License-Identifier: Apache-2.0
2import WilsonConditional
3import Mathlib.Topology.ContinuousMap.Weierstrass
4import Mathlib.Analysis.Calculus.ParametricIntegral
5
6namespace YangMills.PeriodicWilson
7open FundamentalSU2 MeasureTheory Real Set Filter
8open scoped Topology ComplexConjugate Matrix.Norms.Frobenius
9noncomputable section
10
11private abbrev G := gaugeGroup.image
12
13/-- Polar angle from the identity quaternion, in radians. -/
14def polarAngle (u : gaugeGroup.image) := arccos (suMat u 0 0).re
15
16private def scalarPart (u : G) := (suMat u 0 0).re
17private def imagPart (j : Fin 3) (u : G) : ℝ := ![(suMat u 0 0).im, (suMat u 0 1).re, (suMat u 0 1).im] j
18
19private theorem continuous_entry (j : Fin 2) : Continuous (fun u : G => suMat u 0 j) :=
20 (continuous_apply j).comp ((continuous_apply 0).comp (continuous_subtype_val.comp continuous_subtype_val))
21
22private theorem continuous_scalar : Continuous scalarPart := Complex.continuous_re.comp (continuous_entry 0)
23private theorem continuous_imag (j : Fin 3) : Continuous (imagPart j) := by
24 fin_cases j <;> first | exact Complex.continuous_im.comp (continuous_entry _) | exact Complex.continuous_re.comp (continuous_entry _)
25
26private theorem sphere_identity (u : G) :
27 scalarPart u^2 + imagPart 0 u^2 + imagPart 1 u^2 + imagPart 2 u^2 = 1 := by
28 have h := congrArg (fun A : M => (A 0 0).re) u.val.prop.2
29 change ((suMat u * star (suMat u)) 0 0).re = ((1 : M) 0 0).re at h
30 simp [Matrix.mul_apply, Fin.sum_univ_two, Matrix.star_apply, Complex.mul_re] at h
31 change (suMat u 0 0).re^2 + (suMat u 0 0).im^2 + (suMat u 0 1).re^2 + (suMat u 0 1).im^2 = 1
32 nlinarith
33
34private theorem scalar_range (u : G) : scalarPart u ∈ Icc (-1) 1 := by
35 have hh := sphere_identity u
36 constructor <;> nlinarith [sq_nonneg (imagPart 0 u), sq_nonneg (imagPart 1 u), sq_nonneg (imagPart 2 u)]
37
38private def pairMatrix (a b : ℂ) : M := !![a,b; -conj b,conj a]
39private def rotA (j : Fin 3) (t : ℝ) : ℂ := ![Complex.mk (cos t) (-sin t), Complex.mk (cos t) 0, Complex.mk (cos t) 0] j
40private def rotB (j : Fin 3) (t : ℝ) : ℂ := ![(0 : ℂ), Complex.mk (-sin t) 0, Complex.mk 0 (-sin t)] j
41
42private theorem rotate_pair (j : Fin 3) (t : ℝ) :
43 ∃ k : G, ∀ u : G,
44 scalarPart (u*k) = scalarPart u * cos t + imagPart j u * sin t ∧
45 imagPart j (u*k) = imagPart j u * cos t - scalarPart u * sin t := by
46 let A := pairMatrix (rotA j t) (rotB j t)
47 have hq : A ∈ quaternionAlgebra := ⟨rfl,rfl⟩
48 have hl : length A = 1 := by
49 change sqrt (‖rotA j t‖^2 + ‖rotB j t‖^2) = 1
50 rw [← Complex.normSq_eq_norm_sq, ← Complex.normSq_eq_norm_sq]
51 fin_cases j <;> simp [rotA,rotB,Complex.normSq_apply, ← sq, cos_sq_add_sin_sq]
52 obtain ⟨k,hk⟩ := polar hq
53 have hmat : suMat k = A := by simpa [hl,suMat] using hk.symm
54 refine ⟨k,fun u => ?_⟩
55 have hu : suMat (u*k) = suMat u * A := by rw [← hmat]; rfl
56 fin_cases j <;> simp [scalarPart,imagPart,hu,Matrix.mul_apply,Fin.sum_univ_two,
57 A,pairMatrix,rotA,rotB,Complex.mul_re,Complex.mul_im] <;> ring
58
59private theorem integrable_haar {f : G → ℝ} (hf : Continuous f) : Integrable f su2Haar :=
60 hf.integrable_of_hasCompactSupport (HasCompactSupport.of_compactSpace _)
61
62private theorem haar_rotate (k : G) (f : G → ℝ) (hf : Continuous f) :
63 (∫ u, f (u*k) ∂su2Haar) = ∫ u, f u ∂su2Haar := by
64 rw [← PhaseFour.gaugeImage_haar_map_mul_right su2Haar k, integral_map
65 (continuous_mul_const k).measurable.aemeasurable hf.aestronglyMeasurable]
66 rw [PhaseFour.gaugeImage_haar_map_mul_right su2Haar k]
67
68private def haarMoment (n : ℕ) := ∫ u, scalarPart u ^ n ∂su2Haar
69
70/-- Differentiate the Haar-invariant moment in a real quaternion coordinate plane. -/
71private theorem mixed_moment (n : ℕ) (j : Fin 3) :
72 ((n:ℝ)+1) * (∫ u, scalarPart u^n * imagPart j u^2 ∂su2Haar) = haarMoment (n+2) := by
73 let a := fun (t : ℝ) (u : G) => scalarPart u*cos t + imagPart j u*sin t
74 let b := fun (t : ℝ) (u : G) => imagPart j u*cos t - scalarPart u*sin t
75 let f := fun t u => a t u^(n+1) * b t u
76 let df := fun t u => ((n:ℝ)+1) * a t u^n * b t u^2 - a t u^(n+2)
77 have ca : Continuous (Function.uncurry a) := by
78 exact ((continuous_scalar.comp continuous_snd).mul (continuous_cos.comp continuous_fst)).add
79 (((continuous_imag j).comp continuous_snd).mul (continuous_sin.comp continuous_fst))
80 have cb : Continuous (Function.uncurry b) := by
81 exact (((continuous_imag j).comp continuous_snd).mul (continuous_cos.comp continuous_fst)).sub
82 ((continuous_scalar.comp continuous_snd).mul (continuous_sin.comp continuous_fst))
83 have cf : Continuous (Function.uncurry f) := (ca.pow _).mul cb
84 have cd : Continuous (Function.uncurry df) := ((continuous_const.mul (ca.pow _)).mul (cb.pow _)).sub (ca.pow _)
85 have hd (u : G) (t : ℝ) : HasDerivAt (fun x => f x u) (df t u) t := by
86 have ha : HasDerivAt (fun x => a x u) (b t u) t := by
87 rw [show b t u = scalarPart u * -sin t + imagPart j u*cos t by dsimp [b]; ring]
88 exact ((hasDerivAt_cos t).const_mul _).add ((hasDerivAt_sin t).const_mul _)
89 have hb : HasDerivAt (fun x => b x u) (-a t u) t := by
90 rw [show -a t u = imagPart j u * -sin t - scalarPart u*cos t by dsimp [a]; ring]
91 exact ((hasDerivAt_cos t).const_mul _).sub ((hasDerivAt_sin t).const_mul _)
92 rw [show df t u = ↑(n+1 : ℕ) * a t u ^ (n+1-1) * b t u * b t u + a t u ^ (n+1) * -a t u by
93 simp [df, pow_succ]; ring]
94 exact (ha.pow (n+1)).mul hb
95 obtain ⟨C,hC⟩ := (isCompact_Icc (a := (-1:ℝ)) (b := 1)).prod (isCompact_univ (X := G))
96 |>.exists_bound_of_continuousOn cd.continuousOn
97 have hi := (hasDerivAt_integral_of_dominated_loc_of_deriv_le (μ := su2Haar) (F := f) (F' := df)
98 (Icc_mem_nhds (by norm_num : (-1:ℝ)<0) (by norm_num : (0:ℝ)<1))
99 (.of_forall fun t => (cf.comp (continuous_const.prodMk continuous_id)).aestronglyMeasurable)
100 (integrable_haar (cf.comp (continuous_const.prodMk continuous_id)))
101 (cd.comp (continuous_const.prodMk continuous_id)).aestronglyMeasurable
102 (.of_forall fun u t ht => hC (t,u) ⟨ht,mem_univ _⟩) (integrable_const C)
103 (.of_forall fun u t _ => hd u t)).2
104 have hconst : (fun t => ∫ u, f t u ∂su2Haar) = fun _ => ∫ u, scalarPart u^(n+1)*imagPart j u ∂su2Haar := by
105 funext t
106 obtain ⟨k,hk⟩ := rotate_pair j t
107 have h := haar_rotate k (fun u => scalarPart u^(n+1)*imagPart j u) ((continuous_scalar.pow _).mul (continuous_imag j))
108 simpa only [(hk _).1, (hk _).2, f,a,b] using h
109 rw [hconst] at hi
110 have hz := hi.unique (hasDerivAt_const (0:ℝ) _)
111 simp only [df,a,b,cos_zero,sin_zero,mul_one,mul_zero,add_zero,sub_zero] at hz
112 have h₁ : Integrable (fun u => ((n:ℝ)+1) * scalarPart u^n * imagPart j u^2) su2Haar :=
113 integrable_haar ((continuous_const.mul (continuous_scalar.pow _)).mul ((continuous_imag j).pow _))
114 have h₂ : Integrable (fun u => scalarPart u^(n+2)) su2Haar := integrable_haar (continuous_scalar.pow _)
115 rw [integral_sub h₁ h₂] at hz
116 simp_rw [mul_assoc, integral_const_mul] at hz
117 exact sub_eq_zero.mp hz
118
119private theorem haar_recurrence (n : ℕ) :
120 ((n:ℝ)+4)*haarMoment (n+2) = ((n:ℝ)+1)*haarMoment n := by
121 let term := fun (j : Fin 3) u => scalarPart u^n * imagPart j u^2
122 have ht (j : Fin 3) : Integrable (term j) su2Haar :=
123 integrable_haar ((continuous_scalar.pow _).mul ((continuous_imag j).pow _))
124 have hp : Integrable (fun u => scalarPart u^(n+2)) su2Haar := integrable_haar (continuous_scalar.pow _)
125 have h (u : G) : term 0 u + term 1 u + term 2 u + scalarPart u^(n+2) = scalarPart u^n := by
126 dsimp [term]
127 rw [pow_add]
128 linear_combination (scalarPart u)^n * sphere_identity u
129 have he := congrArg (fun f : G → ℝ => ∫ u, f u ∂su2Haar) (funext h)
130 change (∫ u, term 0 u + term 1 u + term 2 u + scalarPart u^(n+2) ∂su2Haar) = haarMoment n at he
131 have h01 : Integrable (fun u => term 0 u + term 1 u) su2Haar := (ht 0).add (ht 1)
132 have h012 : Integrable (fun u => term 0 u + term 1 u + term 2 u) su2Haar := h01.add (ht 2)
133 rw [integral_add h012 hp, integral_add h01 (ht 2), integral_add (ht 0) (ht 1)] at he
134 change (∫ u, term 0 u ∂su2Haar) + (∫ u, term 1 u ∂su2Haar) + (∫ u, term 2 u ∂su2Haar) +
135 haarMoment (n+2) = haarMoment n at he
136 have hm (j : Fin 3) : ((n:ℝ)+1) * (∫ u, term j u ∂su2Haar) = haarMoment (n+2) := mixed_moment n j
137 linear_combination ((n:ℝ)+1)*he - hm 0 - hm 1 - hm 2
138
139private theorem haar_first : haarMoment 1 = 0 := by
140 obtain ⟨k,hk⟩ := rotate_pair 0 π
141 have h := haar_rotate k scalarPart continuous_scalar
142 simp_rw [fun u => (hk u).1, cos_pi, sin_pi, mul_zero, add_zero, mul_neg_one, integral_neg] at h
143 simp [haarMoment]; linarith
144
145/-- Low Haar moments of the normalized fundamental trace. -/
146theorem haar_trace_moments :
147 (∫ u, (suMat u 0 0).re ∂su2Haar) = 0 ∧
148 (∫ u, (suMat u 0 0).re^2 ∂su2Haar) = 1/4 ∧
149 (∫ u, (suMat u 0 0).re^3 ∂su2Haar) = 0 ∧
150 (∫ u, (suMat u 0 0).re^4 ∂su2Haar) = 1/8 := by
151 have hz : haarMoment 0 = 1 := by simp [haarMoment]
152 have h1 : haarMoment 1 = 0 := haar_first
153 have h2 := haar_recurrence 0
154 have h3 := haar_recurrence 1
155 have h4 := haar_recurrence 2
156 norm_num at h2 h3 h4
157 change (∫ u, scalarPart u ∂su2Haar) = 0 ∧ haarMoment 2 = _ ∧ haarMoment 3 = _ ∧ haarMoment 4 = _
158 refine ⟨by simpa [haarMoment] using h1, ?_, ?_, ?_⟩ <;> linarith
159
160private def angleMoment (n : ℕ) := (2/π) * ∫ t in 0..π, sin t^2 * cos t^n
161
162private theorem angle_recurrence (n : ℕ) :
163 ((n:ℝ)+4)*angleMoment (n+2) = ((n:ℝ)+1)*angleMoment n := by
164 let F := fun t => sin t^3 * cos t^(n+1)
165 let g := fun t => ((n:ℝ)+4)*(sin t^2*cos t^(n+2)) - ((n:ℝ)+1)*(sin t^2*cos t^n)
166 have hd (t : ℝ) : HasDerivAt F (g t) t := by
167 convert ((hasDerivAt_sin t).pow 3).mul ((hasDerivAt_cos t).pow (n+1)) using 1 <;> try rfl
168 simp [g,pow_succ]
169 linear_combination ((n:ℝ)+1)*sin t^2*cos t^n*(sin_sq_add_cos_sq t)
170 have hg : Continuous g := by dsimp [g]; fun_prop
171 have hh := intervalIntegral.integral_eq_sub_of_hasDerivAt (a := 0) (b := π)
172 (fun t _ => hd t) (hg.intervalIntegrable _ _)
173 simp only [F,sin_zero,sin_pi,zero_pow (by decide : 3 ≠ 0),zero_mul,sub_zero] at hh
174 have hc (k : ℕ) (a : ℝ) : Continuous (fun t => a*(sin t^2*cos t^k)) := by fun_prop
175 rw [show g = fun t => ((n:ℝ)+4)*(sin t^2*cos t^(n+2)) - ((n:ℝ)+1)*(sin t^2*cos t^n) from rfl,
176 intervalIntegral.integral_sub ((hc _ _).intervalIntegrable _ _) ((hc _ _).intervalIntegrable _ _),
177 intervalIntegral.integral_const_mul, intervalIntegral.integral_const_mul] at hh
178 unfold angleMoment
179 linear_combination (2/π)*hh
180
181private theorem moments_eq (n : ℕ) : haarMoment n = angleMoment n := by
182 induction n using Nat.twoStepInduction with
183 | zero =>
184 have hp := pi_pos.ne'
185 simp [haarMoment, angleMoment, integral_sin_sq, hp]
186 | one => simp [haar_first,angleMoment,integral_sin_sq_mul_cos]
187 | more n ih _ =>
188 have hh := haar_recurrence n
189 rw [ih, ← angle_recurrence n] at hh
190 exact mul_left_cancel₀ (by positivity : (n:ℝ)+4 ≠ 0) hh
191
192/-- Classes of the concrete quaternion representation determine the angular law:
193the normalized Haar expectation of any continuous scalar-coordinate observable. -/
194private theorem haar_polynomial (p : Polynomial ℝ) :
195 (∫ u, p.eval (scalarPart u) ∂su2Haar) = (2/π)*∫ t in 0..π, sin t^2*p.eval (cos t) := by
196 induction p using Polynomial.induction_on' with
197 | add p q hp hq =>
198 simp only [Polynomial.eval_add,mul_add]
199 have hh (p : Polynomial ℝ) : Integrable (fun u => p.eval (scalarPart u)) su2Haar :=
200 integrable_haar (p.continuous.comp continuous_scalar)
201 have hc (p : Polynomial ℝ) : Continuous (fun t => sin t^2 * p.eval (cos t)) :=
202 (continuous_sin.pow _).mul (p.continuous.comp continuous_cos)
203 rw [integral_add (hh p) (hh q), intervalIntegral.integral_add
204 ((hc p).intervalIntegrable _ _) ((hc q).intervalIntegrable _ _), mul_add,hp,hq]
205 | monomial n c =>
206 simp only [Polynomial.eval_monomial, integral_const_mul]
207 have h := moments_eq n
208 unfold haarMoment angleMoment at h
209 simp_rw [show ∀ t : ℝ, sin t^2 * (c*cos t^n) = c*(sin t^2*cos t^n) from fun _ => by ring,
210 intervalIntegral.integral_const_mul]
211 rw [h]; ring
212
213/-- Angular partition integral at field strength r. -/
214def angleNormalizer (r : ℝ) := ∫ t in 0..π, OneLinkTransport.weight r t
215
216/-- Lebesgue density of the polar angle, with the Wilson one-link field r.
217The restricted interval differs from [0,π] only by a Lebesgue-null endpoint. -/
218def angleLaw (r : ℝ) : Measure ℝ :=
219 (volume.restrict (Ioc 0 π)).withDensity (fun t =>
220 ENNReal.ofReal (OneLinkTransport.weight r t / angleNormalizer r))
221
222private theorem continuous_w (r : ℝ) : Continuous (OneLinkTransport.weight r) := by
223 unfold OneLinkTransport.weight; fun_prop
224
225private theorem weight_nonneg (r t : ℝ) : 0 ≤ OneLinkTransport.weight r t :=
226 mul_nonneg (sq_nonneg _) (exp_pos _).le
227
228theorem angleNormalizer_pos (r : ℝ) : 0 < angleNormalizer r := by
229 have h := intervalIntegral.integral_mono_on (μ := volume) pi_pos.le
230 ((continuous_sin.pow 2 |>.mul (continuous_const (y := exp (-|r|)))).intervalIntegrable _ _)
231 ((continuous_w r).intervalIntegrable _ _) (fun t _ =>
232 mul_le_mul_of_nonneg_left (exp_le_exp.mpr (by
233 have h := abs_mul r (cos t)
234 have hh : |r*cos t| ≤ |r| := by rw [h]; exact mul_le_of_le_one_right (abs_nonneg _) (abs_cos_le_one _)
235 exact (abs_le.mp hh).1)) (sq_nonneg _))
236 change (∫ t in 0..π, sin t^2 * exp (-|r|)) ≤ angleNormalizer r at h
237 rw [intervalIntegral.integral_mul_const] at h
238 exact (mul_pos (integral_sin_pow_pos (n := 2)) (exp_pos _)).trans_le h
239
240instance angleLaw_probability (r : ℝ) : IsProbabilityMeasure (angleLaw r) := by
241 constructor
242 rw [angleLaw, withDensity_apply _ MeasurableSet.univ, setLIntegral_univ]
243 have hc : Continuous (fun t => OneLinkTransport.weight r t / angleNormalizer r) := (continuous_w r).div_const _
244 have hi := (intervalIntegrable_iff_integrableOn_Ioc_of_le pi_pos.le).mp (hc.intervalIntegrable (μ := volume) 0 π)
245 rw [← ofReal_integral_eq_lintegral_ofReal hi (.of_forall fun t => div_nonneg (weight_nonneg r t) (angleNormalizer_pos r).le)]
246 rw [← intervalIntegral.integral_of_le pi_pos.le, intervalIntegral.integral_div]
247 change ENNReal.ofReal (angleNormalizer r / angleNormalizer r) = 1
248 simp [(angleNormalizer_pos r).ne']
249
250/-- Real integration against the normalized radial density. -/
251theorem integral_angleLaw (r : ℝ) (f : ℝ → ℝ) :
252 (∫ t, f t ∂angleLaw r) = (∫ t in 0..π, OneLinkTransport.weight r t * f t) / angleNormalizer r := by
253 have hm : Measurable (fun t => ENNReal.ofReal (OneLinkTransport.weight r t / angleNormalizer r)) :=
254 ((continuous_w r).div_const _).measurable.ennreal_ofReal
255 rw [angleLaw, integral_withDensity_eq_integral_toReal_smul hm (.of_forall fun _ => ENNReal.ofReal_lt_top) f]
256 simp only [ENNReal.toReal_ofReal (div_nonneg (weight_nonneg r _) (angleNormalizer_pos r).le),smul_eq_mul]
257 rw [← intervalIntegral.integral_of_le pi_pos.le, ← intervalIntegral.integral_div]
258 congr 1; funext t; ring
259
260private theorem integral_angle_zero (f : ℝ → ℝ) :
261 (∫ t, f t ∂angleLaw 0) = (2/π) * ∫ t in 0..π, sin t^2 * f t := by
262 rw [integral_angleLaw]
263 simp [OneLinkTransport.weight, angleNormalizer,integral_sin_sq]
264 ring
265
266private theorem int_cos {f : ℝ → ℝ} (hf : Continuous f) : Integrable (fun t => f (cos t)) (angleLaw 0) := by
267 obtain ⟨C,hC⟩ := (isCompact_Icc (a := (-1:ℝ)) (b := 1)).exists_bound_of_continuousOn hf.continuousOn
268 exact Integrable.of_bound (hf.comp continuous_cos).aestronglyMeasurable C
269 (.of_forall fun t => hC _ ⟨neg_one_le_cos t,cos_le_one t⟩)
270
271private theorem scalar_integral (f : ℝ → ℝ) (hf : Continuous f) :
272 (∫ u, f (scalarPart u) ∂su2Haar) = ∫ t, f (cos t) ∂angleLaw 0 := by
273 apply eq_of_abs_sub_le_all
274 intro ε hε
275 obtain ⟨p,hp⟩ := exists_polynomial_near_of_continuousOn (-1) 1 f hf.continuousOn (ε/2) (by positivity)
276 have hpEq := haar_polynomial p
277 rw [← integral_angle_zero (fun t => p.eval (cos t))] at hpEq
278 have ha := norm_integral_le_of_norm_le_const (μ := su2Haar) (f := fun u => p.eval (scalarPart u)-f (scalarPart u))
279 (.of_forall fun u => (hp _ (scalar_range u)).le)
280 have hb := norm_integral_le_of_norm_le_const (μ := angleLaw 0) (f := fun t => p.eval (cos t)-f (cos t))
281 (.of_forall fun t => (hp _ ⟨neg_one_le_cos t,cos_le_one t⟩).le)
282 have hInt (g : ℝ → ℝ) (hc : Continuous g) : Integrable (fun u => g (scalarPart u)) su2Haar :=
283 integrable_haar (hc.comp continuous_scalar)
284 rw [integral_sub (hInt _ p.continuous) (hInt _ hf)] at ha
285 rw [integral_sub (int_cos p.continuous) (int_cos hf)] at hb
286 simp only [probReal_univ, mul_one,Real.norm_eq_abs,abs_le] at ha hb ⊢
287 constructor <;> linarith
288
289/-- Polar-angle pushforward of the normalized Haar probability on fundamental SU(2). -/
290theorem haar_polarAngle : su2Haar.map polarAngle = angleLaw 0 := by
291 have hθ : Continuous polarAngle := continuous_arccos.comp continuous_scalar
292 haveI := Measure.isProbabilityMeasure_map (μ := su2Haar) hθ.measurable.aemeasurable
293 apply ext_of_forall_integral_eq_of_IsFiniteMeasure
294 intro f
295 rw [integral_map hθ.measurable.aemeasurable f.continuous.aestronglyMeasurable]
296 change (∫ u, f (arccos (scalarPart u)) ∂su2Haar) = _
297 rw [scalar_integral (fun x => f (arccos x)) (f.continuous.comp continuous_arccos),
298 integral_angle_zero, integral_angle_zero]
299 congr 1
300 apply intervalIntegral.integral_congr
301 intro t ht
302 rw [uIcc_of_le pi_pos.le] at ht
303 simp only [arccos_cos ht.1 ht.2]
304
305/-- Explicit, normalized Haar density with respect to Lebesgue measure. -/
306theorem haar_polarAngle_density :
307 su2Haar.map polarAngle = (volume.restrict (Ioc 0 π)).withDensity
308 (fun t => ENNReal.ofReal ((2/π)*sin t^2)) := by
309 rw [haar_polarAngle,angleLaw]
310 congr 1
311 funext t
312 congr 1
313 simp [OneLinkTransport.weight,angleNormalizer,integral_sin_sq]
314 ring
315
316theorem tilted_haar_numerator (r : ℝ) (k : G) (f : ℝ → ℝ) (hf : Continuous f) :
317 (∫ u, exp (r*(suMat (u*k) 0 0).re) * f (polarAngle (u*k)) ∂su2Haar) =
318 (2/π) * ∫ t in 0..π, OneLinkTransport.weight r t * f t := by
319 let g := fun x => exp (r*x) * f (arccos x)
320 have hg : Continuous g := (continuous_exp.comp (continuous_const.mul continuous_id)).mul
321 (hf.comp continuous_arccos)
322 change (∫ u, g (scalarPart (u*k)) ∂su2Haar) = _
323 rw [haar_rotate k (fun u => g (scalarPart u)) (hg.comp continuous_scalar),
324 scalar_integral g hg, integral_angle_zero]
325 congr 1
326 apply intervalIntegral.integral_congr
327 intro t ht
328 rw [uIcc_of_le pi_pos.le] at ht
329 simp [g, OneLinkTransport.weight, arccos_cos ht.1 ht.2, mul_assoc]
330
331/-- For any field strength and pole, the polar angle measured from that pole
332has the normalized density sin²(t) exp(r cos(t)) on the polar interval. -/
333theorem tilted_polarAngle (r : ℝ) (k : gaugeGroup.image) :
334 (su2Haar.tilted (fun u => r*(suMat (u*k) 0 0).re)).map (fun u => polarAngle (u*k)) =
335 angleLaw r := by
336 let field := fun u : G => r*scalarPart (u*k)
337 let θ := fun u : G => polarAngle (u*k)
338 have hc : Continuous field := continuous_const.mul (continuous_scalar.comp (continuous_mul_const k))
339 have hθ : Continuous θ := continuous_arccos.comp (continuous_scalar.comp (continuous_mul_const k))
340 haveI : IsProbabilityMeasure (su2Haar.tilted field) := isProbabilityMeasure_tilted (integrable_haar (continuous_exp.comp hc))
341 haveI := Measure.isProbabilityMeasure_map (μ := su2Haar.tilted field) hθ.measurable.aemeasurable
342 change (su2Haar.tilted field).map θ = angleLaw r
343 apply ext_of_forall_integral_eq_of_IsFiniteMeasure
344 intro f
345 have hd : (∫ u, exp (field u) ∂su2Haar) = (2/π) * angleNormalizer r := by
346 simpa [field, scalarPart, angleNormalizer] using tilted_haar_numerator r k (fun _ => 1) continuous_const
347 rw [integral_map hθ.measurable.aemeasurable f.continuous.aestronglyMeasurable,
348 integral_tilted, integral_angleLaw, hd]
349 have hp : ∀ u, (exp (field u) / ((2/π)*angleNormalizer r)) • f (θ u) =
350 (exp (field u)*f (θ u)) / ((2/π)*angleNormalizer r) := fun u => by rw [smul_eq_mul]; ring
351 simp_rw [hp, integral_div]
352 rw [show (∫ u, exp (field u) * f (θ u) ∂su2Haar) = _ from tilted_haar_numerator r k f f.continuous]
353 field_simp [pi_pos.ne', (angleNormalizer_pos r).ne']
354
355/-- Angular distribution of the actual energy resampling law at every background. -/
356theorem heatBath_polarAngle {l : ℕ+} (hl : 1 < l.val) (β : ℝ)
357 (U : Configuration gaugeGroup l) (e : Edge l) : ∃ k : gaugeGroup.image,
358 (heatBath β U e).map (fun v => polarAngle (v*k)) = angleLaw (fieldStrength β U e) := by
359 obtain ⟨k,hk⟩ := heatBath_eq_tilt hl β U e
360 exact ⟨k, hk ▸ tilted_polarAngle _ k⟩
361
362/-- Radial integration for any observable integrable under the actual angular
363law. A single pole works for all such observables at the fixed background. -/
364theorem heatBath_radial_integral {l : ℕ+} (hl : 1 < l.val) (β : ℝ)
365 (U : Configuration gaugeGroup l) (e : Edge l) :
366 let r := fieldStrength β U e
367 ∃ k : gaugeGroup.image, ∀ f : ℝ → ℝ, Integrable f (angleLaw r) →
368 (∫ v, f (polarAngle (v*k)) ∂heatBath β U e) =
369 (∫ t in 0..π, OneLinkTransport.weight r t * f t) / angleNormalizer r := by
370 obtain ⟨k,hk⟩ := heatBath_polarAngle hl β U e
371 refine ⟨k,fun f hf => ?_⟩
372 rw [← hk] at hf
373 have hθ : Continuous (fun v : G => polarAngle (v*k)) :=
374 continuous_arccos.comp (continuous_scalar.comp (continuous_mul_const k))
375 rw [← integral_map hθ.measurable.aemeasurable hf.aestronglyMeasurable, hk, integral_angleLaw]
376
377private theorem angle_integrable {r : ℝ} {f : ℝ → ℝ} (hf : ContinuousOn f (Icc 0 π)) :
378 Integrable f (angleLaw r) := by
379 have hac : angleLaw r ≪ volume.restrict (Ioc 0 π) := withDensity_absolutelyContinuous _ _
380 have hm := ((hf.mono Ioc_subset_Icc_self).aestronglyMeasurable (μ := volume) measurableSet_Ioc).mono_ac hac
381 obtain ⟨C,hC⟩ := isCompact_Icc.exists_bound_of_continuousOn hf
382 apply Integrable.of_bound hm C
383 filter_upwards [hac.ae_le (ae_restrict_mem measurableSet_Ioc)] with t ht
384 exact hC t ⟨ht.1.le,ht.2⟩
385
386/-- Both radial trial costs have mean at most 1/12 under the Wilson resampling
387measure at the same pole. The polar quotient extends continuously to the endpoints. -/
388theorem heatBath_trial_cost_caps {l : ℕ+} (hl : 1 < l.val) {β : ℝ}
389 (hβ : 0 ≤ β) (hmax : β ≤ 7/25) (U : Configuration gaugeGroup l) (e : Edge l) :
390 let r := fieldStrength β U e
391 ∃ k : gaugeGroup.image,
392 (∫ v, (OneLinkTransport.polarFlux r (polarAngle (v*k)) /
393 OneLinkTransport.weight r (polarAngle (v*k)))^2 ∂heatBath β U e) ≤ 1/12 ∧
394 (∫ v, OneLinkTransport.transverseCost r (cos (polarAngle (v*k))) ∂heatBath β U e) ≤ 1/12 := by
395 let r := fieldStrength β U e
396 have hr : r ∈ Icc 0 (6*β) := fieldStrength_mem hβ U e
397 obtain ⟨k,hk⟩ := heatBath_radial_integral hl β U e
398 refine ⟨k,?_,?_⟩
399 · have hd := hk (fun t => (OneLinkTransport.polarFlux r t / OneLinkTransport.weight r t)^2)
400 (angle_integrable ((OneLinkTransport.polarSpeed_continuousOn hr.1).pow 2))
401 have h (t : ℝ) : OneLinkTransport.weight r t *
402 (OneLinkTransport.polarFlux r t / OneLinkTransport.weight r t)^2 =
403 OneLinkTransport.polarFlux r t^2 / OneLinkTransport.weight r t := by
404 by_cases hw : OneLinkTransport.weight r t = 0
405 · simp [hw]
406 · field_simp
407 change (∫ v, (OneLinkTransport.polarFlux r (polarAngle (v*k)) /
408 OneLinkTransport.weight r (polarAngle (v*k)))^2 ∂heatBath β U e) ≤ 1/12
409 rw [hd]
410 change (∫ t in 0..π, OneLinkTransport.weight r t *
411 (OneLinkTransport.polarFlux r t / OneLinkTransport.weight r t)^2) / angleNormalizer r ≤ 1/12
412 simp_rw [h]
413 exact OneLinkTransport.parallel_energy_cap hr.1
414 · have hc : Continuous (fun t => OneLinkTransport.transverseCost r (cos t)) := by
415 unfold OneLinkTransport.transverseCost; fun_prop
416 have hd := hk _ (angle_integrable hc.continuousOn)
417 change (∫ v, OneLinkTransport.transverseCost r (cos (polarAngle (v*k))) ∂heatBath β U e) ≤ 1/12
418 rw [hd, div_le_iff₀ (angleNormalizer_pos _)]
419 simpa only [angleNormalizer,div_eq_mul_inv,one_mul,mul_comm,mul_one] using
420 OneLinkTransport.transverse_integral_cap hmax hr
421
422/-- The regular conditional law has the same angle distribution for Wilson-marginal
423almost every background. Its pole can depend on that background. -/
424theorem condKernel_polarAngle {l : ℕ+} (hl : 1 < l.val) (β : ℝ) (e : Edge l) :
425 ∀ᵐ b ∂(splitLaw β e).fst, ∃ k : gaugeGroup.image,
426 ((splitLaw β e).condKernel b).map (fun v => polarAngle (v*k)) =
427 angleLaw (fieldStrength β ((splitLink e).symm (b,1)) e) := by
428 filter_upwards [heatBath_eq_condKernel β e] with b hb
429 rw [← hb]
430 exact heatBath_polarAngle hl β _ e
431
432/-- Scalar quaternion coordinate of a link in polar coordinates. -/
433theorem cos_polarAngle (u : G) : cos (polarAngle u) = (suMat u 0 0).re :=
434 cos_arccos (scalar_range u).1 (scalar_range u).2
435
436#print axioms haar_polarAngle_density
437#print axioms haar_polarAngle
438#print axioms angleLaw_probability
439#print axioms tilted_polarAngle
440#print axioms heatBath_polarAngle
441#print axioms heatBath_radial_integral
442#print axioms heatBath_trial_cost_caps
443#print axioms condKernel_polarAngle
444
445end
446end YangMills.PeriodicWilson