1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| The HELM team. *)
8 (* ||A|| http://helm.cs.unibo.it *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU General Public License Version 2 *)
13 (**************************************************************************)
15 include "ground/notation/functions/downarrow_1.ma".
16 include "ground/arith/pnat_dis.ma".
17 include "ground/arith/nat.ma".
19 (* PREDECESSOR FOR NON-NEGATIVE INTEGERS ************************************)
22 definition npred (m): nat ≝ match m with
24 | ninj p ⇒ pdis … (𝟎) ninj p
28 "predecessor (non-negative integers)"
29 'DownArrow m = (npred m).
31 (* Basic constructions ******************************************************)
34 lemma npred_zero: 𝟎 = ↓𝟎.