import YM.MergeProof.East.Reach import YM.TraceExtension.Prom.Orion.Plume import YM.TraceExtension.Prom.Front.West.Lys import YM.TraceExtension.Prom.Front.West.Tael import YM.TraceExtension.Prom.Hill.Allowance import YM.TraceExtension.Prom.Hill.Tuning /-! Variant of YM.MergeProof.East.Reach for dynamic stops. Pulse extension. -/ set_option autoImplicit false noncomputable section namespace YM.MergeProof.East open Function Filter Set MeasureTheory Lattice Wilson RG Marker Source Extra.Histories open Extraction Bid Push Next.Extract Dash Cells Next.Rank Next.Rank.Tapes PhysicalNext.RankCovariance PhysicalNext.InteractingRank PhysicalNext.InteractingRank.Soft Next.Rank.Price Precision open Org Spec PhysicalNext.Repeat.Legato.Bandage open Next.Rank Tapes.West Perch Atlas Station Cells Edition Glyph Rise Alarm Paint Vac.Numbers open Next.Rank.East Further.CorrectedLift open scoped Topology Matrix.Norms.Frobenius BigOperators Classical ContDiff variable {G:Gauge}{C:Family G}{d n D k N p m:ℕ} {ι:Type}[Fintype ι] {W:Bid.Worth}{u ψ φ δ:ℕ→ℝ}{r:ℕ→ℕ} {L:∀ N p m:ℕ,m C.path.levels variable (z:ℝ) (hZ : ∀ i≤D,Accent.generator G i≤ z) variable {R : Set (Points (m+1))} {t :Fin (m+1)→Fin (D+1)} (y: (i:Fin (m+1))→ C.label (t i)) (x:ι) set_option quotPrecheck false -- conversion putting arc equal. spectral posterior used to READ using actual purchase. -- pb proof assistant small include H h hp hZ Z lemma lava_vSky (hR:IsCompact R)(hi:R ⊆ conf _) (hn:2≤n)(hn':m+1 ≤ n) : ∀ᶠ k:ℕ in atTop, ∀ T,PoisedSky (P k) B H O J n z k T→ ∀ N p (he:k (Ship.invoiceSky (jointX y) (q_asked (C:=C) (d:=fun i=> (t i).val) v) h N p U).part s) ≤ Ship.budget C.path.levels n k:=by obtain ⟨u0,hU⟩:= Z.money x; obtain ⟨w0,hW⟩:= Z.taylor x; obtain ⟨μ,z,hα,heq⟩:= Z.wave filter_upwards [earningsSky B H h hp O J hZ w0 u0 (μ x+1) (fun k=> P k x) hW hU (fun k=> (heq x k).trans_le (add_le_add_right (hα k).2 _)) (d0:=fun i=>(t i).val) y hn' hn (fun i=>Nat.le_of_lt_succ (t i).isLt) hR hi] with k hu T he N p hN intro v w hw hs s hv let K (x:ℝ)(h:FitSky A x k w):=(Ship.yardSky C x hN.le p).rootTest (C.beta N p) (fun U=> (Ship.invoiceSky (jointX y) (q_asked (C:=C) (d:=fun i=>(t i).val) v) h N p U).part s) obtain ⟨l,r,F,hF⟩:=he.supply x; obtain ⟨V,hV,hx⟩:= hF N p hN choose Y hy using hx let θ := (P k x).bag ((A).clock.J k);have ha:θ.band=(P k x).arc:= (P k x).factor _ have hf:FitSky A θ.band k w:=ha.symm ▸ hs have hg(i): Price.Solves C (mag A θ.band k) _ k N p (Y (t i)).T (y i) (v i):= by rw [ha,hy]; exact poured H (he.early _ (Nat.le_of_lt_succ (t i).isLt)) hN.le _ _ (he.charts N p hN (t i)).1 _ have hQ : K θ.band hf ≤ Ship.budget C.path.levels n k:= hu l r F N p hN V hV w (ha.symm ▸ hw) hf (fun i=> Y (t i)) v hg s hv change K (P k x).arc hs ≤ _; suffices hh:∀ (h:FitSky (A) (P k x).arc k w), K (P k x).arc h ≤ Ship.budget (A) n k from hh hs; rw [← ha]; intro h; exact hQ end YM.MergeProof.East