NLA-lib Explorer

NLAlib.Ops.Examples.VectorSum.vaddF_succ

Library · theorem

One more round appends the sum of the next entries.

NLAlib.Ops.Examples.VectorSum.vaddF_succ {K : Type} (M : Ops.Machine K) (x y : ℕ → K) (n : ℕ) :
  Ops.Examples.VectorSum.vaddF M x y (n + 1) =
    Ops.Examples.VectorSum.vaddF M x y n ++ [M.add (x n) (y n)]

Full source on GitHub

Import NLAlib.Ops.Examples.VectorSum.