A Unified Framework for Formalizing Matrix Decomposition Proofs
Wanli MaZichen Wang
Zaiwen Wen Wanli Ma
Zichen Wang

Zaiwen Wen
+3
This paper presents a Lean 4 framework that unifies matrix decomposition proofs by formalizing their common recursive structure. The framework separates decomposition schemas, transformations, reductions, and lifting into reusable components, using general index types and universe packages for square and rectangular matrices. A decomposition driver assembles strategy data into subtype-induction instances. The framework has been instantiated across multiple decompositions (PLU, LU, LDL/Cholesky, QR, SVD, Smith normal form, etc.), arguing that these proofs are best treated as instances of a single general inductive statement recording a certified proof path.

arXiv ·
· July 7, 2026