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 "basic_2/static/lfdeq_lfdeq.ma".
16 include "basic_2/rt_transition/lfpx_lfdeq.ma".
17 include "basic_2/rt_computation/lfpxs_fqup.ma".
19 (* UNCOUNTED PARALLEL RT-COMPUTATION FOR LOCAL ENV.S ON REFERRED ENTRIES ****)
21 (* Properties with degree-based equivalence on referred entries *************)
23 (* Basic_2A1: was: lleq_lpxs_trans *)
24 lemma lfdeq_lfpxs_trans: ∀h,o,G,L2,K2,T. ⦃G, L2⦄ ⊢ ⬈*[h, T] K2 →
25 ∀L1. L1 ≛[h, o, T] L2 →
26 ∃∃K1. ⦃G, L1⦄ ⊢ ⬈*[h, T] K1 & K1 ≛[h, o, T] K2.
27 #h #o #G #L2 #K2 #T #H @(lfpxs_ind_sn … H) -K2 /2 width=3 by ex2_intro/
28 #K #K2 #_ #HK2 #IH #L1 #HT elim (IH … HT) -L2
29 #L #HL1 #HT elim (lfdeq_lfpx_trans … HK2 … HT) -K
30 /3 width=3 by lfpxs_step_dx, ex2_intro/
33 (* Basic_2A1: was: lpxs_nlleq_inv_step_sn *)
34 lemma lfpxs_lfdneq_inv_step_sn: ∀h,o,G,L1,L2,T. ⦃G, L1⦄ ⊢ ⬈*[h, T] L2 → (L1 ≛[h, o, T] L2 → ⊥) →
35 ∃∃L,L0. ⦃G, L1⦄ ⊢ ⬈[h, T] L & L1 ≛[h, o, T] L → ⊥ & ⦃G, L⦄ ⊢ ⬈*[h, T] L0 & L0 ≛[h, o, T] L2.
36 #h #o #G #L1 #L2 #T #H @(lfpxs_ind_dx … H) -L1
38 | #L1 #L #H1 #H2 #IH2 #H12 elim (lfdeq_dec h o L1 L T) #H
39 [ -H1 -H2 elim IH2 -IH2 /3 width=3 by lfdeq_trans/ -H12
40 #L0 #L3 #H1 #H2 #H3 #H4 lapply (lfdeq_lfdneq_trans … H … H2) -H2
41 #H2 elim (lfdeq_lfpx_trans … H1 … H) -L
42 #L #H1 #H lapply (lfdneq_lfdeq_div … H … H2) -H2
43 #H2 elim (lfdeq_lfpxs_trans … H3 … H) -L0
44 /3 width=8 by lfdeq_trans, ex4_2_intro/
45 | -H12 -IH2 /3 width=6 by ex4_2_intro/