NLA-lib Explorer

NLAlib.Ops.nrm2ExactRel_rel

Library · theorem

NLAlib.Ops.nrm2ExactRel_rel {K : Type} [Inhabited K] (dec : K → ℝ) (d : List ℕ) (X : List (List K))
  (x✝ : List K) (Y : List (List K)) :
  (Ops.nrm2ExactRel dec).rel d X x✝ Y =
    match X, Y with
    | [xs], [[v]] => dec v = √(∑ i ∈ Finset.range (d.headD 0), dec (Ops.vec xs i) ^ 2)
    | x, x_1 => False

Full source on GitHub

Import NLAlib.Ops.Catalog.Blas1.