]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/ground/arith/ynat_le_lminus_succ.ma
propagating the arithmetics library, partial commit
[helm.git] / matita / matita / contribs / lambdadelta / ground / arith / ynat_le_lminus_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/ynat_succ.ma".
16 include "ground/arith/ynat_le_lminus.ma".
17
18 (* ORDER FOR NON-NEGATIVE INTEGERS WITH INFINITY ****************************)
19
20 (* Constructions with ylminus and ysucc *************************************)
21
22 (*** yminus_succ1_inj *)
23 lemma ylminus_succ_sn (x) (n):
24       yinj_nat n ≤ x → ↑(x - n) = ↑x - n.
25 #x @(ynat_split_nat_inf … x) -x //
26 #m #n #Hnm
27 <ylminus_inj_sn <ysucc_inj <ysucc_inj <ylminus_inj_sn
28 <nminus_succ_sn /2 width=1 by yle_inv_inj_bi/
29 qed-.