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/OneLinkTransport.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 / OneLinkTransport.lean` 410 lines · 21389 bytes Raw Blame History 1 -- SPDX-License-Identifier: Apache-2.0 2 import PhaseFourBridge 3 import Mathlib.Analysis.Calculus.LHopital 4 import Mathlib.Analysis.SpecialFunctions.Integrals.Basic 5 import Mathlib.Analysis.Complex.ExponentialBounds 6 import Mathlib.Analysis.SpecialFunctions.Trigonometric.DerivHyp 7 import Mathlib.MeasureTheory.Integral.IntervalIntegral.FundThmCalculus 8 import Mathlib.Analysis.SpecialFunctions.Trigonometric.Deriv 9 10 namespace YangMills.OneLinkTransport 11 12 open Real MeasureTheory 13 noncomputable section 14 15 def weight (r t : ℝ) := sin t ^ 2 * exp (r * cos t) 16 17 def transverseCost (r x : ℝ) := 18 x^2 / 27 + (2/3 : ℝ) * (1/3 - r * (1-x^2) * x / 6)^2 19 20 private theorem cosh_cap {u : ℝ} (h0 : 0 ≤ u) (h1 : u ≤ 7/4) : cosh u ≤ 7/2 := by 21 have h4 : exp u ^ 4 ≤ exp 1 ^ 7 := by 22 rw [← exp_nat_mul, ← exp_nat_mul, exp_le_exp] 23 norm_num; linarith 24 have h7 : exp 1 ^ 7 ≤ (2.72 : ℝ)^7 := pow_le_pow_left₀ (exp_pos _).le (by linarith [exp_one_lt_d9]) _ 25 have he : exp u ≤ 6 := by 26 by_contra! hh 27 have hh4 := pow_lt_pow_left₀ hh (by norm_num : (0:ℝ) ≤ 6) (by decide : 4 ≠ 0) 28 norm_num only [OfNat.ofNat, Nat.reducePow] at hh4 29 have hnum : (2.72:ℝ)^7 < 6^4 := by norm_num 30 linarith 31 rw [cosh_eq] 32 linarith [(exp_le_one_iff.mpr (neg_nonpos.mpr h0))] 33 34 private def excess (r t : ℝ) := weight r t * (transverseCost r (cos t) - 1/12) 35 36 private def primitive (r t : ℝ) := sin t ^ 3 * cos t * cosh (r * cos t) / 54 37 38 private def slope (r t : ℝ) := 39 sin t ^ 2 / 54 * ((3 * cos t ^ 2 - sin t ^ 2) * cosh (r*cos t) - 40 r * sin t ^ 2 * cos t * sinh (r*cos t)) 41 42 private theorem slope_spec (r t : ℝ) : HasDerivAt (primitive r) (slope r t) t := by 43 unfold primitive slope 44 apply HasDerivAt.congr_deriv (((((hasDerivAt_sin t).pow 3).mul (hasDerivAt_cos t)).mul 45 (((hasDerivAt_cos t).const_mul r).cosh)).div_const 54) 46 simp only [Pi.pow_apply, Pi.mul_apply] 47 ring 48 49 private theorem paired_excess {r t : ℝ} (hr : 0 ≤ r) (hr' : r ≤ 7/4) 50 (ht : t ∈ Set.Icc 0 (π/2)) : excess r t + excess r (π-t) ≤ slope r t := by 51 let x := cos t 52 have hx : 0 ≤ x := cos_nonneg_of_mem_Icc ⟨by linarith [ht.1, pi_pos], ht.2⟩ 53 have hx1 : x ≤ 1 := cos_le_one _ 54 have hy : 0 ≤ 1-x^2 := by nlinarith 55 have harg : r*x ≤ 7/4 := by nlinarith 56 have hs := self_le_sinh_iff.mpr (mul_nonneg hr hx) 57 have hc := cosh_cap (mul_nonneg hr hx) harg 58 have hcore : r*x*(1-x^2)*cosh (r*x) ≤ (7/2)*sinh (r*x) := calc 59 _ ≤ r*x*(1-x^2)*(7/2) := mul_le_mul_of_nonneg_left hc (by positivity) 60 _ ≤ (7/2)*(r*x) := by nlinarith [mul_nonneg (mul_nonneg hr hx) (sq_nonneg x)] 61 _ ≤ _ := by linarith 62 have hmult := mul_le_mul_of_nonneg_left hcore (show 0 ≤ r*x*(1-x^2)^2/27 by positivity) 63 dsimp [x] at hmult 64 unfold excess weight transverseCost slope 65 rw [sin_pi_sub, cos_pi_sub] 66 rw [show sin t ^ 2 = 1 - cos t ^ 2 by linarith [sin_sq_add_cos_sq t]] 67 rw [cosh_eq, sinh_eq] at hmult ⊢ 68 rw [mul_neg] 69 linarith only [hmult] 70 71 private theorem fold_cap {f g : ℝ → ℝ} (hf : Continuous f) (hg : Continuous g) 72 (h : ∀ t ∈ Set.Icc 0 (π/2), f t + f (π-t) ≤ g t) : 73 (∫ t in 0..π, f t) ≤ ∫ t in 0..π/2, g t := by 74 have hsub : Continuous (fun t => f (π-t)) := hf.comp (continuous_const.sub continuous_id) 75 have hh := intervalIntegral.integral_mono_on (μ := volume) (show 0 ≤ π/2 by positivity) 76 ((hf.add hsub).intervalIntegrable _ _) (hg.intervalIntegrable _ _) h 77 change (∫ t in 0..π/2, f t + f (π-t)) ≤ _ at hh 78 rw [intervalIntegral.integral_add (hf.intervalIntegrable _ _) (hsub.intervalIntegrable _ _), 79 intervalIntegral.integral_comp_sub_left, sub_zero, show π-π/2 = π/2 by ring, 80 intervalIntegral.integral_add_adjacent_intervals (hf.intervalIntegrable _ _) 81 (hf.intervalIntegrable _ _)] at hh 82 exact hh 83 84 private theorem slope_integral_zero (r : ℝ) : (∫ t in 0..π/2, slope r t) = 0 := by 85 have hd : Continuous (slope r) := by unfold slope; fun_prop 86 have hf := intervalIntegral.integral_eq_sub_of_hasDerivAt 87 (a := 0) (b := π/2) (fun t _ => slope_spec r t) (hd.intervalIntegrable _ _) 88 simpa [primitive] using hf 89 90 theorem sin_moment_cap {r : ℝ} (hr : 0 ≤ r) : 91 (∫ t in 0..π, weight r t * sin t^2) ≤ (3/4)*(∫ t in 0..π, weight r t) := by 92 let f := fun t => weight r t * sin t^2 - (3/4)*weight r t 93 have hc : Continuous f := by dsimp [f,weight]; fun_prop 94 have hd : Continuous (fun t => -27 * slope r t) := by unfold slope; fun_prop 95 have hh := fold_cap hc hd (by 96 intro t ht 97 dsimp [f, weight, slope] 98 rw [sin_pi_sub, cos_pi_sub, mul_neg] 99 have hx := cos_nonneg_of_mem_Icc (x := t) ⟨by linarith [pi_pos, ht.1], ht.2⟩ 100 have hp := mul_nonneg (mul_nonneg (mul_nonneg hr hx) (sq_nonneg ((sin t)^2))) 101 (sinh_nonneg_iff.mpr (mul_nonneg hr hx)) 102 rw [sinh_eq] at hp 103 rw [cosh_eq, sinh_eq] 104 have hs : sin t^2 = 1-cos t^2 := by linarith [sin_sq_add_cos_sq t] 105 rw [hs] at hp ⊢ 106 linarith only [hp]) 107 rw [intervalIntegral.integral_const_mul, slope_integral_zero, mul_zero] at hh 108 have ha : Continuous (fun t => weight r t * sin t^2) := by unfold weight; fun_prop 109 have hb : Continuous (fun t => (3/4:ℝ) * weight r t) := by unfold weight; fun_prop 110 dsimp [f] at hh 111 rw [intervalIntegral.integral_sub (ha.intervalIntegrable _ _) (hb.intervalIntegrable _ _), 112 intervalIntegral.integral_const_mul] at hh 113 linarith 114 115 /-- Integrated transverse field cost on S³ for every field up to 7/4. 116 The positive normalization is common to both sides. -/ 117 theorem transverse_field_cap {r : ℝ} (hr : r ∈ Set.Icc 0 (7/4)) : 118 (∫ t in 0..π, weight r t * transverseCost r (cos t)) ≤ 119 (∫ t in 0..π, weight r t) / 12 := by 120 have hc : Continuous (excess r) := by unfold excess weight transverseCost; fun_prop 121 have hd : Continuous (slope r) := by unfold slope; fun_prop 122 have hpair := fold_cap hc hd (fun t ht => paired_excess hr.1 hr.2 ht) 123 rw [slope_integral_zero] at hpair 124 have he : excess r = fun t => weight r t * transverseCost r (cos t) - weight r t * (1/12) := by 125 funext t; unfold excess; ring 126 have hw : Continuous (weight r) := by unfold weight; fun_prop 127 have hwc : Continuous (fun t => weight r t * transverseCost r (cos t)) := by unfold weight transverseCost; fun_prop 128 have hw12 : Continuous (fun t => weight r t * (1/12:ℝ)) := hw.mul continuous_const 129 rw [he, intervalIntegral.integral_sub (hwc.intervalIntegrable _ _) 130 (hw12.intervalIntegrable _ _), intervalIntegral.integral_mul_const] at hpair 131 linarith 132 133 theorem transverse_integral_cap {β r : ℝ} (hβ : β ≤ 7/25) 134 (hr : r ∈ Set.Icc 0 (6*β)) : 135 (∫ t in 0..π, weight r t * transverseCost r (cos t)) ≤ 136 (∫ t in 0..π, weight r t) / 12 := 137 transverse_field_cap ⟨hr.1, by linarith [hr.2]⟩ 138 139 private def reduced (F : ℝ → ℝ) (t : ℝ) := F t / sin t^2 140 141 open Filter Set 142 open scoped Topology InnerProductSpace 143 144 private theorem reduced_continuous {F : ℝ → ℝ} {r m : ℝ} 145 (hF : ∀ t, HasDerivAt F (weight r t * (cos t-m)) t) 146 (h0 : F 0 = 0) (hπ : F π = 0) : ContinuousOn (reduced F) (Icc 0 π) := by 147 have hf : Continuous F := continuous_iff_continuousAt.mpr (fun t => (hF t).continuousAt) 148 have hg (t : ℝ) : HasDerivAt (fun x => sin x^2) (2*sin t*cos t) t := by 149 apply HasDerivAt.congr_deriv ((hasDerivAt_sin t).pow 2) 150 ring 151 let q := fun x => weight r x * (cos x-m) / (2*sin x*cos x) 152 have hq : q = fun x => sin x * exp (r*cos x) * (cos x-m) / (2*cos x) := by 153 funext x 154 by_cases hs : sin x = 0 155 · simp [q, weight, hs] 156 by_cases hc : cos x = 0 157 · simp [q, weight, hc] 158 dsimp [q, weight]; field_simp 159 have hq0 : ContinuousAt q 0 := by rw [hq]; fun_prop (disch := norm_num) 160 have hqπ : ContinuousAt q π := by rw [hq]; fun_prop (disch := norm_num) 161 intro t ht 162 rcases eq_or_lt_of_le ht.1 with h | ha 163 · subst t 164 have h := HasDerivAt.lhopital_zero_right_on_Ico (show 0 < π/2 by positivity) 165 (fun x _ => hF x) (fun x _ => hg x) hf.continuousOn (continuous_sin.pow 2).continuousOn 166 (fun x hx => by 167 have hs := sin_pos_of_pos_of_lt_pi hx.1 (by linarith [hx.2, pi_pos]) 168 have hcos := cos_pos_of_mem_Ioo (x := x) ⟨by linarith [hx.1, pi_pos], hx.2⟩ 169 positivity) 170 h0 (by simp) (show Tendsto q (𝓝[>] 0) (𝓝 0) by simpa [q, weight] using (hq0.continuousWithinAt (s := Ioi 0)).tendsto) 171 have hh : ContinuousWithinAt (reduced F) (Ioi 0) 0 := by 172 change Tendsto (fun x => F x / sin x^2) _ (𝓝 (F _ / sin _^2)) 173 simpa using h 174 exact hh.insert.mono (fun x hx => (eq_or_lt_of_le hx.1).elim (fun e => Or.inl e.symm) Or.inr) 175 rcases eq_or_lt_of_le ht.2 with h | hb 176 · subst t 177 have h := HasDerivAt.lhopital_zero_left_on_Ioc (show π/2 < π by linarith [pi_pos]) 178 (fun x _ => hF x) (fun x _ => hg x) hf.continuousOn (continuous_sin.pow 2).continuousOn 179 (fun x hx => by 180 have hs := sin_pos_of_pos_of_lt_pi (by linarith [hx.1, pi_pos]) hx.2 181 have hcos := cos_neg_of_pi_div_two_lt_of_lt hx.1 (by linarith [hx.2, pi_pos]) 182 exact mul_ne_zero (by positivity) hcos.ne) 183 hπ (by simp) (show Tendsto q (𝓝[<] π) (𝓝 0) by simpa [q, weight] using (hqπ.continuousWithinAt (s := Iio π)).tendsto) 184 have hh : ContinuousWithinAt (reduced F) (Iio π) π := by 185 change Tendsto (fun x => F x / sin x^2) _ (𝓝 (F _ / sin _^2)) 186 simpa using h 187 exact hh.insert.mono (fun x hx => (eq_or_lt_of_le hx.2).elim Or.inl Or.inr) 188 exact hf.continuousWithinAt.div (continuous_sin.pow 2).continuousWithinAt (pow_ne_zero _ (sin_pos_of_pos_of_lt_pi ha hb).ne') 189 190 /-- A primitive for the one-dimensional weighted flux estimate. Written with the 191 reduced flux so that the formula is continuous at both poles. -/ 192 private def boundaryTerm (F K : ℝ → ℝ) (r m t : ℝ) := 193 F t * (cos t-m) - K t^2 / exp (r*cos t) * sin t * (3*cos t-3*r*sin t^2/5) 194 195 private def energyIntegrand (K : ℝ → ℝ) (r t : ℝ) := 196 K t^2 * sin t^2 / exp (r*cos t) 197 198 private def remainder (K : ℝ → ℝ) (r m t : ℝ) := 199 let s := sin t 200 let x := cos t 201 let e := exp (r*x) 202 let k := K t 203 (s*e*(x-m)-k*(3*x-3*r*s^2/5))^2/e + 204 6/25*r^2*s^4*k^2/e + 3/2*s^2/e*(k-e*s/3)^2 205 206 private def fluxSlope (K : ℝ → ℝ) (r m t : ℝ) := 207 (3/2)*energyIntegrand K r t - weight r t*sin t^2/6 + remainder K r m t 208 209 private theorem boundary_deriv {F : ℝ → ℝ} {r m t : ℝ} 210 (hF : HasDerivAt F (weight r t * (cos t-m)) t) (hs : sin t ≠ 0) : 211 HasDerivAt (boundaryTerm F (reduced F) r m) (fluxSlope (reduced F) r m t) t := by 212 let K := reduced F 213 have ht : F t = K t * sin t^2 := by dsimp [K,reduced]; field_simp 214 have dk : HasDerivAt K (exp (r*cos t)*(cos t-m)-2*K t*cos t/sin t) t := by 215 apply HasDerivAt.congr_deriv (hF.div ((hasDerivAt_sin t).pow 2) (pow_ne_zero _ hs)) 216 simp only [weight, Pi.pow_apply] 217 rw [ht]; field_simp; ring 218 have de := ((hasDerivAt_cos t).const_mul r).exp 219 have db := ((hasDerivAt_cos t).const_mul 3).sub 220 ((((hasDerivAt_sin t).pow 2).const_mul (3*r)).div_const 5) 221 apply HasDerivAt.congr_deriv ((hF.mul ((hasDerivAt_cos t).sub_const m)).sub 222 (((((dk.pow 2).div de (exp_pos _).ne').mul (hasDerivAt_sin t)).mul db))) 223 simp only [weight, fluxSlope, energyIntegrand, remainder, Pi.pow_apply, Pi.mul_apply, 224 Pi.div_apply, Pi.sub_apply] 225 rw [ht] 226 change _ = (3/2)*(K t^2*sin t^2/exp (r*cos t)) - 227 (sin t^2*exp (r*cos t))*sin t^2/6 + _ 228 field_simp [hs, (exp_pos (r*cos t)).ne'] 229 ring 230 231 private theorem flux_integral_cap {F : ℝ → ℝ} {r m : ℝ} (hr : 0 ≤ r) 232 (hF : ∀ t, HasDerivAt F (weight r t * (cos t-m)) t) 233 (h0 : F 0 = 0) (hπ : F π = 0) : 234 (∫ t in 0..π, energyIntegrand (reduced F) r t) ≤ (∫ t in 0..π, weight r t) / 12 := by 235 let K := reduced F 236 have hK : ContinuousOn K (Icc 0 π) := reduced_continuous hF h0 hπ 237 have hc : Continuous F := continuous_iff_continuousAt.mpr (fun t => (hF t).continuousAt) 238 have hn : ∀ t ∈ Icc (0:ℝ) π, exp (r*cos t) ≠ 0 := fun t _ => (exp_pos _).ne' 239 have hd : ContinuousOn (fluxSlope K r m) (Icc 0 π) := by 240 unfold fluxSlope energyIntegrand remainder weight 241 try dsimp only 242 fun_prop (disch := first | exact hn | (intros; positivity)) 243 have hb : ContinuousOn (boundaryTerm F K r m) (Icc 0 π) := by 244 unfold boundaryTerm; fun_prop (disch := first | exact hn | positivity) 245 have hz := intervalIntegral.integral_eq_sub_of_hasDerivAt_of_le pi_pos.le hb 246 (fun t ht => boundary_deriv (hF t) (sin_pos_of_pos_of_lt_pi ht.1 ht.2).ne') 247 (hd.intervalIntegrable_of_Icc pi_pos.le) 248 simp [boundaryTerm, hπ, h0] at hz 249 have ha : ContinuousOn (fun t => (3/2:ℝ)*energyIntegrand K r t) (Icc 0 π) := by 250 unfold energyIntegrand; fun_prop (disch := first | exact hn | positivity) 251 have hw : Continuous (fun t => weight r t*sin t^2/6) := by unfold weight; fun_prop 252 have hle := intervalIntegral.integral_mono_on (μ := volume) pi_pos.le 253 ((ha.sub hw.continuousOn).intervalIntegrable_of_Icc pi_pos.le) (hd.intervalIntegrable_of_Icc pi_pos.le) 254 (fun t _ => show (3/2)*energyIntegrand K r t - weight r t*sin t^2/6 ≤ fluxSlope K r m t by 255 unfold fluxSlope; apply le_add_of_nonneg_right; unfold remainder; positivity) 256 rw [hz] at hle 257 change (∫ t in 0..π, (3/2)*energyIntegrand K r t - weight r t*sin t^2/6) ≤ 0 at hle 258 rw [intervalIntegral.integral_sub (ha.intervalIntegrable_of_Icc pi_pos.le) (hw.intervalIntegrable _ _), 259 intervalIntegral.integral_const_mul, intervalIntegral.integral_div] at hle 260 change (∫ t in 0..π, energyIntegrand K r t) ≤ _ 261 linarith [sin_moment_cap hr] 262 263 def transverseEnergy (r : ℝ) := 264 (∫ t in 0..π, weight r t * transverseCost r (cos t)) / (∫ t in 0..π, weight r t) 265 266 def meanCos (r : ℝ) := 267 (∫ t in 0..π, weight r t * cos t) / (∫ t in 0..π, weight r t) 268 269 def polarFlux (r t : ℝ) := ∫ x in 0..t, weight r x * (cos x - meanCos r) 270 271 def parallelEnergy (r : ℝ) := 272 (∫ t in 0..π, polarFlux r t ^ 2 / weight r t) / (∫ t in 0..π, weight r t) 273 274 private theorem normalizer_pos {r : ℝ} (hr : 0 ≤ r) : 0 < ∫ t in 0..π, weight r t := by 275 have hc : Continuous (fun t : ℝ => sin t^2 * exp (-r)) := by fun_prop 276 have hw : Continuous (weight r) := by unfold weight; fun_prop 277 have hh := intervalIntegral.integral_mono_on (μ := volume) pi_pos.le 278 (hc.intervalIntegrable _ _) (hw.intervalIntegrable _ _) (fun t _ => 279 mul_le_mul_of_nonneg_left (exp_le_exp.mpr (by nlinarith [mul_nonneg hr (show 0 ≤ cos t+1 by linarith [neg_one_le_cos t])])) (sq_nonneg (sin t))) 280 rw [intervalIntegral.integral_mul_const] at hh 281 exact (mul_pos (integral_sin_pow_pos (n := 2)) (exp_pos _)).trans_le hh 282 283 private theorem polarFlux_hasDerivAt (r t : ℝ) : 284 HasDerivAt (polarFlux r) (weight r t * (cos t - meanCos r)) t := by 285 have hw : Continuous (weight r) := by unfold weight; fun_prop 286 have hc : Continuous (fun x => weight r x * (cos x - meanCos r)) := by fun_prop 287 exact intervalIntegral.integral_hasDerivAt_right (hc.intervalIntegrable _ _) 288 hc.aestronglyMeasurable.stronglyMeasurableAtFilter hc.continuousAt 289 290 private theorem polarFlux_pi {r : ℝ} (hr : 0 ≤ r) : polarFlux r π = 0 := by 291 have hZ := normalizer_pos hr 292 have hw : Continuous (weight r) := by unfold weight; fun_prop 293 simp only [polarFlux, mul_sub] 294 have ha : Continuous (fun x => weight r x * cos x) := hw.mul continuous_cos 295 have hb : Continuous (fun x => weight r x * meanCos r) := hw.mul continuous_const 296 rw [intervalIntegral.integral_sub (ha.intervalIntegrable _ _) (hb.intervalIntegrable _ _), 297 intervalIntegral.integral_mul_const] 298 unfold meanCos 299 field_simp 300 simp 301 302 /-- The radial trial speed extends continuously to both poles. -/ 303 theorem polarSpeed_continuousOn {r : ℝ} (hr : 0 ≤ r) : 304 ContinuousOn (fun t => polarFlux r t / weight r t) (Icc 0 π) := by 305 have h := (reduced_continuous (polarFlux_hasDerivAt r) (by simp [polarFlux]) (polarFlux_pi hr)).div 306 (continuous_exp.comp (continuous_const.mul continuous_cos)).continuousOn 307 (fun t _ => (exp_pos (r*cos t)).ne') 308 change ContinuousOn (fun t => (polarFlux r t / sin t^2) / exp (r*cos t)) _ at h 309 simpa only [weight,div_div] using h 310 311 theorem parallel_energy_cap {r : ℝ} (hr : 0 ≤ r) : parallelEnergy r ≤ 1/12 := by 312 have hZ := normalizer_pos hr 313 have hh := flux_integral_cap hr (polarFlux_hasDerivAt r) (by simp [polarFlux]) (polarFlux_pi hr) 314 have he : (fun t => energyIntegrand (reduced (polarFlux r)) r t) = 315 fun t => polarFlux r t ^ 2 / weight r t := by 316 funext t 317 by_cases hs : sin t = 0 318 · simp [energyIntegrand,reduced,weight,hs] 319 unfold energyIntegrand reduced weight 320 field_simp 321 rw [he] at hh 322 apply (div_le_iff₀ hZ).2 323 linarith 324 325 /-- Orthogonal combination of the two continuum trial-field costs on the entire staple 326 interval. The velocity-cost inequalities express the separate geometric transport step. -/ 327 theorem s3_w2_bound_on_staple_interval {β r c s Lpar Lperp : ℝ} (hβ : β ≤ 7/25) 328 (hr : r ∈ Set.Icc 0 (6*β)) (hUnit : c^2+s^2=1) 329 (hPolar : Lpar^2 ≤ parallelEnergy r) (hField : Lperp^2 ≤ transverseEnergy r) : 330 Real.sqrt (c^2*Lpar^2 + s^2*Lperp^2) ≤ 1/(2*Real.sqrt 3) := by 331 apply YangMills.WilsonPolymer.s3_w2_orthogonality_bound hUnit (hPolar.trans (parallel_energy_cap hr.1)) 332 apply hField.trans 333 apply (div_le_iff₀ (normalizer_pos hr.1)).2 334 linarith [transverse_integral_cap hβ hr] 335 336 /-- Combined trial energy in an arbitrary unit direction of the staple field. -/ 337 theorem s3_w2_orthogonality_bound {β r c s : ℝ} (hβ : β ≤ 7/25) (hr : r ∈ Icc 0 (6*β)) 338 (hu : c^2+s^2 = 1) : 339 Real.sqrt (c^2*parallelEnergy r + s^2*transverseEnergy r) ≤ 1/(2*Real.sqrt 3) := by 340 have hperp : transverseEnergy r ≤ 1/12 := by 341 apply (div_le_iff₀ (normalizer_pos hr.1)).2 342 linarith [transverse_integral_cap hβ hr] 343 have hp := mul_le_mul_of_nonneg_left (parallel_energy_cap hr.1) (sq_nonneg c) 344 have ht := mul_le_mul_of_nonneg_left hperp (sq_nonneg s) 345 apply (Real.sqrt_le_iff).2 346 refine ⟨by positivity, ?_⟩ 347 rw [div_pow, mul_pow, Real.sq_sqrt (by norm_num : (0:ℝ) ≤ 3)] 348 linarith 349 350 /-- The analytic estimate also covers every field of the last replay row, β = 0.288. 351 The degree counts in this trial do not identify a periodic Wilson coupling. -/ 352 theorem replay_endpoint_288 {r c s : ℝ} (hr : r ∈ Icc 0 (6*(36/125:ℝ))) 353 (hcs : c^2+s^2=1) : 354 (12*(36/125:ℝ))^2 * (c^2*parallelEnergy r + s^2*transverseEnergy r) ≤ 355 15552/15625 ∧ (15552:ℝ)/15625 < 1 := by 356 have cap := transverse_field_cap (r := r) ⟨hr.1, by linarith [hr.2]⟩ 357 have ht : transverseEnergy r ≤ 1/12 := by 358 apply (div_le_iff₀ (normalizer_pos hr.1)).2 359 linarith 360 have h1 := mul_le_mul_of_nonneg_left (parallel_energy_cap hr.1) (sq_nonneg c) 361 have h2 := mul_le_mul_of_nonneg_left ht (sq_nonneg s) 362 constructor <;> nlinarith 363 364 #print axioms replay_endpoint_288 365 366 /-- At the Phase IV endpoint the square of the proposed degree-12 coefficient is 367 940800 / `1000000`. This expression has no quadrature inputs. -/ 368 theorem phase4_endpoint_square : 369 ((12 : ℝ) * (1/(2*Real.sqrt 3)) * (7/25))^2 = 940800/`1000000` := by 370 have h := Real.sq_sqrt (by norm_num : (0:ℝ) ≤ 3) 371 rw [mul_pow, mul_pow, div_pow, mul_pow, h] 372 norm_num 373 374 /-- A degree-12 shell estimate using the actual one-link trial energy suffices for 375 the continuum gap at the Phase IV rate. Volume-uniform shell comparison, physical 376 spacing, the spectral limit, and vacuum support are independent physical inputs. -/ 377 theorem phase4_shell_limits_imply_mass_gap {H : YangMills.HilbertSpace} 378 {Labels : YangMills.FieldLabels} (T : YangMills.WightmanTheory H Labels) 379 (hW0 : T.W0) (hW1 : T.W1) {R β : ℝ} (hR : 0 < R) (hβ0 : 0 ≤ β) (hβ : β ≤ 7/25) : 380 let α := (12 : ℝ)*(1/(2*Real.sqrt 3))*(7/25) 381 let Δ := (1/R)*Real.log (1/α) 382 T.energyMomentum.diagonal T.fields.vacuum.1 (YangMills.UfbiBridge.energyGapStrip Δ) = 0 → 383 (∀ ψ : H.carrier, inner ℂ T.fields.vacuum.1 ψ = 0 → 384 ∃ f : ℕ → ℕ → ℝ, 385 (∀ k : ℕ, Tendsto (fun n => f n k) atTop 386 (𝓝 (∫ p, Real.exp (-((k : ℝ)*R)*YangMills.time p) ∂(T.energyMomentum.diagonal ψ)))) ∧ 387 ∀ n k, 0 ≤ f n k ∧ ∃ r c s : ℝ, r ∈ Icc 0 (6*β) ∧ c^2+s^2=1 ∧ 388 f n (k+1) ≤ 12*β*Real.sqrt (c^2*parallelEnergy r + s^2*transverseEnergy r)*f n k) → 389 YangMills.UfbiBridge.HasRelativisticMassGap T Δ := by 390 intro α Δ hv hs 391 have hα : 0 < α := by dsimp [α]; positivity 392 have h1 : α < 1 := by have he := phase4_endpoint_square; change α^2 = _ at he; nlinarith 393 apply YangMills.PhaseTwo.shell_limits_imply_relativistic_mass_gap T hW0 hW1 hR hα h1 hv 394 intro ψ hψ 395 obtain ⟨f, hf, hstep⟩ := hs ψ hψ 396 refine ⟨f, hf, fun n k => ?_⟩ 397 obtain ⟨hn, r, c, s, hr, hu, hh⟩ := hstep n k 398 apply hh.trans (mul_le_mul_of_nonneg_right _ hn) 399 calc 12*β*Real.sqrt _ ≤ 12*β*(1/(2*Real.sqrt 3)) := 400 mul_le_mul_of_nonneg_left (s3_w2_orthogonality_bound hβ hr hu) (by positivity) 401 _ ≤ α := by dsimp [α]; nlinarith [mul_le_mul_of_nonneg_right hβ (show 0 ≤ 1/(2*Real.sqrt 3) by positivity)] 402 403 #print axioms s3_w2_orthogonality_bound 404 #print axioms phase4_endpoint_square 405 #print axioms phase4_shell_limits_imply_mass_gap 406 #print axioms transverse_integral_cap 407 #print axioms parallel_energy_cap 408 #print axioms s3_w2_bound_on_staple_interval 409 end 410 end YangMills.OneLinkTransport