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/i_static/tc_lfxs_fqup.ma".
16 include "basic_2/rt_computation/lfpxs.ma".
18 (* UNCOUNTED PARALLEL RT-COMPUTATION FOR LOCAL ENV.S ON REFERRED ENTRIES ****)
20 (* Advanced properties ******************************************************)
22 (* Basic_2A1: uses: lpxs_refl *)
23 lemma lfpxs_refl: ∀h,G,T. reflexive … (lfpxs h G T).
24 /2 width=1 by tc_lfxs_refl/ qed.
26 (* Advanced forward lemmas **************************************************)
28 lemma lfpxs_fwd_bind_dx: ∀h,p,I,G,L1,L2,V,T. ⦃G, L1⦄ ⊢ ⬈*[h, ⓑ{p,I}V.T] L2 →
29 ⦃G, L1.ⓑ{I}V⦄ ⊢ ⬈*[h, T] L2.ⓑ{I}V.
30 /2 width=2 by tc_lfxs_fwd_bind_dx/ qed-.
32 lemma lfpxs_fwd_bind_dx_void: ∀h,p,I,G,L1,L2,V,T. ⦃G, L1⦄ ⊢ ⬈*[h, ⓑ{p,I}V.T] L2 →
33 ⦃G, L1.ⓧ⦄ ⊢ ⬈*[h, T] L2.ⓧ.
34 /2 width=4 by tc_lfxs_fwd_bind_dx_void/ qed-.
36 (* Advanced eliminators *****************************************************)
38 (* Basic_2A1: uses: lpxs_ind *)
39 lemma lfpxs_ind_sn: ∀h,G,L1,T. ∀R:predicate lenv. R L1 →
40 (∀L,L2. ⦃G, L1⦄ ⊢ ⬈*[h, T] L → ⦃G, L⦄ ⊢ ⬈[h, T] L2 → R L → R L2) →
41 ∀L2. ⦃G, L1⦄ ⊢ ⬈*[h, T] L2 → R L2.
42 #h #G @tc_lfxs_ind_sn // (**) (* auto fails *)
45 (* Basic_2A1: uses: lpxs_ind_dx *)
46 lemma lfpxs_ind_dx: ∀h,G,L2,T. ∀R:predicate lenv. R L2 →
47 (∀L1,L. ⦃G, L1⦄ ⊢ ⬈[h, T] L → ⦃G, L⦄ ⊢ ⬈*[h, T] L2 → R L → R L1) →
48 ∀L1. ⦃G, L1⦄ ⊢ ⬈*[h, T] L2 → R L1.
49 #h #G @tc_lfxs_ind_dx // (**) (* auto fails *)