]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/basic_2/rt_computation/rsx_fqup.ma
update in ground
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / rt_computation / rsx_fqup.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/reqg_fqup.ma".
16 include "basic_2/rt_computation/rsx.ma".
17
18 (* STRONGLY NORMALIZING REFERRED LOCAL ENVS FOR EXTENDED RT-TRANSITION ******)
19
20 (* Advanced properties ******************************************************)
21
22 (* Basic_2A1: uses: lsx_atom *)
23 lemma lfsx_atom (G) (T): G โŠข โฌˆ*๐’[T] โ‹†.
24 #G #T
25 @rsx_intro #Y #H #HnT
26 lapply (lpx_inv_atom_sn โ€ฆ H) -H #H destruct
27 elim HnT -HnT /2 width=1 by rex_refl/
28 qed.
29
30 (* Advanced forward lemmas **************************************************)
31
32 (* Basic_2A1: uses: lsx_fwd_bind_dx *)
33 (* Note: the exclusion binder (โ“ง) makes this more elegant and much simpler *)
34 (* Note: the old proof without the exclusion binder requires lreq *)
35 lemma rsx_fwd_bind_dx_void (G):
36       โˆ€p,I,L,V,T. G โŠข โฌˆ*๐’[โ“‘[p,I]V.T] L โ†’ G โŠข โฌˆ*๐’[T] L.โ“ง.
37 #G #p #I #L #V #T #H
38 @(rsx_ind โ€ฆ H) -L #L1 #_ #IH
39 @rsx_intro #Y #H #HT
40 elim (lpx_inv_unit_sn โ€ฆ H) -H #L2 #HL12 #H destruct
41 /4 width=4 by reqg_fwd_bind_dx_void/
42 qed-.
43
44 (* Advanced inversion lemmas ************************************************)
45
46 (* Basic_2A1: uses: lsx_inv_bind *)
47 lemma rsx_inv_bind_void (G):
48       โˆ€p,I,L,V,T. G โŠข โฌˆ*๐’[โ“‘[p,I]V.T] L โ†’
49       โˆงโˆง G โŠข โฌˆ*๐’[V] L & G โŠข โฌˆ*๐’[T] L.โ“ง.
50 /3 width=4 by rsx_fwd_pair_sn, rsx_fwd_bind_dx_void, conj/ qed-.