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 YM.Further.ROOTED_INTERACTING_REMAINDER.Protocol |
| 2 | import YM.Further.ROOTED_INTERACTING_REMAINDER.Station |
| 3 | /-! |
| 4 | # Post station constant pressure bound |
| 5 | |
| 6 | Intact normalized growth through arbitrary volume even with **constant** |
| 7 | per-volume credit besides at most four □ powers, even without LF integration |
| 8 | assumptions. Not persistence of the estimate on separated component tables. |
| 9 | Post Counter use meets same data at `girder` with retained HALF kinetic |
| 10 | suppression, no competition among shares. -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.Further.RootedInteractingRemainder.Levy |
| 14 | open Filter Function Lattice RG RG.Supply Axial Wilson Finset Precision Tree MeasureTheory |
| 15 | open Pressure Pressure.Stores Pressure.Teller Pressure.Tube Bid Next.Fluctuations |
| 16 | open Next.Fluctuations.Sector Push.SectorMeasure Oriented Presented SectorNext.Vacuum |
| 17 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 18 | variable {G : Gauge} {c f : Side} {S : StepData c f} {x W : ℝ} |
| 19 | {F : Forest S.ratio} {T : Tube G S} {P : Teller G} {R : Rep G f} {D : Allocation G S x W} |
| 20 | {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] [SecondCountableTopology X] |
| 21 | [MeasurableSpace X] [BorelSpace X] {g : GaugeProbe G S F X} |
| 22 | local notation "t" => fiery G x S.patch.L |
| 23 | local notation "Δ" => Module.finrank ℝ G.Color |
| 24 | local notation "eV" => Fintype.card (Bond c) |
| 25 | local notation "nP" => Fintype.card PlaqAxes |
| 26 | local notation "ΔI" => rich f+eV |
| 27 | local notation "ΔV" => rich f+(Fintype.card (Site c)-1) |
| 28 | |
| 29 | -- Useful cost form at fixed heights before schedule delays. |
| 30 | lemma pressure_marginal (ρ : Teller G) {κ b Λ δ y τ K K' η : ℝ} (h : CargoBill R D F g b (κ/4)) |
| 31 | (he : ∀ A i,Envelope (g A i)) |
| 32 | (s : Survey ρ S T F R x W 1 Λ δ y K τ κ (κ/4) (κ/4)) |
| 33 | (a : Ample T x W R.beta κ η F) |
| 34 | (hk : 1≤K') (hc : 2≤c.val) (hS : (∫ i,draught (τ⁻¹)⁻¹ i ∂G.probHaar) ≤ K'*(τ⁻¹)^Δ) |
| 35 | (Y : Finset (Stores S)) (n : ℕ) (hY : ∀ A∈Y,n≤A.shares) |
| 36 | (p : ℝ) (hp : prefactor S G R.beta ≤ Real.exp (wires c*p)*(τ^Δ)^eV) |
| 37 | {d z : ℝ} (hz : 0<z) (hw : Real.exp (-(divide R d ρ.top Λ δ))*((z*τ⁻¹^Δ)^spare f) ≤ strippedZ R) : |
| 38 | let c₁ := duty R ρ.top b Λ δ η x c |
| 39 | let C := Real.exp (c₁+wires c*p+(divide R d ρ.top Λ δ-spare f*Real.log z) + ((ΔI : ℕ):ℝ)*Real.log K') |
| 40 | let y₀ := Real.exp (-(κ/4)*(R.beta*t^2*n)) |
| 41 | let Z := strippedZ R |
| 42 | 0<Z ∧ (∫ V,itinerary F T R D g κ Y V/Z ∂prior G c) ≤ C*τ^(4*Δ)*y₀ := by |
| 43 | intro c₁ C y₀ Z |
| 44 | let A := divide R d ρ.top Λ δ-spare f*Real.log z |
| 45 | let N := ΔI |
| 46 | have ht : 0<τ := zero_lt_one.trans_le s.lift |
| 47 | have hk₀ : 0<K' := zero_lt_one.trans_le hk |
| 48 | let E := c₁+wires c*p |
| 49 | have H := (relay ρ h he s a hk hc hS Y n hY).2 |
| 50 | let L := (τ^Δ)^eV |
| 51 | have hU : L*Real.exp (-A)*(τ⁻¹^Δ)^(N+4) ≤ Z := by |
| 52 | apply le_trans (le_of_eq _) hw |
| 53 | unfold A L |
| 54 | rw [show N+4=eV+spare f by rw [spare_four]; unfold N; omega] |
| 55 | rw [pow_add,mul_pow,neg_sub, sub_eq_add_neg, Real.exp_add,Real.exp_nat_mul,Real.exp_log hz] |
| 56 | simp only [inv_pow]; field_simp |
| 57 | have hx : 0<L := by unfold L; positivity |
| 58 | have h₀ : 0<Z := lt_of_lt_of_le (by positivity) hU |
| 59 | refine ⟨h₀,?_⟩ |
| 60 | rw [integral_div] |
| 61 | have he : (∫ V,itinerary F T R D g κ Y V ∂prior G c) ≤ L*Real.exp E*(K'*τ⁻¹^Δ)^N*y₀ := by |
| 62 | apply H.trans |
| 63 | unfold E; rw [Real.exp_add] |
| 64 | calc |
| 65 | _ ≤ Real.exp (wires c*p)*L*Real.exp c₁*(K'*τ⁻¹^Δ)^N*y₀ := |
| 66 | mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right hp (Real.exp_pos _).le) (by positivity)) (Real.exp_pos _).le |
| 67 | _ = _ := by ring |
| 68 | apply (splits hx ht he (Real.exp_pos _).le hk₀ (inv_pos.mpr ht) hU).trans_eq |
| 69 | unfold C E A N; rw [mul_inv_cancel₀ ht.ne',one_pow,mul_one, Real.exp_add _ (((ΔI : ℕ):ℝ)*Real.log K'), Real.exp_nat_mul,Real.exp_log hk₀] |
| 70 | |
| 71 | lemma pressure_pointwise (ρ : Teller G) {κ b Λ δ y τ K K' η : ℝ} (h : CargoBill R D F g b (κ/4)) |
| 72 | (he : ∀ A i,Envelope (g A i)) |
| 73 | (s : Survey ρ S T F R x W 1 Λ δ y K τ κ (κ/4) (κ/4)) |
| 74 | (am : Ample T x W R.beta κ η F) |
| 75 | (hk : 1≤K') (hc : 2≤c.val) (hS : (∫ i,draught (τ⁻¹)⁻¹ i ∂G.probHaar) ≤ K'*(τ⁻¹)^Δ) |
| 76 | (Y : Finset (Stores S)) (n : ℕ) (hY : ∀ A∈Y,n≤A.shares) |
| 77 | {a : ChartRatio G} {B : Round.Wall (Key F G)} {D0 : ℕ→Support c} {v : BudgetPoint} |
| 78 | {E : ℕ→ Config G c→ℝ} {d : Activities G c} {G0 : Config G c→ℝ} |
| 79 | (H : Counter D F a B G0 R D0 v E d) (hh : LocalRatio a) |
| 80 | (h0 : G0 (1:Config G c)=0) (ha : 0<B.det) |
| 81 | (V : Config G c) {z : ℕ→ℝ} (hZ : ReLog.Tags D0 v E z) |
| 82 | {M : ℕ} {l budget δ' b0 pb : ℝ} (hF : ReLog.Fund D0 M l budget δ' z) |
| 83 | (hdet : Real.log B.det ≤ 2*pb) (hLink : Real.exp (-b0)*τ⁻¹^Δ ≤ gaussLink a (τ^2)) : |
| 84 | let c₁ := duty R ρ.top b Λ δ η x c |
| 85 | let y₀ := Real.exp (-(κ/4)*(R.beta*t^2*max n (RG.flags (temp x) V).card)) |
| 86 | let C := Real.exp (c₁+(b0*nt F+pb+sites c*budget)+((ΔV : ℕ):ℝ)*Real.log K') |
| 87 | let Z := S.push R.beta (stripped R) 1 |
| 88 | 0<Z ∧ itinerary F T R D g κ Y V/Z ≤ C*τ^(4*Δ)*y₀*halfprice T x R.beta V := by |
| 89 | intro c₁ y₀ C Z |
| 90 | let L:=prefactor S G R.beta |
| 91 | let A := b0*nt F+pb+sites c*budget |
| 92 | let N:=ΔV |
| 93 | have ht : 0<τ := zero_lt_one.trans_le s.lift |
| 94 | have hL : 0<L := prefactor_pos _ |
| 95 | have hK := zero_lt_one.trans_le hk |
| 96 | have hV := halfprice_pos T x R.beta V |
| 97 | have hfloor := counted_floor H (funds_branch s.supports) s.input hh s.rate hLink ht ha hdet h0 hZ M hF |
| 98 | have hU : L*Real.exp (-A)*(τ⁻¹^Δ)^(N+4) ≤ Z := by |
| 99 | rw [show N+4=_ from (four_slot F).symm] |
| 100 | apply le_trans (le_of_eq _) hfloor |
| 101 | rw [show -A=-b0*nt F-pb-sites c*budget by unfold A; ring]; unfold L; ring |
| 102 | have h₀ : 0<Z := lt_of_lt_of_le (by positivity) hU |
| 103 | refine ⟨h₀,?_⟩ |
| 104 | have hi : itinerary F T R D g κ Y V ≤ L*Real.exp c₁*(K'*τ⁻¹^Δ)^N*(y₀*halfprice T x R.beta V) := by |
| 105 | rw [←mul_assoc] |
| 106 | exact (relay ρ h he s am hk hc hS Y n hY).1 V |
| 107 | apply (splits hL ht hi (mul_nonneg (Real.exp_pos _).le hV.le) hK (inv_pos.mpr ht) hU).trans_eq |
| 108 | unfold C A N; rw [mul_inv_cancel₀ ht.ne',one_pow,mul_one,Real.exp_add _ (((ΔV : ℕ):ℝ)*Real.log K'),Real.exp_nat_mul,Real.exp_log hK,←mul_assoc] |
| 109 | |
| 110 | -- seal combined uniform. Half sacrifice in sieve; cross with earlier Desk |
| 111 | -- variation when singular large field portions are queried. Consumers below |
| 112 | -- for determinant and integrated bounds need no unverified LF work. -/ |
| 113 | structure License.{u} (G : Gauge) (c f : Side) (S : StepData c f) (F : Forest S.ratio) (T : Tube G S) |
| 114 | (R : Rep G f) (x W M κ r : ℝ) (O : ChartRatio G) (e l l' : ℝ) : Prop where |
| 115 | funds (D : Allocation G S x W) (Z : Type u) [NormedAddCommGroup Z] [NormedSpace ℝ Z] [SecondCountableTopology Z] |
| 116 | [MeasurableSpace Z] [BorelSpace Z] [CompleteSpace Z] (g : GaugeProbe G S F Z) |
| 117 | (he : ∀ A i, Envelope (g A i)) (h : CargoBill R D F g M (κ/4)) (Y : Finset (Stores S)) (n : ℕ) (hY : ∀ A∈Y,n≤A.shares) : |
| 118 | let w := fiery G x S.patch.L; let τ := Real.sqrt R.beta |
| 119 | let price (j : ℕ) := Real.exp (-(κ/4)*(R.beta*w^2*j)) |
| 120 | let L := Real.exp (sites f*r) * τ^(4*Module.finrank ℝ G.Color) |
| 121 | Envelope (itinerary F T R D g κ Y) ∧ Envelope (repaid F R D g Y) ∧ |
| 122 | (∀ V : Config G c, repaid F R D g Y V ≤ itinerary F T R D g κ Y V) ∧ |
| 123 | ((∀ U,0≤R.eval U) → let z := strippedZ R |
| 124 | 0 < z ∧ (∫ V,itinerary F T R D g κ Y V/z ∂prior G c) ≤ L*price n) ∧ |
| 125 | ∀ (B : Round.Wall (Key F G)) (X : ℕ→Support c) (b : BudgetPoint) (E : ℕ→Config G c→ℝ) (d : Activities G c), |
| 126 | Counter D F O B (fun V=>R.beta*girder T.down T.low b V) R X b E d → b.threshold=temp x → |
| 127 | ∀ v : ℕ→ℝ, ReLog.Tags X b E v → ∀ A e' δ', e'≤e → ReLog.Fund X b.B A e' δ' v → |
| 128 | B.IsHermitian → Numeric B l l' → 0<l → |
| 129 | let z := S.push R.beta (stripped R) 1 |
| 130 | 0<z ∧ ∀ V, let s := z*Real.exp (-(R.beta/2)*girder T.down T.low b V) |
| 131 | 0<s ∧ itinerary F T R D g κ Y V / s ≤ L * price (max n (RG.flags (temp x) V).card) |
| 132 | |
| 133 | private lemma halfway (ρ : Teller G) (T : Tube G S) (h : ρ.Funds S T) (b : BudgetPoint) (ht : b.threshold=temp x) |
| 134 | (β : ℝ) (hb : 0≤β) (hW : β*wound ρ.below.width ρ.below.paths (temp x) (till x) S.patch.L.val ≤ 1) |
| 135 | (V : Config G c) : halfprice T x β V ≤ Real.exp (sites c*nP/2)*Real.exp (-(β/2)*girder T.down T.low b V) := by |
| 136 | have hg := ceiling_sieve h b ht hb hW V |
| 137 | change Real.exp (-β*averaged (fun j=>coarse T x (pull j 0 V)))≤_ at hg |
| 138 | rw [← Real.exp_add,Real.exp_le_exp] at hg |
| 139 | unfold halfprice; rw [←Real.exp_add]; exact Real.exp_monotone (by linarith) |
| 140 | |
| 141 | set_option maxHeartbeats 500000 in |
| 142 | /-- Primary station. Bounds simultaneous *constant* per-site cost, and at |
| 143 | flat jumps with half kinetic retained. These buy especially `leftOver` under |
| 144 | the whole normalized representation, beyond mere re-integration of Gram |
| 145 | measures at a fixed volume, and even prior to certified Counter for the |
| 146 | partition version. Not approval on peeled gas components (see post module). |
| 147 | When a full kinetic comparison is desired use `ticket` (might still need job |
| 148 | costs *not* growing with p; see caveats in report). Only terminal replicated |
| 149 | network costing asks for the four-link residual in E; LF calculations use |
| 150 | whole component hit sums, not the consequence per torus e.g. from this file; |
| 151 | see follow-on work. |
| 152 | -/ |
| 153 | theorem every_issue.{u} (ρ : Teller G) (O : ChartRatio G) (hO : LocalRatio O) |
| 154 | (M e l l' : ℝ) (hM : 0 ≤ M) (hc : 0≤e) : |
| 155 | ∀ L : Side, ∀ W κ : ℝ, 0<W → 0<κ → ∃ r : ℝ, 0<r ∧ ∀ᶠ x : ℝ in atTop, |
| 156 | let v := betaF G x L |
| 157 | ∀ (c f : Side) (S : StepData c f), S.patch.L=L → 100*(1+radiusB x) ≤ c.val → |
| 158 | ∀ (T : Tube G S), ρ.Funds S T → PointCharge T x W κ → |
| 159 | ∀ (F : Tree.Forest S.ratio) (R : Rep G f),∀ Λ δ y : ℝ, |
| 160 | R.Lawful ρ.top.width ρ.top.paths Λ δ y → v/2 ≤ R.beta → R.beta ≤ 2*v → |
| 161 | Presented.Fits T R x → y≤1 → δ≤1 → Λ ≤ 2*Vac.Numbers.P v → |
| 162 | License.{u} G c f S F T R x W M κ r O e l l' := by |
| 163 | obtain ⟨η,hη,HP⟩ := branch ρ 1 zero_lt_one |
| 164 | |
| 165 | obtain ⟨a,z,ha,ha',hz,hz',HY⟩ := housing (G:=G) |
| 166 | obtain ⟨D,hD,HD⟩ := gaussian_basis O hO |
| 167 | obtain ⟨s,hs,He⟩ := sip G |
| 168 | intro L W κ hW hκ |
| 169 | obtain ⟨A,B,p,K,hA,hB,hp,hK,HS⟩ := surveyed ρ L W κ M hW hκ hM |
| 170 | -- K' here always s not Survey.K |
| 171 | let d := (Δ:ℝ) |
| 172 | let y := 7*Real.log s |
| 173 | let δ := A+(nP+4)*η⁻¹ |
| 174 | let sumPro := δ+4*p+(B+baseBudget ρ.top.clip ρ.top.paths a) + 4*(-Real.log z) + y |
| 175 | let J := Panel.amount l l' |
| 176 | let box := δ + (4*D+4*d*J/2 + e) + y |
| 177 | let price := box + (nP:ℝ)/2 |
| 178 | let r := max (max price sumPro) 1 |
| 179 | refine ⟨r,zero_lt_one.trans_le (le_max_right ..),?_⟩ |
| 180 | filter_upwards [HS,(Work.E09.betaF_growth G L).eventually_ge_atTop 2,HP L W hW,cash_holes G L κ hκ] with x hS hg hη' hcash |
| 181 | intro v c f S hL' hN T hT hP F R Λ θ u hR hm he hC hy hθ hΛ |
| 182 | obtain ⟨S₁,hPr,hRa,hV,hQ,h₂⟩ := hS c f S hL' hN T hT F R Λ θ u hR hm he hC hy hθ hΛ |
| 183 | let τ := Real.sqrt R.beta |
| 184 | let Y (i : ℕ) := Real.exp (-(κ/4)*(R.beta*(fiery G x S.patch.L)^2*i)) |
| 185 | have hβ : 0<R.beta := lt_of_lt_of_le (by change (0:ℝ)< betaF G x L/2; linarith) hm |
| 186 | have hh : 1 ≤ τ := S₁.lift |
| 187 | have ht₁ : 0<τ := zero_lt_one.trans_le S₁.lift |
| 188 | have hf := site_compare S |
| 189 | have hn : 1 ≤ sites f := by unfold sites; exact_mod_cast Fintype.card_pos (α:=Site f) |
| 190 | have hr := (site_pos f).le |
| 191 | have hN' : 2≤c.val := by omega |
| 192 | have hN'' : 2≤f.val := hN'.trans (by rw [S.sizes]; exact Nat.le_mul_of_pos_right _ S.patch.L.property) |
| 193 | have hηA := hη' c f S hL' hN T hT F |
| 194 | have hcash := hcash _ hm he |
| 195 | have ham : Ample T x W R.beta κ η F := ⟨hη,fun A U k V h₁ hk h₃ => by |
| 196 | simpa only [one_mul,sites] using hηA A U k V h₁ hk h₃ R.beta hβ.le he,by simpa only [hL'] using hcash⟩ |
| 197 | have hτs := He τ⁻¹ (by positivity) (show τ⁻¹≤1 by simpa only [inv_one] using inv_anti₀ zero_lt_one hh) |
| 198 | have hlogs : 0 ≤ Real.log s := Real.log_nonneg hs |
| 199 | constructor |
| 200 | intro D0 Z _ _ _ _ _ _ g hE hI i j hIJ w τ₀ p₁ X0 |
| 201 | let Pp := τ^(4*Δ) |
| 202 | have hτ' : (0:ℝ) ≤ Pp := by unfold Pp; positivity |
| 203 | have hm := norm_parts (Y:=i) (D:=D0) S₁ hE hP hC (1:Config G c) |
| 204 | let eX := duty R ρ.top M Λ θ η x c |
| 205 | have htC : eX ≤ sites f*δ := by |
| 206 | apply (duty_rental R _ M Λ θ W η x hW.le hη.le).trans; unfold δ |
| 207 | linarith only [hRa,mul_le_mul_of_nonneg_right hf (show 0 ≤ 4*η⁻¹ by positivity)] |
| 208 | refine ⟨hm.1,hm.2.1,fun V=>(norm_parts (Y:=i) (D:=D0) S₁ hE hP hC V).2.2,fun H=>?_,?_⟩ |
| 209 | · intro z' |
| 210 | have hF := HY f hN'' R hR H τ hh S₁.rate S₁.room |
| 211 | rw [S₁.cut,neg_mul] at hF |
| 212 | obtain ⟨hz0,hC'⟩ := pressure_marginal ρ hI hE S₁ ham hs hN' hτs i j hIJ p hQ hz hF |
| 213 | have hspare : (spare f:ℝ) ≤ 4*sites f := by unfold spare sites; push_cast; unfold sites at hn; linarith |
| 214 | have hw : Real.log z ≤ 0 := Real.log_nonpos hz.le hz' |
| 215 | have hN0 := (seven_sites S) |
| 216 | have hNF : ((rich f+Fintype.card (Bond c):ℕ):ℝ) ≤ 7*sites f := by unfold sites; exact_mod_cast hN0 |
| 217 | have hpS : sumPro≤r := (le_max_right ..).trans (le_max_left ..) |
| 218 | refine ⟨hz0,hC'.trans ?_⟩ |
| 219 | change _ ≤ Real.exp (sites f*r)*Pp*Y j |
| 220 | apply mul_le_mul_of_nonneg_right _ (show (0:ℝ)≤Y j from (Real.exp_pos _).le) |
| 221 | refine mul_le_mul_of_nonneg_right (Real.exp_monotone ?_) hτ' |
| 222 | rw [wires_sites]; unfold divide; unfold eX at htC; unfold sumPro y at hpS |
| 223 | linarith only [mul_le_mul_of_nonneg_left hpS hr,htC,mul_le_mul_of_nonneg_right hf (show 0 ≤ 4*p by positivity), |
| 224 | mul_le_mul_of_nonpos_right hspare hw,mul_le_mul_of_nonneg_left hV hr,mul_le_mul_of_nonneg_right hNF hlogs] |
| 225 | intro C X v E d' hL hb v₁ hv₁ d₀ eX' a₀ hyp hF hv' hBoard hl z0 |
| 226 | obtain ⟨hD0,hD',hPB⟩ := Panel.determinant hv' hBoard hl |
| 227 | let pb := sites f * (4*d*J/2) |
| 228 | have hx : ((nt F):ℝ) ≤ sites f*4 := by rw [bonds_nt]; push_cast; unfold sites at *; linarith only [hf] |
| 229 | have hdθ : Real.log C.det ≤ 2*pb := by |
| 230 | apply (le_abs_self _).trans |
| 231 | apply hPB.trans |
| 232 | rw [card_meter]; push_cast |
| 233 | unfold pb; have he := mul_le_mul_of_nonneg_right hx (mul_nonneg (show 0≤ d by unfold d; positivity) (Panel.amount_nonneg l l')) |
| 234 | unfold J; unfold d at he ⊢; linarith only [he] |
| 235 | have H₁ (V:Config G c):=pressure_pointwise ρ hI hE S₁ ham hs hN' hτs i j hIJ hL hO |
| 236 | (by rw [girder_flat,mul_zero]) hD0 V hv₁ hF hdθ (HD τ ht₁) |
| 237 | refine ⟨(H₁ 1).1,fun V=>?_⟩ |
| 238 | intro q; let Yj:= Y (max j (RG.flags (temp x) V).card) |
| 239 | let zV:= girder T.down T.low v V; let Wz:=Real.exp (-(R.beta/2)*zV) |
| 240 | refine ⟨mul_pos (H₁ V).1 (Real.exp_pos _),?_⟩ |
| 241 | unfold q; rw [← div_div,div_le_iff₀ (Real.exp_pos _)] |
| 242 | apply (H₁ V).2.trans |
| 243 | have hhalf := halfway ρ T hT v hb R.beta hβ.le h₂ V |
| 244 | let n0 := (nP:ℝ) |
| 245 | let bV := Real.exp (sites c*n0/2) |
| 246 | have hNS : ((rich f+(Fintype.card (Site c)-1):ℕ):ℝ) ≤ 7*sites f := by |
| 247 | unfold sites |
| 248 | exact_mod_cast (le_trans (four_sites S) (show 4*Fintype.card (Site f)≤7*Fintype.card (Site f) by omega)) |
| 249 | have hh : price≤r := (le_max_left price sumPro).trans (le_max_left ..) |
| 250 | let y₁ := eX+(D*nt F+pb+sites c*eX')+((rich f+(Fintype.card (Site c)-1):ℕ):ℝ)*Real.log s |
| 251 | have hpz : Real.exp y₁*bV ≤ Real.exp (sites f*r) := by |
| 252 | unfold bV; rw [← Real.exp_add]; apply Real.exp_monotone |
| 253 | unfold price box at hh; unfold y₁ pb; change δ + (4*D+4*d*J/2+e)+ y + n0/2 ≤ _ at hh |
| 254 | unfold y at hh |
| 255 | linarith only [mul_le_mul_of_nonneg_left hh hr,htC,mul_le_mul_of_nonneg_right hx hD.le, |
| 256 | mul_le_mul_of_nonneg_left hyp (site_pos c).le,mul_le_mul_of_nonneg_right hf hc,mul_le_mul_of_nonneg_right hNS hlogs,mul_le_mul_of_nonneg_right hf (show 0 ≤ n0 by unfold n0; positivity)] |
| 257 | change Real.exp y₁ * Pp*Yj * halfprice T x R.beta V ≤ Real.exp (sites f*r)*Pp*Yj*Wz |
| 258 | have hyJ : 0 ≤ Yj := (Real.exp_pos _).le |
| 259 | calc |
| 260 | _ ≤ Real.exp y₁ * Pp * Yj * (bV*Wz) := mul_le_mul_of_nonneg_left hhalf (by positivity) |
| 261 | _ = (Pp*Yj*Wz)*(Real.exp y₁*bV) := by ring |
| 262 | _ ≤ (Pp*Yj*Wz)*Real.exp (sites f*r) := mul_le_mul_of_nonneg_left hpz (mul_nonneg (mul_nonneg hτ' hyJ) (Real.exp_pos _).le) |
| 263 | _ = _ := by ring |
| 264 | |
| 265 | /-- Reapply with existential grant. Stamp versions can instead apply |
| 266 | `every_issue` on the *actual* Ringing using only the extra x height |
| 267 | threshold here. -/ |
| 268 | theorem license.{u} (ρ : Teller G) (O : ChartRatio G) (hO : LocalRatio O) |
| 269 | (M e l l' : ℝ) (hM : 0 ≤ M) (hc : 0≤e) : |
| 270 | ∃ n₀ : ℕ, ∀ L : Side, n₀≤L.val → ∀ᶠ W : ℝ in atTop, ∃ κ r : ℝ, 0<κ ∧ 0<r ∧ ∀ᶠ x : ℝ in atTop, |
| 271 | let v := betaF G x L |
| 272 | ∀ (c f : Side) (S : StepData c f), S.patch.L=L → 100*(1+radiusB x) ≤ c.val → |
| 273 | ∀ (T : Tube G S), ρ.Funds S T → |
| 274 | ∀ (F : Tree.Forest S.ratio) (R : Rep G f),∀ Λ δ y : ℝ, |
| 275 | R.Lawful ρ.top.width ρ.top.paths Λ δ y → v/2 ≤ R.beta → R.beta ≤ 2*v → |
| 276 | Presented.Fits T R x → y≤1 → δ≤1 → Λ ≤ 2*Vac.Numbers.P v → |
| 277 | License.{u} G c f S F T R x W M κ r O e l l' := by |
| 278 | obtain ⟨n₀,h₀⟩ := points_grant ρ |
| 279 | refine ⟨n₀,fun L hL => ?_⟩ |
| 280 | filter_upwards [h₀ L hL] with W ⟨hW,κ,hκ,H⟩ |
| 281 | obtain ⟨r,hr,he⟩ := every_issue.{u} ρ O hO M e l l' hM hc L W κ hW hκ |
| 282 | refine ⟨κ,r,hκ,hr,?_⟩ |
| 283 | filter_upwards [he,H] with x he ⟨_,_,ht⟩ |
| 284 | intro v c f S hL hR T h; exact he c f S hL hR T h (ht c f S T hL hR h) |
| 285 | end YM.Further.RootedInteractingRemainder.Levy |