]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/library/nat/nat.ma
updating the structures for sorts
[helm.git] / helm / software / matita / library / nat / nat.ma
index 85f598d129a434f7cad878dd9c8a2fc4fdc56077..83b489f06eb08a6772e0d7abb00e315032604ad0 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.
+
+default "natural numbers" cic:/matita/nat/nat/nat.ind.
+
+alias num (instance 0) = "natural number".
+
 definition pred: nat \to nat \def
  \lambda n:nat. match n with
  [ O \Rightarrow  O