]> matita.cs.unibo.it Git - helm.git/blob - matita/tests/tinycals.ma
7bc18926126b859973c08f6b76fb1d7868877279
[helm.git] / matita / tests / tinycals.ma
1 (**************************************************************************)
2 (*       ___                                                              *)
3 (*      ||M||                                                             *)
4 (*      ||A||       A project by Andrea Asperti                           *)
5 (*      ||T||                                                             *)
6 (*      ||I||       Developers:                                           *)
7 (*      ||T||         The HELM team.                                      *)
8 (*      ||A||         http://helm.cs.unibo.it                             *)
9 (*      \   /                                                             *)
10 (*       \ /        This file is distributed under the terms of the       *)
11 (*        v         GNU General Public License Version 2                  *)
12 (*                                                                        *)
13 (**************************************************************************)
14
15 set "baseuri" "cic:/matita/test/tinycals".
16
17 theorem prova: 
18   \forall A,B:Prop.
19   \forall H:A \to A \to A \to A \to A \to B.A \to B.
20 intros.
21 apply H;
22   [assumption 
23   |3,5:assumption;
24   |4:assumption
25   |*:assumption
26   ]
27 qed.
28
29 theorem prova1: 
30   \forall A,B:Prop.
31   \forall H:A \to A \to A \to A \to A \to B.A \to B.
32 intros.
33 apply H;
34   [*:assumption]
35 qed. 
36
37 include "logic/connectives.ma".
38
39 theorem prova2: 
40   \forall A,B:Prop.
41   \forall H:A \to A \to A \to (A \land A) \to A \to B.A \to B.
42 intros.
43 apply H;
44   [2:assumption
45   |4:split.assumption
46   |3,5:assumption
47   |*:assumption
48   ]
49 assumption.
50 qed. 
51