diff options
author | Chantal Keller <Chantal.Keller@inria.fr> | 2015-02-11 23:11:24 +0100 |
---|---|---|
committer | Chantal Keller <Chantal.Keller@inria.fr> | 2015-02-11 23:11:24 +0100 |
commit | 742f658b7aac7fab95416c7081be173b3393ad5a (patch) | |
tree | 1224ec53185e3ea9a96136f4ab4fb37984bc47f3 /src/versions/standard/Int63/Int63Properties_standard.v | |
parent | 7c57fa0cc7a24be11875607e2a2fc9bba98ad2e0 (diff) | |
download | smtcoq-742f658b7aac7fab95416c7081be173b3393ad5a.tar.gz smtcoq-742f658b7aac7fab95416c7081be173b3393ad5a.zip |
Implemented cast on int31 directly
Diffstat (limited to 'src/versions/standard/Int63/Int63Properties_standard.v')
-rw-r--r-- | src/versions/standard/Int63/Int63Properties_standard.v | 45 |
1 files changed, 25 insertions, 20 deletions
diff --git a/src/versions/standard/Int63/Int63Properties_standard.v b/src/versions/standard/Int63/Int63Properties_standard.v index ccb103b..c9d57d0 100644 --- a/src/versions/standard/Int63/Int63Properties_standard.v +++ b/src/versions/standard/Int63/Int63Properties_standard.v @@ -77,33 +77,38 @@ Proof. intros i j;destruct (eqs i j);auto. Qed. +(* TODO: fill these proofs *) Lemma cast_refl : forall i, cast i i = Some (fun P H => H). -Proof. - unfold cast;intros. - generalize (eqb_correct i i). - rewrite eqb_refl;intros. - rewrite (eq_proofs_unicity eq_dec (e (eq_refl true)) (eq_refl i));trivial. -Qed. +Admitted. +(* Proof. *) +(* unfold cast;intros. *) +(* generalize (eqb_correct i i). *) +(* rewrite eqb_refl;intros. *) +(* rewrite (eq_proofs_unicity eq_dec (e (eq_refl true)) (eq_refl i));trivial. *) +(* Qed. *) Lemma cast_diff : forall i j, i == j = false -> cast i j = None. -Proof. - intros;unfold cast;intros; generalize (eqb_correct i j). - rewrite H;trivial. -Qed. +Admitted. +(* Proof. *) +(* intros;unfold cast;intros; generalize (eqb_correct i j). *) +(* rewrite H;trivial. *) +(* Qed. *) Lemma eqo_refl : forall i, eqo i i = Some (eq_refl i). -Proof. - unfold eqo;intros. - generalize (eqb_correct i i). - rewrite eqb_refl;intros. - rewrite (eq_proofs_unicity eq_dec (e (eq_refl true)) (eq_refl i));trivial. -Qed. +Admitted. +(* Proof. *) +(* unfold eqo;intros. *) +(* generalize (eqb_correct i i). *) +(* rewrite eqb_refl;intros. *) +(* rewrite (eq_proofs_unicity eq_dec (e (eq_refl true)) (eq_refl i));trivial. *) +(* Qed. *) Lemma eqo_diff : forall i j, i == j = false -> eqo i j = None. -Proof. - unfold eqo;intros; generalize (eqb_correct i j). - rewrite H;trivial. -Qed. +Admitted. +(* Proof. *) +(* unfold eqo;intros; generalize (eqb_correct i j). *) +(* rewrite H;trivial. *) +(* Qed. *) (** translation with Z *) Require Import Ndigits. |