]> matita.cs.unibo.it Git - helm.git/blob - helm/matita/tests/assumption.ma
ocaml 3.09 transition
[helm.git] / helm / matita / tests / assumption.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/tests/assumption".
16 include "coq.ma".
17
18 alias id "nat" = "cic:/Coq/Init/Datatypes/nat.ind#xpointer(1/1)".
19 alias num (instance 0) = "natural number".
20 alias symbol "and" (instance 0) = "Coq's logical and".
21 alias symbol "eq" (instance 0) = "Coq's leibnitz's equality".
22 alias symbol "plus" (instance 0) = "Coq's natural plus".
23
24
25 theorem stupid:
26   \forall a: 0 = 0.
27   \forall b: 3 + 2 = 5.
28   \forall c: (\lambda x:nat.x) 3 = 3.
29   0=0 \land 3 + 2 = 5 \land 3 = 3.
30 intros.
31 split.
32 split.
33 clear H2. clear H1. 
34 assumption.
35 clear H.
36 assumption.
37 assumption.
38 qed.
39