]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/basic_2/syntax/lenv_weight.ma
renaming in basic_2
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / syntax / lenv_weight.ma
index 1a61b7d4ffe310d883f244e42b80c6190ff023ac..74a38894454a394e364ddcd4dd148d6ce4d97cec 100644 (file)
 (*                                                                        *)
 (**************************************************************************)
 
-include "basic_2/syntax/term_weight.ma".
+include "basic_2/syntax/bind_weight.ma".
 include "basic_2/syntax/lenv.ma".
 
 (* WEIGHT OF A LOCAL ENVIRONMENT ********************************************)
 
 rec definition lw L ≝ match L with
-[ LAtom       ⇒ 0
-| LPair L _ V ⇒ lw L + ♯{V}
+[ LAtom     ⇒ 0
+| LBind L I ⇒ lw L + ♯{I}
 ].
 
 interpretation "weight (local environment)" 'Weight L = (lw L).
 
 (* Basic properties *********************************************************)
 
-lemma lw_pair: ∀I,L,V. ♯{L} < ♯{L.ⓑ{I}V}.
-/3 width=1 by lt_plus_to_minus_r, monotonic_lt_plus_r/ qed.
+(* Basic_2A1: uses: lw_pair *)
+lemma lw_bind: ∀I,L. ♯{L} < ♯{L.ⓘ{I}}.
+normalize /2 width=1 by monotonic_le_plus_r/ qed.
 
 (* Basic_1: removed theorems 4: clt_cong clt_head clt_thead clt_wf_ind *)
 (* Basic_1: removed local theorems 1: clt_wf__q_ind *)