NLA-lib Explorer

NLAlib.Ops.Writes.seq_assoc_iff

Library · theorem

Reassociate three executed blocks without changing their footprint or postcondition.

NLAlib.Ops.Writes.seq_assoc_iff {K Op Tst : Type} {md : Ops.Mode} {I : Ops.Interp Op Tst K}
  {τ : Ops.Tape K} {ρ : Ops.Env} {m : Ops.Mem K} {a b c : Ops.Stmt Op Tst} {F : Ops.Fp}
  {P : Ops.Mem K → Prop} :
  Ops.Writes md I τ ((a.seq b).seq c) ρ F P m ↔ Ops.Writes md I τ (a.seq (b.seq c)) ρ F P m

Full source on GitHub

Import NLAlib.Ops.Logic.ScalarOutput.