Formally verifying Erlang/Elixir programs with embedded Lean proofs
- José Valim
- December 1st, 2026
- elixir , erlang , lean , formal verification
Write laws in Erlang/Elixir, prove them in Lean, and have them verified against your actual code. We have used it to prove that Erlang's json implementation roundtrips, that Elixir's Task functions do not leave trailing messages in your inbox, and to uncover bugs in Elixir's type system.
