Remix.run Logo
▲ qww-zrw 16 minutes ago

That is a bit like "all bugs are shallow" in open source though. Where would you start with an audit of 17M lines as well as the Lean code base, especially as a mathematician?

Apparently the type checking is done on .olean files that are generated by the same tools for all type checkers. That in itself is weird.

There are so many features like hygienic macros. Apparently you can even write a macro for disabling a theorem. I still have to find out if the type checkers announce themselves in the manner of C compilers (__GNUC__). If so, you could selectively disable/enable tailor-made theorems to trigger bugs in specific type checkers.

Anyway, these discussions would arise less if the Lean authors had the good sense of not using Claude for performative reasons and probably directives from their employers. Checks and balances are important.