Formally proving the security of Fast Reed-Solomon interactive oracle proofs of proximity
See the codeAn AI-assisted Lean 4 formalization of the Fast Reed–Solomon Interactive Oracle Proof (FRI) protocol, a core component of modern transparent, STARK-style zero-knowledge proofs.
This project starts from elementary linear algebra (matrix multiplication, code distance, random sampling) and builds all the way up to a fully machine-checked security proof for FRI with concrete soundness bounds, following the framework of Evans–Angeris "Succinct Proofs and Linear Algebra".
All the Lean statements and proofs were produced by Gauss, Math Inc.'s autoformalization agent, guided by a LaTeX blueprint.

ZkLinalg/ – main Lean development of the linear-algebraic framework and FRI security proof.ZkLinalg.lean – top-level Lean entry point.blueprint/ – LaTeX blueprint, including the dependency graph and web/PDF build assets.home_page/ – Jekyll-based landing page used for the project website.You will need:
lake exe cache get && lake build
uvx leanblueprint pdf
uvx leanblueprint web
uvx leanblueprint serve
The generated site is served locally; by default the blueprint index is at
http://localhost:8000/.
This repository is part of Math Inc.'s broader effort to apply AI-assisted formal verification to modern cryptographic protocols and zero-knowledge proof systems. Faster, lower-friction formalization can make complex proving infrastructure easier to audit, extend, and trust.
For questions or collaborations, please reach out via https://www.math.inc/.
6 commits
4 commits
Lean
73.4%
TeX
20.9%
SCSS
2.9%
HTML
1.9%
Formally proving the security of Fast Reed-Solomon interactive oracle proofs of proximity
See the codeAn AI-assisted Lean 4 formalization of the Fast Reed–Solomon Interactive Oracle Proof (FRI) protocol, a core component of modern transparent, STARK-style zero-knowledge proofs.
This project starts from elementary linear algebra (matrix multiplication, code distance, random sampling) and builds all the way up to a fully machine-checked security proof for FRI with concrete soundness bounds, following the framework of Evans–Angeris "Succinct Proofs and Linear Algebra".
All the Lean statements and proofs were produced by Gauss, Math Inc.'s autoformalization agent, guided by a LaTeX blueprint.

ZkLinalg/ – main Lean development of the linear-algebraic framework and FRI security proof.ZkLinalg.lean – top-level Lean entry point.blueprint/ – LaTeX blueprint, including the dependency graph and web/PDF build assets.home_page/ – Jekyll-based landing page used for the project website.You will need:
lake exe cache get && lake build
uvx leanblueprint pdf
uvx leanblueprint web
uvx leanblueprint serve
The generated site is served locally; by default the blueprint index is at
http://localhost:8000/.
This repository is part of Math Inc.'s broader effort to apply AI-assisted formal verification to modern cryptographic protocols and zero-knowledge proof systems. Faster, lower-friction formalization can make complex proving infrastructure easier to audit, extend, and trust.
For questions or collaborations, please reach out via https://www.math.inc/.
6 commits
4 commits
Lean
73.4%
TeX
20.9%
SCSS
2.9%
HTML
1.9%