-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should "unit_irrelevance" fact be moved elsewhere? #28
Comments
I forgot to mention it, but the name Lemma bool_irrelevance (x y : bool) (E E' : x = y) : E = E'. |
I agree it is confusing, but the misnaming here would rather be |
@CohenCyril I opened a new issue for your last comment -- math-comp/math-comp#229 |
I'm almost sure there is (or at least was) a theorem like What do you think? |
The |
@ggonthier I can only find references to "proof irrelevance in |
@CohenCyril : you are correct, however that hardly justifies the proposed renaming, since the "proof" elided in the lemma name refers to inhabitants of the type, not the type itself. If the lemma names were to match the English idiom as closely as possible, they should be |
I agree.
I also agree, cf: math-comp/math-comp#230
I agree with you, I just stated it in |
I tried to find it but could not, it appears we removed it at some point or my memory has played a trick on me. Feel free to close the issue and sorry about the noise. |
Does it make sense to move
unit_irrelevance
elsewhere in Coq's part of ssreflect or mathcomp?E.g. to
ssrfun
, nearunitE
lemma, which in turn could be used to prove the fact:The text was updated successfully, but these errors were encountered: