yang
This project has not described itself yet.
Brought by drakestapleton
yang / proofs / WilsonReplicaColor.lean
| 1 | -- SPDX-License-Identifier: Apache-2.0 |
| 2 | import WilsonReplicaEndpoint |
| 3 | |
| 4 | namespace YangMills.PeriodicWilson |
| 5 | open FundamentalSU2 WilsonPolymer MeasureTheory Real |
| 6 | noncomputable section |
| 7 | |
| 8 | /-- Relative color orientation of the second Wilson replica. -/ |
| 9 | def rotateReplica {l : ℕ+} (h : gaugeGroup.image) (z : WilsonReplicas l) : WilsonReplicas l := |
| 10 | (z.1,gaugeAct (fun _ => h) z.2) |
| 11 | |
| 12 | private theorem rotate_cont {l : ℕ+} (h : gaugeGroup.image) : Continuous (rotateReplica (l := l) h) := by |
| 13 | apply continuous_fst.prodMk |
| 14 | apply continuous_pi; intro e |
| 15 | change Continuous (fun z : WilsonReplicas l => h * z.2 e * h⁻¹) |
| 16 | fun_prop |
| 17 | |
| 18 | private theorem rotate_preserving {l : ℕ+} (β : ℝ) (h : gaugeGroup.image) : |
| 19 | MeasurePreserving (rotateReplica h) (replicaLaw l β) (replicaLaw l β) := by |
| 20 | let μ := wilsonLaw gaugeGroup l β su2Haar |
| 21 | haveI : IsProbabilityMeasure μ := wilson_probability l β |
| 22 | have cm : Continuous (gaugeAct (l := l) (fun _ => h)) := by |
| 23 | apply continuous_pi; intro e |
| 24 | change Continuous (fun U : WilsonConfig l => h*U e*h⁻¹); fun_prop |
| 25 | have hg : MeasurePreserving (gaugeAct (fun _ => h)) μ μ := ⟨cm.measurable,PhaseFour.wilsonLaw_map_gaugeAct β su2Haar _⟩ |
| 26 | exact (MeasurePreserving.id μ).prod hg |
| 27 | |
| 28 | /-- In an Abelian configuration all internal conjugations fix the observable |
| 29 | pair pointwise. Equivalently, it suffices that the second replica commutes with h. -/ |
| 30 | theorem rotateReplica_eq_of_commute {l : ℕ+} (h : gaugeGroup.image) (z : WilsonReplicas l) |
| 31 | (hc : ∀ e, Commute h (z.2 e)) : rotateReplica h z = z := by |
| 32 | refine Prod.ext ?_ ?_ |
| 33 | · rfl |
| 34 | funext e |
| 35 | change h * z.2 e * h⁻¹ = z.2 e |
| 36 | rw [(hc e).eq,mul_assoc,mul_inv_cancel,mul_one] |
| 37 | |
| 38 | /-- Average the signed exchange estimator before taking absolute values. Any |
| 39 | finite list of relative orientations works, including repeated elements. -/ |
| 40 | def colorAverage {l : ℕ+} {ι : Type*} [Fintype ι] (colors : ι → gaugeGroup.image) |
| 41 | (Q : WilsonReplicas l → ℝ) (z : WilsonReplicas l) := |
| 42 | (∑ i, Q (rotateReplica (colors i) z)) / Fintype.card ι |
| 43 | |
| 44 | theorem colorAverage_abs_le {l : ℕ+} {ι : Type*} [Fintype ι] (colors : ι → gaugeGroup.image) |
| 45 | (Q : WilsonReplicas l → ℝ) (z : WilsonReplicas l) : |
| 46 | |colorAverage colors Q z| ≤ colorAverage colors (fun w => |Q w|) z := by |
| 47 | rw [colorAverage,colorAverage,abs_div,abs_of_nonneg (show (0:ℝ) ≤ Fintype.card ι from Nat.cast_nonneg _)] |
| 48 | exact div_le_div_of_nonneg_right (Finset.abs_sum_le_sum_abs _ _) (Nat.cast_nonneg _) |
| 49 | |
| 50 | theorem colorAverage_eq_of_commute {l : ℕ+} {ι : Type*} [Fintype ι] [Nonempty ι] |
| 51 | (colors : ι → gaugeGroup.image) (Q : WilsonReplicas l → ℝ) (z : WilsonReplicas l) |
| 52 | (hc : ∀ i e, Commute (colors i) (z.2 e)) : colorAverage colors Q z = Q z := by |
| 53 | have h (i : ι) := rotateReplica_eq_of_commute (colors i) z (hc i) |
| 54 | have hn : (Fintype.card ι : ℝ) ≠ 0 := by exact_mod_cast Fintype.card_ne_zero |
| 55 | simp [colorAverage,h,hn] |
| 56 | |
| 57 | theorem colorAverage_integral {l : ℕ+} {ι : Type*} [Fintype ι] [Nonempty ι] |
| 58 | (β : ℝ) (colors : ι → gaugeGroup.image) {D Q : WilsonReplicas l → ℝ} |
| 59 | (cD : Continuous D) (cQ : Continuous Q) (fixed : ∀ i z, D (rotateReplica (colors i) z) = D z) : |
| 60 | (∫ z, D z * colorAverage colors Q z ∂replicaLaw l β) = ∫ z, D z * Q z ∂replicaLaw l β := by |
| 61 | let A := fun i z => D z * Q (rotateReplica (colors i) z) |
| 62 | let I := ∫ z, D z * Q z ∂replicaLaw l β |
| 63 | have ca (i : ι) : Continuous (A i) := cD.mul (cQ.comp (rotate_cont _)) |
| 64 | have eq (i : ι) : (∫ z, A i z ∂replicaLaw l β) = I := by |
| 65 | have hp := rotate_preserving (l := l) β (colors i) |
| 66 | have c : Continuous (fun z => D z * Q z) := cD.mul cQ |
| 67 | have h := integral_map hp.measurable.aemeasurable (c.aestronglyMeasurable (μ := (replicaLaw l β).map (rotateReplica (colors i)))) |
| 68 | rw [hp.map_eq] at h |
| 69 | simpa only [A,I,fixed] using h.symm |
| 70 | have factor (z : WilsonReplicas l) : D z * colorAverage colors Q z = (∑ i, A i z)/(Fintype.card ι : ℝ) := by |
| 71 | rw [colorAverage,mul_div_assoc',Finset.mul_sum] |
| 72 | have hi (i : ι) : Integrable (A i) (replicaLaw l β) := (ca i).integrable_of_hasCompactSupport (HasCompactSupport.of_compactSpace _) |
| 73 | simp_rw [factor]; rw [integral_div,integral_finsetSum _ fun i _ => hi i] |
| 74 | simp_rw [eq] |
| 75 | have hn : (Fintype.card ι : ℝ) ≠ 0 := by exact_mod_cast Fintype.card_ne_zero |
| 76 | simp [hn,I] |
| 77 | |
| 78 | /-- A signed relative-color average has a rigorous absolute-value bound. -/ |
| 79 | theorem colorAverage_bound {l : ℕ+} {ι : Type*} [Fintype ι] [Nonempty ι] |
| 80 | (β : ℝ) (colors : ι → gaugeGroup.image) {D Q : WilsonReplicas l → ℝ} |
| 81 | (cD : Continuous D) (cQ : Continuous Q) (fixed : ∀ i z, D (rotateReplica (colors i) z) = D z) : |
| 82 | |∫ z, D z * Q z ∂replicaLaw l β| ≤ ∫ z, |D z| * |colorAverage colors Q z| ∂replicaLaw l β := by |
| 83 | rw [← colorAverage_integral β colors cD cQ fixed] |
| 84 | simpa only [abs_mul] using (abs_integral_le_integral_abs (μ := replicaLaw l β) (f := fun z => D z * colorAverage colors Q z)) |
| 85 | |
| 86 | theorem endpoint_color_bound {l : ℕ+} {ι : Type*} [Fintype ι] [Nonempty ι] |
| 87 | (colors : ι → gaugeGroup.image) (P : PinnedFrame l) (hl : 1 < l.val) (β : ℝ) |
| 88 | (p q : Face l) (e f : Edge l) (he : e ∈ faceEdges p) (hf : f ∈ faceEdges q) |
| 89 | (pe : ∀ a ∈ faceEdges p, a ≠ e → a ∈ P.edges) (qf : ∀ a ∈ faceEdges q, a ≠ f → a ∈ P.edges) |
| 90 | (pq : Disjoint (faceEdges p) (faceEdges q)) |
| 91 | (cut : ∀ a : Face l, uniformOnFace (faceMask p) a ∨ uniformOnFace (faceMask q) a) : |
| 92 | |wilsonCovariance β (wilsonPlaquetteTrace p) (wilsonPlaquetteTrace q)| ≤ |
| 93 | (∫ z, |replicaDifference (wilsonPlaquetteTrace p) (wilsonPlaquetteTrace q) z| * |
| 94 | |colorAverage colors (fun w => tanh (stapleExchange β e (P.pair w)) * |
| 95 | tanh (stapleExchange β f (P.pair w))) z| ∂replicaLaw l β)/2 := by |
| 96 | let D := replicaDifference (wilsonPlaquetteTrace p) (wilsonPlaquetteTrace q) |
| 97 | let Q := fun w => tanh (stapleExchange β e (P.pair w)) * tanh (stapleExchange β f (P.pair w)) |
| 98 | have cF := (wilsonPlaquetteTrace_variation p).continuous |
| 99 | have cG := (wilsonPlaquetteTrace_variation q).continuous |
| 100 | have cD : Continuous D := ((cF.comp continuous_fst).sub (cF.comp continuous_snd)).mul |
| 101 | ((cG.comp continuous_fst).sub (cG.comp continuous_snd)) |
| 102 | have one (a : Edge l) : Continuous (fun w => tanh (stapleExchange β a (P.pair w))) := by |
| 103 | simp_rw [← singleLink_exchange hl] |
| 104 | exact replica_tanh_continuous.comp ((exchangeField_cont β _).comp P.pair_cont) |
| 105 | have fixed (i : ι) (z : WilsonReplicas l) : D (rotateReplica (colors i) z) = D z := by |
| 106 | simp [D,rotateReplica,replicaDifference,wilsonPlaquetteTrace_gauge_invariant] |
| 107 | have H := colorAverage_bound β colors cD (show Continuous Q from (one e).mul (one f)) fixed |
| 108 | have eq := endpoint_covariance_identity P hl β p q e f he hf pe qf pq cut |
| 109 | change 2*_ = ∫ z, D z * Q z ∂replicaLaw l β at eq |
| 110 | rw [← eq,abs_mul,abs_of_nonneg (by norm_num : (0:ℝ) ≤ 2)] at H |
| 111 | change _ ≤ (∫ z, |D z| * |colorAverage colors Q z| ∂replicaLaw l β)/2 |
| 112 | linarith only [H] |
| 113 | |
| 114 | #print axioms colorAverage_abs_le |
| 115 | #print axioms colorAverage_eq_of_commute |
| 116 | #print axioms endpoint_color_bound |
| 117 | #print axioms rotateReplica_eq_of_commute |
| 118 | #print axioms colorAverage_integral |
| 119 | #print axioms colorAverage_bound |
| 120 | end |
| 121 | end YangMills.PeriodicWilson |