X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=blobdiff_plain;f=matita%2Ftests%2Ftinycals.ma;fp=matita%2Ftests%2Ftinycals.ma;h=3ceba6eaa1346747ce8af3a2f3787d49b3ae4def;hp=0000000000000000000000000000000000000000;hb=f61af501fb4608cc4fb062a0864c774e677f0d76;hpb=58ae1809c352e71e7b5530dc41e2bfc834e1aef1 diff --git a/matita/tests/tinycals.ma b/matita/tests/tinycals.ma new file mode 100644 index 000000000..3ceba6eaa --- /dev/null +++ b/matita/tests/tinycals.ma @@ -0,0 +1,53 @@ +(**************************************************************************) +(* ___ *) +(* ||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 *) +(* *) +(**************************************************************************) + + + +theorem prova: + \forall A,B,C:Prop. + \forall H:A \to A \to C \to A \to A \to B.A \to C \to B. +intros. +apply H; + [assumption + |3,5: + [ exact H2; + | exact H1 ] + |4:assumption + |*:assumption + ] +qed. + +theorem prova1: + \forall A,B:Prop. + \forall H:A \to A \to A \to A \to A \to B.A \to B. +intros. +apply H; + [*:assumption] +qed. + +include "logic/connectives.ma". + +theorem prova2: + \forall A,B:Prop. + \forall H:A \to A \to A \to (A \land A) \to A \to B.A \to B. +intros. +apply H; + [2:assumption + |4:split.assumption + |3,5:assumption + |*:assumption + ] +assumption. +qed. +