import YM.TraceExtension.Terrace.Knell 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 open Trace Trace.Terrace variable {G:Gauge}{M:Metals G}{D:Rolls M.p}{A:Alloy M D}{X:Factor A}{K:ℕ→ℝ}{W:Worth}(b:Bandage X K W)(Z:Bolt A) local notation "T"=> Issue.trail Z local notation "V"=> A.B.a local notation "J"=> A.B.a.clock.J variable {t:ℕ→ℕ}{Xf : ∀ d N p, TransferData ((Labels.frames G).level d) (Issue.trail Z) N p} set_option quotPrecheck false local notation "C"=> Family.mk (Issue.trail Z) (hol G) (Labels.frames G) (localSection G) t Xf set_option maxHeartbeats 800000 in lemma attain (h:Nest X Z)(hG:G.Simple)(hp:Skill b (bear W))(he:Ordeal A.B.a) (H:(C).Makes): Sceptre C W :=by refine ⟨fun d m hd hm=>?_,fun d k hk=> (ascend b Z h hp hG he (d:=d) (m:=t d) (H.stages d|>.1) hk)⟩ let Y:= V; let L:= A.B.a.S.block m; let c:= (Y.budget m).threshold; let f:= (Y.budget (m+1)).threshold; let B:= (Y.params m).columns; let U:= (Y.params (m+1)).columns; have ht:= (Y.params m).columns_ge; have hU : 1≤U:= (Y.params _).columns_ge have hK : d+3 ≤ J m:= (H.stages d).1.trans (A.B.a.fits.mono hm); let k:= K (J (m+1)); have hx:1 ≤ k:= (tillP b Z hK).1; let ℓ:ℝ:=L.val; have hl:0<ℓ:= Nat.cast_pos.mpr L.property let r:= Doors.rate L; have hr:0 < r:=Doors.rate_pos _; let a:= gear Y m; have ha:0 < a:=gear_pos Y m let P:= B*(U*ℓ^d)+k*ℓ^d+r*U; have hz:0