X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2Flibrary%2Fnat%2Fnat.ma;h=83b489f06eb08a6772e0d7abb00e315032604ad0;hb=e880d6eab5e1700f4a625ddcd7d0fa8f0cce2dcc;hp=85f598d129a434f7cad878dd9c8a2fc4fdc56077;hpb=c445ba5534cccde19016c92660ab52777af221c0;p=helm.git diff --git a/helm/software/matita/library/nat/nat.ma b/helm/software/matita/library/nat/nat.ma index 85f598d12..83b489f06 100644 --- a/helm/software/matita/library/nat/nat.ma +++ b/helm/software/matita/library/nat/nat.ma @@ -1,5 +1,5 @@ (**************************************************************************) -(* ___ *) +(* ___ *) (* ||M|| *) (* ||A|| A project by Andrea Asperti *) (* ||T|| *) @@ -14,15 +14,16 @@ 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