]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/static_2/syntax/lenv_weight.ma
partial update in static_2
[helm.git] / matita / matita / contribs / lambdadelta / static_2 / syntax / lenv_weight.ma
index 66d46a41fae7be54262c032febc6732a5d4cc582..f406ed9d057dd0923ce082b2642a908cf946f0a0 100644 (file)
@@ -18,7 +18,7 @@ include "static_2/syntax/lenv.ma".
 (* WEIGHT OF A LOCAL ENVIRONMENT ********************************************)
 
 rec definition lw L ≝ match L with
-[ LAtom     ⇒ 0
+[ LAtom     ⇒ 𝟏
 | LBind L I ⇒ lw L + ♯❨I❩
 ].
 
@@ -26,9 +26,15 @@ interpretation "weight (local environment)" 'Weight L = (lw L).
 
 (* Basic properties *********************************************************)
 
+lemma lw_atom_unfold: 𝟏 = ♯❨⋆❩.
+// qed.
+
+lemma lw_bind_unfold (I) (L): ♯❨L❩ + ♯❨I❩ = ♯❨L.ⓘ[I]❩.
+// qed.
+
 (* Basic_2A1: uses: lw_pair *)
 lemma lw_bind: ∀I,L. ♯❨L❩ < ♯❨L.ⓘ[I]❩.
-normalize /2 width=1 by nle_plus_bi_sn/ qed.
+// 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 *)