NLAlib.Ops.writes_bindIdx
Library · theorem
Index binder, on the number returned, within the bound.
NLAlib.Ops.writes_bindIdx {Op Tst K : Type} {md : Ops.Mode} {I : Ops.Interp Op Tst K}
{τ : Ops.Tape K} {ρ : Ops.Env} {m : Ops.Mem K} {q : Tst} {ins : List Ops.Operand}
{bound : Ops.IExp} {body : Ops.Stmt Op Tst} {a : List (ℕ × ℕ)} {B v : ℕ} {F : Ops.Fp}
{P : Ops.Mem K → Prop} (ha : Ops.Operand.evalList ρ ins = some a)
(hB : Ops.IExp.eval ρ.idx bound = some B) (hv : I.index q a m = some v) (hle : v ≤ B)
(h : Ops.Writes md I τ body (ρ.pushIdx v) F P m) :
Ops.Writes md I τ (Ops.Stmt.bindIdx q ins bound body) ρ F P mImport NLAlib.Ops.Logic.Writes.