diff options
| author | letouzey | 2006-05-31 21:55:30 +0000 |
|---|---|---|
| committer | letouzey | 2006-05-31 21:55:30 +0000 |
| commit | 6ca6bef6e701703ce38b89b81c89a61b2db3cb47 (patch) | |
| tree | 7113a7fb72190f1e240e2998f0f3f824b29cb6cb /theories/FSets/FSetWeakFacts.v | |
| parent | d16e14b9b73876c62e5bd5d8fa5753b43e553acc (diff) | |
petits ajouts
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@8882 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'theories/FSets/FSetWeakFacts.v')
| -rw-r--r-- | theories/FSets/FSetWeakFacts.v | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/theories/FSets/FSetWeakFacts.v b/theories/FSets/FSetWeakFacts.v index c5e82e09c8..798a3f8559 100644 --- a/theories/FSets/FSetWeakFacts.v +++ b/theories/FSets/FSetWeakFacts.v @@ -159,6 +159,12 @@ generalize (mem_iff s x) (mem_iff s y)(In_eq_iff s H). destruct (mem x s); destruct (mem y s); intuition. Qed. +Lemma empty_b : mem y empty = false. +Proof. +generalize (empty_iff y)(mem_iff empty y). +destruct (mem y empty); intuition. +Qed. + Lemma add_b : mem y (add x s) = eqb x y || mem y s. Proof. generalize (mem_iff (add x s) y)(mem_iff s y)(add_iff s x y); unfold eqb. |
