There was another bug fixed this week in which the Lean people were checking whe...
Jon Sterling @jonmsterling@mathstodon.xyz
There was another bug fixed this week in which the Lean people were checking whether a type is proof irrelevant by simply asking whether its sort normalises to the Prop level, and then when it DOESN’T, the type is assumed to be projectible. But what about something neutral ??? This wasn't dealt with. It is really hard to comprehend the state of mind that would lead someone to implement the "can I project from this datatype in a relevant context" check by asking whether the type is "not" a proposition. TYPES THAT ARE NOT PROPOSITIONS CAN BECOME PROPOSITIONS WHEN VARIABLES GET SUBSTITUTED. REPEAT AFTER ME.
Now we all have bugs. But that is the kind of bug that only someone who has never seen type theory before can make, or has no idea how type theory works. It is not the kind of mistake that a professional of any kind in the area would be able to make.
Anyway, it just underscores to me just how fucking ignorant and ill-prepared some of these people who are now ruling the world of proof assistants are.
EDIT: here it is: https://github.com/leanprover/lean4/pull/14807.
Sorry for a wrong description in a previous version of this tweet.