]> matita.cs.unibo.it Git - helm.git/blob - matita/tests/clearbody.ma
Missing optimization implemented: before starting to analyze the disambiguation
[helm.git] / matita / tests / clearbody.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/clearbody".
16 include "legacy/coq.ma".
17 alias num (instance 0) = "natural number".
18 alias symbol "eq" (instance 0) = "Coq's leibnitz's equality".
19 alias symbol "plus" (instance 0) = "Coq's natural plus".
20
21
22 theorem stupid : 
23   let x \def 0 + 1 in x + 2 = x + 2.
24   intros.
25   clearbody x. 
26   simplify.
27   generalize in \vdash (? ? (? % ?) (? % ?)).
28   intros.
29   reflexivity.
30   qed.
31