]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/basic_2/computation/lfprs.ma
- lambda_delta: programmed renaming to lambdadelta
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / computation / lfprs.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/reducibility/lfpr.ma".
16
17 (* FOCALIZED PARALLEL COMPUTATION ON LOCAL ENVIRONMENTS *********************)
18
19 definition lfprs: relation lenv ≝ TC … lfpr.
20
21 interpretation
22   "focalized parallel computation (environment)"
23   'FocalizedPRedStar L1 L2 = (lfprs L1 L2).
24
25 (* Basic eliminators ********************************************************)
26
27 lemma lfprs_ind: ∀L1. ∀R:predicate lenv. R L1 →
28                  (∀L,L2. ⦃L1⦄ ➡* ⦃L⦄ → ⦃L⦄ ➡ ⦃L2⦄ → R L → R L2) →
29                  ∀L2. ⦃L1⦄ ➡* ⦃L2⦄ → R L2.
30 #L1 #R #HL1 #IHL1 #L2 #HL12
31 @(TC_star_ind … HL1 IHL1 … HL12) //
32 qed-.
33
34 lemma lfprs_ind_dx: ∀L2. ∀R:predicate lenv. R L2 →
35                     (∀L1,L. ⦃L1⦄ ➡ ⦃L⦄ → ⦃L⦄ ➡* ⦃L2⦄ → R L → R L1) →
36                     ∀L1. ⦃L1⦄ ➡* ⦃L2⦄ → R L1.
37 #L2 #R #HL2 #IHL2 #L1 #HL12
38 @(TC_star_ind_dx … HL2 IHL2 … HL12) //
39 qed-.
40
41 (* Basic properties *********************************************************)
42
43 lemma lfprs_refl: ∀L. ⦃L⦄ ➡* ⦃L⦄.
44 /2 width=1/ qed.
45
46 lemma lfprs_strap1: ∀L1,L,L2. ⦃L1⦄ ➡* ⦃L⦄ → ⦃L⦄ ➡ ⦃L2⦄ → ⦃L1⦄ ➡* ⦃L2⦄.
47 /2 width=3/ qed.
48
49 lemma lfprs_strap2: ∀L1,L,L2. ⦃L1⦄ ➡ ⦃L⦄ → ⦃L⦄ ➡* ⦃L2⦄ → ⦃L1⦄ ➡* ⦃L2⦄.
50 /2 width=3/ qed.