NLA-lib Explorer

NLAlib.Ops.PWrites.seq_assoc_iff

Library · theorem

Reassociation: a block of three parts has the same specification however it is bracketed (the runs agree on every tape).

NLAlib.Ops.PWrites.seq_assoc_iff {Op Tst K : Type} [Inhabited K] [MeasurableSpace K]
  {law : ℕ → Measure K} {I : Ops.Interp Op Tst K} {ρ : Ops.Env} {F : Ops.Fp}
  {Pre Post : Ops.Mem K → Prop} {φ : ℝ} {a b c : Ops.Stmt Op Tst} :
  Ops.PWrites law I ((a.seq b).seq c) ρ F Pre Post φ ↔
    Ops.PWrites law I (a.seq (b.seq c)) ρ F Pre Post φ

Full source on GitHub

Import NLAlib.Ops.Logic.Probabilistic.