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/arith/ynat_succ.ma".
16 include "ground/arith/ynat_le_lminus.ma".
18 (* ORDER FOR NON-NEGATIVE INTEGERS WITH INFINITY ****************************)
20 (* Constructions with ylminus and ysucc *************************************)
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 //
27 <ylminus_inj_sn <ysucc_inj <ysucc_inj <ylminus_inj_sn
28 <nminus_succ_sn /2 width=1 by yle_inv_inj_bi/