]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/basic_2/rt_transition/fpbq.ma
refactoring to park the notions:
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / rt_transition / fpbq.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/notation/relations/btpred_8.ma".
16 include "basic_2/substitution/fquq.ma".
17 include "basic_2/multiple/lleq.ma".
18 include "basic_2/reduction/lpx.ma".
19
20 (* "QRST" PARALLEL REDUCTION FOR CLOSURES ***********************************)
21
22 inductive fpbq (h) (o) (G1) (L1) (T1): relation3 genv lenv term ≝
23 | fpbq_fquq: ∀G2,L2,T2. ⦃G1, L1, T1⦄ ⊐⸮ ⦃G2, L2, T2⦄ → fpbq h o G1 L1 T1 G2 L2 T2
24 | fpbq_cpx : ∀T2. ⦃G1, L1⦄ ⊢ T1 ➡[h, o] T2 → fpbq h o G1 L1 T1 G1 L1 T2
25 | fpbq_lpx : ∀L2. ⦃G1, L1⦄ ⊢ ➡[h, o] L2 → fpbq h o G1 L1 T1 G1 L2 T1
26 | fpbq_lleq: ∀L2. L1 ≡[T1, 0] L2 → fpbq h o G1 L1 T1 G1 L2 T1
27 .
28
29 interpretation
30    "'qrst' parallel reduction (closure)"
31    'BTPRed h o G1 L1 T1 G2 L2 T2 = (fpbq h o G1 L1 T1 G2 L2 T2).
32
33 (* Basic properties *********************************************************)
34
35 lemma fpbq_refl: ∀h,o. tri_reflexive … (fpbq h o).
36 /2 width=1 by fpbq_cpx/ qed.
37
38 lemma cpr_fpbq: ∀h,o,G,L,T1,T2. ⦃G, L⦄ ⊢ T1 ➡ T2 → ⦃G, L, T1⦄ ≽[h, o] ⦃G, L, T2⦄. 
39 /3 width=1 by fpbq_cpx, cpr_cpx/ qed.
40
41 lemma lpr_fpbq: ∀h,o,G,L1,L2,T. ⦃G, L1⦄ ⊢ ➡ L2 → ⦃G, L1, T⦄ ≽[h, o] ⦃G, L2, T⦄.
42 /3 width=1 by fpbq_lpx, lpr_lpx/ qed.