logoalt Hacker News

troupo • yesterday at 6:32 PM • 0 replies • view on HN

For Elixir its author, Jose Valim, created Lynx: https://github.com/josevalim/lynx

--- start quote ---

You write laws in Erlang/Elixir, which are automatically translated to Lean alongside your Erlang/Elixir code, and you write proofs in Lean. The laws and proofs are assembled together and verified by Lean's kernel.

This technique is also known as shallow embedding, since it translates Erlang/Elixir to Lean and then use the features and properties of Lean for proofs.

--- end quote ---