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 / WilsonReplicaFreeShell.lean

210 lines · 11371 bytes Raw Blame History
1-- SPDX-License-Identifier: Apache-2.0
2import WilsonReplicaFrame
3
4namespace YangMills.PeriodicWilson.PinnedFrame
5open FundamentalSU2 WilsonPolymer MeasureTheory Real
6noncomputable section
7variable {l : ℕ+} (P : PinnedFrame l)
8
9/-- Both replicas are in the fixed frame on the pinned links. -/
10def IsPinned (z : WilsonReplicas l) : Prop :=
11 ∀ e ∈ P.edges, z.1 e = 1 ∧ z.2 e = 1
12
13/-- Labels on pinned links are not part of a face's exchange geometry. -/
14def freeFace (p : Face l) := faceEdges p \ P.edges
15
16def freeUniform (m : Edge l → Bool) (p : Face l) : Prop :=
17 ∃ b : Bool, ∀ e ∈ P.freeFace p, m e = b
18
19/-- The discrete boundary used by a fixed-geometry cut certificate. -/
20def freeBoundary (m : Edge l → Bool) : Finset (Face l) := by
21 classical
22 exact Finset.univ.filter fun p => ¬P.freeUniform m p
23
24theorem freeBoundary_disjoint (m n : Edge l → Bool) :
25 Disjoint (P.freeBoundary m) (P.freeBoundary n) ↔
26 ∀ p : Face l, P.freeUniform m p ∨ P.freeUniform n p := by
27 classical
28 simp only [Finset.disjoint_left, freeBoundary, Finset.mem_filter, Finset.mem_univ, true_and]
29 constructor
30 · intro h p
31 by_cases hp : P.freeUniform m p
32 · exact Or.inl hp
33 · exact Or.inr (not_not.mp (h hp))
34 · intro h p hp hn
35 exact (h p).elim hp hn
36
37/-- Separated free supports supply the endpoint labels without requiring that
38the full plaquette supports, which may share pinned links, be disjoint. -/
39theorem free_anchor_labels (p q : Face l) (pq : Disjoint (P.freeFace p) (P.freeFace q)) :
40 (∀ e ∈ P.freeFace p, decide (e ∈ P.freeFace p) = true) ∧
41 (∀ e ∈ P.freeFace q, decide (e ∈ P.freeFace p) = false) := by
42 constructor
43 · intro e he; simp [he]
44 · intro e he; simp [Finset.disjoint_left.mp pq.symm he]
45
46private theorem pinned_pair (z : WilsonReplicas l) : P.IsPinned (P.pair z) :=
47 fun e he => ⟨P.pins z.1 ⟨e,he⟩, P.pins z.2 ⟨e,he⟩⟩
48
49private theorem pinned_exchange {z : WilsonReplicas l} (hz : P.IsPinned z) (m : Edge l → Bool) :
50 P.IsPinned (exchangeLinks m z) := by
51 intro e he
52 cases h : m e <;> simp [exchangeLinks, h, (hz e he).1, (hz e he).2]
53
54/-- Changing labels on pins leaves the actual exchange unchanged. -/
55theorem exchange_eq_on_free (m n : Edge l → Bool)
56 (hmn : ∀ e, e ∉ P.edges → m e = n e) {z : WilsonReplicas l} (hz : P.IsPinned z) :
57 exchangeLinks m z = exchangeLinks n z := by
58 apply Prod.ext <;> funext e <;> by_cases he : e ∈ P.edges
59 all_goals first
60 | simp [exchangeLinks, (hz e he).1, (hz e he).2]
61 | simp [exchangeLinks, hmn e he]
62
63/-- A retraction onto pinned pairs, not a second gauge transformation. -/
64private def retractPair (z : WilsonReplicas l) : WilsonReplicas l :=
65 (fun e => if e ∈ P.edges then 1 else z.1 e, fun e => if e ∈ P.edges then 1 else z.2 e)
66
67private theorem retract_cont : Continuous P.retractPair := by
68 apply Continuous.prodMk <;> apply continuous_pi <;> intro e <;>
69 by_cases he : e ∈ P.edges <;> simp only [he, if_true, if_false] <;> fun_prop
70
71private theorem retract_pinned (z : WilsonReplicas l) : P.IsPinned (P.retractPair z) := by
72 intro e he; simp [retractPair, he]
73
74private theorem retract_fixed {z : WilsonReplicas l} (hz : P.IsPinned z) : P.retractPair z = z := by
75 apply Prod.ext
76 · funext e
77 by_cases he : e ∈ P.edges
78 · exact (if_pos he).trans (hz e he).1.symm
79 · exact if_neg he
80 · funext e
81 by_cases he : e ∈ P.edges
82 · exact (if_pos he).trans (hz e he).2.symm
83 · exact if_neg he
84
85private theorem retract_exchange (m : Edge l → Bool) (z : WilsonReplicas l) :
86 P.retractPair (exchangeLinks m z) = exchangeLinks m (P.retractPair z) := by
87 apply Prod.ext <;> funext e <;> by_cases he : e ∈ P.edges <;> cases hm : m e <;>
88 simp [retractPair, exchangeLinks, he, hm]
89
90private theorem trace_free (p : Face l) (m : Edge l → Bool) (b : Bool)
91 (hm : ∀ e ∈ P.freeFace p, m e = b) {z : WilsonReplicas l} (hz : P.IsPinned z) :
92 wilsonPlaquetteTrace p (exchangeLinks m z).1 = wilsonPlaquetteTrace p (if b then z.2 else z.1) ∧
93 wilsonPlaquetteTrace p (exchangeLinks m z).2 = wilsonPlaquetteTrace p (if b then z.1 else z.2) := by
94 constructor <;> apply trace_agrees <;> intro e he <;> by_cases hp : e ∈ P.edges
95 all_goals first
96 | cases b <;> simp [exchangeLinks, (hz e hp).1, (hz e hp).2]
97 | cases b <;> simp [exchangeLinks, hm e (Finset.mem_sdiff.mpr ⟨he,hp⟩)]
98
99private theorem free_score (m : Edge l → Bool) (p : Face l) (hu : P.freeUniform m p)
100 {z : WilsonReplicas l} (hz : P.IsPinned z) : faceScore p (exchangeLinks m z) = faceScore p z := by
101 obtain ⟨b,hm⟩ := hu
102 obtain ⟨a,c⟩ := P.trace_free p m b hm hz
103 cases b <;> simp_all [faceScore, add_comm]
104
105/-- A second exchange cannot change this field if no face is split by both masks
106on its free links. Stability is asserted on the pinned support only. -/
107theorem free_field_stable (β : ℝ) (m n : Edge l → Bool)
108 (hd : ∀ p : Face l, P.freeUniform m p ∨ P.freeUniform n p)
109 {z : WilsonReplicas l} (hz : P.IsPinned z) :
110 exchangeField β m (exchangeLinks n z) = exchangeField β m z := by
111 rw [exchangeField_eq_sum, exchangeField_eq_sum]
112 congr 1
113 apply Finset.sum_congr rfl
114 intro p _
115 rcases hd p with h | h
116 · rw [P.free_score m p h (P.pinned_exchange hz n), P.free_score m p h hz, sub_self, sub_self]
117 · rw [exchangeLinks_commute m n, P.free_score n p h hz, P.free_score n p h (P.pinned_exchange hz m)]
118
119/-- Extend by retraction to use the full-space exchange theorem. Pulling back
120along the projection removes the extension from both integrals. -/
121theorem free_exchange (β : ℝ) (m : Edge l → Bool) {H : WilsonReplicas l → ℝ} (hc : Continuous H)
122 (odd : ∀ z, P.IsPinned z → H (exchangeLinks m z) = -H z) :
123 (∫ z, H z ∂P.framedLaw β) = ∫ z, H z * tanh (exchangeField β m z) ∂P.framedLaw β := by
124 let K := H ∘ P.retractPair
125 have ck : Continuous K := hc.comp P.retract_cont
126 have cT : Continuous (fun z => tanh (exchangeField β m z)) :=
127 replica_tanh_continuous.comp (exchangeField_cont β m)
128 have extOdd (z : WilsonReplicas l) : K (exchangeLinks m z) = -K z := by
129 simp only [K, Function.comp_apply, P.retract_exchange, odd _ (P.retract_pinned z)]
130 have eq := P.framed_exchange β m ck extOdd
131 have pull {f : WilsonReplicas l → ℝ} (cf : Continuous f) :
132 (∫ z, f z ∂P.framedLaw β) = ∫ z, f (P.pair z) ∂replicaLaw l β :=
133 integral_map P.pair_cont.measurable.aemeasurable cf.aestronglyMeasurable
134 rw [pull ck, pull (f := fun z => K z * tanh (exchangeField β m z)) (ck.mul cT)] at eq
135 rw [pull hc, pull (f := fun z => H z * tanh (exchangeField β m z)) (hc.mul cT)]
136 simpa only [K, Function.comp_apply, P.retract_fixed (P.pinned_pair _)] using eq
137
138/-- Signed product under the projected Wilson law. Only pinned pairs have to
139see an odd observable; only free links can witness a split face. -/
140theorem free_shell_identity (β : ℝ) {ι : Type*} [DecidableEq ι] (s : Finset ι)
141 (m : ι → Edge l → Bool) {D : WilsonReplicas l → ℝ} (hc : Continuous D)
142 (ha : ∀ i ∈ s, ∀ z, P.IsPinned z → D (exchangeLinks (m i) z) = -D z)
143 (hd : ∀ i ∈ s, ∀ j ∈ s, i ≠ j → ∀ p : Face l, P.freeUniform (m i) p ∨ P.freeUniform (m j) p) :
144 (∫ z, D z ∂P.framedLaw β) = ∫ z, D z * ∏ i ∈ s, tanh (exchangeField β (m i) z) ∂P.framedLaw β := by
145 induction s using Finset.induction_on with
146 | empty => simp
147 | @insert i s hi ih =>
148 let H := fun z => D z * ∏ j ∈ s, tanh (exchangeField β (m j) z)
149 have cH : Continuous H := hc.mul (continuous_finsetProd _ fun j _ =>
150 replica_tanh_continuous.comp (exchangeField_cont β (m j)))
151 have odd (z : WilsonReplicas l) (hz : P.IsPinned z) : H (exchangeLinks (m i) z) = -H z := by
152 have st (j) (hj : j ∈ s) := P.free_field_stable β (m j) (m i)
153 (hd j (Finset.mem_insert_of_mem hj) i (Finset.mem_insert_self ..) (fun eq => hi (eq ▸ hj))) hz
154 simp only [H, ha i (Finset.mem_insert_self ..) z hz, neg_mul]
155 rw [Finset.prod_congr rfl fun j hj => congrArg tanh (st j hj)]
156 rw [ih (fun j hj => ha j (Finset.mem_insert_of_mem hj))
157 (fun j hj k hk => hd j (Finset.mem_insert_of_mem hj) k (Finset.mem_insert_of_mem hk))]
158 change (∫ z, H z ∂P.framedLaw β) = _
159 rw [P.free_exchange β (m i) cH odd]
160 exact integral_congr_ae (.of_forall fun z => by simp [H, Finset.prod_insert hi]; ring)
161
162/-- Each mask interchanges the free links of exactly one endpoint and leaves the
163other endpoint's free links in place; the choice of endpoint may vary by mask.
164The covariance and sampling law are the original ones, not tree-conditioned laws. -/
165theorem free_plaquette_covariance (β : ℝ) (p q : Face l) {ι : Type*} [DecidableEq ι]
166 (s : Finset ι) (m : ι → Edge l → Bool)
167 (ends : ∀ i ∈ s, ∃ b : Bool, (∀ e ∈ P.freeFace p, m i e = b) ∧
168 (∀ e ∈ P.freeFace q, m i e = !b))
169 (hd : ∀ i ∈ s, ∀ j ∈ s, i ≠ j → ∀ a : Face l, P.freeUniform (m i) a ∨ P.freeUniform (m j) a) :
170 2 * wilsonCovariance β (wilsonPlaquetteTrace p) (wilsonPlaquetteTrace q) =
171 ∫ z, replicaDifference (wilsonPlaquetteTrace p) (wilsonPlaquetteTrace q) z *
172 ∏ i ∈ s, tanh (exchangeField β (m i) (P.pair z)) ∂replicaLaw l β := by
173 let D := replicaDifference (wilsonPlaquetteTrace p) (wilsonPlaquetteTrace q)
174 have cp := (wilsonPlaquetteTrace_variation p).continuous
175 have cq := (wilsonPlaquetteTrace_variation q).continuous
176 have cD : Continuous D := ((cp.comp continuous_fst).sub (cp.comp continuous_snd)).mul
177 ((cq.comp continuous_fst).sub (cq.comp continuous_snd))
178 have odd i (hi : i ∈ s) (z : WilsonReplicas l) (hz : P.IsPinned z) : D (exchangeLinks (m i) z) = -D z := by
179 obtain ⟨b,hp,hq⟩ := ends i hi
180 obtain ⟨p₁,p₂⟩ := P.trace_free p (m i) b hp hz
181 obtain ⟨q₁,q₂⟩ := P.trace_free q (m i) (!b) hq hz
182 cases b <;> simp [D, replicaDifference, p₁, p₂, q₁, q₂] <;> ring
183 have gauge (z : WilsonReplicas l) : D (P.pair z) = D z := by
184 simp [D, replicaDifference, pair, project, wilsonPlaquetteTrace_gauge_invariant]
185 have eq := P.free_shell_identity β s m cD odd hd
186 have cR : Continuous (fun z => D z * ∏ i ∈ s, tanh (exchangeField β (m i) z)) :=
187 cD.mul (continuous_finsetProd s fun i _ => replica_tanh_continuous.comp (exchangeField_cont β (m i)))
188 unfold framedLaw at eq
189 rw [integral_map P.pair_cont.measurable.aemeasurable cD.aestronglyMeasurable,
190 integral_map P.pair_cont.measurable.aemeasurable cR.aestronglyMeasurable] at eq
191 rw [twice_wilsonCovariance β cp cq]
192 simpa only [gauge] using eq
193
194/-- Dropping oddness gives a false one-mask identity: at zero coupling its
195right side vanishes for any mask, whereas the normalized integral of one is one. -/
196theorem no_exchange_without_odd (m : Edge l → Bool) :
197 (∫ _ : WilsonReplicas l, (1 : ℝ) ∂P.framedLaw 0) ≠
198 ∫ z, 1 * tanh (exchangeField 0 m z) ∂P.framedLaw 0 := by
199 simp [exchangeField, logWeight, Real.tanh_zero]
200
201#print axioms free_field_stable
202#print axioms freeBoundary_disjoint
203#print axioms free_anchor_labels
204#print axioms exchange_eq_on_free
205#print axioms free_exchange
206#print axioms free_shell_identity
207#print axioms free_plaquette_covariance
208#print axioms no_exchange_without_odd
209end
210end YangMills.PeriodicWilson.PinnedFrame