]> matita.cs.unibo.it Git - helm.git/blob - helm/software/matita/nlibrary/nat/nat.ma
Release 0.5.9.
[helm.git] / helm / software / matita / nlibrary / nat / nat.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 include "hints_declaration.ma".
16 include "logic/equality.ma".
17
18 ninductive nat: Type[0] ≝
19    O: nat
20  | S: nat → nat.
21
22 ndefinition NAT: setoid.
23  napply mk_setoid [ napply nat | napply EQ]
24 nqed.
25
26 alias symbol "hint_decl" = "hint_decl_Type1".
27 unification hint 0 ≔ ⊢ carr NAT ≡ nat.