yang
This project has not described itself yet.
Brought by drakestapleton
yang / proofs / OneLinkTransport.lean
| 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³ over every staple field used at β ≤ 0.280. |
| 116 | The positive normalization is common to both sides. -/ |
| 117 | theorem transverse_integral_cap {β r : ℝ} (hβ : β ≤ 7/25) |
| 118 | (hr : r ∈ Set.Icc 0 (6*β)) : |
| 119 | (∫ t in 0..π, weight r t * transverseCost r (cos t)) ≤ |
| 120 | (∫ t in 0..π, weight r t) / 12 := by |
| 121 | have hc : Continuous (excess r) := by unfold excess weight transverseCost; fun_prop |
| 122 | have hd : Continuous (slope r) := by unfold slope; fun_prop |
| 123 | have hpair := fold_cap hc hd (fun t ht => paired_excess hr.1 (by linarith [hr.2]) ht) |
| 124 | rw [slope_integral_zero] at hpair |
| 125 | have he : excess r = fun t => weight r t * transverseCost r (cos t) - weight r t * (1/12) := by |
| 126 | funext t; unfold excess; ring |
| 127 | have hw : Continuous (weight r) := by unfold weight; fun_prop |
| 128 | have hwc : Continuous (fun t => weight r t * transverseCost r (cos t)) := by unfold weight transverseCost; fun_prop |
| 129 | have hw12 : Continuous (fun t => weight r t * (1/12:ℝ)) := hw.mul continuous_const |
| 130 | rw [he, intervalIntegral.integral_sub (hwc.intervalIntegrable _ _) |
| 131 | (hw12.intervalIntegrable _ _), intervalIntegral.integral_mul_const] at hpair |
| 132 | linarith |
| 133 | |
| 134 | private def reduced (F : ℝ → ℝ) (t : ℝ) := F t / sin t^2 |
| 135 | |
| 136 | open Filter Set |
| 137 | open scoped Topology InnerProductSpace |
| 138 | |
| 139 | private theorem reduced_continuous {F : ℝ → ℝ} {r m : ℝ} |
| 140 | (hF : ∀ t, HasDerivAt F (weight r t * (cos t-m)) t) |
| 141 | (h0 : F 0 = 0) (hπ : F π = 0) : ContinuousOn (reduced F) (Icc 0 π) := by |
| 142 | have hf : Continuous F := continuous_iff_continuousAt.mpr (fun t => (hF t).continuousAt) |
| 143 | have hg (t : ℝ) : HasDerivAt (fun x => sin x^2) (2*sin t*cos t) t := by |
| 144 | apply HasDerivAt.congr_deriv ((hasDerivAt_sin t).pow 2) |
| 145 | ring |
| 146 | let q := fun x => weight r x * (cos x-m) / (2*sin x*cos x) |
| 147 | have hq : q = fun x => sin x * exp (r*cos x) * (cos x-m) / (2*cos x) := by |
| 148 | funext x |
| 149 | by_cases hs : sin x = 0 |
| 150 | · simp [q, weight, hs] |
| 151 | by_cases hc : cos x = 0 |
| 152 | · simp [q, weight, hc] |
| 153 | dsimp [q, weight]; field_simp |
| 154 | have hq0 : ContinuousAt q 0 := by rw [hq]; fun_prop (disch := norm_num) |
| 155 | have hqπ : ContinuousAt q π := by rw [hq]; fun_prop (disch := norm_num) |
| 156 | intro t ht |
| 157 | rcases eq_or_lt_of_le ht.1 with h | ha |
| 158 | · subst t |
| 159 | have h := HasDerivAt.lhopital_zero_right_on_Ico (show 0 < π/2 by positivity) |
| 160 | (fun x _ => hF x) (fun x _ => hg x) hf.continuousOn (continuous_sin.pow 2).continuousOn |
| 161 | (fun x hx => by |
| 162 | have hs := sin_pos_of_pos_of_lt_pi hx.1 (by linarith [hx.2, pi_pos]) |
| 163 | have hcos := cos_pos_of_mem_Ioo (x := x) ⟨by linarith [hx.1, pi_pos], hx.2⟩ |
| 164 | positivity) |
| 165 | h0 (by simp) (show Tendsto q (𝓝[>] 0) (𝓝 0) by simpa [q, weight] using (hq0.continuousWithinAt (s := Ioi 0)).tendsto) |
| 166 | have hh : ContinuousWithinAt (reduced F) (Ioi 0) 0 := by |
| 167 | change Tendsto (fun x => F x / sin x^2) _ (𝓝 (F _ / sin _^2)) |
| 168 | simpa using h |
| 169 | exact hh.insert.mono (fun x hx => (eq_or_lt_of_le hx.1).elim (fun e => Or.inl e.symm) Or.inr) |
| 170 | rcases eq_or_lt_of_le ht.2 with h | hb |
| 171 | · subst t |
| 172 | have h := HasDerivAt.lhopital_zero_left_on_Ioc (show π/2 < π by linarith [pi_pos]) |
| 173 | (fun x _ => hF x) (fun x _ => hg x) hf.continuousOn (continuous_sin.pow 2).continuousOn |
| 174 | (fun x hx => by |
| 175 | have hs := sin_pos_of_pos_of_lt_pi (by linarith [hx.1, pi_pos]) hx.2 |
| 176 | have hcos := cos_neg_of_pi_div_two_lt_of_lt hx.1 (by linarith [hx.2, pi_pos]) |
| 177 | exact mul_ne_zero (by positivity) hcos.ne) |
| 178 | hπ (by simp) (show Tendsto q (𝓝[<] π) (𝓝 0) by simpa [q, weight] using (hqπ.continuousWithinAt (s := Iio π)).tendsto) |
| 179 | have hh : ContinuousWithinAt (reduced F) (Iio π) π := by |
| 180 | change Tendsto (fun x => F x / sin x^2) _ (𝓝 (F _ / sin _^2)) |
| 181 | simpa using h |
| 182 | exact hh.insert.mono (fun x hx => (eq_or_lt_of_le hx.2).elim Or.inl Or.inr) |
| 183 | exact hf.continuousWithinAt.div (continuous_sin.pow 2).continuousWithinAt (pow_ne_zero _ (sin_pos_of_pos_of_lt_pi ha hb).ne') |
| 184 | |
| 185 | /-- A primitive for the one-dimensional weighted flux estimate. Written with the |
| 186 | reduced flux so that the formula is continuous at both poles. -/ |
| 187 | private def boundaryTerm (F K : ℝ → ℝ) (r m t : ℝ) := |
| 188 | F t * (cos t-m) - K t^2 / exp (r*cos t) * sin t * (3*cos t-3*r*sin t^2/5) |
| 189 | |
| 190 | private def energyIntegrand (K : ℝ → ℝ) (r t : ℝ) := |
| 191 | K t^2 * sin t^2 / exp (r*cos t) |
| 192 | |
| 193 | private def remainder (K : ℝ → ℝ) (r m t : ℝ) := |
| 194 | let s := sin t |
| 195 | let x := cos t |
| 196 | let e := exp (r*x) |
| 197 | let k := K t |
| 198 | (s*e*(x-m)-k*(3*x-3*r*s^2/5))^2/e + |
| 199 | 6/25*r^2*s^4*k^2/e + 3/2*s^2/e*(k-e*s/3)^2 |
| 200 | |
| 201 | private def fluxSlope (K : ℝ → ℝ) (r m t : ℝ) := |
| 202 | (3/2)*energyIntegrand K r t - weight r t*sin t^2/6 + remainder K r m t |
| 203 | |
| 204 | private theorem boundary_deriv {F : ℝ → ℝ} {r m t : ℝ} |
| 205 | (hF : HasDerivAt F (weight r t * (cos t-m)) t) (hs : sin t ≠ 0) : |
| 206 | HasDerivAt (boundaryTerm F (reduced F) r m) (fluxSlope (reduced F) r m t) t := by |
| 207 | let K := reduced F |
| 208 | have ht : F t = K t * sin t^2 := by dsimp [K,reduced]; field_simp |
| 209 | have dk : HasDerivAt K (exp (r*cos t)*(cos t-m)-2*K t*cos t/sin t) t := by |
| 210 | apply HasDerivAt.congr_deriv (hF.div ((hasDerivAt_sin t).pow 2) (pow_ne_zero _ hs)) |
| 211 | simp only [weight, Pi.pow_apply] |
| 212 | rw [ht]; field_simp; ring |
| 213 | have de := ((hasDerivAt_cos t).const_mul r).exp |
| 214 | have db := ((hasDerivAt_cos t).const_mul 3).sub |
| 215 | ((((hasDerivAt_sin t).pow 2).const_mul (3*r)).div_const 5) |
| 216 | apply HasDerivAt.congr_deriv ((hF.mul ((hasDerivAt_cos t).sub_const m)).sub |
| 217 | (((((dk.pow 2).div de (exp_pos _).ne').mul (hasDerivAt_sin t)).mul db))) |
| 218 | simp only [weight, fluxSlope, energyIntegrand, remainder, Pi.pow_apply, Pi.mul_apply, |
| 219 | Pi.div_apply, Pi.sub_apply] |
| 220 | rw [ht] |
| 221 | change _ = (3/2)*(K t^2*sin t^2/exp (r*cos t)) - |
| 222 | (sin t^2*exp (r*cos t))*sin t^2/6 + _ |
| 223 | field_simp [hs, (exp_pos (r*cos t)).ne'] |
| 224 | ring |
| 225 | |
| 226 | private theorem flux_integral_cap {F : ℝ → ℝ} {r m : ℝ} (hr : 0 ≤ r) |
| 227 | (hF : ∀ t, HasDerivAt F (weight r t * (cos t-m)) t) |
| 228 | (h0 : F 0 = 0) (hπ : F π = 0) : |
| 229 | (∫ t in 0..π, energyIntegrand (reduced F) r t) ≤ (∫ t in 0..π, weight r t) / 12 := by |
| 230 | let K := reduced F |
| 231 | have hK : ContinuousOn K (Icc 0 π) := reduced_continuous hF h0 hπ |
| 232 | have hc : Continuous F := continuous_iff_continuousAt.mpr (fun t => (hF t).continuousAt) |
| 233 | have hn : ∀ t ∈ Icc (0:ℝ) π, exp (r*cos t) ≠ 0 := fun t _ => (exp_pos _).ne' |
| 234 | have hd : ContinuousOn (fluxSlope K r m) (Icc 0 π) := by |
| 235 | unfold fluxSlope energyIntegrand remainder weight |
| 236 | try dsimp only |
| 237 | fun_prop (disch := first | exact hn | (intros; positivity)) |
| 238 | have hb : ContinuousOn (boundaryTerm F K r m) (Icc 0 π) := by |
| 239 | unfold boundaryTerm; fun_prop (disch := first | exact hn | positivity) |
| 240 | have hz := intervalIntegral.integral_eq_sub_of_hasDerivAt_of_le pi_pos.le hb |
| 241 | (fun t ht => boundary_deriv (hF t) (sin_pos_of_pos_of_lt_pi ht.1 ht.2).ne') |
| 242 | (hd.intervalIntegrable_of_Icc pi_pos.le) |
| 243 | simp [boundaryTerm, hπ, h0] at hz |
| 244 | have ha : ContinuousOn (fun t => (3/2:ℝ)*energyIntegrand K r t) (Icc 0 π) := by |
| 245 | unfold energyIntegrand; fun_prop (disch := first | exact hn | positivity) |
| 246 | have hw : Continuous (fun t => weight r t*sin t^2/6) := by unfold weight; fun_prop |
| 247 | have hle := intervalIntegral.integral_mono_on (μ := volume) pi_pos.le |
| 248 | ((ha.sub hw.continuousOn).intervalIntegrable_of_Icc pi_pos.le) (hd.intervalIntegrable_of_Icc pi_pos.le) |
| 249 | (fun t _ => show (3/2)*energyIntegrand K r t - weight r t*sin t^2/6 ≤ fluxSlope K r m t by |
| 250 | unfold fluxSlope; apply le_add_of_nonneg_right; unfold remainder; positivity) |
| 251 | rw [hz] at hle |
| 252 | change (∫ t in 0..π, (3/2)*energyIntegrand K r t - weight r t*sin t^2/6) ≤ 0 at hle |
| 253 | rw [intervalIntegral.integral_sub (ha.intervalIntegrable_of_Icc pi_pos.le) (hw.intervalIntegrable _ _), |
| 254 | intervalIntegral.integral_const_mul, intervalIntegral.integral_div] at hle |
| 255 | change (∫ t in 0..π, energyIntegrand K r t) ≤ _ |
| 256 | linarith [sin_moment_cap hr] |
| 257 | |
| 258 | def transverseEnergy (r : ℝ) := |
| 259 | (∫ t in 0..π, weight r t * transverseCost r (cos t)) / (∫ t in 0..π, weight r t) |
| 260 | |
| 261 | def meanCos (r : ℝ) := |
| 262 | (∫ t in 0..π, weight r t * cos t) / (∫ t in 0..π, weight r t) |
| 263 | |
| 264 | def polarFlux (r t : ℝ) := ∫ x in 0..t, weight r x * (cos x - meanCos r) |
| 265 | |
| 266 | def parallelEnergy (r : ℝ) := |
| 267 | (∫ t in 0..π, polarFlux r t ^ 2 / weight r t) / (∫ t in 0..π, weight r t) |
| 268 | |
| 269 | private theorem normalizer_pos {r : ℝ} (hr : 0 ≤ r) : 0 < ∫ t in 0..π, weight r t := by |
| 270 | have hc : Continuous (fun t : ℝ => sin t^2 * exp (-r)) := by fun_prop |
| 271 | have hw : Continuous (weight r) := by unfold weight; fun_prop |
| 272 | have hh := intervalIntegral.integral_mono_on (μ := volume) pi_pos.le |
| 273 | (hc.intervalIntegrable _ _) (hw.intervalIntegrable _ _) (fun t _ => |
| 274 | 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))) |
| 275 | rw [intervalIntegral.integral_mul_const] at hh |
| 276 | exact (mul_pos (integral_sin_pow_pos (n := 2)) (exp_pos _)).trans_le hh |
| 277 | |
| 278 | private theorem polarFlux_hasDerivAt (r t : ℝ) : |
| 279 | HasDerivAt (polarFlux r) (weight r t * (cos t - meanCos r)) t := by |
| 280 | have hw : Continuous (weight r) := by unfold weight; fun_prop |
| 281 | have hc : Continuous (fun x => weight r x * (cos x - meanCos r)) := by fun_prop |
| 282 | exact intervalIntegral.integral_hasDerivAt_right (hc.intervalIntegrable _ _) |
| 283 | hc.aestronglyMeasurable.stronglyMeasurableAtFilter hc.continuousAt |
| 284 | |
| 285 | private theorem polarFlux_pi {r : ℝ} (hr : 0 ≤ r) : polarFlux r π = 0 := by |
| 286 | have hZ := normalizer_pos hr |
| 287 | have hw : Continuous (weight r) := by unfold weight; fun_prop |
| 288 | simp only [polarFlux, mul_sub] |
| 289 | have ha : Continuous (fun x => weight r x * cos x) := hw.mul continuous_cos |
| 290 | have hb : Continuous (fun x => weight r x * meanCos r) := hw.mul continuous_const |
| 291 | rw [intervalIntegral.integral_sub (ha.intervalIntegrable _ _) (hb.intervalIntegrable _ _), |
| 292 | intervalIntegral.integral_mul_const] |
| 293 | unfold meanCos |
| 294 | field_simp |
| 295 | simp |
| 296 | |
| 297 | /-- The radial trial speed extends continuously to both poles. -/ |
| 298 | theorem polarSpeed_continuousOn {r : ℝ} (hr : 0 ≤ r) : |
| 299 | ContinuousOn (fun t => polarFlux r t / weight r t) (Icc 0 π) := by |
| 300 | have h := (reduced_continuous (polarFlux_hasDerivAt r) (by simp [polarFlux]) (polarFlux_pi hr)).div |
| 301 | (continuous_exp.comp (continuous_const.mul continuous_cos)).continuousOn |
| 302 | (fun t _ => (exp_pos (r*cos t)).ne') |
| 303 | change ContinuousOn (fun t => (polarFlux r t / sin t^2) / exp (r*cos t)) _ at h |
| 304 | simpa only [weight,div_div] using h |
| 305 | |
| 306 | theorem parallel_energy_cap {r : ℝ} (hr : 0 ≤ r) : parallelEnergy r ≤ 1/12 := by |
| 307 | have hZ := normalizer_pos hr |
| 308 | have hh := flux_integral_cap hr (polarFlux_hasDerivAt r) (by simp [polarFlux]) (polarFlux_pi hr) |
| 309 | have he : (fun t => energyIntegrand (reduced (polarFlux r)) r t) = |
| 310 | fun t => polarFlux r t ^ 2 / weight r t := by |
| 311 | funext t |
| 312 | by_cases hs : sin t = 0 |
| 313 | · simp [energyIntegrand,reduced,weight,hs] |
| 314 | unfold energyIntegrand reduced weight |
| 315 | field_simp |
| 316 | rw [he] at hh |
| 317 | apply (div_le_iff₀ hZ).2 |
| 318 | linarith |
| 319 | |
| 320 | /-- Orthogonal combination of the two continuum trial-field costs on the entire staple |
| 321 | interval. The velocity-cost inequalities express the separate geometric transport step. -/ |
| 322 | theorem s3_w2_bound_on_staple_interval {β r c s Lpar Lperp : ℝ} (hβ : β ≤ 7/25) |
| 323 | (hr : r ∈ Set.Icc 0 (6*β)) (hUnit : c^2+s^2=1) |
| 324 | (hPolar : Lpar^2 ≤ parallelEnergy r) (hField : Lperp^2 ≤ transverseEnergy r) : |
| 325 | Real.sqrt (c^2*Lpar^2 + s^2*Lperp^2) ≤ 1/(2*Real.sqrt 3) := by |
| 326 | apply YangMills.WilsonPolymer.s3_w2_orthogonality_bound hUnit (hPolar.trans (parallel_energy_cap hr.1)) |
| 327 | apply hField.trans |
| 328 | apply (div_le_iff₀ (normalizer_pos hr.1)).2 |
| 329 | linarith [transverse_integral_cap hβ hr] |
| 330 | |
| 331 | /-- Combined trial energy in an arbitrary unit direction of the staple field. -/ |
| 332 | theorem s3_w2_orthogonality_bound {β r c s : ℝ} (hβ : β ≤ 7/25) (hr : r ∈ Icc 0 (6*β)) |
| 333 | (hu : c^2+s^2 = 1) : |
| 334 | Real.sqrt (c^2*parallelEnergy r + s^2*transverseEnergy r) ≤ 1/(2*Real.sqrt 3) := by |
| 335 | have hperp : transverseEnergy r ≤ 1/12 := by |
| 336 | apply (div_le_iff₀ (normalizer_pos hr.1)).2 |
| 337 | linarith [transverse_integral_cap hβ hr] |
| 338 | have hp := mul_le_mul_of_nonneg_left (parallel_energy_cap hr.1) (sq_nonneg c) |
| 339 | have ht := mul_le_mul_of_nonneg_left hperp (sq_nonneg s) |
| 340 | apply (Real.sqrt_le_iff).2 |
| 341 | refine ⟨by positivity, ?_⟩ |
| 342 | rw [div_pow, mul_pow, Real.sq_sqrt (by norm_num : (0:ℝ) ≤ 3)] |
| 343 | linarith |
| 344 | |
| 345 | /-- At the Phase IV endpoint the square of the proposed degree-12 coefficient is |
| 346 | 940800 / 1000000. This expression has no quadrature inputs. -/ |
| 347 | theorem phase4_endpoint_square : |
| 348 | ((12 : ℝ) * (1/(2*Real.sqrt 3)) * (7/25))^2 = 940800/1000000 := by |
| 349 | have h := Real.sq_sqrt (by norm_num : (0:ℝ) ≤ 3) |
| 350 | rw [mul_pow, mul_pow, div_pow, mul_pow, h] |
| 351 | norm_num |
| 352 | |
| 353 | /-- A degree-12 shell estimate using the actual one-link trial energy suffices for |
| 354 | the continuum gap at the Phase IV rate. Volume-uniform shell comparison, physical |
| 355 | spacing, the spectral limit, and vacuum support are independent physical inputs. -/ |
| 356 | theorem phase4_shell_limits_imply_mass_gap {H : YangMills.HilbertSpace} |
| 357 | {Labels : YangMills.FieldLabels} (T : YangMills.WightmanTheory H Labels) |
| 358 | (hW0 : T.W0) (hW1 : T.W1) {R β : ℝ} (hR : 0 < R) (hβ0 : 0 ≤ β) (hβ : β ≤ 7/25) : |
| 359 | let α := (12 : ℝ)*(1/(2*Real.sqrt 3))*(7/25) |
| 360 | let Δ := (1/R)*Real.log (1/α) |
| 361 | T.energyMomentum.diagonal T.fields.vacuum.1 (YangMills.UfbiBridge.energyGapStrip Δ) = 0 → |
| 362 | (∀ ψ : H.carrier, inner ℂ T.fields.vacuum.1 ψ = 0 → |
| 363 | ∃ f : ℕ → ℕ → ℝ, |
| 364 | (∀ k : ℕ, Tendsto (fun n => f n k) atTop |
| 365 | (𝓝 (∫ p, Real.exp (-((k : ℝ)*R)*YangMills.time p) ∂(T.energyMomentum.diagonal ψ)))) ∧ |
| 366 | ∀ n k, 0 ≤ f n k ∧ ∃ r c s : ℝ, r ∈ Icc 0 (6*β) ∧ c^2+s^2=1 ∧ |
| 367 | f n (k+1) ≤ 12*β*Real.sqrt (c^2*parallelEnergy r + s^2*transverseEnergy r)*f n k) → |
| 368 | YangMills.UfbiBridge.HasRelativisticMassGap T Δ := by |
| 369 | intro α Δ hv hs |
| 370 | have hα : 0 < α := by dsimp [α]; positivity |
| 371 | have h1 : α < 1 := by have he := phase4_endpoint_square; change α^2 = _ at he; nlinarith |
| 372 | apply YangMills.PhaseTwo.shell_limits_imply_relativistic_mass_gap T hW0 hW1 hR hα h1 hv |
| 373 | intro ψ hψ |
| 374 | obtain ⟨f, hf, hstep⟩ := hs ψ hψ |
| 375 | refine ⟨f, hf, fun n k => ?_⟩ |
| 376 | obtain ⟨hn, r, c, s, hr, hu, hh⟩ := hstep n k |
| 377 | apply hh.trans (mul_le_mul_of_nonneg_right _ hn) |
| 378 | calc 12*β*Real.sqrt _ ≤ 12*β*(1/(2*Real.sqrt 3)) := |
| 379 | mul_le_mul_of_nonneg_left (s3_w2_orthogonality_bound hβ hr hu) (by positivity) |
| 380 | _ ≤ α := by dsimp [α]; nlinarith [mul_le_mul_of_nonneg_right hβ (show 0 ≤ 1/(2*Real.sqrt 3) by positivity)] |
| 381 | |
| 382 | #print axioms s3_w2_orthogonality_bound |
| 383 | #print axioms phase4_endpoint_square |
| 384 | #print axioms phase4_shell_limits_imply_mass_gap |
| 385 | #print axioms transverse_integral_cap |
| 386 | #print axioms parallel_energy_cap |
| 387 | #print axioms s3_w2_bound_on_staple_interval |
| 388 | end |
| 389 | end YangMills.OneLinkTransport |