LAProof: A Library of Formal Proofs of Accuracy and Correctness for Linear Algebra Programs
The LAProof library provides formal machine-checked proofs of the accuracy of basic linear algebra operations: inner product using conventional multiply and add, inner product using fused multiply-add, scaled matrix-vector and matrix-matrix multiplication, and scaled vector and matrix addition. Thes...
Saved in:
Published in | Proceedings - Symposium on Computer Arithmetic pp. 36 - 43 |
---|---|
Main Authors | , , , |
Format | Conference Proceeding |
Language | English |
Published |
IEEE
04.09.2023
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The LAProof library provides formal machine-checked proofs of the accuracy of basic linear algebra operations: inner product using conventional multiply and add, inner product using fused multiply-add, scaled matrix-vector and matrix-matrix multiplication, and scaled vector and matrix addition. These proofs can connect to concrete implementations of low-level basic linear algebra subprograms; as a proof of concept we present a machine-checked correctness proof of a C function implementing sparse matrix-vector multiplication using the compressed sparse row format. Our accuracy proofs are backward error bounds and mixed backward-forward error bounds that account for underflow, proved subject to no assumptions except a low-level formal model of IEEE-754 arithmetic. We treat low-order error terms concretely, not approximating as \mathcal{O}\left( {{u^2}} \right). |
---|---|
ISSN: | 2576-2265 |
DOI: | 10.1109/ARITH58626.2023.00021 |