NLA-lib Explorer

NLAlib.Ops.RunsFromWL.link

Library · theorem

Linking a liberal counted eval from the initial state.

NLAlib.Ops.RunsFromWL.link {Tst K Op₁ Op₂ A : Type} [AddCommMonoid A] [PartialOrder A]
  [IsOrderedAddMonoid A] {T : Ops.Table Op₁ Op₂ Tst} {I : Ops.Interp Op₂ Tst K}
  {W₂ : Op₂ → List ℕ → ℕ} {w₂ : Ops.Count Op₂ Tst →+ A} {t : Op₁ → List ℕ → A}
  {W₁ : Op₁ → List ℕ → ℕ} {τ : Ops.Tape K} {s : Ops.Stmt Op₁ Tst} {ρ : Ops.Env} {p : ℕ}
  {Q : Ops.Count Op₁ Tst → Ops.Mem K → Prop} (hacc : T.AccountsW I W₂ w₂ t W₁) {m : Ops.Mem K}
  (h : Ops.RunsFromWL (I.link T) W₁ τ s ρ (Ops.St.init m) p Q) :
  Ops.RunsFromWL I W₂ τ (Ops.Stmt.link T s) ρ (Ops.St.init m) p fun c m' ↦
    ∃ c₁, w₂ c ≤ (Ops.Count.upper w₂ t) c₁ ∧ Q c₁ m'

Full source on GitHub

Import NLAlib.Ops.Counted.