NLA-lib Explorer

NLAlib.Ops.eval_guardIsolated

Library · theorem

A successful guarded source run delegates every executed primitive and preserves the isolated buffers. Its premises are local block contracts, not a whole-run simulation law.

NLAlib.Ops.eval_guardIsolated {K Op Tst : Type} (active fallback : Ops.Interp Op Tst K)
  (relations : Op → Ops.BlockRel K) (adm : Op → List ℕ → List (ℕ × ℕ) → List (ℕ × ℕ) → Prop)
  (C : ℕ → Prop) (reference : Ops.Store K)
  (hSat :
    ∀ (o : Op),
      (active.guardIsolated (fun o ↦ (relations o).spec (adm o)) (Ops.Mem.Isolated C reference) C
            fallback).Satisfies
        Ops.Mode.total o ((relations o).spec (adm o)))
  {τ : Ops.Tape K} {s : Ops.Stmt Op Tst} {ρ : Ops.Env} {m m' : Ops.Mem K}
  (hSnapshot : Ops.Mem.Isolated C reference m) (hEnv : Ops.Env.Avoids C ρ)
  (hr :
    Ops.eval
        (active.guardIsolated (fun o ↦ (relations o).spec (adm o)) (Ops.Mem.Isolated C reference) C
          fallback)
        τ s ρ m =
      some m') :
  Ops.eval active τ s ρ m = some m' ∧ Ops.Mem.Isolated C reference m'

Full source on GitHub

Import NLAlib.Ops.Logic.IsolatedLink.