import YM.FullVolume.Shroud.Vigil set_option autoImplicit false noncomputable section namespace YM.PhysicalNext.Repeat.Legato.Campaign open Function Filter Set MeasureTheory Lattice RG RG.Supply Wilson Precision Supply Input Org Extra.Histories Source 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 WilsonStartup Progress.DirectedRecipe Time Next.Foundations UVNext.CouplingReset open Cub Circlet Graces Roost Planned.GuardedAtom Mallow Lotus open scoped Topology BigOperators Classical Matrix.Norms.Frobenius ContDiff Interval InnerProductSpace variable {G:Gauge} open YM.MergeProof open RG.Shoot Lark Motion open FullVolume FullVolume.Retreat FullVolume.Shroud Amp open Pillars Bandage Pass Muse Contest Ovens variable {R:Run G} (T:Campaign R) set_option quotPrecheck false local notation "L!"=> R.alloy.B.a local notation "K!"=> R.alloy.B local notation "o"=> R.alloy.B.a.clock.bar open Spirit Branch variable (F:∀ p N, Contest N p T.L)(hp:∀ p N, |(F p N).bonusB - R.alloy.B.a.clock.bar| ≤ outing T p) section ready lemma sturdy (p N:ℕ)(m:ℕ)(h:m ≤ N) : let Y:= F p N|>.trail m; HasSlots Y.p Y.activities:=by intro S; let P:=F p N; have hg:= P.rises have hp:= T.L.disappears hg; rcases eq_or_lt_of_le h with h|h · subst m; exact hp.fromTop.inits.2 obtain ⟨l,t,Q,hT,x,hx,hQ,hK⟩:= (hp.persists m (Nat.zero_le _) h).continues.2.1 let g:=T.gains.SimpleR; have hk:S=hT.result x:= hK rw [hk,hT.owns g h hx]; have hb:= hT.core h x hx; have hp:= (R.kit.machine.passes h hT.knows).1 exact (hb.renew g (R.alloy.B.support.cap N m h.le) hp.decent hp.width _ (Return.enough_room ..) (hp.fees x hx)).spare_room .. structure Cantata (F : ∀ p N,Contest N p T.L) where q:ℕ→∀ p, Shoot.Trail L! p mat : ∀ N p, Branch R.kit q N p 1 palm : ∀ N p:ℕ,∀ h:1 ≤ N,∀ m:ℕ,1 ≤ m → m ≤ N → q N p m= (F p N).trail m links : ∀ N p m,∀ h:1 ≤ m,∀ hm:m ⟨bornMeet T F hp,he N p,B N p⟩,fun N p _ m=> hv N p m,hB,fun p=> congr_fun (fades T F) p⟩ -- congr_fun binder end ready variable (C:Pillars R T) lemma strength :∃ S':Cantata T (fun p N=> T.center N p), S'.q=R.T.history ∧ (∀ m p n,∀ h:1 ≤ m,∀ hv:m⟨R.T.choice,fun i _ hi=> (C.yields n p).slots i (Nat.zero_le _) hi,fun i _ he=> (C.yields n p).steps i (Nat.zero_le _) he⟩,fun _ _ _ _ _ _=>rfl,fun _ _ _ _ _=> C.shares ..,fun _=>rfl⟩,rfl,fun _ _ _ _ _=> HEq.rfl⟩ end YM.PhysicalNext.Repeat.Legato.Campaign #print axioms YM.PhysicalNext.Repeat.Legato.Campaign.cant #print axioms YM.PhysicalNext.Repeat.Legato.Campaign.strength