NLA-lib Explorer

Certificates and costs of the two level-1 profiles

Library · Source module

Certificates and costs of the two level-1 profiles

Main results

* Constants: NLAlib.Ops.Blas.seq.err u, NLAlib.Ops.Blas.pairwise.err u, with the dot errors (1 + u) ^ n - 1 and (1 + u) ^ (⌈log₂ n⌉ + 1) - 1. * Certificates: NLAlib.Ops.Blas.seq_certifies, NLAlib.Ops.Blas.pairwise_certifies, over every interpretation of scalar arithmetic that is a machine meeting the standard model at u. The second is the recursion: one level (NLAlib.Ops.Blas.sumPairwise_certifies) iterated by NLAlib.Ops.Profile.Refines.iter. * Costs: NLAlib.Ops.Blas.seq_cost_dot, NLAlib.Ops.Blas.pairwise_cost_dot: n multiplications and n - 1 additions in both; the pairwise count is the k-fold push-forward, evaluated by induction on the depth (NLAlib.Ops.Blas.sumPairwise_iter_cost_sum). * Witness: NLAlib.Ops.Blas.exists_isBlas1.

Declarations