数学 > 数值分析
[提交于 2025年10月15日]
标题:Formal Verification of COO to CSR Sparse Matrix Conversion (Invited Paper)
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We describe a machine-checked correctness proof of a C program that converts a coordinate-form (COO) sparse matrix to a compressed-sparse-row (CSR) matrix. The classic algorithm (sort the COO entries in lexicographic order by row,column; fill in the CSR arrays left to right) is concise but has rather intricate invariants. We illustrate a bottom-up methodology for deriving the invariants from the program.
提交历史
来自:EPTCS[v1] 2025年10月15日 星期三 11:13:26 UTC