NLA-lib Explorer

NLAlib.Ops.IExp.evalList_cons

Library · theorem

NLAlib.Ops.IExp.evalList_cons (idx : List ℕ) (e : Ops.IExp) (es : List Ops.IExp) :
  Ops.IExp.evalList idx (e :: es) =
    (Ops.IExp.eval idx e).bind fun x ↦ Option.map (fun xs ↦ x :: xs) (Ops.IExp.evalList idx es)

Full source on GitHub

Import NLAlib.Ops.Syntax.