]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/ground/arith/nat_pred_succ.ma
update in ground
[helm.git] / matita / matita / contribs / lambdadelta / ground / arith / nat_pred_succ.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 "ground/arith/nat_succ.ma".
16 include "ground/arith/nat_pred.ma".
17
18 (* PREDECESSOR FOR NON-NEGATIVE INTEGERS ************************************)
19
20 (* Constructions with nsucc *************************************************)
21
22 (*** pred_Sn pred_S *)
23 lemma npred_succ (n): n = ↓↑n.
24 * //
25 qed.
26
27 (* Inversions with nsucc ****************************************************)
28
29 (*** nat_split *)
30 lemma nat_split_zero_pos (n): ∨∨ 𝟎 = n | n = ↑↓n.
31 #n @(nat_ind_succ … n) -n
32 /2 width=1 by or_introl, or_intror/
33 qed-.