]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/basic_2/rt_transition/lfpx_fquq.ma
update in basic_2
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / rt_transition / lfpx_fquq.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/lfpx_drops.ma".
16 include "basic_2/rt_transition/lfpx_fsle.ma".
17 include "basic_2/s_transition/fquq.ma".
18
19 (* UNCOUNTED PARALLEL RT-TRANSITION FOR LOCAL ENV.S ON REFERRED ENTRIES *****)
20
21 (* Properties with extended structural successor for closures ***************)
22
23 (* Basic_2A1: uses: lpx_fqu_trans *)
24 lemma lfpx_fqu_trans: ∀h,b,G1,G2,L1,L2,T1,T2. ⦃G1, L1, T1⦄ ⊐[b] ⦃G2, L2, T2⦄ →
25                       ∀K1. ⦃G1, K1⦄ ⊢ ⬈[h, T1] L1 →
26                       ∃∃K2,T. ⦃G1, K1⦄ ⊢ T1 ⬈[h] T & ⦃G1, K1, T⦄ ⊐[b] ⦃G2, K2, T2⦄ & ⦃G2, K2⦄ ⊢ ⬈[h, T2] L2.
27 #h #b #G1 #G2 #L1 #L2 #T1 #T2 #H elim H -G1 -G2 -L1 -L2 -T1 -T2
28 [ #I #G #K #V #K1 #H
29   elim (lfpx_inv_zero_pair_dx … H) -H #K0 #V0 #HK0 #HV0 #H destruct
30   elim (lifts_total V (𝐔❴1❵)) #T #HVT
31   /3 width=7 by lfpx_cpx_conf, cpx_delta, fqu_drop, ex3_2_intro/
32 | /3 width=7 by lfpx_fwd_pair_sn, cpx_pair_sn, fqu_pair_sn, ex3_2_intro/
33 | /3 width=6 by lfpx_fwd_bind_dx, cpx_pair_sn, fqu_bind_dx, ex3_2_intro/
34 | /3 width=8 by lfpx_fwd_bind_dx_void, cpx_pair_sn, fqu_clear, ex3_2_intro/
35 | /3 width=7 by lfpx_fwd_flat_dx, cpx_pair_sn, fqu_flat_dx, ex3_2_intro/
36 | #I #G #K #T #U #HTU #K1 #H
37   elim (lfpx_drops_trans … H (Ⓣ) … HTU) -H
38   [|*: /3 width=2 by drops_refl, drops_drop/ ] -I #K0 #HK10 #HK0
39   elim (drops_inv_succ … HK10) -HK10 #I #Y #HY #H destruct
40   lapply (drops_fwd_isid … HY ?) -HY // #H destruct
41   /3 width=5 by fqu_drop, ex3_2_intro/
42 ]
43 qed-.
44
45 (* Properties with extended optional structural successor for closures ******)
46
47 (* Basic_2A1: uses: lpx_fquq_trans *)
48 lemma lfpx_fquq_trans: ∀h,b,G1,G2,L1,L2,T1,T2. ⦃G1, L1, T1⦄ ⊐⸮[b] ⦃G2, L2, T2⦄ →
49                        ∀K1. ⦃G1, K1⦄ ⊢ ⬈[h, T1] L1 →
50                        ∃∃K2,T. ⦃G1, K1⦄ ⊢ T1 ⬈[h] T & ⦃G1, K1, T⦄ ⊐⸮[b] ⦃G2, K2, T2⦄ & ⦃G2, K2⦄ ⊢ ⬈[h, T2] L2.
51 #h #o #G1 #G2 #L1 #L2 #T1 #T2 #H #K1 #HKL1 cases H -H
52 [ #H12 elim (lfpx_fqu_trans … H12 … HKL1) -L1 /3 width=5 by fqu_fquq, ex3_2_intro/
53 | * #H1 #H2 #H3 destruct /2 width=5 by ex3_2_intro/
54 ]
55 qed-.