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/rt_transition/cpg_simple.ma".
16 include "basic_2/rt_transition/cpm.ma".
18 (* T-BOUND CONTEXT-SENSITIVE PARALLEL RT-TRANSITION FOR TERMS ***************)
20 (* Properties with simple terms *********************************************)
22 (* Basic_2A1: includes: cpr_inv_appl1_simple *)
23 lemma cpm_inv_appl1_simple: ∀h,n,G,L,V1,T1,U. ❨G,L❩ ⊢ ⓐV1.T1 ➡[h,n] U → 𝐒❨T1❩ →
24 ∃∃V2,T2. ❨G,L❩ ⊢ V1 ➡[h,0] V2 & ❨G,L❩ ⊢ T1 ➡[h,n] T2 &
26 #h #n #G #L #V1 #T1 #U * #c #Hc #H #HT1 elim (cpg_inv_appl1_simple … H HT1) -H -HT1
27 #cV #cT #V2 #T2 #HV12 #HT12 #H1 #H2 destruct elim (isrt_inv_max … Hc) -Hc
28 #nV #nT #HnV #HnT #H destruct elim (isrt_inv_shift … HnV) -HnV
29 #HnV #H destruct /3 width=5 by ex3_2_intro, ex2_intro/