]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/basic_2/rt_computation/lfpxs_fqup.ma
0f90e90e21377c2cd42fc92c6357069186ab38c0
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / rt_computation / lfpxs_fqup.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/i_static/tc_lfxs_fqup.ma".
16 include "basic_2/rt_computation/lfpxs.ma".
17
18 (* UNCOUNTED PARALLEL RT-COMPUTATION FOR LOCAL ENV.S ON REFERRED ENTRIES ****)
19
20 (* Advanced properties ******************************************************)
21
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.
25
26 (* Advanced forward lemmas **************************************************)
27
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-.
31
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-.
35
36 (* Advanced eliminators *****************************************************)
37
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 *)
43 qed-. 
44
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 *)
50 qed-.