X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fground_2%2Flib%2Farith.ma;h=fad49e616661cdfaa9d5f633b7252ba79a7192b8;hb=4b8544042a6f3c5f5d303d4120c69abbc34ce15b;hp=d181e88cf3f385f1e8ae993f172461810ca31036;hpb=7d8ebeb7b6f21204b88786c738c67f52f3703c5b;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/ground_2/lib/arith.ma b/matita/matita/contribs/lambdadelta/ground_2/lib/arith.ma index d181e88cf..fad49e616 100644 --- a/matita/matita/contribs/lambdadelta/ground_2/lib/arith.ma +++ b/matita/matita/contribs/lambdadelta/ground_2/lib/arith.ma @@ -190,6 +190,15 @@ lemma lt_elim: ∀R:relation nat. ] qed-. +lemma le_elim: ∀R:relation nat. + (∀n2. R O (n2)) → + (∀n1,n2. R n1 n2 → R (⫯n1) (⫯n2)) → + ∀n1,n2. n1 ≤ n2 → R n1 n2. +#R #IH1 #IH2 #n1 #n2 @(nat_elim2 … n1 n2) -n1 -n2 +/4 width=1 by monotonic_pred/ -IH1 -IH2 +#n1 #H elim (lt_le_false … H) -H // +qed-. + (* Iterators ****************************************************************) (* Note: see also: lib/arithemetics/bigops.ma *)