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/fdeq.ma".
16 include "basic_2/rt_computation/cpxs_rdeq.ma".
18 (* UNBOUND CONTEXT-SENSITIVE PARALLEL RT-COMPUTATION FOR TERMS **************)
20 (* Properties with degree-based equivalence for closures ********************)
22 lemma fdeq_cpxs_trans: ∀h,o,G1,G2,L1,L2,T1,T. ⦃G1, L1, T1⦄ ≛[h, o] ⦃G2, L2, T⦄ →
23 ∀T2. ⦃G2, L2⦄ ⊢ T ⬈*[h] T2 →
24 ∃∃T0. ⦃G1, L1⦄ ⊢ T1 ⬈*[h] T0 & ⦃G1, L1, T0⦄ ≛[h, o] ⦃G2, L2, T2⦄.
25 #h #o #G1 #G2 #L1 #L2 #T1 #T #H #T2 #HT2
26 elim (fdeq_inv_gen_dx … H) -H #H #HL12 #HT1 destruct
27 elim (rdeq_cpxs_trans … HT2 … HL12) #T0 #HT0 #HT02
28 lapply (cpxs_rdeq_conf_dx … HT2 … HL12) -HL12 #HL12
29 elim (tdeq_cpxs_trans … HT1 … HT0) -T #T #HT1 #HT0
30 /4 width=5 by fdeq_intro_dx, tdeq_trans, ex2_intro/