]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/ground_2/lib/bool.ma
- some pending conjectures closed in basic_2 and ground_2
[helm.git] / matita / matita / contribs / lambdadelta / ground_2 / lib / bool.ma
index fed25ceda5ee8ce17d1c23c3e6e76e36401b5a8a..d2acdb2bc79c4ad3e2862072d9567056407650d7 100644 (file)
@@ -13,6 +13,7 @@
 (**************************************************************************)
 
 include "basics/bool.ma".
+include "ground_2/lib/star.ma".
 include "ground_2/notation/constructors/no_0.ma".
 include "ground_2/notation/constructors/yes_0.ma".
 
@@ -22,9 +23,16 @@ interpretation "boolean false" 'no = false.
 
 interpretation "boolean true" 'yes = true.
 
+(* Basic properties *********************************************************)
+
 lemma orb_false_r: ∀b1,b2:bool. (b1 ∨ b2) = false → b1 = false ∧ b2 = false.
 * normalize /2 width=1 by conj/ #b2 #H destruct
 qed-.
 
 lemma commutative_orb: commutative … orb.
 * * // qed.
+
+lemma eq_bool_dec: ∀b1,b2:bool. Decidable (b1 = b2).
+* * /2 width=1 by or_introl/
+@or_intror #H destruct
+qed-.