NLA-lib Explorer

NLAlib.Ops.Examples.Resources.mixedProgram_wp

Library · theorem

The allocations succeed, clean up their payload buffers and retain the tape position.

NLAlib.Ops.Examples.Resources.mixedProgram_wp (I : Ops.Interp Empty Empty Unit) (τ : Ops.Tape Unit)
  (d : Fin 1 → ℕ) (x : Ops.Examples.Resources.mixedProblem.Input d) :
  Ops.Wp Ops.Mode.total I τ Ops.Examples.Resources.mixedProgram.body (Ops.Program.environment d)
    (fun m ↦ m.store = [] ∧ m.pos = 0) (Ops.Examples.Resources.mixedProblem.initial d x)

Full source on GitHub

Import NLAlib.Ops.Examples.Resources.