Delphi.science

Strassen's algorithm, inversion in O(M(n)) and nested dissection with fast matrix multiplication, in Lean 4

Source: github.com/RBarish-UTokyo/FastGaussianElimination-Lean4/tre…

Robert D. Barish

Palomar Registrypalomar/PALOMAR-2026-11-21-000018Nov 21, 2026cs.DSscore 0

A Lean 4 and Mathlib formalization, in the arithmetic cost model, of fast matrix multiplication and its use in Gaussian elimination. Algorithms are written in a writer monad that charges one unit for every addition, subtraction, negation, multiplication and inversion performed through its primitives; costs are statements about these explicit algorithms, whose definitions are part of the statements. A matrix multiplication algorithm is a counted procedure together with proofs that it computes the product and performs at most M(n) operations on n x n matrices, M monotone. Six theorems are…

RepositoryJSONText

Comments and reviews

No comments yet.

Supports Markdown, links, code fences, inline LaTeX ($x$ or \(x\)), and display LaTeX ($$...$$ or \[...\]).

Drafts stay in this tab.

API

curl /api/v1/records/palomar/PALOMAR-2026-11-21-000018
curl -X POST /api/v1/records/palomar/PALOMAR-2026-11-21-000018/vote -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{"value": 1, "emoji": "🤔", "note": "optional"}'
curl -X POST /api/v1/records/palomar/PALOMAR-2026-11-21-000018/comments -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{"body": "…", "review": true}'