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 "basic_2/notation/relations/predtysnstar_4.ma".
16 include "basic_2/relocation/lex.ma".
17 include "basic_2/rt_computation/cpxs_ext.ma".
19 (* UNCOUNTED PARALLEL RT-COMPUTATION FOR LOCAL ENVIRONMENTS *****************)
21 definition lpxs: ∀h. relation3 genv lenv lenv ≝
25 "uncounted parallel rt-computation (local environment)"
26 'PRedTySnStar h G L1 L2 = (lpxs h G L1 L2).
28 (* Basic inversion lemmas ***************************************************)
30 lemma lpxs_inv_bind_sn: ∀h,G,I1,L2,K1. ⦃G, K1.ⓘ{I1}⦄ ⊢⬈*[h] L2 →
31 ∃∃I2,K2. ⦃G, K1⦄ ⊢⬈*[h] K2 & ⦃G, K1⦄ ⊢ I1 ⬈*[h] I2 & L2 = K2.ⓘ{I2}.
32 /2 width=1 by lex_inv_bind_sn/ qed-.
34 lemma lpxs_inv_pair_sn: ∀h,G,I,L2,K1,V1. ⦃G, K1.ⓑ{I}V1⦄ ⊢⬈*[h] L2 →
35 ∃∃K2,V2. ⦃G, K1⦄ ⊢⬈*[h] K2 & ⦃G, K1⦄ ⊢ V1 ⬈*[h] V2 & L2 = K2.ⓑ{I}V2.
36 #h #G #I #L2 #K1 #V1 #H
37 elim (lpxs_inv_bind_sn … H) -H #Y #K2 #HK12 #H0 #H destruct
38 elim (ext2_inv_pair_sn … H0) -H0 #V2 #HV12 #H destruct
39 /2 width=5 by ex3_2_intro/