Created
September 21, 2014 09:35
-
-
Save igstan/b6acea8fe7a746e389be to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Module VersionA. | |
Inductive bool : Type := | |
| true : bool | |
| false : bool. | |
Definition neg (b : bool) : bool := | |
if b then false else true. | |
Eval compute in (neg true). (* false *) | |
End VersionA. | |
Module VersionB. | |
Inductive bool : Type := | |
| false : bool | |
| true : bool. | |
Definition neg (b : bool) : bool := | |
if b then false else true. | |
Eval compute in (neg true). (* true *) | |
End VersionB. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment