Last active
August 29, 2015 14:23
-
-
Save amutake/5bd069627f63da066bd3 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
Require Import Coq.Strings.Ascii. | |
Require Import Ssreflect.ssreflect Ssreflect.eqtype Ssreflect.ssrbool. | |
Definition eqascii (a a' : ascii) : bool := | |
match a, a' with | |
| Ascii b0 b1 b2 b3 b4 b5 b6 b7, Ascii b0' b1' b2' b3' b4' b5' b6' b7' => | |
(b0 == b0') && (b1 == b1') && (b2 == b2') && (b3 == b3') && | |
(b4 == b4') && (b5 == b5') && (b6 == b6') && (b7 == b7') | |
end. | |
Lemma eqasciiP : Equality.axiom eqascii. | |
Proof. | |
by do 18!case; constructor. (* 終わらない *) | |
Qed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment