]> matita.cs.unibo.it Git - helm.git/blob - helm/software/matita/contribs/RELATIONAL/NLE/defs.ma
- new legature == for \equiv used in the notation for NPlus
[helm.git] / helm / software / matita / contribs / RELATIONAL / NLE / defs.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 set "baseuri" "cic:/matita/RELATIONAL/NLE/defs".
16
17 include "logic/equality.ma".
18
19 include "Nat/defs.ma".
20
21 inductive NLE: Nat \to Nat \to Prop \def
22    | NLE_zero: \forall q. NLE zero q
23    | NLE_succ: \forall p,q. NLE p q \to NLE (succ p) (succ q)
24 .
25
26 (*CSC: the URI must disappear: there is a bug now *)
27 interpretation "natural 'less or equal to'" 'leq x y = 
28    (cic:/matita/RELATIONAL/NLE/defs/NLE.ind#xpointer(1/1) x y).
29
30 (*CSC: the URI must disappear: there is a bug now *)
31 interpretation "natural 'less than'" 'lt x y = 
32    (cic:/matita/RELATIONAL/NLE/defs/NLE.ind#xpointer(1/1) 
33       (cic:/matita/RELATIONAL/Nat/defs/Nat.ind#xpointer(1/1/2) x) y).