Created
August 28, 2015 10:33
-
-
Save yoshihiro503/c909dc5186d0898d4c12 to your computer and use it in GitHub Desktop.
なぞなぞ:Coqの関数定義でなぜか戻り値がSetじゃないとダメと起こられる例:
This file contains hidden or 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
Definition foo (b : bool) : nat = | |
if b then 0 else 1. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
このCoqコードはエラーとなって次のエラーメッセージが返される(Coq-8.2)
それはなぜでしょう?