]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/tests/tinycals.ma
Added null character.
[helm.git] / matita / 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
16
17 theorem prova: 
18   \forall A,B,C:Prop.
19   \forall H:A \to A \to C \to A \to A \to B.A \to C \to B.
20 intros.
21 apply H;
22   [assumption 
23   |3,5:
24    [ exact H2;
25    | exact H1 ]
26   |4:assumption
27   |*:assumption
28   ]
29 qed.
30
31 theorem prova1: 
32   \forall A,B:Prop.
33   \forall H:A \to A \to A \to A \to A \to B.A \to B.
34 intros.
35 apply H;
36   [*:assumption]
37 qed. 
38
39 include "logic/connectives.ma".
40
41 theorem prova2: 
42   \forall A,B:Prop.
43   \forall H:A \to A \to A \to (A \land A) \to A \to B.A \to B.
44 intros.
45 apply H;
46   [2:assumption
47   |4:split.assumption
48   |3,5:assumption
49   |*:assumption
50   ]
51 assumption.
52 qed. 
53