NLAlib.Ops.Examples.runs_bilinear_exact
Library · theorem
Oracle: matrix–vector product
Exact BLAS1 computes the exact bilinear form, from the same program certificate.
NLAlib.Ops.Examples.runs_bilinear_exact {K Op Tst : Type} [Ops.Has Ops.OperatorOp Op]
[Ops.Has Ops.Blas1Op Op] [Inhabited K] {dec : K → ℝ} {m n : ℕ} {A : Matrix (Fin m) (Fin n) ℝ}
{ok : ℕ → Prop} {J : Ops.Interp Op Tst K} (hA : Ops.IsExactMatvec dec A J)
(hB : Ops.IsExactBlas1 dec ok J) (hok : ok m) (W : Op → List ℕ → ℕ) {τ : Ops.Tape K}
{x y z : ℕ × ℕ} {μ : Ops.Mem K} {xs ys : List K} (hxz : x.1 ≠ z.1) (hyz : y.1 ≠ z.1)
(hl : μ.Live [x, y, z]) (hx : μ.store.readBlock x.1 x.2 m = some xs)
(hy : μ.store.readBlock y.1 y.2 n = some ys) (hz : z.2 < μ.store.len z.1) :
Ops.ConditionalRuns J W τ Ops.Examples.bilinear (Ops.Env.frame [m, n] [x, y, z]) μ
(Ops.Examples.bilinearCount m n) (Ops.Examples.bilinearPeak W m n)
(Ops.Examples.BilinearExact dec A z xs ys μ)Import NLAlib.Ops.Examples.Bilinear.