NLA-lib Explorer

NLAlib.Ops.Interp.link_satisfies

Library · theorem

Grounding: the induced interpretation satisfies the contract of an implemented operation when its implementation satisfies it.

NLAlib.Ops.Interp.link_satisfies {Op₁ Op₂ Tst K : Type} {I : Ops.Interp Op₂ Tst K}
  {T : Ops.Table Op₁ Op₂ Tst} {o : Op₁} {E : Ops.Impl Op₂ Tst} (hT : T o = Sum.inl E)
  {md : Ops.Mode} {C : Ops.Contract K} (h : E.Satisfies I md C) : (I.link T).Satisfies md o C

Full source on GitHub

Import NLAlib.Ops.Cert.