1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| The HELM team. *)
8 (* ||A|| http://helm.cs.unibo.it *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU General Public License Version 2 *)
13 (**************************************************************************)
15 set "baseuri" "cic:/matita/tests/fold".
16 include "legacy/coq.ma".
17 alias id "nat" = "cic:/Coq/Init/Datatypes/nat.ind#xpointer(1/1)".
18 alias num (instance 0) = "natural number".
19 alias symbol "eq" (instance 0) = "Coq's leibnitz's equality".
20 alias symbol "plus" (instance 0) = "Coq's natural plus".
21 theorem t: \forall x:nat. 0+x=x.
23 simplify in match (0+x) in \vdash (? ? % ?).
24 fold simplify (0 + x) in \vdash (? ? % ?).