NLAlib.Ops.Interp.callS_guardIsolated
Library · theorem
The ordinary core liveness and shape checks commute with the proof-side guard.
NLAlib.Ops.Interp.callS_guardIsolated {K Op Tst : Type} (active fallback : Ops.Interp Op Tst K)
(contracts : Op → Ops.Contract K) (good : Ops.Mem K → Prop) (C : ℕ → Prop) (o : Op) (d : List ℕ)
(ins outs : List (ℕ × ℕ)) (τ : Ops.Tape K) (m : Ops.Mem K) :
(active.guardIsolated contracts good C fallback).callS o d ins outs τ m =
if good m ∧ ∀ z ∈ outs, ¬C z.1 then
if ((contracts o).on Ops.Mode.total d ins outs τ m).pre m then active.callS o d ins outs τ m
else none
else fallback.callS o d ins outs τ mImport NLAlib.Ops.Logic.Isolated.