]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/basic_2/rt_computation/cpts_cpms.ma
update in ground_2, static_2, basic_2, apps_2, alpha_1
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / rt_computation / cpts_cpms.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 "basic_2/rt_transition/cpt_cpm.ma".
16 include "basic_2/rt_computation/cpms_cpms.ma".
17 include "basic_2/rt_computation/cpts.ma".
18
19 (* T-BOUND CONTEXT-SENSITIVE PARALLEL T-COMPUTATION FOR TERMS ***************)
20
21 (* Forward lemmas with t-bound rt-computation for terms *********************)
22
23 lemma cpts_fwd_cpms (h) (n) (G) (L):
24       ∀T1,T2. ❪G,L❫ ⊢ T1 ⬆*[h,n] T2 → ❪G,L❫ ⊢ T1 ➡*[n,h] T2.
25 #h #n #G #L #T1 #T2 #H
26 @(cpts_ind_dx … H) -n -T2 [ // ]
27 #n1 #n2 #T #T2 #_ #IH #HT2
28 /3 width=3 by cpms_step_dx, cpt_fwd_cpm/
29 qed-.
30
31 lemma cpts_cprs_trans (h) (n) (G) (L) (T):
32       ∀T1. ❪G,L❫ ⊢ T1 ⬆*[h,n] T →
33       ∀T2. ❪G,L❫ ⊢ T ➡*[h] T2 → ❪G,L❫ ⊢ T1 ➡*[n,h] T2.
34 #h #n #G #L #T #T1 #HT1 #T2 #HT2
35 /3 width=3 by cpts_fwd_cpms, cpms_cprs_trans/ qed-.