NLA-lib Explorer

Sequential rounded BLAS over scalar-only primitives

Library · Source module

Sequential rounded BLAS over scalar-only primitives

The fixed lowering expands vector operations and sequential summation, then removes the unused vector names. Its target signature is exactly scalar arithmetic. The unused-name erasure is proved independent of its arbitrary values: no fallback vector meaning survives in the tree. The numerical contracts are inherited from the existing sequential BLAS certificate.

Main results

* NLAlib.Ops.RoundedScalarBlas.table: a computable scalar-only lowering. * NLAlib.Ops.RoundedScalarBlas.table_independent: unused vector erasures do not affect it. * NLAlib.Ops.RoundedScalarBlas.model: unit-weight scalar arithmetic with exact comparisons. * NLAlib.Ops.RoundedScalarBlas.contracts_link: derive rounded vector contracts from scalars. * NLAlib.Ops.RoundedScalarBlas.nrm2_meets, NLAlib.Ops.RoundedScalarBlas.nrm2_meets_stdModel, NLAlib.Ops.RoundedScalarBlas.nrm2_meets_word: the judgments of the norm under exact arithmetic, under the standard model (two-sided) and on any machine. The statements nrm2_writes_exact, nrm2_writes_stdModel and nrm2_writes are their readings at one cell.

Declarations