]> matita.cs.unibo.it Git - helm.git/blob - helm/matita/tests/change.ma
added Variant theorem flavour
[helm.git] / helm / matita / tests / change.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/change/".
16 alias num (instance 0) = "natural number".
17 alias symbol "eq" (instance 0) = "leibnitz's equality".
18 alias symbol "plus" (instance 0) = "natural plus".
19 alias id "nat" = "cic:/Coq/Init/Datatypes/nat.ind#xpointer(1/1)".
20
21 theorem stupid: 
22   \forall a:nat.
23   a = 5 \to 
24   (3 + 2) = a.
25 intros.
26 change in \vdash (? ? % ?) with 5.
27 rewrite < H in \vdash (? ? % ?). 
28 reflexivity.
29 qed.