]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/library/nat/nat.ma
demodulate takes an extra argument 'all', if present it attempts to solve
[helm.git] / helm / software / matita / library / nat / nat.ma
index 85f598d129a434f7cad878dd9c8a2fc4fdc56077..5e3e769ec11cf8778db2aa4d43986c5544b23d7e 100644 (file)
@@ -1,5 +1,5 @@
 (**************************************************************************)
-(*       ___                                                                 *)
+(*       ___                                                             *)
 (*      ||M||                                                             *)
 (*      ||A||       A project by Andrea Asperti                           *)
 (*      ||T||                                                             *)
 
 include "higher_order_defs/functions.ma".
 
-theorem esempio: \forall A,B,C:Prop.(A \to B \to C) \to (A \to B)
-\to A \to C.
-
-
-
 inductive nat : Set \def
   | O : nat
   | S : nat \to nat.
 
+interpretation "Natural numbers" 'N = nat.
+alias num (instance 0) = "natural number".
+
 definition pred: nat \to nat \def
  \lambda n:nat. match n with
  [ O \Rightarrow  O