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 "static_2/static/req_drops.ma".
16 include "basic_2/rt_transition/rpx_fsle.ma".
18 (* UNBOUND CONTEXT-SENSITIVE PARALLEL RT-TRANSITION FOR TERMS ***************)
20 (* Properties with syntactic equivalence for lenvs on referred entries ******)
22 (* Basic_2A1: was: lleq_cpx_trans *)
23 lemma req_cpx_trans (h) (G): req_transitive (cpx h G).
24 #h #G #L2 #T1 #T2 #H @(cpx_ind … H) -G -L2 -T1 -T2 /2 width=2 by cpx_ess/
25 [ #I #G #K2 #V1 #V2 #W2 #_ #IH #HVW2 #L1 #H
26 elim (req_inv_zero_pair_dx … H) -H #K1 #HK12 #H destruct
27 /3 width=3 by cpx_delta/
28 | #I2 #G #K2 #T #U #i #_ #IH #HTU #L1 #H
29 elim (req_inv_lref_bind_dx … H) -H #I1 #K1 #HK12 #H destruct
30 /3 width=3 by cpx_lref/
31 | #p #I #G #L2 #V1 #V2 #T1 #T2 #_ #_ #IHV12 #IHT12 #L1 #H
32 elim (req_inv_bind … H) -H /3 width=1 by cpx_bind/
33 | #I #G #L2 #V1 #V2 #T1 #T2 #_ #_ #IHV12 #IHT12 #L1 #H
34 elim (req_inv_flat … H) -H /3 width=1 by cpx_flat/
35 | #G #L2 #V2 #T1 #T #T2 #HT1 #_ #IH #L1 #H
36 elim (req_inv_bind … H) -H #HV2 #H
37 lapply (req_inv_lifts_bi … H (Ⓣ) … HT1) -H [6:|*: /3 width=2 by drops_refl, drops_drop/ ] #HT
38 /3 width=3 by cpx_zeta/
39 | #G #L2 #W1 #T1 #T2 #_ #IH #L1 #H
40 elim (req_inv_flat … H) -H /3 width=1 by cpx_eps/
41 | #G #L2 #W1 #W2 #T1 #_ #IH #L1 #H
42 elim (req_inv_flat … H) -H /3 width=1 by cpx_ee/
43 | #p #G #L2 #V1 #V2 #W1 #W2 #T1 #T2 #_ #_ #_ #IHV12 #IHW12 #IHT12 #L1 #H
44 elim (req_inv_flat … H) -H #HV1 #H
45 elim (req_inv_bind … H) -H /3 width=1 by cpx_beta/
46 | #p #G #L2 #V1 #V #V2 #W1 #W2 #T1 #T2 #_ #_ #_ #IHV1 #IHW12 #IHT12 #HV2 #L1 #H
47 elim (req_inv_flat … H) -H #HV1 #H
48 elim (req_inv_bind … H) -H /3 width=3 by cpx_theta/
52 (* Basic_2A1: was: cpx_lleq_conf_sn *)
53 lemma cpx_req_conf_sn (h) (G): s_r_confluent1 … (cpx h G) req.
54 /2 width=5 by cpx_rex_conf/ qed-.