X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fstatic_2%2Fsyntax%2Fsh_lt.ma;fp=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fstatic_2%2Fsyntax%2Fsh_lt.ma;h=459d4d16bce3ae285c1cff8564bda5a4a9ca1fad;hb=f308429a0fde273605a2330efc63268b4ac36c99;hp=0000000000000000000000000000000000000000;hpb=87f57ddc367303c33e19c83cd8989cd561f3185b;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/static_2/syntax/sh_lt.ma b/matita/matita/contribs/lambdadelta/static_2/syntax/sh_lt.ma new file mode 100644 index 000000000..459d4d16b --- /dev/null +++ b/matita/matita/contribs/lambdadelta/static_2/syntax/sh_lt.ma @@ -0,0 +1,36 @@ +(**************************************************************************) +(* ___ *) +(* ||M|| *) +(* ||A|| A project by Andrea Asperti *) +(* ||T|| *) +(* ||I|| Developers: *) +(* ||T|| The HELM team. *) +(* ||A|| http://helm.cs.unibo.it *) +(* \ / *) +(* \ / This file is distributed under the terms of the *) +(* v GNU General Public License Version 2 *) +(* *) +(**************************************************************************) + +include "static_2/syntax/sort.ma". + +(* SORT HIERARCHY ***********************************************************) + +record is_lt (h): Prop ≝ +{ + next_lt: ∀s. s < ⫯[h]s (* strict monotonicity condition *) +}. + +(* Basic properties *********************************************************) + +lemma nexts_le (h): is_lt h → ∀s,n. s ≤ (next h)^n s. +#h #Hh #s #n elim n -n [ // ] normalize #n #IH +lapply (next_lt … Hh ((next h)^n s)) #H +lapply (le_to_lt_to_lt … IH H) -IH -H /2 width=2 by lt_to_le/ +qed. + +lemma nexts_lt (h): is_lt h → ∀s,n. s < (next h)^(↑n) s. +#h #Hh #s #n normalize +lapply (nexts_le … Hh s n) #H +@(le_to_lt_to_lt … H) /2 width=1 by next_lt/ +qed.