X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fstatic_2%2Fetc%2Fscl%2Fscl_scl.etc;fp=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fstatic_2%2Fetc%2Fscl%2Fscl_scl.etc;h=6ca737bf20ed0d2eee6e432ca8f7f530056041e1;hb=a454837a256907d2f83d42ced7be847e10361ea9;hp=0000000000000000000000000000000000000000;hpb=b4283c079ed7069016b8d924bbc7e08872440829;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/static_2/etc/scl/scl_scl.etc b/matita/matita/contribs/lambdadelta/static_2/etc/scl/scl_scl.etc new file mode 100644 index 000000000..6ca737bf2 --- /dev/null +++ b/matita/matita/contribs/lambdadelta/static_2/etc/scl/scl_scl.etc @@ -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/relocation/scl.ma". + +(* CLEAR FOR LOCAL ENVIRONMENTS ON SELECTED ENTRIES *************************) + +(* Main properties **********************************************************) + +theorem scl_fix: ∀f,L1,L. L1 ⊐ⓧ[f] L → + ∀L2. L ⊐ⓧ[f] L2 → L = L2. +#f #L1 #L #H @(scl_ind … H) -f -L1 -L +[ #f #L2 #H + >(scl_inv_atom_sn … H) -L2 // +| #f #I #K1 #K2 #_ #IH #L2 #H + elim (scl_inv_push_sn … H) -H /3 width=1 by eq_f2/ +| #f #I #K1 #K2 #_ #IH #L2 #H + elim (scl_inv_next_sn … H) -H /3 width=1 by eq_f2/ +] +qed-. + +theorem scl_trans: ∀f. Transitive … (scl f). +#f #L1 #L #H1 #L2 #H2 +<(scl_fix … H1 … H2) -L2 // +qed-.