NLA-lib Explorer

NLAlib.Ops.BlockFn.of1_fn

Library · theorem

NLAlib.Ops.BlockFn.of1_fn {K : Type} (nd : ℕ) (l lo : List ℕ → ℕ)
  (g : List ℕ → List K → Option (List K)) (d : List ℕ) (x✝ : List K) (xs : List (List K)) :
  (Ops.BlockFn.of1 nd l lo g).fn d x✝ xs =
    match xs with
    | [x] => Option.map (fun y ↦ [y]) (g d x)
    | x => none

Full source on GitHub

Import NLAlib.Ops.Blocks.