X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fstatic_2%2Fsyntax%2Fcl_weight.ma;h=515e72a9f7c60e115ff60eb7437f58e4c66bc547;hb=156d974ad89aa04a086fdf9d332c8b04adf279fd;hp=af52e35b1540b8d4833632246530b43382113492;hpb=db020b4218272e2e35641ce3bc3b0a9b3afda899;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/static_2/syntax/cl_weight.ma b/matita/matita/contribs/lambdadelta/static_2/syntax/cl_weight.ma index af52e35b1..515e72a9f 100644 --- a/matita/matita/contribs/lambdadelta/static_2/syntax/cl_weight.ma +++ b/matita/matita/contribs/lambdadelta/static_2/syntax/cl_weight.ma @@ -19,32 +19,30 @@ include "static_2/syntax/genv.ma". (* WEIGHT OF A CLOSURE ******************************************************) (* activate genv *) -definition fw: genv → lenv → term → ? ≝ λG,L,T. ♯{L} + ♯{T}. +definition fw: genv → lenv → term → ? ≝ λG,L,T. ♯❨L❩ + ♯❨T❩. interpretation "weight (closure)" 'Weight G L T = (fw G L T). (* Basic properties *********************************************************) +lemma fw_unfold (G) (L) (T): ♯❨L❩ + ♯❨T❩ = ♯❨G,L,T❩. +// qed. + (* Basic_1: was: flt_shift *) -lemma fw_shift: ∀p,I,G,K,V,T. ♯{G,K.ⓑ{I}V,T} < ♯{G,K,ⓑ{p,I}V.T}. -normalize /2 width=1 by monotonic_le_plus_r/ -qed. +lemma fw_shift: ∀p,I,G,K,V,T. ♯❨G,K.ⓑ[I]V,T❩ < ♯❨G,K,ⓑ[p,I]V.T❩. +/2 width=1 by plt_plus_bi_sn/ qed. -lemma fw_clear: ∀p,I1,I2,G,K,V,T. ♯{G,K.ⓤ{I1},T} < ♯{G,K,ⓑ{p,I2}V.T}. -normalize /4 width=1 by monotonic_le_plus_r, le_S_S/ -qed. +lemma fw_clear: ∀p,I1,I2,G,K,V,T. ♯❨G,K.ⓤ[I1],T❩ < ♯❨G,K,ⓑ[p,I2]V.T❩. +/2 width=1 by plt_plus_bi_sn/ qed. -lemma fw_tpair_sn: ∀I,G,L,V,T. ♯{G,L,V} < ♯{G,L,②{I}V.T}. -normalize in ⊢ (?→?→?→?→?→?%%); // -qed. +lemma fw_tpair_sn: ∀I,G,L,V,T. ♯❨G,L,V❩ < ♯❨G,L,②[I]V.T❩. +/2 width=1 by plt_plus_bi_sn/ qed. -lemma fw_tpair_dx: ∀I,G,L,V,T. ♯{G,L,T} < ♯{G,L,②{I}V.T}. -normalize in ⊢ (?→?→?→?→?→?%%); // -qed. +lemma fw_tpair_dx: ∀I,G,L,V,T. ♯❨G,L,T❩ < ♯❨G,L,②[I]V.T❩. +/2 width=1 by plt_plus_bi_sn/ qed. -lemma fw_lpair_sn: ∀I,G,L,V,T. ♯{G,L,V} < ♯{G,L.ⓑ{I}V,T}. -normalize /3 width=1 by monotonic_lt_plus_l, monotonic_le_plus_r/ -qed. +lemma fw_lpair_sn: ∀I,G,L,V,T. ♯❨G,L,V❩ < ♯❨G,L.ⓑ[I]V,T❩. +// qed. (* Basic_1: removed theorems 7: flt_thead_sx flt_thead_dx flt_trans