> My advice is that when you haven’t got a clue you should shut up rather than broadcast your cluelessness.
Good advice. Lean doesn’t have such a thing as undefined behaviour or erroneous behaviour. As a language it’s much more like haskell than C/C++ (eg it doesn’t have pointers exposed directly, you can do dynamic memory things using arrays but that’s really for FFI and wouldn’t be used in a proof). If you’re using lean as a proof assistant, many/most of the types of things you might do to check a conventional program for bugs are not relevant.
Approaching a proof validation like you’re approaching a software audit is very unlikely to yield any sort of useful result. If you want to audit lean in the normal software way, the thing to do would be to audit the lean kernel - you may well get results. It’s very unlikely but not impossible that these would affect the validity of any proof except where a proof was “dishonest” ie deliberately constructed in such a way as to exploit the bug.
Good advice. Lean doesn’t have such a thing as undefined behaviour or erroneous behaviour. As a language it’s much more like haskell than C/C++ (eg it doesn’t have pointers exposed directly, you can do dynamic memory things using arrays but that’s really for FFI and wouldn’t be used in a proof). If you’re using lean as a proof assistant, many/most of the types of things you might do to check a conventional program for bugs are not relevant.
Approaching a proof validation like you’re approaching a software audit is very unlikely to yield any sort of useful result. If you want to audit lean in the normal software way, the thing to do would be to audit the lean kernel - you may well get results. It’s very unlikely but not impossible that these would affect the validity of any proof except where a proof was “dishonest” ie deliberately constructed in such a way as to exploit the bug.