NLA-lib Explorer

NLAlib.Ops.Operand.evalList_cons

Library · theorem

NLAlib.Ops.Operand.evalList_cons (ρ : Ops.Env) (a : Ops.Operand) (as : List Ops.Operand) :
  Ops.Operand.evalList ρ (a :: as) =
    (Ops.Operand.eval ρ a).bind fun x ↦ Option.map (fun xs ↦ x :: xs) (Ops.Operand.evalList ρ as)

Full source on GitHub

Import NLAlib.Ops.Syntax.