import YM.TraceExtension.Quince.Nectar import YM.TraceExtension.Quince.Unum import YM.TraceExtension.Quince.Surrey import YM.TraceExtension.Quince.Soil import YM.PhysicalNext.RG_NEXT_COMPLETE_REPEATABLE_NONLINEAR_STEP.Stage.Iris set_option autoImplicit false noncomputable section namespace YM.PhysicalNext.Repeat.Quince open Function Filter Set Lattice RG RG.Supply Wilson Precision Supply Input Org Extra.Histories Source Pressure open JointLoad JointLoad.Heir JointLoad.Heir.Suite JointLoad.Psalm Clockwork open AnalyticBridge VerifiedReset Collection Quotes Next.Scheduling Extra.Iteration Song Geo open ThroughLaunch Roof Push.PriceCompiler Further.StrongStartup SectorNext open Progress.DirectedRecipe Time Next.Foundations UVNext.CouplingReset open Cub Circlet Graces Roost Planned.GuardedAtom Legato Malachite open Mallow Lotus Planned.PrimaryIntegral295 PPX open scoped Topology BigOperators Classical Matrix.Norms.Frobenius ContDiff Interval InnerProductSpace open Bid Labels Extra.Iteration.Scales -- requires Stage fixed beta large for ratios variable {G:Gauge}{M:Metals G}{D:Rolls M.p}{A:Alloy M D}{X:Factor A}{C:ℕ→ℝ}{K:Worth}(b:Bandage X C K)(Z:Bolt A) local notation "T"=> A.B.a local notation "H"=> Issue.trail Z local notation "J"=> A.B.a.clock.J set_option quotPrecheck false variable {m d i w n k:ℕ} variable (hZ:Nest X Z)(hq:Skill b (bear K))(hG:G.Simple)(he:Ordeal A.B.a) (hx:d+3≤ A.B.a.clock.J m) local notation "F"=> ((Labels.frames G).level d) local notation "L"=> A.B.a.S.block i local notation "P"=> C (J (i+1)) local notation "cX"=> (H).levels.clock include he include hZ hq hG b hx -- ALL steps sufficiently large torus at target k. arbitrarily choose ξ.Bias payout P.Le lemma pricey {k:ℕ} (hi:m≤ i)(hk:igainChart H k i; let y j:= cameo A.B.a j; have hS i:0.trans hp) (pow_nonneg hv' d))) have ht := hu apply (add_le_add (by linarith only [ht, hu'] : B.cost i ≤ t/S i) (add_le_add (mul_le_mul_of_nonneg_left he hP'.le) (mul_le_mul_of_nonneg_left hx ‹0 pricey b Z hZ hq hG he hx (Finset.mem_Ico.mp hj).1 (Finset.mem_Ico.mp hj).2)] with n hp N hN B w hB hΩ hw let x(i):=(F).coeffSize (B.voice i).x; let t:=4*(1+((H).levels.params k).columns)*w; have ht:0≤t:=by unfold t; positivity [(H).levels.params k|>.columns_ge]; have hr(j:ℕ)(hi:m≤j)(he:j≤k): B.cost j+x j ≤ t/gainChart H k j:=by apply (le_div_iff₀ (Real.exp_pos _)).mpr; rw [mul_comm]; exact Work.G09.answer K (H) b.clock.room b.clock.bank N n d m k F (localSection G d) (hol G) B w hw hB j hi he have hQ(j:ℕ)(hi:m≤j): j≤k→ x j≤t/(gainChart H k j)/ cameo T j:=by induction j,hi using Nat.le_induction with | base=> intro h; simp only [x,hB.pairing,Frame.coeffSize, Pi.zero_apply,norm_zero,Finset.sum_const_zero]; unfold gainChart; positivity [cameo_pos (T) m] | succ j hj ih=> intro hk; exact hp _ (Finset.mem_Ico.mpr ⟨hj,hk⟩) _ hN B w _ hB hΩ hr ht (ih (by omega)) have hv:= hQ k h le_rfl; simp only [gainChart,sub_self,mul_zero,Real.exp_zero,div_one] at hv; rw [mul_comm]; exact (le_div_iff₀ (cameo_pos _ k)).mp hv end YM.PhysicalNext.Repeat.Quince #print axioms YM.PhysicalNext.Repeat.Quince.ascend