Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/yang/blob/main/proofs/WilsonReplicaFrame.lean # yang This project has not described itself yet. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `yang / proofs / WilsonReplicaFrame.lean` 179 lines · 10628 bytes Raw Blame History 1 -- SPDX-License-Identifier: Apache-2.0 2 import WilsonReplicaShells 3 4 namespace YangMills.PeriodicWilson 5 open FundamentalSU2 WilsonPolymer MeasureTheory Real 6 noncomputable section 7 8 private abbrev G := gaugeGroup.image 9 10 /-- A frame determined by the links it pins. Rooted tree parallel transport 11 has precisely this triangular dependence. -/ 12 structure PinnedFrame (l : ℕ+) where 13 edges : Finset (Edge l) 14 frame : ({e // e ∈ edges} → G) → Site l → G 15 continuous_frame : Continuous frame 16 pins : ∀ (U : WilsonConfig l) (e : {e // e ∈ edges}), 17 gaugeAct (frame (fun a => U a.val)) U e.val = 1 18 19 namespace PinnedFrame 20 variable {l : ℕ+} (P : PinnedFrame l) 21 22 def empty (l : ℕ+) : PinnedFrame l where 23 edges := ∅ 24 frame := fun _ _ => 1 25 continuous_frame := continuous_const 26 pins := fun _ e => False.elim (Finset.notMem_empty _ e.prop) 27 28 def edgeEnd (e : Edge l) : Site l := e.1 + Pi.single e.2 1 29 30 /-- Grow a pinned forest by one edge in either orientation. The child is a 31 new vertex for the previous pinned edges. A parent may begin a new component. -/ 32 def attach (e : Edge l) (rev : Bool) (hne : e.1 ≠ edgeEnd e) 33 (fresh : ∀ f ∈ P.edges, (if rev then e.1 else edgeEnd e) ≠ f.1 ∧ 34 (if rev then e.1 else edgeEnd e) ≠ edgeEnd f) : PinnedFrame l := by 35 let child := if rev then e.1 else edgeEnd e 36 let parent := if rev then edgeEnd e else e.1 37 let restrict (v : {f // f ∈ insert e P.edges} → G) (f : {f // f ∈ P.edges}) := 38 v ⟨f.val,Finset.mem_insert_of_mem f.prop⟩ 39 let g (v : {f // f ∈ insert e P.edges} → G) := v ⟨e,Finset.mem_insert_self ..⟩ 40 let frame (v : {f // f ∈ insert e P.edges} → G) (x : Site l) := 41 if x=child then P.frame (restrict v) parent * (if rev then (g v)⁻¹ else g v) 42 else P.frame (restrict v) x 43 refine ⟨insert e P.edges,frame,?_,?_⟩ 44 · have cr : Continuous restrict := continuous_pi fun _ => continuous_apply _ 45 have cf := P.continuous_frame.comp cr 46 have cg : Continuous g := continuous_apply _ 47 apply continuous_pi; intro x 48 by_cases h : x=child 49 · simp only [frame,if_pos h] 50 cases rev <;> simp only [Bool.false_eq_true,if_false,if_true] 51 · exact ((continuous_apply parent).comp cf).mul cg 52 · exact ((continuous_apply parent).comp cf).mul cg.inv 53 · simp only [frame,if_neg h]; exact (continuous_apply x).comp cf 54 · intro U f 55 rcases Finset.mem_insert.mp f.prop with he | hf 56 · change frame (fun a => U a.val) f.val.1 * U f.val * (frame (fun a => U a.val) (edgeEnd f.val))⁻¹ = 1 57 rw [he] 58 cases rev <;> simp [frame,child,parent,g,restrict,hne,Ne.symm hne,mul_assoc] 59 · obtain ⟨h₁,h₂⟩ := fresh f.val hf 60 change frame (fun a => U a.val) f.val.1 * U f.val * (frame (fun a => U a.val) (edgeEnd f.val))⁻¹ = 1 61 have hn₁ : f.val.1 ≠ child := Ne.symm h₁ 62 have hn₂ : edgeEnd f.val ≠ child := Ne.symm h₂ 63 simp only [frame,if_neg hn₁,if_neg hn₂] 64 exact P.pins U ⟨f.val,hf⟩ 65 66 def project (U : WilsonConfig l) := gaugeAct (P.frame fun e => U e.val) U 67 68 private def erase (U : WilsonConfig l) : WilsonConfig l := fun e => if e ∈ P.edges then 1 else U e 69 70 private theorem project_cont : Continuous P.project := by 71 have cr : Continuous (fun U : WilsonConfig l => fun e : {e // e ∈ P.edges} => U e.val) := continuous_pi fun e => continuous_apply _ 72 have cf := P.continuous_frame.comp cr 73 apply continuous_pi; intro e 74 exact (((continuous_apply e.1).comp cf).mul (continuous_apply e)).mul (((continuous_apply _).comp cf).inv) 75 76 private theorem erase_cont : Continuous P.erase := by 77 apply continuous_pi; intro e; by_cases he : e ∈ P.edges <;> simp [erase,he] <;> fun_prop 78 79 /-- Under independent Haar links the pinned coordinates become identities 80 and all remaining links keep their independent Haar laws. -/ 81 theorem map_prior : (prior l).map P.project = (prior l).map P.erase := by 82 let A := {e : Edge l // e ∈ P.edges} 83 let B := {e : Edge l // e ∉ P.edges} 84 letI : Fintype A := Subtype.fintype (fun e : Edge l => e ∈ P.edges) 85 let E := MeasurableEquiv.piEquivPiSubtypeProd (fun _ : Edge l => G) (· ∈ P.edges) 86 let out (v : A → G) (w : B → G) (e : B) := P.frame v e.val.1 * w e * (P.frame v (e.val.1 + Pi.single e.val.2 1))⁻¹ 87 have ho (v : A → G) : MeasurePreserving (out v) (Measure.pi fun _ : B => su2Haar) (Measure.pi fun _ : B => su2Haar) := by 88 have hR (g : G) : MeasurePreserving (fun x : G => x*g) su2Haar su2Haar := 89 ⟨(continuous_mul_const _).measurable, PhaseFour.gaugeImage_haar_map_mul_right su2Haar _⟩ 90 have each (e : B) : MeasurePreserving (fun x : G => P.frame v e.val.1 * x * (P.frame v (edgeEnd e.val))⁻¹) su2Haar su2Haar := 91 (hR _).comp (measurePreserving_mul_left su2Haar _) 92 exact measurePreserving_pi (fun _ : B => su2Haar) (fun _ : B => su2Haar) each 93 have cm : Continuous (Function.uncurry out) := by 94 apply continuous_pi; intro e 95 have cf := P.continuous_frame.comp (continuous_fst : Continuous (Prod.fst : (A → G) × (B → G) → _)) 96 exact (((continuous_apply e.val.1).comp cf).mul ((continuous_apply e).comp continuous_snd)).mul (((continuous_apply (edgeEnd e.val)).comp cf).inv) 97 have hs := (MeasurePreserving.id (Measure.pi fun _ : A => su2Haar)).skew_product (μc := Measure.pi fun _ : B => su2Haar) (μd := Measure.pi fun _ : B => su2Haar) (g := out) cm.measurable (.of_forall fun v => (ho v).map_eq) 98 have hE := measurePreserving_piEquivPiSubtypeProd (fun _ : Edge l => su2Haar) (· ∈ P.edges) 99 let chart (U : WilsonConfig l) := E.symm ((E U).1, out (E U).1 (E U).2) 100 have hC : MeasurePreserving chart (prior l) (prior l) := (hE.symm E).comp (hs.comp hE) 101 have factor : P.erase ∘ chart = P.project := by 102 funext U e 103 by_cases he : e ∈ P.edges 104 · change (if e ∈ P.edges then 1 else chart U e) = P.project U e 105 rw [if_pos he]; exact (P.pins U ⟨e,he⟩).symm 106 · simp [Function.comp_apply,erase,chart,E,MeasurableEquiv.piEquivPiSubtypeProd,Equiv.piEquivPiSubtypeProd, 107 he,project,gaugeAct,out] 108 rw [← factor, ← Measure.map_map P.erase_cont.measurable hC.measurable, hC.map_eq] 109 110 def pair (z : WilsonReplicas l) : WilsonReplicas l := (P.project z.1,P.project z.2) 111 112 def framedLaw (β : ℝ) := (replicaLaw l β).map P.pair 113 114 theorem pair_cont : Continuous P.pair := 115 (P.project_cont.comp continuous_fst).prodMk (P.project_cont.comp continuous_snd) 116 117 instance framedLaw_probability (β : ℝ) : IsProbabilityMeasure (P.framedLaw β) := 118 Measure.isProbabilityMeasure_map P.pair_cont.measurable.aemeasurable 119 120 theorem integral_projected (β : ℝ) {D : WilsonReplicas l → ℝ} (hc : Continuous D) 121 (hg : ∀ z, D (P.pair z) = D z) : (∫ z, D z ∂P.framedLaw β) = ∫ z, D z ∂replicaLaw l β := by 122 unfold framedLaw 123 rw [integral_map P.pair_cont.measurable.aemeasurable hc.aestronglyMeasurable] 124 exact integral_congr_ae (.of_forall hg) 125 126 private abbrev pairPrior := (prior l).prod (prior l) 127 128 private theorem prior_exchange (m : Edge l → Bool) : MeasurePreserving (exchangeLinks m) 129 ((pairPrior (l := l)).map P.pair) ((pairPrior (l := l)).map P.pair) := by 130 let eraseBoth (z : WilsonReplicas l) : WilsonReplicas l := (P.erase z.1,P.erase z.2) 131 have ce : Continuous eraseBoth := (P.erase_cont.comp continuous_fst).prodMk (P.erase_cont.comp continuous_snd) 132 have maps : (pairPrior (l := l)).map P.pair = (pairPrior (l := l)).map eraseBoth := by 133 change Measure.map (Prod.map P.project P.project) _ = Measure.map (Prod.map P.erase P.erase) _ 134 rw [← Measure.map_prod_map _ _ P.project_cont.measurable P.project_cont.measurable, 135 ← Measure.map_prod_map _ _ P.erase_cont.measurable P.erase_cont.measurable, P.map_prior] 136 have commute : exchangeLinks m ∘ eraseBoth = eraseBoth ∘ exchangeLinks m := by 137 funext z; apply Prod.ext <;> funext e <;> by_cases he : e ∈ P.edges <;> cases hm : m e <;> 138 simp [eraseBoth,Function.comp_apply,exchangeLinks,erase,he,hm] 139 refine ⟨(exchange_cont m).measurable, ?_⟩ 140 rw [maps,Measure.map_map (exchange_cont m).measurable ce.measurable,commute, 141 ← Measure.map_map ce.measurable (exchange_cont m).measurable,(exchange_preserving m).map_eq] 142 143 private theorem framed_integral (β : ℝ) {D : WilsonReplicas l → ℝ} (hc : Continuous D) : 144 ∫ z, D z ∂P.framedLaw β = 145 (∫ z, exp (logWeight β z)*D z ∂(pairPrior (l := l)).map P.pair) / 146 (∫ U, exp (-β*wilsonEnergy U) ∂prior l)^2 := by 147 have cD : Continuous (fun z => exp (logWeight β z) * D z) := (continuous_exp.comp (logWeight_cont β)).mul hc 148 unfold framedLaw 149 rw [integral_map P.pair_cont.measurable.aemeasurable hc.aestronglyMeasurable,replica_integral, 150 integral_map P.pair_cont.measurable.aemeasurable cD.aestronglyMeasurable] 151 simp only [logWeight,pair,project,WilsonPolymer.wilsonEnergy_gauge_invariant] 152 153 theorem framed_exchange (β : ℝ) (m : Edge l → Bool) {D : WilsonReplicas l → ℝ} 154 (hc : Continuous D) (ha : ∀ z, D (exchangeLinks m z) = -D z) : 155 (∫ z, D z ∂P.framedLaw β) = ∫ z, D z * tanh (exchangeField β m z) ∂P.framedLaw β := by 156 have cD : Continuous (fun z => D z * tanh (exchangeField β m z)) := hc.mul (replica_tanh_continuous.comp (exchangeField_cont β m)) 157 rw [P.framed_integral β hc,P.framed_integral β cD, 158 weighted_exchange_identity β m _ (P.prior_exchange m) hc ha] 159 160 /-- Gauge-invariant observables can be measured on the original replicas, 161 while every exchange factor is evaluated after pinning each replica. -/ 162 theorem framed_shell_identity (β : ℝ) {ι : Type*} [DecidableEq ι] (s : Finset ι) 163 (m : ι → Edge l → Bool) {D : WilsonReplicas l → ℝ} (hc : Continuous D) 164 (hg : ∀ z, D (P.pair z) = D z) 165 (ha : ∀ i ∈ s, ∀ z, D (exchangeLinks (m i) z) = -D z) 166 (hd : ∀ i ∈ s, ∀ j ∈ s, i ≠ j → ∀ p : Face l, uniformOnFace (m i) p ∨ uniformOnFace (m j) p) : 167 (∫ z, D z ∂replicaLaw l β) = ∫ z, D z * ∏ i ∈ s, tanh (exchangeField β (m i) (P.pair z)) ∂replicaLaw l β := by 168 have eq := shell_identity_of_exchange β _ (P.framed_exchange β) s m hc ha hd 169 have cp : Continuous (fun z => D z * ∏ i ∈ s, tanh (exchangeField β (m i) z)) := hc.mul (continuous_finsetProd s fun i _ => replica_tanh_continuous.comp (exchangeField_cont β (m i))) 170 unfold framedLaw at eq 171 rw [integral_map P.pair_cont.measurable.aemeasurable hc.aestronglyMeasurable, 172 integral_map P.pair_cont.measurable.aemeasurable cp.aestronglyMeasurable] at eq 173 simpa only [hg] using eq 174 175 end PinnedFrame 176 #print axioms PinnedFrame.map_prior 177 #print axioms PinnedFrame.framed_shell_identity 178 end 179 end YangMills.PeriodicWilson