Yang–Mills: the 2026 Lean construction, rerun and read; the mass gap still open
OpenAI's 2026 Lean construction of 4D Yang–Mills as the expert group keeps it: settle what it proves, rerun it, read it; uniqueness and the mass gap are open, and Clay's problem unsolved

| 1 | import Mathlib.Analysis.Real.Pi.Bounds |
| 2 | import YM.Next.STATIONARY.OneLoop.Weights |
| 3 | |
| 4 | |
| 5 | set_option autoImplicit false |
| 6 | /-! |
| 7 | # K trajectory accounting. epoch: add shifted incoming; departures by ±q, |
| 8 | arch order always (-q,q) with both at common `b`. `Week` stable under |
| 9 | pay, back (with real flat), budget per field order. -/ |
| 10 | noncomputable section |
| 11 | namespace YM.Stationary |
| 12 | open Function Filter Lattice RG Exterior Precision Wilson Bloch Laurent Matrix Finset Tree Asymptotics Audience Metric |
| 13 | open scoped Topology ContDiff BigOperators InnerProductSpace ComplexConjugate |
| 14 | variable {ι κ α β γ : Type} [Fintype α] [DecidableEq α] [Fintype β] [DecidableEq β] [Fintype γ] [DecidableEq γ] {G : Gauge} {P : Patch} {V U : Jar G} {σ η A D C ζ r a : ℝ} {L T R M ρ : ι→ℝ} |
| 15 | |
| 16 | structure Burst (ι κ : Type) where |
| 17 | lens : ι → Track |
| 18 | boost : ι → Track |
| 19 | mark : ι → κ |
| 20 | |
| 21 | def heatXp (X : Burst ι κ) (e : ι→Track) (i) (z:ℝ) := axes (X.lens i) + axes (z • e i) |
| 22 | abbrev springM (X : Burst ι κ) (i t) := axes ((t:ℝ) • X.boost i) |
| 23 | abbrev KPath (ι κ α β : Type) := ι→Film κ α β |
| 24 | abbrev storm (X : Burst ι κ) (Y : KPath ι κ α β) (i) (t : ℝ) := (Y i).tab (axes (X.lens i)) |
| 25 | abbrev boomY (X : Burst ι κ) (Y : KPath ι κ α β) (e : ι→Track) (i t) := (Y i).tab (heatXp X e i t) |
| 26 | abbrev boltA (X : Burst ι κ) (Y : KPath ι κ α β) (e : ι→ Track) (i) (t : ℝ) := (Y i).spot (X.mark i) (axes (t • e i)) (axes (X.lens i)) |
| 27 | abbrev boltB (X : Burst ι κ) (Y : KPath ι κ α β) (e : ι→ Track) (i) (t : ℝ) := (Y i).spot (X.mark i) (-axes (t • e i)) (heatXp X e i t) |
| 28 | abbrev oozeY (X : Burst ι κ) (Y : KPath ι κ α β) (i) t := (Y i).arch (X.mark i) (X.mark i) (- springM X i t) (springM X i t) (axes (X.lens i)) |
| 29 | |
| 30 | def fibP (X : Burst ι κ) (ρ L : ι→ℝ) (Y : KPath ι κ α β) (e : ι→Track) := Fiesta ρ L (boomY X Y e) |
| 31 | def fibQ (X : Burst ι κ) (ρ L : ι→ℝ) (Y : KPath ι κ α β) (e : ι→Track) := Fiesta ρ (ρ⁻¹*L) (boltA X Y e) ∧ Fiesta ρ (ρ⁻¹*L) (boltB X Y e) |
| 32 | structure Week (X : Burst ι κ) (ρ L : ι→ℝ) (Y : KPath ι κ α β) : Prop where |
| 33 | front : fibP X ρ L Y X.boost |
| 34 | rear : fibP X ρ L Y (-X.boost) |
| 35 | tab : Fiesta ρ L (storm X Y) |
| 36 | spot : fibQ X ρ L Y X.boost |
| 37 | early : fibQ X ρ L Y (-X.boost) |
| 38 | pays : Fiesta ρ (ρ⁻¹^2*L) (oozeY X Y) |
| 39 | |
| 40 | namespace Week |
| 41 | variable {X : Burst ι κ} {Y Z : KPath ι κ α β} {U : KPath ι κ β γ} |
| 42 | lemma pair (h : Week X ρ L Y) (ht : Week X ρ T U) : Week X ρ (L*T) (fun i=> (Y i).pay (U i)) := by |
| 43 | have he e (hx : fibP X ρ L Y e) (hu : fibQ X ρ L Y e) (hv : fibP X ρ T U e) (hU : fibQ X ρ T U e) : fibQ X ρ (L*T) (fun i=>(Y i).pay (U i)) e := by |
| 44 | have ha := hu.1.pair ht.tab; have hc := Fiesta.pair hx hU.1 |
| 45 | rw [mul_assoc] at ha; rw [mul_left_comm] at hc |
| 46 | constructor; exact ha.plus hc |
| 47 | have hh := hu.2.pair hv; have ht := h.tab.pair hU.2; rw [mul_assoc] at hh; rw [mul_left_comm] at ht |
| 48 | refine (hh.plus ht).introp (fun i=> Eventually.of_forall fun p=>?_) |
| 49 | dsimp only [Pi.add_apply, storm,boomY,boltB,Film.pay,heatXp]; congr 3; abel |
| 50 | refine ⟨Fiesta.pair h.front ht.front,Fiesta.pair h.rear ht.rear, Fiesta.pair h.tab ht.tab,he _ h.front h.spot ht.front ht.spot,he _ h.rear h.early ht.rear ht.early,?_⟩ |
| 51 | have hp := h.pays.pair ht.tab; have hu := h.tab.pair ht.pays |
| 52 | have h1 := h.early.2.pair ht.early.1; have h2 := h.spot.2.pair ht.spot.1 |
| 53 | rw [mul_assoc] at hp; rw [mul_left_comm] at hu; rw [show ρ⁻¹*L*(ρ⁻¹*T)=ρ⁻¹^2*(L*T) by ring] at h1 h2 |
| 54 | refine (((hp.plus h1).plus h2).plus hu).introp fun i=> Eventually.of_forall fun p=>?_ |
| 55 | simp [storm,boltA, boltB, heatXp,smul_neg,axes_flip,oozeY,springM,Film.pay] |
| 56 | lemma merges (h : Week X ρ L Y) (he : Week X ρ L Z) : Week X ρ L (fun i=>(Y i).plus (Z i)) := ⟨Fiesta.plus h.front he.front,Fiesta.plus h.rear he.rear,Fiesta.plus h.tab he.tab,⟨h.spot.1.plus he.spot.1,h.spot.2.plus he.spot.2⟩,⟨h.early.1.plus he.early.1, h.early.2.plus he.early.2⟩,h.pays.plus he.pays⟩ |
| 57 | lemma grew (h : Week X ρ L Y) (he : L ≤ T) : Week X ρ T Y := by |
| 58 | obtain ⟨_,_,hk,_⟩ := h.tab |
| 59 | have ht : ρ⁻¹*L≤ρ⁻¹*T := fun i=> mul_le_mul_of_nonneg_left (he i) (inv_nonneg.mpr (hk i).1) |
| 60 | have hp : ρ⁻¹^2*L≤ρ⁻¹^2*T := fun i=> mul_le_mul_of_nonneg_left (he i) (sq_nonneg _) |
| 61 | exact ⟨Fiesta.grows h.front he,Fiesta.grows h.rear he,h.tab.grows he,⟨h.spot.1.grows ht,h.spot.2.grows ht⟩,⟨h.early.1.grows ht,h.early.2.grows ht⟩,h.pays.grows hp⟩ |
| 62 | lemma airshift (h : Week X ρ L Y) (T : ι→ℂ) (hv : ∀ i, ‖T i‖ ≤ M i) : Week X ρ (M*L) (fun i=> (Y i).weight (T i)) := by |
| 63 | refine ⟨Fiesta.costsP h.front T hv, Fiesta.costsP h.rear T hv,h.tab.costsP T hv,?_,?_,?_⟩ |
| 64 | · unfold fibQ; rw [mul_left_comm]; exact ⟨h.spot.1.costsP T hv,h.spot.2.costsP T hv⟩ |
| 65 | · unfold fibQ; rw [mul_left_comm]; exact ⟨h.early.1.costsP T hv,h.early.2.costsP T hv⟩ |
| 66 | rw [mul_left_comm]; exact h.pays.costsP T hv |
| 67 | lemma holds (h : ∀ i,0≤ρ i) (Q : CompM α β) : Week X ρ 1 (fun _=> Film.cardF (fun _=> Q)) := by |
| 68 | have hv : Fiesta ρ (ρ⁻¹*1) (fun _ _=> (0:CompM α β)) := Fiesta.seats (fun i=>⟨h _,mul_nonneg (inv_nonneg.mpr (h _)) zero_le_one⟩) _ rfl |
| 69 | have ht : Fiesta ρ (ρ⁻¹^2*1) (fun _ _=> (0:CompM α β)) := Fiesta.seats (fun i=>⟨h _,mul_nonneg (sq_nonneg _) zero_le_one⟩) _ rfl |
| 70 | exact ⟨Fiesta.subs h Q,Fiesta.subs h Q, Fiesta.subs h Q,⟨hv,hv⟩,⟨hv,hv⟩,ht⟩ |
| 71 | lemma zeroSet (h : ∀ i,0 ≤ρ i ∧ 0≤M i) : Week X ρ M (fun _=>Film.cardF (fun _=> (0:CompM α β))) := by |
| 72 | let hv := Fiesta.seats h (0:CompM α β) rfl |
| 73 | have ht : Fiesta ρ (ρ⁻¹*M) (fun _ _ => (0:CompM α β)) := Fiesta.seats (fun i=>⟨(h i).1,mul_nonneg (inv_nonneg.mpr (h i).1) (h i).2⟩) _ rfl |
| 74 | exact ⟨hv,hv,hv,⟨ht,ht⟩,⟨ht,ht⟩,Fiesta.seats (fun i => ⟨(h i).1,mul_nonneg (sq_nonneg _) (h i).2⟩) _ rfl⟩ |
| 75 | end Week |
| 76 | end YM.Stationary |
| 77 | end |
| 78 | |
| 79 | /-! |
| 80 | # Absolute Γ mass vertices. positivity prevents M-cost loss. Explicit prizes |
| 81 | under Week inverse. -/ |
| 82 | noncomputable section |
| 83 | namespace YM.Stationary |
| 84 | open Function Filter Lattice RG Exterior Precision Wilson Bloch Laurent Matrix Finset Tree Asymptotics Audience Metric |
| 85 | open scoped Topology ContDiff BigOperators InnerProductSpace ComplexConjugate |
| 86 | variable {ι κ α β γ : Type} [Fintype α] [DecidableEq α] [Fintype β] [DecidableEq β] [Fintype γ] [DecidableEq γ] {G : Gauge} {P : Patch} {σ η A D C ζ r a : ℝ} {L T R M ρ : ι→ℝ} |
| 87 | |
| 88 | section eclipse |
| 89 | variable {Y : KPath ι κ α α} {X : Burst ι κ} |
| 90 | structure Tall (X : Burst ι κ) (L : ι→ℝ) (Y : KPath ι κ α α) : Prop where |
| 91 | positive : ∀ i,0<L i |
| 92 | keeps : ∀ i, IsUnit (storm X Y i 0).det |
| 93 | marble : ∃ A : ℝ,0≤A∧ ∀ i,vflux ((storm X Y i 0)⁻¹)≤A/L i |
| 94 | |
| 95 | lemma Tall.storms (h : Tall X L Y) (hp : Fiesta ρ L (storm X Y)) : Fiesta ρ L⁻¹ (fun i t=> (storm X Y i t)⁻¹) := hp.inv (fun i=> ⟨h.positive i,h.keeps i⟩) h.marble |
| 96 | lemma Tall.beats (h : Tall X L Y) {e : ι→Track} (hp : fibP X ρ L Y e) : Fiesta ρ L⁻¹ (fun i t=> (boomY X Y e i t)⁻¹) := by |
| 97 | apply Fiesta.inv hp |
| 98 | · intro i; refine ⟨h.positive i,?_⟩; unfold boomY heatXp; rw [zero_smul,axes_origin,add_zero]; exact h.keeps _ |
| 99 | unfold boomY heatXp; simp only [zero_smul,axes_origin,add_zero]; exact h.marble |
| 100 | |
| 101 | lemma Week.invW (h : Week X ρ L Y) (ht : Tall X L Y) : Week X ρ L⁻¹ (fun i=> (Y i).back) := by |
| 102 | let W i := (Y i).back |
| 103 | have hv := ht.storms h.tab |
| 104 | have hy : L⁻¹*L=1 := by funext i; exact inv_mul_cancel₀ (ht.positive i).ne' |
| 105 | have hh e (hp : fibP X ρ L Y e) (hq : fibQ X ρ L Y e) : fibQ X ρ L⁻¹ W e := by |
| 106 | obtain ⟨hQ,hV⟩ := hq; have he := ht.beats hp |
| 107 | have h₁ := (he.pair hQ).pair hv |>.neg |
| 108 | have h₂ := (hv.pair hV).pair he |>.neg |
| 109 | rw [show L⁻¹*(ρ⁻¹*L)*L⁻¹=ρ⁻¹*L⁻¹ by rw [mul_left_comm L⁻¹, hy, mul_one]] at h₁ h₂ |
| 110 | refine ⟨h₁,h₂.introp fun i=> Eventually.of_forall fun t=>?_⟩ |
| 111 | simp [storm,boltB,boomY,heatXp,W,Film.back,Film.vSpot,Film.coupon] |
| 112 | have hm := hh _ h.rear h.early; have hs := hh _ h.front h.spot |
| 113 | refine ⟨ht.beats h.front,ht.beats h.rear,hv, hs,hm, ?_⟩ |
| 114 | have h1 := hm.2.pair h.early.1; have h2 := hs.2.pair h.spot.1; have h3 := hv.pair h.pays |
| 115 | rw [show ρ⁻¹*L⁻¹*(ρ⁻¹*L)=ρ⁻¹^2 by rw [mul_mul_mul_comm,hy,mul_one,sq]] at h1 h2 |
| 116 | rw [mul_left_comm L⁻¹,hy,mul_one] at h3 |
| 117 | refine (((h1.plus h2).plus h3 |>.pair hv).neg).introp fun i=> Eventually.of_forall fun t=>?_ |
| 118 | simp only [boltB,boltA,storm,heatXp,W,Film.back,oozeY,Pi.add_apply, Pi.smul_apply,Pi.neg_apply,axes_flip, springM,smul_neg,neg_neg,neg_add_cancel,add_zero]; rfl |
| 119 | lemma Week.triple (h : Week X ρ L Y) : Week X ρ (L*L*L) (fun i=> tripleFilm (Y i)) := (h.pair h).pair h |
| 120 | end eclipse |
| 121 | |
| 122 | section pace |
| 123 | variable (X : Burst ι (Fslot G)) {ρ μ : ι→ℝ} |
| 124 | lemma chertWeek (h : Week X ρ (ρ^2) (fun i=> cinder G (μ i))) (he : Tall X (ρ^2) (fun i => cinder G (μ i))) (hp : μ ≤ ρ) (hm : ∀ i,0<μ i) : Week X ρ 1 (fun i=> chert G (μ i)) := by |
| 125 | refine Week.grew (L:=μ^2*(ρ^2)⁻¹) (Week.airshift (h.invW he) (M:=μ^2) (fun i=> ((μ i^2:ℝ):ℂ)) (fun i=>by rw [Complex.norm_real, Real.norm_of_nonneg (sq_nonneg _)]; rfl |
| 126 | )) ?_ |
| 127 | intro i; change μ i^2*(ρ i^2)⁻¹≤1; rw [← div_eq_mul_inv,div_le_one (pow_pos ((hm i).trans_le (hp i)) 2)]; exact pow_le_pow_left₀ (hm i).le (hp i) _ |
| 128 | lemma cannonWeek (h : Week X ρ 1 (fun i=> chert G (μ i))) : Week X ρ (μ^2) (fun i=> chisel G (μ i)) := by |
| 129 | have hv := h.triple.triple; simp only [one_mul] at hv |
| 130 | let Y := fun i=> tripleFilm (tripleFilm (chert G (μ i))) |
| 131 | change Week X ρ (μ^2) (fun i => (Y i).weight (((μ i)^2:ℝ):ℂ)); |
| 132 | have ht : Week X ρ (μ^2*1) (fun i=> (Y i).weight ((μ i^2:ℝ):ℂ)) := hv.airshift _ (fun i=> by rw [Complex.norm_real,Real.norm_of_nonneg (sq_nonneg _)]; rfl) |
| 133 | rwa [mul_one] at ht |
| 134 | lemma stoneWeek (h : Week X ρ (μ^2) (fun i=> chisel G (μ i))) (hp : ∀ i,0 < ρ i) : Week X ρ (μ^2) (fun i=> graniteF G (μ i)) := by |
| 135 | have ht (a : Axis) : Week X ρ 1 (fun _=>Film.cardF (fun _=>dasher G a)) := Week.holds (fun i=> (hp i).le) _ |
| 136 | have hy (a : Axis) : Week X ρ 1 (fun _=> (Film.cardF (fun _=> dasher G a)).rear) := Week.holds (fun i=> (hp i).le) (dasher G a)ᵀ |
| 137 | have he (a : Axis) : Week X ρ (μ^2) (fun i => stony G (μ i) a) := by |
| 138 | have hz := ((hy a).pair h).pair (ht a); simp only [one_mul,mul_one] at hz; exact hz |
| 139 | have hl (v : List Axis) : Week X ρ (μ^2) (fun i => chore v (stony G (μ i))) := by induction v with |
| 140 | | nil => exact Week.zeroSet (fun i => ⟨(hp i).le,sq_nonneg (μ i)⟩) |
| 141 | | cons a l hi => exact (he a).merges hi |
| 142 | exact hl _ |
| 143 | end pace |
| 144 | end YM.Stationary |
| 145 | end |
| 146 | |
| 147 | /-! |
| 148 | # Inner norm r. lattice floor REST in uniform cube. `ColdR` links scales |
| 149 | β scratch all before L. Choose ramps to accept T both ≤2*µ and ≤2*r. |
| 150 | No denominator outside t root demanded. -/ |
| 151 | set_option linter.unusedSectionVars false |
| 152 | noncomputable section |
| 153 | namespace YM.Stationary |
| 154 | open Function Filter Lattice RG Exterior Precision Wilson Bloch Laurent Matrix Finset Tree Asymptotics Audience Metric |
| 155 | open scoped Topology ContDiff BigOperators InnerProductSpace ComplexConjugate |
| 156 | variable {ι κ α : Type} [Fintype α] [DecidableEq α] {G : Gauge} {V U : Jar G} {σ η A D C ζ r a : ℝ} {L T μ : ι→ℝ} |
| 157 | |
| 158 | -- Sup coordinate fundamental; measure transfer via E4 later |
| 159 | def flay (p : Track) := ‖(WithLp.toLp 2 p : EuclideanSpace ℝ Axis)‖ |
| 160 | lemma orbit_nonneg (p) : 0 ≤ flay p := norm_nonneg _ |
| 161 | lemma orbit_sqr (p) : flay p^2=∑ i,(p i)^2 := by |
| 162 | apply (EuclideanSpace.norm_sq_eq ..).trans; simp |
| 163 | lemma orbit_at (p) : ‖p‖≤flay p := by |
| 164 | apply (pi_norm_le_iff_of_nonneg (orbit_nonneg p)).2; intro i |
| 165 | rw [← pow_le_pow_iff_left₀ (norm_nonneg _) (orbit_nonneg _) (by decide : 2≠0),orbit_sqr,Real.norm_eq_abs,sq_abs]; exact single_le_sum (s:=univ) (f:=fun i => p i^2) (fun _ _ => sq_nonneg _) (mem_univ i) |
| 166 | lemma orbit_boundary (p : Track) (h : Nave (axes p)) : flay p ≤ 2 * Real.pi := by |
| 167 | have H : flay p^2 ≤ ∑ _ : Axis, Real.pi^2 := by |
| 168 | rw [orbit_sqr]; refine sum_le_sum fun i _ => ?_; rw [← sq_abs]; exact pow_le_pow_left₀ (abs_nonneg _) (h i) _ |
| 169 | rw [← pow_le_pow_iff_left₀ (orbit_nonneg _) (by positivity) (by decide : 2≠0)]; simp at H; exact H.trans_eq (by ring) |
| 170 | lemma orbit_lower (p : Track) (h : Nave (axes p)) : 1/4* flay p ≤ shadeK (axes p) := by |
| 171 | let f := shadeK (axes p); have hf : 0≤f := slug_nonneg _ |
| 172 | rw [← pow_le_pow_iff_left₀ (mul_nonneg (by norm_num) (orbit_nonneg p)) hf (by decide : 2≠0),mul_pow, orbit_sqr,Finset.mul_sum]; unfold f; rw [shadeK,slug_sq]; |
| 173 | refine sum_le_sum fun i _ => ?_ |
| 174 | rw [← sq_abs (p i), ← mul_pow] |
| 175 | let T := Real.pi |
| 176 | have hx := real_q_lower (ground_real (axes p)) i (show |(ground (axes p) i).re|≤T from h i) |
| 177 | have he : (1:ℝ)/4 ≤ 2/Real.pi := by rw [le_div_iff₀ Real.pi_pos]; linarith [Real.pi_lt_four] |
| 178 | apply pow_le_pow_left₀ (by positivity); exact (mul_le_mul_of_nonneg_right he (abs_nonneg _)).trans hx |
| 179 | |
| 180 | structure ColdR (X : Burst ι κ) (T μ : ι→ℝ) (A : ℝ) : Prop where |
| 181 | topC : 0≤A |
| 182 | lower i : 0<T i |
| 183 | upper i : T i ≤ A |
| 184 | avail i : ‖X.boost i‖ ≤1 |
| 185 | norm i : flay (X.lens i) ≤ T i |
| 186 | pos i : 0<μ i |
| 187 | flow i : T i ≤ flay (X.lens i) + μ i |
| 188 | lease i : μ i ≤ T i |
| 189 | slim i : μ i ≤ 1 |
| 190 | stage i : Nave (axes (X.lens i)) |
| 191 | -- common cap relation r². can take R=µ+|k| or R=r (µ≤r). circle arc derivative scales compar equal to T. |
| 192 | section height |
| 193 | variable {X : Burst ι κ} |
| 194 | |
| 195 | lemma cold_safe (h : ColdR X T μ A) (i) : 1/64*T i^2 ≤ pebWeight (axes (X.lens i)) (μ i) := by |
| 196 | let a := flay (X.lens i) |
| 197 | let b := shadeK (axes (X.lens i)) |
| 198 | have he : (1:ℝ)/4 * a ≤ b := orbit_lower _ (h.stage i) |
| 199 | have hh : T i ≤ a+μ i := h.flow i |
| 200 | have ha : 0 ≤ a := orbit_nonneg _; have hb : 0 ≤ b := slug_nonneg _; have ht := h.lower i |
| 201 | change _≤b^2+_; nlinarith [pow_le_pow_left₀ ht.le hh 2, sq_nonneg (a-μ i),pow_le_pow_left₀ (mul_nonneg (by norm_num) ha) he 2] |
| 202 | lemma solidT {Y : KPath ι κ α α} {a : ℝ} (h : ∀ i, Stable (storm X Y i 0) (a*T i)) (ha : 0<a) (ht : ∀ i,0<T i) : Tall X T Y := by |
| 203 | refine ⟨ht,fun i=> (h i).safe (mul_pos ha (ht i)), a⁻¹,(inv_pos.mpr ha).le,fun i=> (Stable.bill (h i) (mul_pos ha (ht i))).trans_eq (by field_simp)⟩ |
| 204 | end height |
| 205 | section pact |
| 206 | variable {X : Burst ι (Fslot G)} |
| 207 | lemma cinderTall (h : ColdR X T μ A) : Tall X (T^2) (fun i=> cinder G (μ i)) := by |
| 208 | let F i := cinder G (μ i) |
| 209 | have he (i) : Stable (storm X F i 0) (1/64*(T^2) i) := by |
| 210 | let p := axes (X.lens i) |
| 211 | intro b; unfold storm; simp only [F,crumbly (σ:=1) zero_lt_one _ (Work.F07.realStrip _ zero_lt_one (axes_real (X.lens i))),Matrix.smul_mulVec,Matrix.one_mulVec] |
| 212 | rw [slug_scale]; apply mul_le_mul_of_nonneg_right _ (slug_nonneg b) |
| 213 | let k := μ i |
| 214 | have hk : soda k p= ↑(pebWeight p k) := by unfold soda pebWeight; rw [stone_real (axes_real _)]; push_cast; rfl |
| 215 | rw [hk,Complex.norm_real,Real.norm_of_nonneg (peb_pos _ (h.pos _) |>.le)]; exact cold_safe h i |
| 216 | exact solidT he (by norm_num) (fun i=> pow_pos (h.lower _) _) |
| 217 | lemma grainTall (h : ColdR X T μ A) : Tall X (T^2) (fun i => coring G (μ i)) := by |
| 218 | let F i := coring G (μ i); have hv i : Stable (storm X F i 0) ((1:ℝ)/(2^10)*(1/64)*(T^2) i) := by |
| 219 | unfold storm F; rw [flakeTabs (h.pos _) (h.slim _) _ (Work.F07.realStrip _ (mul_pos (h.pos i) (by norm_num)) (axes_real _))]; |
| 220 | exact (stable_real (fun v=> throne_floor (p:=axes (X.lens i)) v (axes_real _) (h.pos i))).mono (by rw [mul_assoc]; exact mul_le_mul_of_nonneg_left (cold_safe h i) (by norm_num)) |
| 221 | exact solidT hv (by norm_num) (fun i=> pow_pos (h.lower _) _) |
| 222 | |
| 223 | structure Skuta (ι : Type) (G : Gauge) where |
| 224 | light : ι → Jar G |
| 225 | terra : ι → Bed |
| 226 | top : ι → Clip |
| 227 | σ : ι →ℝ |
| 228 | μ : ι →ℝ |
| 229 | variable {S : Skuta ι G} |
| 230 | def Skuta.Live (S : Skuta ι G) (η D ε C : ℝ) (V : Jar G) : Prop := ∀ i, |
| 231 | let f := S.light i |
| 232 | let W := (f.combine V).cast |
| 233 | HouseWord G (S.terra i) (S.top i) D ε (S.σ i) D (S.μ i) W ∧ f.fees η C ∧ f.soft 3 |
| 234 | -- same ε everywhere even if model epochs varying. |
| 235 | lemma granaryTall {B : ι→Bed} {p : ι→Clip} {σ : ι→ℝ} {F : ι→KindF G} {ε : ℝ} (h : ColdR X T μ A) (he : ∀ i, HouseWord G (B i) (p i) D ε (σ i) C (μ i) (F i)) (hx : 0<ε) : Tall X (T^2) (fun i=>massif G (μ i) (F i)) := by |
| 236 | let K i := massif G (μ i) (F i); let L := min ε 1/(2^10:ℝ) |
| 237 | have hL : 0 < L := div_pos (lt_min hx zero_lt_one) (by norm_num) |
| 238 | have ht i : Stable (storm X K i 0) (L*(1/64)*(T^2) i) := by |
| 239 | let V := he i |
| 240 | unfold storm K; rw [V.pact _ (Work.F07.realStrip _ V.pos (axes_real _))] |
| 241 | exact (stable_real (fun x=> dais_floor (axes_real _) (p i) (B i) (h.pos i) x V.metric V.pos V.lower hx)).mono (by rw [mul_assoc]; exact mul_le_mul_of_nonneg_left (cold_safe h i) hL.le) |
| 242 | exact solidT ht (by positivity) (fun i=> pow_pos (h.lower _) _) |
| 243 | end pact |
| 244 | end YM.Stationary |
| 245 | end |
| 246 | |
| 247 | /-! |
| 248 | # Bare heat matched kernel. Arch only O(D^4) real directions; no leading |
| 249 | claim for arch. Budget `Cast` for true Legend filters. |
| 250 | -/ |
| 251 | noncomputable section |
| 252 | namespace YM.Stationary |
| 253 | open Function Filter Lattice RG Exterior Precision Wilson Bloch Laurent Matrix Finset Tree Asymptotics Audience Metric |
| 254 | open scoped Topology ContDiff BigOperators InnerProductSpace ComplexConjugate |
| 255 | variable {ι κ α β γ : Type} [Fintype α] [DecidableEq α] {G : Gauge} {P : Patch} {V U : Jar G} {σ η A D C ζ r a ε : ℝ} {T μ : ι →ℝ} {n : ℕ} |
| 256 | |
| 257 | section tenor |
| 258 | lemma patrol_house {ι : Type} [Fintype ι] {F : Film ι α α} (v : ℝ) (n) (h : Play F σ) (hp : 0<σ) (a : γ→ι) : Patrol n v (fun _:γ=>ashP F) ∧ Patrol n v (fun i=>ashQ F (a i)) ∧ Patrol n v (fun i => ashR F (a i)) := ⟨Patrol.marries (fun _:Unit=>ashP F) (fun _ x i j=> h.tab.craft hp x i j) (fun _=>()) _ _, Patrol.marries (ashQ F) (fun b x i j=> (h.spot b).windowR hp x i j) _ _ _, Patrol.marries (ashR F) (fun b x i j=> archiveR h hp x b i j) _ _ _⟩ |
| 259 | lemma patrol_president (U : ι→Jar G) (ρ : ℝ) (h : ∀ i,(U i).fees σ C) (hp : 0<σ) (n : ℕ) (b : ι→ Fslot G) : |
| 260 | Patrol n ρ (fun i=> ashP (U i).cast) ∧ Patrol n ρ (fun i=> ashQ (U i).cast (b i)) ∧ Patrol n ρ (fun i=> ashR (U i).cast (b i)) := by |
| 261 | have hu (f : ℕ→ℝ) : ∃ C : ℝ,0≤C ∧ ∀ j≤n,f j≤C := ⟨∑ j∈Finset.range (n+1),|f j|,sum_nonneg fun i _=>abs_nonneg _,fun i hi=> (le_abs_self _).trans (single_le_sum (f:=fun j=>|f j|) (fun j _=>abs_nonneg _) (mem_range.mpr (by omega)))⟩ |
| 262 | obtain ⟨A,hA,X⟩ := hu (fun j=>C*circleTax σ j*‖coaxes‖^j) |
| 263 | obtain ⟨B,hB,Y⟩ := hu (fun j=>C*circleTax σ j*‖centaur‖^j) |
| 264 | obtain ⟨D,hD,W⟩ := hu (fun j=>C*circleTax σ j*‖cinnamon‖^j) |
| 265 | refine ⟨⟨A,hA,fun i j l=> ⟨fun x=> (h i).live.tab.craft hp _ _ _, fun p hx t hn => (ashCost1 (h i) p j l t).trans (X t hn)⟩⟩,⟨B,hB,fun i j l=> ⟨fun x=> ((h i).live.spot (b i)).windowR hp x j l,fun p hx t hn => (ashCost2 (h i) p (b i) j l t).trans (Y t hn)⟩⟩, |
| 266 | D,hD,fun i j l=> ⟨fun x=> archiveR (h i).live hp x (b i) j l,fun p hx t hn => (ashCost3 (h i) p (b i) j l t).trans (W t hn)⟩⟩ |
| 267 | end tenor |
| 268 | |
| 269 | section focus |
| 270 | variable {X : Burst ι κ} {F : KPath ι κ α α} |
| 271 | def Enclave (κ α : Type) [DecidableEq α] (V : κ→ Track→Track →CompM α α) : Prop := ∀ i j k, (∀ x : GlideTrack, AnalyticAt ℝ (fun z : GlideTrack=>V i z.1 z.2 j k) x) ∧ Rays 1 (fun z : GlideTrack=> V i z.1 z.2 j k) |
| 272 | |
| 273 | structure Floe (X : Burst ι κ) (F : KPath ι κ α α) (V : κ→ Track→Track →CompM α α) (r : ℝ) : Prop where |
| 274 | paid : Enclave κ α V |
| 275 | cap0 : Patrol 3 r (fun i=> ashP (F i)) |
| 276 | cap1 : Patrol 2 r (fun i=> ashQ (F i) (X.mark i)) |
| 277 | cap2 : Patrol 2 r (fun i=> ashR (F i) (X.mark i)) |
| 278 | spot0 : ∀ i j l,Rays 3 (fun x : Track=> ashP (F i) x j l - skull x α j l) |
| 279 | spot1 : ∀ i j l,Rays 2 (fun x : GlideTrack=> ashQ (F i) (X.mark i) x j l - V (X.mark i) x.1 x.2 j l) |
| 280 | lemma enclaveG (G : Gauge) : Enclave (Fslot G) (Foot G) (hurr (G:=G)) := fun b i j=> ⟨fun _ => (hurr_cont b i j).contDiffAt.analyticAt, (rays_at_zero ((hurr_cont b i j).contDiffAt.analyticAt)).2 (by simp [hurr,ghostC,tachy])⟩ |
| 281 | lemma enclaveV (G : Gauge) : Enclave (Fslot G) (Fslot G) (herr (G:=G)) := fun b i j=> ⟨fun _ => (herr_cont b i j).contDiffAt.analyticAt, (rays_at_zero ((herr_cont b i j).contDiffAt.analyticAt)).2 (by simp [herr,vectorC,ghostC,tachy])⟩ |
| 282 | lemma Floe.ghost (X : Burst ι (Fslot G)) (ρ) : Floe X (fun _=> quarry G) (hurr (G:=G)) ρ := by |
| 283 | have hx := quarry_p (G:=G) (σ:=1) |
| 284 | have h n:=patrol_house ρ n hx zero_lt_one X.mark; exact ⟨enclaveG G,(h 3).1,(h 2).2.1,(h 2).2.2,fun _ v w => quarryLum v w,fun i j k=> screamer zero_lt_one _ _ _⟩ |
| 285 | |
| 286 | variable {S : Skuta ι G} |
| 287 | def Skuta.useJar (S : Skuta ι G) (W : Jar G) (i) := ((S.light i).combine W).cast |
| 288 | def Border (T : ι→KindF G) : ι→KindF G := fun i=> granary G (T i) |
| 289 | lemma Floe.vector (h : S.Live η D ε C V) (hs : 0<η) (hw : V.grey) (hv : V.fees η A) (X : Burst ι (Fslot G)) (p) : Floe X (Border (S.useJar V)) (herr (G:=G)) p := by |
| 290 | let F:= fun i=> (S.light i).combine V |
| 291 | have he i:= h i |
| 292 | have hk n := patrol_president F p (fun i=> ((h i).2.1.pay hv)) hs n X.mark; let Q := (matina G).pay (matina G).rear |
| 293 | have hL : Play Q 1 := matina_green.pay matina_green.rear |
| 294 | have hm n:= patrol_house p n hL zero_lt_one X.mark |
| 295 | exact ⟨enclaveV _, (hk 3).1.plus (hm 3).1, (hk 2).2.1.plus (hm 2).2.1,(hk 2).2.2.plus (hm 2).2.2,fun i j k => bedLum (h i).1 j k,fun i j k=> inflamed (h i).2.2 hw hv hs _ _ _⟩ |
| 296 | end focus |
| 297 | end YM.Stationary |
| 298 | end |
| 299 | |
| 300 | /-! |
| 301 | # Aspire bounds. Derivatives `r^n` at τ=0. `fib` frames ∀ unit |
| 302 | axes. Includes envelope of arch2 alone in **unscaled** derivative. |
| 303 | -/ |
| 304 | noncomputable section |
| 305 | namespace YM.Stationary |
| 306 | open Function Filter Lattice RG Exterior Precision Wilson Bloch Laurent Matrix Finset Tree Asymptotics Audience Metric |
| 307 | open scoped Topology ContDiff BigOperators InnerProductSpace ComplexConjugate |
| 308 | variable {ι κ α : Type} [Fintype α] [DecidableEq α] {G : Gauge} {P : Patch} {V U : Jar G} {σ A D C ζ r a ε : ℝ} {T μ : ι →ℝ} |
| 309 | section shape |
| 310 | lemma pebb_t (x : Track) (h : ℝ) : pebb (h • x) = (h:ℂ)^2*pebb x := by unfold pebb; simp [mul_pow,mul_sum] |
| 311 | lemma skull_ray (α : Type) [DecidableEq α] (i j : α) : Rays 2 (fun x : Track=> skull x α i j) := by |
| 312 | intro p; let L := (skull p α) i j |
| 313 | have he (t : ℝ) : skull (t • p) α i j = L*(t:ℂ)^2 := by unfold skull L; simp [skull,pebb_t]; ring |
| 314 | simp_rw [he]; apply Asymptotics.IsBigO.const_mul_left |
| 315 | apply isBigO_of_le' (c:=1); simp |
| 316 | lemma skull_green (α : Type) [DecidableEq α] (i j : α) (x) : AnalyticAt ℝ (fun p : Track=>skull p α i j) x := by |
| 317 | unfold skull; simp only [Matrix.smul_apply,smul_eq_mul]; refine AnalyticAt.mul ?_ analyticAt_const; unfold pebb; apply ContDiffAt.analyticAt |
| 318 | exact ContDiffAt.sum (fun i _ => ContDiffAt.pow ((Complex.ofRealCLM ∘L (ContinuousLinearMap.proj (φ:=fun _ : Axis=>ℝ) i)).contDiff.contDiffAt) 2) |
| 319 | end shape |
| 320 | section lifts |
| 321 | variable [Fintype κ] {W : κ →Track → Track→ CompM α α} {X : Burst ι κ} {F : KPath ι κ α α} |
| 322 | |
| 323 | def stroll (X : Burst ι κ) (e : ι→Track) (i : ι) (t : ℝ) := X.lens i+t • e i |
| 324 | def shone (α : Type) [DecidableEq α] (X : Burst ι κ) (e : ι→Track) (i t) := skull (stroll X e i t) α |
| 325 | def panT (X : Burst ι κ) (W : κ→ Track→ Track→CompM α α) (e : ι→Track) (i) (t : ℝ) := W (X.mark i) (t • e i) (X.lens i) |
| 326 | def panL (X : Burst ι κ) (W : κ→ Track→ Track→CompM α α) (e : ι→Track) (i) (t : ℝ) := W (X.mark i) (t • -e i) (stroll X e i t) |
| 327 | variable {e : ι→Track} (h : Floe X F W r) (hp : ColdR X T μ r) (he : ∀ i, ‖e i‖≤1) |
| 328 | include hp in |
| 329 | lemma ColdR.travel (i) : 0<T i ∧ ‖X.lens i‖≤T i ∧ X.lens i∈closedBall 0 r := by have hx := (orbit_at _).trans (hp.norm i); exact ⟨hp.lower i,hx,by simpa using hx.trans (hp.upper i)⟩ |
| 330 | lemma pointBoom (X : Burst ι κ) (e : ι → Track) i t : heatXp X e i t=axes (stroll X e i t) := axes_solid _ _|>.symm |
| 331 | include h hp he |
| 332 | lemma bloomJ : Fiesta T (T^3) (boomY X F e-shone α X e) ∧ Fiesta T (T^2) (shone α X e) := by |
| 333 | let Y := fun _ : ι=> (fun x : Track=>skull x α) |
| 334 | have hx (n) : Patrol n r Y := Patrol.marries (fun _ : Unit=>fun x=>skull x α) (fun _ x i j=> skull_green α i j x) (fun _=>()) _ _ |
| 335 | constructor |
| 336 | · have ht := sipPatrol (F:= (fun i => ashP (F i))-Y) (h.cap0.plus (hx 3).neg) (by decide : 2 ≤ 3) hp.topC h.spot0 X.lens e hp.travel he |
| 337 | refine ht.introp fun i=> Eventually.of_forall fun t=> ?_ |
| 338 | simp [boomY, pointBoom,stroll,Y,ashP,shone] |
| 339 | exact sipPatrol (hx 2) le_rfl hp.topC (fun _ i j => skull_ray α i j) X.lens e hp.travel he |
| 340 | -- `fibQ` cost T not r^-1. angular path pair stack |
| 341 | lemma sepJ : Fiesta T (T^2) (boltA X F e-panT X W e) ∧ Fiesta T (T^2) (boltB X F e-panL X W e) ∧ Fiesta T T (panT X W e) ∧ Fiesta T T (panL X W e) := by |
| 342 | let Y := fun i (x : GlideTrack)=> W (X.mark i) x.1 x.2 |
| 343 | have ht : Patrol 2 r Y := Patrol.marries (fun i (x:GlideTrack)=> W i x.1 x.2) (fun i x j k=> (h.paid i j k).1 x) X.mark _ _ |
| 344 | let U := fun i=> ashQ (F i) (X.mark i); let C i : GlideTrack:= (0,X.lens i); let b i : GlideTrack:= (e i,0); let a i : GlideTrack:= (-e i,e i) |
| 345 | have hz i : ‖C i‖=‖X.lens i‖ := by simp [C] |
| 346 | have hu i : 0<T i ∧ ‖C i‖ ≤ T i ∧ C i∈closedBall 0 r := by rw [hz]; exact ⟨(hp.travel i).1,(hp.travel i).2.1,by simpa [hz] using ((hp.travel i).2.1.trans (hp.upper i))⟩ |
| 347 | have hb i : ‖b i‖ ≤ 1 := by simpa [b] using he i |
| 348 | have ha i : ‖a i‖≤ 1 := by simp [a,Prod.norm_def,he i] |
| 349 | have hv v (hv : ∀ i,‖v i‖ ≤ (1:ℝ)) := sipPatrol (F:=U-Y) (h.cap1.plus ht.neg) (by decide : 2≤2) hp.topC h.spot1 C v hu hv |
| 350 | have hK (v : ι→GlideTrack) (hv : ∀ i,‖v i‖ ≤ (1:ℝ)) : Fiesta T T (fun i t=> Y i (C i+t • v i)) := by |
| 351 | have hy := sipLight (F:=Y) ht (by decide : 1≤2) hp.topC hp.topC (fun i a b=> (h.paid _ a b).2) C v (fun i=>⟨(hu i).1,(hu i).2.1,(hu i).2.2,hp.upper i⟩) hv |
| 352 | simp only [pow_one] at hy; exact hy |
| 353 | refine ⟨(hv b hb).introp (fun i=> Eventually.of_forall fun t => ?_), (hv a ha).introp (fun i=> Eventually.of_forall fun t => ?_), (hK b hb).introp (fun i=> Eventually.of_forall fun t=> ?_), (hK a ha).introp (fun i=> Eventually.of_forall fun t=> ?_)⟩ <;> simp [boltA,boltB,C,b,a,U,Y, pointBoom,stroll,panL,panT,ashQ,axes_flip] |
| 354 | lemma stepsJ : fibP X T (T^2) F e ∧ fibQ X T (T^2) F e := by |
| 355 | obtain ⟨hU,hY⟩ := bloomJ h hp he; obtain ⟨h1,h2,h3,h4⟩ := sepJ h hp he |
| 356 | have ht : T^3 ≤ fun i=> r*(T^2) i := fun i=> by change T i^3 ≤ r*T i^2; rw [pow_succ,mul_comm]; exact mul_le_mul_of_nonneg_right (hp.upper i) (sq_nonneg _) |
| 357 | have hx := hU.dilutes r hp.topC (fun i => sq_nonneg (T i)) ht |
| 358 | have hz := hx.plus hY; rw [sub_add_cancel] at hz |
| 359 | refine ⟨hz,?_⟩ |
| 360 | have ht : T^2 ≤ fun i=>r*T i := fun i=> by rw [Pi.pow_apply,sq]; exact mul_le_mul_of_nonneg_right (hp.upper i) (hp.lower i).le |
| 361 | have hb (Q R : ι→ReelF α α) (h : Fiesta T (T^2) (Q-R)) (he : Fiesta T T R) : Fiesta T (T⁻¹*T^2) Q := by |
| 362 | rw [show T⁻¹*T^2=T by ext1 i; dsimp; field_simp [(hp.lower i).ne']]; simpa only [sub_add_cancel] using (h.dilutes r hp.topC (fun i=> (hp.lower i).le) ht).plus he |
| 363 | exact ⟨hb _ _ h1 h3,hb _ _ h2 h4⟩ |
| 364 | omit he in |
| 365 | lemma rainP : Fiesta (fun _=>1) 1 (oozeY X F) := by |
| 366 | obtain ⟨A,hA,H⟩ := h.cap2 |
| 367 | let v i:= ashR (F i) (X.mark i); let Y:=oozeY X F; let a i : GlideTrack := (0,X.lens i); let b i : GlideTrack := (X.boost i,0) |
| 368 | have ht i x : Y i x=v i (a i+x • b i) := by simp [Y,v,a,b,oozeY,springM,ashR] |
| 369 | refine ⟨fest α α*A,mul_nonneg fest_pos hA,fun i=> ⟨zero_le_one,zero_le_one⟩,fun i=>?_⟩; rw [Pi.one_apply,mul_one] |
| 370 | refine limo_cast _ ?_ hA zero_lt_one fun j k n hz=> ?_ |
| 371 | · intro x y; change AnalyticAt ℝ (fun z=> Y i z x y) 0; simp_rw [ht] |
| 372 | let g z:= v i z x y |
| 373 | refine (ContDiffAt.comp (g:=g) _ ((H i x y).1 _ |>.contDiffAt) (by fun_prop)).analyticAt |
| 374 | rw [one_pow,one_mul]; let f z:= v i z j k |
| 375 | have he : ‖iteratedFDeriv ℝ n f (a i)‖ ≤ A := (H i j k).2 _ (by simpa [a] using ((hp.travel i).2.2)) _ hz |
| 376 | have hs : ‖b i‖ ≤1 := by simpa [b] using (hp.avail i) |
| 377 | rw [show (fun z =>oozeY X F i z j k) = (fun z=> f (a i+z • b i)) from funext (fun z=>congr_fun (congr_fun (ht i z) _) _), sipRay (R:=f) (a i) (b i) ((H i j k).1 _)] |
| 378 | exact (ContinuousMultilinearMap.le_opNorm ..).trans ((mul_le_of_le_one_right (norm_nonneg _) (by simpa using pow_le_one₀ (norm_nonneg _) hs (n:=n))).trans he) |
| 379 | omit he in |
| 380 | lemma weeks : Week X T (T^2) F := by |
| 381 | have ha := stepsJ h hp hp.avail; have hb := stepsJ h hp (e:=-X.boost) (fun i=> by simpa using hp.avail i) |
| 382 | have hf := stepsJ (e:=0) h hp (by simp) |
| 383 | refine ⟨ha.1, hb.1, Fiesta.introp hf.1 (fun i=> Eventually.of_forall (fun t=> by simp [boomY,heatXp,storm])),ha.2,hb.2,?_⟩ |
| 384 | rw [show T⁻¹^2*T^2=1 by ext1 i; dsimp; field_simp [(hp.lower i).ne']] |
| 385 | obtain ⟨A,hA,hZ,H⟩ := rainP h hp |
| 386 | refine ⟨(1+r)^2*A,by positivity,fun i=> ⟨(hp.lower _).le,zero_le_one⟩,fun i=> ?_⟩ |
| 387 | refine ⟨(H i).run,fun n hn=>?_⟩; rw [Pi.one_apply,mul_one] |
| 388 | have ht := (H i).prices n hn; rw [one_pow,one_mul,Pi.one_apply,mul_one] at ht |
| 389 | have hx := hp.topC |
| 390 | exact mul_le_mul ((pow_le_pow_left₀ (hp.lower i).le (show T i≤ 1+r by linarith [hp.upper i]) n).trans (pow_le_pow_right₀ (by linarith) hn)) ht (flux_nonneg _) (sq_nonneg _) |
| 391 | end lifts |
| 392 | end YM.Stationary |
| 393 | end |
| 394 | |
| 395 | /-! |
| 396 | # Box app. Tad actual aggregate. Absolute estimate e-functions used over T∈inner and ray exact. -/ |
| 397 | noncomputable section |
| 398 | namespace YM.Stationary |
| 399 | open Function Filter Lattice RG Exterior Precision Wilson Bloch Laurent Matrix Finset Tree Asymptotics Audience Metric |
| 400 | open scoped Topology ContDiff BigOperators InnerProductSpace ComplexConjugate |
| 401 | variable {ι κ α β γ : Type} [Fintype α] [DecidableEq α] [Fintype β] [DecidableEq β] {G : Gauge} {V : Jar G} {p : Clip} {σ η A C D r a ε : ℝ} {T μ : ι→ℝ} {n : ℕ} {X : Burst ι κ} |
| 402 | |
| 403 | section atmosphere |
| 404 | variable {X : Burst ι (Fslot G)} {S : Skuta ι G} |
| 405 | lemma cinderWeek (h : ColdR X T μ r) : Week X T (T^2) (fun i=>cinder G (μ i)) := by |
| 406 | have he := weeks (Floe.ghost X r) h |
| 407 | let Q i := Film.cardF (ι:=Fslot G) (fun p : Momentum=> ((μ i^2:ℝ):ℂ) • (1:CompM (Foot G) (Foot G))) |
| 408 | refine he.merges (?_ : Week X T (T^2) Q) |
| 409 | let U := Film.cardF (ι:=Fslot G) (fun _=> (1:CompM (Foot G) (Foot G))) |
| 410 | have ht : Week X T 1 (fun _=>U) := Week.holds (fun i=> (h.lower i).le) _ |
| 411 | have hp := Week.airshift ht (M:=μ^2) (fun i=> ((μ i^2:ℝ):ℂ)) (fun i=> by rw [Complex.norm_real,Real.norm_of_nonneg (sq_nonneg _)]; rfl) |
| 412 | rw [mul_one] at hp |
| 413 | have hx : Q=fun i=> U.weight (((μ i^2:ℝ)):ℂ) := by |
| 414 | funext i; unfold Q U Film.cardF Film.weight; simp; rfl |
| 415 | rw [hx]; exact hp.grew (fun i=> pow_le_pow_left₀ (h.pos i).le (h.lease i) 2) |
| 416 | lemma glaze (h : ColdR X T μ r) : Week X T (μ^2) (fun i=> chisel G (μ i)) ∧ Week X T (μ^2) (fun i=> graniteF G (μ i)) := by |
| 417 | have hp := cannonWeek X (chertWeek X (cinderWeek h) (cinderTall h) h.lease h.pos) |
| 418 | exact ⟨hp,stoneWeek X hp h.lower⟩ |
| 419 | |
| 420 | end atmosphere |
| 421 | |
| 422 | section contract |
| 423 | variable [Fintype κ] |
| 424 | def Fleet (X : Burst ι κ) (ρ T : ι →ℝ) (Y Z : KPath ι κ α α) (W : κ→ Track→ Track→CompM α α) (r : ℝ) := |
| 425 | Floe X Y W r ∧ Week X ρ (T^2) Z ∧ Tall X (ρ^2) (fun i => (Y i).plus (Z i)) ∧ ColdR X ρ T r |
| 426 | |
| 427 | end contract |
| 428 | abbrev atopY (F G : KPath ι κ α α) (i) := (F i).plus (G i) |
| 429 | abbrev carre (X : Burst ι κ) (F : KPath ι κ α α) (i) (t : ℝ) := (storm X F i t)⁻¹ |
| 430 | abbrev coup (X : Burst ι κ) (F : KPath ι κ α α) (i) (t : ℝ) := (boomY X F X.boost i t)⁻¹ |
| 431 | def upperJet (X : Burst ι κ) (F : KPath ι κ α α) (i) t := carre X F i t * oozeY X F i t |
| 432 | def lowerJet (X : Burst ι κ) (Y : KPath ι κ α α) (i) t := carre X Y i t * boltB X Y X.boost i t * coup X Y i t * boltA X Y X.boost i t |
| 433 | lemma framePing (F : KPath ι κ α α) (i t) : (F i).figure (X.mark i) (X.mark i) (springM X i t) (axes (X.lens i))= (upperJet X F i t).trace- (lowerJet X F i t).trace := by |
| 434 | unfold Film.figure Film.framePay; rw [neg_add_cancel,add_zero,trace_sub]; rfl |
| 435 | lemma flare_trc {u : ReelF α α} (hp : Prick u) : flareY n (fun x=> (u x).trace)=(jarY n u).trace := by |
| 436 | rw [show (fun x=> (u x).trace)=(fun x=>∑ i,u x i i) from rfl, flare_sum]; rfl |
| 437 | exact fun i _=> hp i i |
| 438 | lemma Prick.sides {u : ReelF α α} (h : Prick u) : AnalyticAt ℝ (fun x=> (u x).trace) 0 := (ContDiffAt.sum (s:=univ) (f:=fun i x=> u x i i) (n:=ω) (fun i _=> (h i i).contDiffAt)).analyticAt |
| 439 | namespace Fleet |
| 440 | variable [Fintype κ] {F Y : KPath ι κ α α} {W : κ→Track→Track→CompM α α} (h : Fleet X T μ F Y W r) |
| 441 | include h |
| 442 | lemma basic : Week X T (T^2) (atopY F Y) := (weeks h.1 h.2.2.2).merges (h.2.1.grew (fun i=>pow_le_pow_left₀ (h.2.2.2.pos i).le (h.2.2.2.lease i) 2)) |
| 443 | lemma bubbleHV : Fiesta T (T^2)⁻¹ (upperJet X (atopY F Y)) ∧ Fiesta T (T^2)⁻¹ (lowerJet X (atopY F Y)) := by |
| 444 | let Z := atopY F Y; let G := basic h |
| 445 | have ht := h.2.2.1.storms G.tab |
| 446 | have hu := h.2.2.1.beats (Y:=Z) G.front |
| 447 | have hb := ht.pair G.pays |
| 448 | have he := ((ht.pair G.spot.2).pair hu).pair G.spot.1 |
| 449 | have hx (i) := h.2.2.2.lower i |
| 450 | refine ⟨?_,?_⟩ |
| 451 | · rw [show _= (T^2)⁻¹ from (show (T^2)⁻¹*(T⁻¹^2*T^2)=(T^2)⁻¹ by ext1 i; dsimp; field_simp [(hx i).ne'])] at hb; exact hb |
| 452 | rw [show (T^2)⁻¹*(T⁻¹*T^2)*(T^2)⁻¹*(T⁻¹*T^2)=(T^2)⁻¹ by ext1 i; dsimp; field_simp [(hx i).ne']] at he; exact he |
| 453 | lemma lacy (i) : AnalyticAt ℝ (fun t=> (upperJet X (atopY F Y) i t).trace) 0 ∧ AnalyticAt ℝ (fun t=> (lowerJet X (atopY F Y) i t).trace) 0 := by |
| 454 | obtain ⟨⟨u,_,_,hU⟩,⟨v,_,_,hV⟩⟩ := bubbleHV h; exact ⟨(hU i).run.sides,(hV i).run.sides⟩ |
| 455 | |
| 456 | -- actual estimate including unscaled tad. |
| 457 | omit h in |
| 458 | lemma focus_bill {F : ι→ ReelF β β} {L : ι →ℝ} (h : Fiesta T L F) (hp : ∀ i,0<T i) : ∃ A : ℝ, 0≤A ∧ ∀ i, ‖flareY 2 (fun t=> (F i t).trace)‖ ≤ A* L i/T i^2 := by |
| 459 | obtain ⟨A,hA,ht,h⟩ := h; let B : ℝ := (Fintype.card β:ℝ); have hb : 0 ≤ B := Nat.cast_nonneg _ |
| 460 | refine ⟨B*A,mul_nonneg hb hA,fun i=> ?_⟩; rw [flare_trc (h i).run, le_div_iff₀ (pow_pos (hp i) _)] |
| 461 | exact (mul_le_mul_of_nonneg_right (flux_trace ..) (sq_nonneg _)).trans (by rw [mul_assoc,mul_comm (vflux _),mul_assoc B A]; exact mul_le_mul_of_nonneg_left ((h i).prices 2 le_rfl) hb) |
| 462 | lemma bubbleControl : ∃ A : ℝ, 0≤A ∧ ∀ i, ‖flareY 2 (fun t=> (lowerJet X (atopY F Y) i t).trace)‖≤A/T i^4 := by |
| 463 | obtain ⟨A,hA,hB⟩ := focus_bill (bubbleHV h).2 h.2.2.2.lower |
| 464 | exact ⟨A,hA,fun i => (hB i).trans_eq (by simp; ring)⟩ |
| 465 | lemma tadControl : ∃ A B : ℝ, 0≤A ∧ 0≤ B ∧ ∀ i, ‖flareY 2 (fun t=> (upperJet X (atopY F Y) i t).trace)‖ ≤ A/T i^2+B*μ i^2/T i^6 := by |
| 466 | let Z := atopY F Y |
| 467 | let P i t := (carre X Z i t) * oozeY X Y i t |
| 468 | have hx := h.2.2.2; have hμ i := hx.lower i |
| 469 | have ht : Fiesta T (T^2)⁻¹ (carre X Z) := h.2.2.1.storms (basic h).tab |
| 470 | obtain ⟨A,hA,hP⟩ := focus_bill (ht.pair h.2.1.pays) hx.lower |
| 471 | let L i t := carre X Z i t*oozeY X F i t |
| 472 | have hz : Fiesta (fun _=>1) (T^2)⁻¹ L := by |
| 473 | have hg : Fiesta (fun _=>1) (T^2)⁻¹ (carre X Z) := by |
| 474 | obtain ⟨A,hA,hm,h⟩ := ht |
| 475 | refine ⟨A,hA,fun i=>⟨zero_le_one,(hm i).2⟩,fun i=> (Jam.seats (1:ℝ) (carre X Z i 0)).mono (h i|>.ipay)⟩ |
| 476 | have hu := hg.pair (rainP h.1 hx); rw [mul_one] at hu; exact hu |
| 477 | obtain ⟨B,hB,hL⟩ := focus_bill (T:=fun _ : ι=>1) hz (fun _=>zero_lt_one) |
| 478 | obtain ⟨u,_,_,hU⟩ := hz |
| 479 | have he : Fiesta T _ P := ht.pair h.2.1.pays; obtain ⟨v,_,_,HV⟩ := he |
| 480 | refine ⟨B,A,hB,hA,fun i=> ?_⟩ |
| 481 | let f t := trace (L i t); let g t := trace (P i t) |
| 482 | have hf : AnalyticAt ℝ f 0 := (hU i).run.sides; have hg : AnalyticAt ℝ g 0 := (HV i).run.sides |
| 483 | rw [show (fun t=> (upperJet X (atopY F Y) i t).trace)=f+g from funext (fun t=> by |
| 484 | rw [← show L i t+P i t=upperJet X (atopY F Y) i t by unfold L P; rw [← Matrix.mul_add]; rfl,trace_add]; rfl),flare_add hf hg] |
| 485 | refine (norm_add_le ..).trans (add_le_add ((hL i).trans_eq ?_) ((hP i).trans_eq ?_)) <;> (simp; ring) |
| 486 | end Fleet |
| 487 | end YM.Stationary |
| 488 | end |
| 489 | |
| 490 | /-! |
| 491 | # Annulus limits for bubble. Sign here kept positive in lowerJet; |
| 492 | stamp via frame subtraction. Uses exact peak width Tall at µ+Y. -/ |
| 493 | set_option linter.unusedSectionVars false |
| 494 | noncomputable section |
| 495 | namespace YM.Stationary |
| 496 | open Function Filter Lattice RG Exterior Precision Wilson Bloch Laurent Matrix Finset Tree Asymptotics Audience Metric |
| 497 | open scoped Topology ContDiff BigOperators InnerProductSpace ComplexConjugate |
| 498 | variable {ι κ α β γ : Type} [Fintype α] [DecidableEq α] [Fintype β] [DecidableEq β] [Fintype γ] [DecidableEq γ] {G : Gauge} {P : Patch} {V U : Jar G} {σ A D C ζ r a : ℝ} {W : κ→ Track→Track→CompM α α} {T μ : ι →ℝ} {n : ℕ} |
| 499 | |
| 500 | section shoes |
| 501 | variable [Fintype κ] {X : Burst ι κ} {F G : KPath ι κ α α} |
| 502 | |
| 503 | def rimEdge (T μ : ι→ℝ) := T+ μ^2*(T^2)⁻¹ |
| 504 | lemma pebbFl (k : Track) : pebb k=((flay k:ℂ)^2) := by rw [← Complex.ofReal_pow,orbit_sqr]; unfold pebb; push_cast; rfl |
| 505 | lemma skullSafe (k : Track) (h : 0<flay k) : IsUnit (skull k α).det ∧ vflux (skull k α)⁻¹ ≤ (flay k^2)⁻¹ := by |
| 506 | have ht : pebb k≠0 := by rw [pebbFl]; norm_cast; exact pow_ne_zero _ h.ne' |
| 507 | unfold skull; constructor |
| 508 | · rw [Matrix.det_smul,Matrix.det_one, mul_one]; exact ht.isUnit.pow _ |
| 509 | rw [show (pebb k • (1:CompM α α))⁻¹=(pebb k)⁻¹ • 1 by |
| 510 | apply inv_eq_right_inv; rw [Matrix.mul_smul, Matrix.mul_one,smul_smul,inv_mul_cancel₀ ht,one_smul], flux_cost] |
| 511 | apply (mul_le_of_le_one_right (norm_nonneg _) flux_one).trans; rw [norm_inv,pebbFl, norm_pow, Complex.norm_real, Real.norm_of_nonneg (orbit_nonneg ..)] |
| 512 | |
| 513 | def haloC (X : Burst ι κ) (W : κ→Track→Track→CompM α α) (i t) := (shone α X 0 i t)⁻¹ * panL X W X.boost i t * (shone α X X.boost i t)⁻¹ * panT X W X.boost i t |
| 514 | namespace Fleet |
| 515 | lemma cool0 (h : Fleet X T μ F G W r) (e) (hp : ∀ i,‖e i‖≤1) (hv : ∀ i,e i=0 ∨ e i=X.boost i) |
| 516 | (hx : T=flay ∘ X.lens) (hb : fibP X T (μ^2) G e) : |
| 517 | let Z := atopY F G |
| 518 | let D i t := (shone α X e i t)⁻¹ |
| 519 | let K i t := (boomY X Z e i t)⁻¹ |
| 520 | Fiesta T (T^2)⁻¹ K ∧ Fiesta T (T^2)⁻¹ D ∧ Fiesta T (rimEdge T μ*(T^2)⁻¹) (K-D) := by |
| 521 | intro Z D K |
| 522 | obtain ⟨hU,hM⟩ := bloomJ h.1 h.2.2.2 hp |
| 523 | have hc (i) : 0<T i := h.2.2.2.lower _ |
| 524 | let P := boomY X Z e; let R := shone α X e |
| 525 | have hk (i) : R i 0=skull (X.lens i) α := by simp [R,shone,stroll] |
| 526 | have hm i : 0<flay (X.lens i) := (hc i).trans_le ((congr_fun hx i).le) |
| 527 | have ht : Fiesta T (T^2)⁻¹ D := by |
| 528 | refine (Fiesta.inv hM (fun i => ?_) ⟨1,zero_le_one,fun i=> ?_⟩) |
| 529 | · rw [show shone α X e i 0=_ from hk i]; exact ⟨pow_pos (hc _) _,(skullSafe _ (hm _)).1⟩ |
| 530 | rw [show shone α X e i 0=_ from hk i,hx]; simp only [Pi.pow_apply,Function.comp_apply,one_div]; exact (skullSafe _ (hm _)).2 |
| 531 | have hp' : μ^2≤ T^2 := fun i=> pow_le_pow_left₀ (h.2.2.2.pos i).le (h.2.2.2.lease i) 2 |
| 532 | have hy : Fiesta T (T^2) P := (stepsJ h.1 h.2.2.2 hp).1 |>.plus (hb.grows hp') |
| 533 | have hh := h.2.2.1 |
| 534 | have hN : Fiesta T (T^2)⁻¹ K := hh.beats (Y:=Z) (X:=X) (e:=e) hy |
| 535 | refine ⟨hN,ht, Fiesta.invDiff (X:=P) (Y:=R) hy hM hN ht ?_ (?_ : Fiesta T (rimEdge T μ*T^2) (P-R))⟩ |
| 536 | · intro i; rw [hk i]; refine ⟨pow_pos (hc _) _,?_,(skullSafe _ (hm _)).1⟩; unfold P boomY heatXp; rw [zero_smul,axes_origin,add_zero]; exact hh.keeps i |
| 537 | have h1 : rimEdge T μ*T^2= T^3+μ^2 := by |
| 538 | unfold rimEdge; ext1 i; dsimp; field_simp [(hc i).ne'] |
| 539 | rw [h1]; have he := Fiesta.plus (hU.grows (M:=T^3+μ^2) (fun i=>le_add_of_nonneg_right (sq_nonneg (μ i)))) (Fiesta.grows hb (fun i=>le_add_of_nonneg_left (pow_nonneg (hc _).le 3))); refine he.introp fun i=> Eventually.of_forall fun t=>?_ |
| 540 | change boomY X F e i t- shone α X e i t+ boomY X G e i t= boomY X F e i t+boomY X G e i t - _; unfold R; abel |
| 541 | -- unify Fiesta product difference sign normalization |
| 542 | lemma brass (h : Fleet X T μ F G W r) (hx : T=flay ∘ X.lens) : Fiesta T (T^2)⁻¹ (haloC X W) ∧ Fiesta T (rimEdge T μ*(T^2)⁻¹) (lowerJet X (atopY F G)-haloC X W) := by |
| 543 | let Z := atopY F G |
| 544 | have hc i : 0<T i := h.2.2.2.lower i |
| 545 | have hp : ∀ i,‖X.boost i‖≤1 := h.2.2.2.avail |
| 546 | have hv e : boomY X e 0=storm X (e:KPath ι κ α α) := by funext i t; simp [boomY,heatXp,storm] |
| 547 | have hb : Fiesta T (μ^2) (boomY X G 0) := by rw [hv]; exact h.2.1.tab |
| 548 | obtain ⟨h1,h2,h3⟩ := h.cool0 0 (by simp) (fun _=> Or.inl rfl) hx hb |
| 549 | let K i t := carre X Z i t; let D i t := (shone α X 0 i t)⁻¹ |
| 550 | have hK : Fiesta T (T^2)⁻¹ K := by unfold K carre; rw [← hv Z]; exact h1 |
| 551 | have hD : Fiesta T (rimEdge T μ*(T^2)⁻¹) (K-D) := by unfold K carre; rw [← hv Z]; exact h3 |
| 552 | have hh := X.boost |
| 553 | obtain ⟨ha,hP,H⟩ := h.cool0 X.boost hp (fun i=> Or.inr rfl) hx h.2.1.front |
| 554 | obtain ⟨hx,HY,hU,hV⟩ := sepJ h.1 h.2.2.2 hp |
| 555 | have he := h.basic.spot |
| 556 | unfold fibQ at he; rw [show T⁻¹*T^2=T by ext1 i; dsimp; field_simp [(hc i).ne']] at he |
| 557 | have hc' : T^2 ≤ rimEdge T μ*T := fun i=> by |
| 558 | change T i^2 ≤ (T i+μ i^2*(T i^2)⁻¹)*T i |
| 559 | rw [add_mul,sq (T i)]; have h := hc i; apply le_add_of_nonneg_right; positivity |
| 560 | have hh : T⁻¹*μ^2 ≤ rimEdge T μ*T := fun i=> by |
| 561 | change (T i)⁻¹*μ i^2 ≤ (T i+μ i^2*(T i^2)⁻¹)*T i |
| 562 | rw [add_mul,show μ i^2*(T i^2)⁻¹*T i=(T i)⁻¹*μ i^2 by field_simp [(hc i).ne']]; exact le_add_of_nonneg_left (mul_nonneg (hc i).le (hc i).le) |
| 563 | have hz := (hU : Fiesta T T _); let B i z := boltA X Z X.boost i z |
| 564 | have hz1 : Fiesta T (rimEdge T μ*T) (boltB X Z X.boost-panL X W X.boost) := |
| 565 | ((HY.grows hc').plus ((h.2.1.spot.2).grows hh)).introp (fun i=> Eventually.of_forall fun x=> by simp only [Pi.sub_apply,boltB, atopY, Z, Film.plus,Pi.add_apply]; abel) |
| 566 | have hz2 : Fiesta T (rimEdge T μ*T) (boltA X Z X.boost-panT X W X.boost) := |
| 567 | ((hx.grows hc').plus ((h.2.1.spot.1).grows hh)).introp (fun i=> Eventually.of_forall fun x=> by simp only [Pi.sub_apply,boltA, atopY, Z, Film.plus,Pi.add_apply]; abel) |
| 568 | have ht : (T^2)⁻¹*T*(T^2)⁻¹*T=(T^2)⁻¹ := by ext1 i; dsimp; field_simp [(hc i).ne']; |
| 569 | have hA := ((h2.pair hV).pair hP).pair hU |
| 570 | have hf := hK.pair he.2 |
| 571 | have heq := (hf.pair ha).pairDif hU (hf.pairDif hP (hK.pairDif hV hD hz1) H) hz2 |
| 572 | rw [ht] at hA heq; exact ⟨hA,heq⟩ |
| 573 | lemma haloControl (h : Fleet X T μ F G W r) (hx : T=flay ∘ X.lens) : ∃ A : ℝ,0≤A ∧ ∀ i, ‖flareY 2 (fun t=> (lowerJet X (atopY F G) i t).trace) - flareY 2 (fun t => (haloC X W i t).trace)‖ ≤ A*rimEdge T μ i/T i^4 := by |
| 574 | obtain ⟨⟨A,hA,hp,hL⟩,hv⟩ := h.brass hx |
| 575 | obtain ⟨B,hB,M⟩ := focus_bill hv h.2.2.2.lower |
| 576 | refine ⟨B,hB,fun i=>?_⟩ |
| 577 | rw [← flare_dec (h.lacy i).2 (hL i|>.run.sides)] |
| 578 | have ht : (fun t=> trace ((lowerJet X (atopY F G)-haloC X W) i t))= (fun t=> (lowerJet X (atopY F G) i t).trace) -(fun t=> (haloC X W i t).trace) := by ext1 t; simp |
| 579 | rw [← ht]; exact (M i).trans_eq (by simp; ring) |
| 580 | end Fleet |
| 581 | end shoes |
| 582 | end YM.Stationary |
| 583 | end |