NLA-lib Explorer

NLAlib.Ops.RunsFromWL.and

Library · theorem

Two postconditions of the same run hold together: the counts added are determined by the run.

NLAlib.Ops.RunsFromWL.and {Op Tst K : Type} {I : Ops.Interp Op Tst K} {W : Op → List ℕ → ℕ}
  {τ : Ops.Tape K} {ρ : Ops.Env} {st : Ops.St Op Tst K} {p p' : ℕ}
  {Q Q' : Ops.Count Op Tst → Ops.Mem K → Prop} {s : Ops.Stmt Op Tst}
  (h : Ops.RunsFromWL I W τ s ρ st p Q) (h' : Ops.RunsFromWL I W τ s ρ st p' Q') :
  Ops.RunsFromWL I W τ s ρ st (min p p') fun c m ↦ Q c m ∧ Q' c m

Full source on GitHub

Import NLAlib.Ops.Counted.