import YM.RG08.Cast.Profile import YM.RG08.Supplies.Actual /-! # Base supply cutoff rate around the Kinetic g-scalar convention. Exact schedule entry requirements: make σ(node)=min(kfaltpre, 1, P.α) before L; K convergence already established after jointly asking gates; here local transfer receipts. -/ set_option autoImplicit false noncomputable section namespace YM.RG08.Cast open Lattice Laurent Forms Pert.Bulk Isles Packets Carrel Filter Finset Function RG open Anchor Rudder Rudder.Symmetry Exterior Stationary Bloch RG08.Flat Spar Next.Free Rows Bid Precision Loop open scoped Topology ContDiff Classical BigOperators ENNReal Matrix variable {G:Gauge}{T:Levels G}{H:Horizon T}{P:MapPrices} def app (P:MapPrices)(w:ℕ→ℝ)(j:ℕ) := min (P.α j) (min 1 (w j)) lemma app_pos (P:MapPrices){w:ℕ→ℝ}(h:∀ j,0lt_min (P.alpha_pos _) (lt_min (by positivity) (h j)) def fees (G:Gauge)(P:MapPrices)(w:ℕ→ℝ)(h:∀ j,0 ((h.rows n i hh).2.1 x y).mono ht' le_rfl have hb:p m≤p N:=by unfold p apply mul_le_mul_of_nonneg_left (Real.rpow_le_rpow (by exact div_nonneg (T.S.a_pos _).le (T.S.a_pos _).le) (div_le_div_of_nonneg_right (T.S.strictAnti.antitone hm) (T.S.a_pos _).le) hq.positive.le) _ have ha:=hΛ k;have hh:=hq.logged;unfold Flat.clock;positivity apply seats_diff (G:=G) _ _ (Hs _ (hn.trans hm)) (Hs _ hn) (h.all _ _ (hn.trans hm)) (h.all _ _ hn) (fun n=>hi _ _ n (hn.trans hm)) (fun n=>hi _ _ n hn) (app_pos P hw j) ((min_le_right ..).trans (min_le_left ..)) (Ω_pos h i) (fee G P hw j) _ (by have := he N; positivity) have Hx : RowCost (app P w j) 1 (U N-U m) (p N+p m):=by convert (subtract_row (hf N hn) (hf m (hn.trans hm)) (he N) (he m)).mono ht using 1 funext x y; simp exact fun v z=>(Hx v z).trans (ENNReal.ofReal_le_ofReal (by linarith)) end YM.RG08.Cast