]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/basic_2/rt_computation/rdsx_rdsx.ma
milestone in basic_2
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / rt_computation / rdsx_rdsx.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/rt_transition/lpx_rdeq.ma".
16 include "basic_2/rt_computation/rdsx.ma".
17
18 (* STRONGLY NORMALIZING REFERRED LOCAL ENV.S FOR UNBOUND RT-TRANSITION ******)
19
20 (* Advanced properties ******************************************************)
21
22 (* Basic_2A1: uses: lsx_lleq_trans *)
23 lemma rdsx_rdeq_trans (h) (G):
24                       ∀L1,T. G ⊢ ⬈*[h, T] 𝐒⦃L1⦄ →
25                       ∀L2. L1 ≛[T] L2 → G ⊢ ⬈*[h, T] 𝐒⦃L2⦄.
26 #h #G #L1 #T #H @(rdsx_ind … H) -L1
27 #L1 #_ #IHL1 #L2 #HL12 @rdsx_intro
28 #L #HL2 #HnL2 elim (rdeq_lpx_trans … HL2 … HL12) -HL2
29 /4 width=5 by rdeq_repl/
30 qed-.
31
32 (* Basic_2A1: uses: lsx_lpx_trans *)
33 lemma rdsx_lpx_trans (h) (G):
34                      ∀L1,T. G ⊢ ⬈*[h, T] 𝐒⦃L1⦄ →
35                      ∀L2. ⦃G, L1⦄ ⊢ ⬈[h] L2 → G ⊢ ⬈*[h, T] 𝐒⦃L2⦄.
36 #h #G #L1 #T #H @(rdsx_ind … H) -L1 #L1 #HL1 #IHL1 #L2 #HL12
37 elim (rdeq_dec L1 L2 T) /3 width=4 by rdsx_rdeq_trans/
38 qed-.