]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambda_delta/basic_2/reducibility/ypr.ma
- we set up the support for the "bt-reduction" of Automath literature
[helm.git] / matita / matita / contribs / lambda_delta / basic_2 / reducibility / ypr.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/substitution/csup.ma".
16 include "basic_2/reducibility/xpr.ma".
17
18 (* HYPER PARALLEL REDUCTION ON CLOSURES *************************************)
19
20 inductive ypr (h) (g) (L1) (T1): relation2 lenv term ≝
21 | ypr_cpr : ∀T2. L1 ⊢ T1 ➡ T2 → ypr h g L1 T1 L1 T2
22 | ypr_ssta: ∀T2,l. ⦃h, L1⦄ ⊢ T1 •[g, l + 1] T2 → ypr h g L1 T1 L1 T2
23 | ypr_csup: ∀L2,T2. ⦃L1, T1⦄ > ⦃L2, T2⦄ → ypr h g L1 T1 L2 T2
24
25
26 interpretation
27    "hyper parallel reduction (closure)"
28    'YPRed h g L1 T1 L2 T2 = (ypr h g L1 T1 L2 T2).
29
30 (* Basic properties *********************************************************)
31
32 lemma ypr_refl: ∀h,g. bi_reflexive … (ypr h g).
33 /2 width=1/ qed.
34
35 lemma xpr_ypr: ∀h,g,L,T1,T2. ⦃h, L⦄ ⊢ T1 •➡[g] T2 → h ⊢ ⦃L, T1⦄ •⥸[g] ⦃L, T2⦄.
36 #h #g #L #T1 #T2 * /2 width=1/ /2 width=2/
37 qed.