NLA-lib Explorer

NLAlib.Ops.Program.run_link

Library · theorem

Linking preserves checked memory execution when both fixed trees satisfy their models.

NLAlib.Ops.Program.run_link {Op Tst K Lo : Type} {r b : ℕ} (p : Ops.Program Op Tst r b)
  (T : Ops.Table Op Lo Tst) (I : Ops.Interp Lo Tst K) (R : Ops.ResourceModel Op Tst)
  (L : Ops.ResourceModel Lo Tst) (formats : Fin b → Ops.StorageFormat) (τ : Ops.Tape K)
  (d : Fin r → ℕ) (m : Ops.Mem K) (ht : p.wellTyped R formats = true)
  (hl : (p.link T).wellTyped L formats = true) :
  (p.link T).run I L formats τ d m = p.run (I.link T) R formats τ d m

Full source on GitHub

Import NLAlib.Ops.Link.