X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambda_delta%2Fbasic_2%2Fgrammar%2Flenv_weight.ma;h=59e2e6172bc24a83e79d60cdb537e2e403087cae;hb=6c86c70b005e3f3efd375868b27f3cff84febfad;hp=bc8ffce87e77e97eb79f151d4c0b69d3940ffc3d;hpb=a8c166f1e1baeeae04553058bd179420ada8bbe7;p=helm.git diff --git a/matita/matita/contribs/lambda_delta/basic_2/grammar/lenv_weight.ma b/matita/matita/contribs/lambda_delta/basic_2/grammar/lenv_weight.ma index bc8ffce87..59e2e6172 100644 --- a/matita/matita/contribs/lambda_delta/basic_2/grammar/lenv_weight.ma +++ b/matita/matita/contribs/lambda_delta/basic_2/grammar/lenv_weight.ma @@ -19,9 +19,21 @@ include "basic_2/grammar/lenv.ma". let rec lw L ≝ match L with [ LAtom ⇒ 0 -| LPair L _ V ⇒ lw L + #[V] +| LPair L _ V ⇒ lw L + #{V} ]. interpretation "weight (local environment)" 'Weight L = (lw L). -(* Basic_1: removed theorems 2: clt_cong clt_head *) +(* Basic properties *********************************************************) + +lemma lw_pair: ∀I,L,V. #{L} < #{(L.ⓑ{I}V)}. +/3 width=1/ qed. + +(* Basic eliminators ********************************************************) + +axiom lw_ind: ∀R:predicate lenv. + (∀L2. (∀L1. #{L1} < #{L2} → R L1) → R L2) → + ∀L. R L. + +(* Basic_1: removed theorems 2: clt_cong clt_head clt_thead *) +(* Basic_1: note: clt_thead should be renamed clt_ctail *)