NLA-lib Explorer

NLAlib.Ops.Routine.Meets.satisfies_ofRel

Library · theorem

A routine that meets the specification read off a block relation meets, as an implementation, every operation contract of that relation it implements whose admission gives the condition on the dimensions.

NLAlib.Ops.Routine.Meets.satisfies_ofRel {Op Tst K : Type} {R : Ops.Routine Op Tst}
  {I : Ops.Interp Op Tst K} {B : Ops.BlockRel K} {ok : List ℕ → Prop}
  (h : R.Meets I (Ops.Routine.Spec.ofRel B ok)) {adm : List ℕ → List (ℕ × ℕ) → List (ℕ × ℕ) → Prop}
  {port : List (ℕ × ℕ) → List (ℕ × ℕ) → List (ℕ × ℕ)} (hi : R.Implements B adm port)
  (hok : ∀ (d : List ℕ) (ins outs : List (ℕ × ℕ)), B.Shaped adm d ins outs → ok d) :
  R.impl.Satisfies I Ops.Mode.total (B.spec adm)

Full source on GitHub

Import NLAlib.Ops.RoutineLink.