NLA-lib Explorer

NLAlib.Ops.Examples.sum_quadForm_window

Library · theorem

The sum of the quadratic forms of the probes of a window is that of the tape.

NLAlib.Ops.Examples.sum_quadForm_window {K : Type} [Inhabited K] (dec : K → ℝ) {n : ℕ}
  (A : Matrix (Fin n) (Fin n) ℝ) (τ : Ops.Tape K) (p N : ℕ) :
  (∑ i ∈ Finset.range N,
      Ops.quadForm A fun j ↦ dec (Ops.vec (τ.window Ops.Stream.gauss p (N * n)) (i * n + ↑j))) =
    Ops.Examples.hutchF dec A τ p N

Full source on GitHub

Import NLAlib.Ops.Examples.Hutch.