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/nat_le_pred.ma".
16 include "ground/arith/ynat_pred.ma".
17 include "ground/arith/ynat_le.ma".
19 (* ORDER FOR NON-NEGATIVE INTEGERS WITH INFINITY ****************************)
21 (* Constructions with ypred *************************************************)
24 lemma yle_pred_sn_trans (x) (y): x ≤ y → ↓x ≤ y.
26 /3 width=3 by yle_inj, nle_trans/
29 (*** yle_refl_pred_sn *)
30 lemma yle_pred_sn_refl (x): ↓x ≤ x.
31 /2 width=1 by yle_pred_sn_trans, yle_refl/ qed.
34 lemma yle_pred_bi (x) (y): x ≤ y → ↓x ≤ ↓y.
36 /3 width=1 by yle_inj, nle_pred_bi/