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/relocation/drops.ma".
16 include "basic_2/rt_transition/cpg.ma".
18 (* CONTEXT-SENSITIVE GENERIC PARALLEL RT-TRANSITION FOR TERMS ***************)
20 (* Properties with generic slicing for local environments *******************)
22 (* Note: the main property of simple terms *)
23 lemma cpg_inv_appl1_simple: ∀h,c,G,L,V1,T1,U. ⦃G, L⦄ ⊢ ⓐV1.T1 ➡[h, c] U → 𝐒⦃T1⦄ →
24 ∃∃V2,T2. ⦃G, L⦄ ⊢ V1 ➡[h, c] V2 & ⦃G, L⦄ ⊢ T1 ➡[h, c] T2 &
26 #h #c #G #L #V1 #T1 #U #H #HT1
27 elim (cpg_inv_appl1 … H) -H *
28 [ /2 width=5 by ex3_2_intro/
29 | #a #V2 #W1 #W2 #U1 #U2 #_ #_ #_ #H #_ destruct
30 elim (simple_inv_bind … HT1)
31 | #a #V #V2 #W1 #W2 #U1 #U2 #_ #_ #_ #_ #H #_ destruct
32 elim (simple_inv_bind … HT1)