logoalt Hacker News

thomasahle • yesterday at 4:32 PM • 1 reply • view on HN

> "Lean-checked" is just another quality improvement, like reviewing your code carefully or adding some unit tests. It's not—it's totally different

I think for most things, this is actually a good way to see it: As a third leg on top of reviewing your code carefully and unit tests.

As you say, people will still make many mistakes in how they write their formal requirements, or miss things they care about.

For math this is not an issue, it's usually easy to check that the lean statement is exactly what you want. But for software, and many other real world applications, it's better thought of as a new orthogonal testing vector that everyone should be using.


Replies

guenthert • yesterday at 4:40 PM

> But for software, and many other real world applications, it's better thought of as a new orthogonal testing vector that everyone should be using.

Not sure about should, but as long as even modestly complex systems like the Signal communication protocol map into millions of lines of Lean, its pretty clear that not everyone will be able to use it. We still need better tools (tools better suited to our monkey brains).

➕ show 1 reply