NLA-lib Explorer

NLAlib.Ops.BlockFn.un_fn

Library · theorem

NLAlib.Ops.BlockFn.un_fn {K : Type} (g : K → Option K) (x✝ : List ℕ) (x✝¹ : List K)
  (xs : List (List K)) :
  (Ops.BlockFn.un g).fn x✝ x✝¹ xs =
    match xs with
    | [[a]] => Option.map (fun v ↦ [[v]]) (g a)
    | x => none

Full source on GitHub

Import NLAlib.Ops.Blocks.