logoalt Hacker News

fritzo • yesterday at 5:58 PM • 1 reply • view on HN

You don't need a model of your programming language in Lean, that's overkill.

It's already useful to isolate a DSL in your software and model that in Lean. Sure that only proves that the domain specific code is correct, but now you've factored your proof into proving high-level correctness and low-level correctness.


Replies

amw-zero • yesterday at 6:15 PM

What are you proving in Lean if you don't have the semantics of the thing that you're writing a proof about?

➕ show 1 reply