]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/basic_2/rt_computation/fpbs_cpx.ma
milestone update in basic_2, update in ground and static_2
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / rt_computation / fpbs_cpx.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/cpx_feqx.ma".
16 include "basic_2/rt_computation/lpxs_cpxs.ma".
17 include "basic_2/rt_computation/fpbs_lpxs.ma".
18
19 (* PARALLEL RST-COMPUTATION FOR CLOSURES ************************************)
20
21 (* Properties with extended context-sensitive parallel rt-transition ********)
22
23 (* Basic_2A1: uses: fpbs_cpx_trans_neq *)
24 lemma fpbs_cpx_tneqx_trans:
25       ∀G1,G2,L1,L2,T1,T2. ❪G1,L1,T1❫ ≥ ❪G2,L2,T2❫ →
26       ∀U2. ❪G2,L2❫ ⊢ T2 ⬈ U2 → (T2 ≛ U2 → ⊥) →
27       ∃∃U1. ❪G1,L1❫ ⊢ T1 ⬈ U1 & T1 ≛ U1 → ⊥ & ❪G1,L1,U1❫ ≥ ❪G2,L2,U2❫.
28 #G1 #G2 #L1 #L2 #T1 #T2 #H #U2 #HTU2 #HnTU2
29 elim (fpbs_inv_star … H) -H #G0 #L0 #L3 #T0 #T3 #HT10 #H10 #HL03 #H32
30 elim (feqx_cpx_trans … H32 … HTU2) -HTU2 #T4 #HT34 #H42
31 lapply (feqx_tneqx_repl_dx … H32 … H42 … HnTU2) -T2 #HnT34
32 lapply (lpxs_cpx_trans … HT34 … HL03) -HT34 #HT34
33 elim (fqus_cpxs_trans_tneqx … H10 … HT34 HnT34) -T3 #T2 #HT02 #HnT02 #H24
34 elim (teqx_dec T1 T0) [ #H10 | -HnT02 #HnT10 ]
35 [ lapply (cpxs_trans … HT10 … HT02) -HT10 -HT02 #HT12
36   elim (cpxs_tneqx_fwd_step_sn … HT12) [2: /3 width=3 by teqx_canc_sn/ ] -T0 -HT12
37 | elim (cpxs_tneqx_fwd_step_sn … HT10 … HnT10) -HT10 -HnT10
38 ]
39 /4 width=16 by fpbs_intro_star, cpxs_teqx_fpbs_trans, ex3_intro/
40 qed-.