]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/basic_2/rt_transition/fpb.ma
3e31edb7e2d1832059e8b87b6b4c86643a74e62e
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / rt_transition / fpb.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/predsubtyproper_7.ma".
16 include "static_2/s_transition/fqu.ma".
17 include "static_2/static/reqx.ma".
18 include "basic_2/rt_transition/lpr_lpx.ma".
19
20 (* PROPER PARALLEL RST-TRANSITION FOR CLOSURES ******************************)
21
22 inductive fpb (h) (G1) (L1) (T1): relation3 genv lenv term ≝
23 | fpb_fqu: ∀G2,L2,T2. ❪G1,L1,T1❫ ⬂ ❪G2,L2,T2❫ → fpb h G1 L1 T1 G2 L2 T2
24 | fpb_cpx: ∀T2. ❪G1,L1❫ ⊢ T1 ⬈[h] T2 → (T1 ≛ T2 → ⊥) → fpb h G1 L1 T1 G1 L1 T2
25 | fpb_lpx: ∀L2. ❪G1,L1❫ ⊢ ⬈[h] L2 → (L1 ≛[T1] L2 → ⊥) → fpb h G1 L1 T1 G1 L2 T1
26 .
27
28 interpretation
29    "proper parallel rst-transition (closure)"
30    'PRedSubTyProper h G1 L1 T1 G2 L2 T2 = (fpb h G1 L1 T1 G2 L2 T2).
31
32 (* Basic properties *********************************************************)
33
34 (* Basic_2A1: includes: cpr_fpb *)
35 lemma cpm_fpb (h) (n) (G) (L): ∀T1,T2. ❪G,L❫ ⊢ T1 ➡[h,n] T2 → (T1 ≛ T2 → ⊥) →
36                                    ❪G,L,T1❫ ≻[h] ❪G,L,T2❫.
37 /3 width=2 by fpb_cpx, cpm_fwd_cpx/ qed.
38
39 lemma lpr_fpb (h) (G) (T): ∀L1,L2. ❪G,L1❫ ⊢ ➡[h,0] L2 → (L1 ≛[T] L2 → ⊥) →
40                            ❪G,L1,T❫ ≻[h] ❪G,L2,T❫.
41 /3 width=1 by fpb_lpx, lpr_fwd_lpx/ qed.