]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/basic_2/rt_computation/rsx_length.ma
4a5a8a4e50182a4ed719d96d94efbd8bc30a2c7f
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / rt_computation / rsx_length.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 "static_2/static/reqx_length.ma".
16 include "basic_2/rt_transition/lpx_length.ma".
17 include "basic_2/rt_computation/rsx.ma".
18
19 (* STRONGLY NORMALIZING REFERRED LOCAL ENV.S FOR UNBOUND RT-TRANSITION ******)
20
21 (* Advanced properties ******************************************************)
22
23 (* Basic_2A1: uses: lsx_sort *)
24 lemma rsx_sort (h) (G): ∀L,s. G ⊢ ⬈*𝐒[h,⋆s] L.
25 #h #G #L1 #s @rsx_intro #L2 #H #Hs
26 elim Hs -Hs /3 width=3 by lpx_fwd_length, reqx_sort_length/
27 qed.
28
29 (* Basic_2A1: uses: lsx_gref *)
30 lemma rsx_gref (h) (G): ∀L,l. G ⊢ ⬈*𝐒[h,§l] L.
31 #h #G #L1 #s @rsx_intro #L2 #H #Hs
32 elim Hs -Hs /3 width=3 by lpx_fwd_length, reqx_gref_length/
33 qed.
34
35 lemma rsx_unit (h) (G): ∀I,L. G ⊢ ⬈*𝐒[h,#0] L.ⓤ[I].
36 #h #G #I #L1 @rsx_intro
37 #Y #HY #HnY elim HnY -HnY
38 elim (lpx_inv_unit_sn … HY) -HY #L2 #HL12 #H destruct
39 /3 width=3 by lpx_fwd_length, reqx_unit_length/
40 qed.