NLA-lib Explorer

NLAlib.Ops.dotExactRel_rel

Library · theorem

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

Full source on GitHub

Import NLAlib.Ops.Catalog.Blas1.