]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/ground_2/ynat/ynat_le.ma
- improved arithmetics for natural numbers with infinity
[helm.git] / matita / matita / contribs / lambdadelta / ground_2 / ynat / ynat_le.ma
index be13774f5813aa5ca9fcb86b3669f3e3d65f58a8..ccb9563ee875b23e587956f0b0032602c259e954 100644 (file)
@@ -81,8 +81,19 @@ lemma yle_inv_succ: ∀m,n. ⫯m ≤ ⫯n → m ≤ n.
 #x #Hx #H destruct //
 qed-.
 
+(* Forward lemmas on successor **********************************************)
+
+lemma yle_fwd_succ1: ∀m,n. ⫯m ≤ n → m ≤ ⫰n.
+#m #x #H elim (yle_inv_succ1 … H) -H
+#n #Hmn #H destruct //
+qed-.
+
 (* Basic properties *********************************************************)
 
+lemma le_O1: ∀n:ynat. 0 ≤ n.
+* /2 width=1 by yle_inj/
+qed.
+
 lemma yle_refl: reflexive … yle.
 * /2 width=1 by le_n, yle_inj/
 qed.
@@ -98,6 +109,10 @@ lemma yle_refl_pred_sn: ∀x. ⫰x ≤ x.
 
 (* Properties on successor **************************************************)
 
+lemma yle_succ: ∀m,n. m ≤ n → ⫯m ≤ ⫯n.
+#m #n * -m -n /3 width=1 by yle_inj, le_S_S/
+qed.
+
 lemma yle_succ_dx: ∀m,n. m ≤ n → m ≤ ⫯n.
 #m #n * -m -n /3 width=1 by le_S, yle_inj/
 qed.