X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fground%2Flib%2Fbool_and.ma;fp=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fground%2Flib%2Fbool_and.ma;h=b7a8bf96422c190db6ea808b4ba9342632ba0f67;hb=6604a232815858a6c75dd25ac45abd68438077ff;hp=0000000000000000000000000000000000000000;hpb=888840f6b3a71d3d686b53b702d362ab90ab0038;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/ground/lib/bool_and.ma b/matita/matita/contribs/lambdadelta/ground/lib/bool_and.ma new file mode 100644 index 000000000..b7a8bf964 --- /dev/null +++ b/matita/matita/contribs/lambdadelta/ground/lib/bool_and.ma @@ -0,0 +1,38 @@ +(**************************************************************************) +(* ___ *) +(* ||M|| *) +(* ||A|| A project by Andrea Asperti *) +(* ||T|| *) +(* ||I|| Developers: *) +(* ||T|| The HELM team. *) +(* ||A|| http://helm.cs.unibo.it *) +(* \ / *) +(* \ / This file is distributed under the terms of the *) +(* v GNU General Public License Version 2 *) +(* *) +(**************************************************************************) + +include "ground/lib/bool.ma". + +(* CONJUNCTION FOR BOOLEANS *************************************************) + +(* Advanced constructions ***************************************************) + +lemma commutative_andb: + commutative … andb. +* * // qed. + +lemma andb_false_dx (b): + (b ∧ Ⓕ) = Ⓕ. +* // qed. + +lemma andb_false_sn (b): + (Ⓕ ∧ b) = Ⓕ. +// qed. + +(* Advanced inversions ******************************************************) + +lemma andb_inv_true_dx (b1) (b2): + (b1 ∧ b2) = Ⓣ → ∧∧ b1 = Ⓣ & b2 = Ⓣ. +* normalize /2 width=1 by conj/ #b2 #H destruct +qed-.