NLA-lib Explorer

NLAlib.Ops.Inputs.Oracles.contracts_of_satisfies

Library · theorem

An interpretation the model allows at the input X is allowed at the input Y as soon as its declared oracles satisfy their contracts at Y: every other operation and every query has the same contract at both.

NLAlib.Ops.Inputs.Oracles.contracts_of_satisfies {Op Tst K : Type} {r b : ℕ} {D : Ops.Inputs K r b}
  {M : Ops.AccessModel Op Tst D.problem} (O : D.Oracles M) {d : Fin r → ℕ} (X Y : D.problem.Input d)
  {I : Ops.Interp Op Tst K} (hI : M.contracts d X I)
  (hO : ∀ o ∈ O.ops, I.Satisfies Ops.Mode.total o (M.operation d Y o)) : M.contracts d Y I

Full source on GitHub

Import NLAlib.Ops.Dependence.