]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/static_2/syntax/cl_weight.ma
update in delayed_updating
[helm.git] / matita / matita / contribs / lambdadelta / static_2 / syntax / cl_weight.ma
1 (**************************************************************************)
2 (*       ___                                                              *)
3 (*      ||M||                                                             *)
4 (*      ||A||       A project by Andrea Asperti                           *)
5 (*      ||T||                                                             *)
6 (*      ||I||       Developers:                                           *)
7 (*      ||T||         The HELM team.                                      *)
8 (*      ||A||         http://helm.cs.unibo.it                             *)
9 (*      \   /                                                             *)
10 (*       \ /        This file is distributed under the terms of the       *)
11 (*        v         GNU General Public License Version 2                  *)
12 (*                                                                        *)
13 (**************************************************************************)
14
15 include "static_2/notation/functions/weight_3.ma".
16 include "static_2/syntax/lenv_weight.ma".
17 include "static_2/syntax/genv.ma".
18
19 (* WEIGHT OF A CLOSURE ******************************************************)
20
21 (* activate genv *)
22 definition fw: genv → lenv → term → ? ≝ λG,L,T. ♯❨L❩ + ♯❨T❩.
23
24 interpretation "weight (closure)" 'Weight G L T = (fw G L T).
25
26 (* Basic properties *********************************************************)
27
28 lemma fw_unfold (G) (L) (T): ♯❨L❩ + ♯❨T❩ = ♯❨G,L,T❩.
29 // qed.
30
31 (* Basic_1: was: flt_shift *)
32 lemma fw_shift: ∀p,I,G,K,V,T. ♯❨G,K.ⓑ[I]V,T❩ < ♯❨G,K,ⓑ[p,I]V.T❩.
33 /2 width=1 by plt_plus_bi_sn/ qed.
34
35 lemma fw_clear: ∀p,I1,I2,G,K,V,T. ♯❨G,K.ⓤ[I1],T❩ < ♯❨G,K,ⓑ[p,I2]V.T❩.
36 /2 width=1 by plt_plus_bi_sn/ qed.
37
38 lemma fw_tpair_sn: ∀I,G,L,V,T. ♯❨G,L,V❩ < ♯❨G,L,②[I]V.T❩.
39 /2 width=1 by plt_plus_bi_sn/ qed.
40
41 lemma fw_tpair_dx: ∀I,G,L,V,T. ♯❨G,L,T❩ < ♯❨G,L,②[I]V.T❩.
42 /2 width=1 by plt_plus_bi_sn/ qed.
43
44 lemma fw_lpair_sn: ∀I,G,L,V,T. ♯❨G,L,V❩ < ♯❨G,L.ⓑ[I]V,T❩.
45 // qed.
46
47 (* Basic_1: removed theorems 7:
48             flt_thead_sx flt_thead_dx flt_trans
49             flt_arith0 flt_arith1 flt_arith2 flt_wf_ind
50 *)
51 (* Basic_1: removed local theorems 1: q_ind *)