X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fground%2Farith%2Fnat_le.ma;h=5d99e4c55a1606fca21959c80055157a9c83d9fe;hp=c2d89a6f76f5e273b2bc1eba015daaa2b12df051;hb=8fdf1af656038d0245eba64ff2531bbe94ce0e9e;hpb=77c9255de3c5f7780aeacd745703a1cc76328a68 diff --git a/matita/matita/contribs/lambdadelta/ground/arith/nat_le.ma b/matita/matita/contribs/lambdadelta/ground/arith/nat_le.ma index c2d89a6f7..5d99e4c55 100644 --- a/matita/matita/contribs/lambdadelta/ground/arith/nat_le.ma +++ b/matita/matita/contribs/lambdadelta/ground/arith/nat_le.ma @@ -18,7 +18,6 @@ include "ground/arith/nat_succ.ma". (* ORDER FOR NON-NEGATIVE INTEGERS ******************************************) (*** le *) -(*** le_ind *) inductive nle (m:nat): predicate nat ≝ | nle_refl : nle m m | nle_succ_dx: ∀n. nle m n → nle m (↑n) @@ -88,7 +87,7 @@ lemma nle_inv_succ_zero (m): ↑m ≤ 𝟎 → ⊥. lemma nle_inv_succ_sn_refl (m): ↑m ≤ m → ⊥. #m @(nat_ind_succ … m) -m [| #m #IH ] #H -[ /3 width=2 by nle_inv_zero_dx, eq_inv_zero_nsucc/ +[ /2 width=2 by nle_inv_succ_zero/ | /3 width=1 by nle_inv_succ_bi/ ] qed-. @@ -110,7 +109,7 @@ lemma nle_ind_alt (Q: relation2 nat nat): (∀m,n. m ≤ n → Q m n → Q (↑m) (↑n)) → ∀m,n. m ≤ n → Q m n. #Q #IH1 #IH2 #m #n @(nat_ind_2_succ … m n) -m -n // -[ #m #H elim (nle_inv_succ_zero … H) +[ #m #_ #H elim (nle_inv_succ_zero … H) | /4 width=1 by nle_inv_succ_bi/ ] qed-.