]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambdadelta/basic_2/grammar/lenv_weight.ma
- new syntax for let rec/corec with flavor specifier (tested on lambdadelta/ground_2/)
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / grammar / lenv_weight.ma
index 642a3d1b84f3af6a7fe4f36d3a7fd0eb77ae8a3d..c9d79e5f5195ffc74e9ee8445b531b8c62f8a6c6 100644 (file)
@@ -17,7 +17,7 @@ include "basic_2/grammar/lenv.ma".
 
 (* WEIGHT OF A LOCAL ENVIRONMENT ********************************************)
 
-let rec lw L ≝ match L with
+rec definition lw L ≝ match L with
 [ LAtom       ⇒ 0
 | LPair L _ V ⇒ lw L + ♯{V}
 ].
@@ -27,7 +27,7 @@ interpretation "weight (local environment)" 'Weight L = (lw L).
 (* Basic properties *********************************************************)
 
 lemma lw_pair: ∀I,L,V. ♯{L} < ♯{L.ⓑ{I}V}.
-/3 width=1/ qed.
+/3 width=1 by lt_plus_to_minus_r, monotonic_lt_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 *)