1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| The HELM team. *)
8 (* ||A|| http://helm.cs.unibo.it *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU General Public License Version 2 *)
13 (**************************************************************************)
15 include "static_2/static/reqg_drops.ma".
16 include "basic_2/rt_transition/lpx_drops.ma".
17 include "basic_2/rt_computation/rsx_length.ma".
18 include "basic_2/rt_computation/rsx_fqup.ma".
20 (* STRONGLY NORMALIZING REFERRED LOCAL ENVS FOR EXTENDED RT-TRANSITION ******)
22 (* Properties with generic relocation ***************************************)
24 (* Note: this uses length *)
25 (* Basic_2A1: uses: lsx_lift_le lsx_lift_ge *)
27 d_liftable1_isuni ā¦ (Ī»L,T. G ā¢ ā¬*š[T] L).
28 #G #K #T #H @(rsx_ind ā¦ H) -K
29 #K1 #_ #IH #b #f #L1 #HLK1 #Hf #U #HTU @rsx_intro
30 #L2 #HL12 #HnL12 elim (lpx_drops_conf ā¦ HLK1 ā¦ HL12)
31 /5 width=9 by reqg_lifts_bi, lpx_fwd_length/
34 (* Inversion lemmas on relocation *******************************************)
36 (* Basic_2A1: uses: lsx_inv_lift_le lsx_inv_lift_be lsx_inv_lift_ge *)
37 lemma rsx_inv_lifts (G):
38 d_deliftable1_isuni ā¦ (Ī»L,T. G ā¢ ā¬*š[T] L).
39 #G #L #U #H @(rsx_ind ā¦ H) -L
40 #L1 #_ #IH #b #f #K1 #HLK1 #Hf #T #HTU @rsx_intro
41 #K2 #HK12 #HnK12 elim (drops_lpx_trans ā¦ HLK1 ā¦ HK12) -HK12
42 /4 width=10 by reqg_inv_lifts_bi/
45 (* Advanced properties ******************************************************)
47 (* Basic_2A1: uses: lsx_lref_free *)
48 lemma rsx_lref_atom_drops (G):
49 āL,i. ā©*[ā»,šāØiā©] L ā ā ā G ā¢ ā¬*š[#i] L.
51 @(rsx_lifts ā¦ (#0) ā¦ HL1) -HL1 //
54 (* Basic_2A1: uses: lsx_lref_skip *)
55 lemma rsx_lref_unit_drops (G):
56 āI,L,K,i. ā©[i] L ā K.ā¤[I] ā G ā¢ ā¬*š[#i] L.
58 @(rsx_lifts ā¦ (#0) ā¦ HL1) -HL1 //
61 (* Advanced forward lemmas **************************************************)
63 (* Basic_2A1: uses: lsx_fwd_lref_be *)
64 lemma rsx_fwd_lref_pair_drops (G):
65 āL,i. G ā¢ ā¬*š[#i] L ā
66 āI,K,V. ā©[i] L ā K.ā[I]V ā G ā¢ ā¬*š[V] K.
67 #G #L #i #HL #I #K #V #HLK
68 lapply (rsx_inv_lifts ā¦ HL ā¦ HLK ā¦ (#0) ?) -L
69 /2 width=2 by rsx_fwd_pair/