← All repos

certigrad

Bug-free machine learning on stochastic computation graphs

leanmachine-learningtheorem-provingverification
Browse cluster: Lean4 Formal Verification & Cryptography
200commits
2contributors
2languages

Tech stack & purpose

Certigrad is a proof-of-concept system for developing machine learning software with formal correctness guarantees, specifically for optimizing stochastic computation graphs through verified implementation. The project uses the Lean theorem prover to construct formal specifications and machine-checkable proofs that the implementation satisfies its mathematical specification, including certified proofs of correctness for stochastic backpropagation and graph transformations. Built in Lean and interfacing with the Eigen library for tensor operations, Certigrad was developed by Daniel Selsam, Percy Liang, and David L. Dill at Stanford University, with support from the Future of Life Institute.

Community & reference links

Languages

Lean
99.8%
Dockerfile
0.2%

Contributors