]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/static_2/static/rdeq_drops.ma
milestone in basic_2
[helm.git] / matita / matita / contribs / lambdadelta / static_2 / static / rdeq_drops.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/relocation/lifts_tdeq.ma".
16 include "static_2/static/rex_drops.ma".
17 include "static_2/static/rdeq.ma".
18
19 (* SORT-IRRELEVANT EQUIVALENCE FOR LOCAL ENVIRONMENTS ON REFERRED ENTRIES ***)
20
21 (* Properties with generic slicing for local environments *******************)
22
23 lemma rdeq_lifts_sn: f_dedropable_sn cdeq.
24 /3 width=5 by rex_liftable_dedropable_sn, tdeq_lifts_sn/ qed-.
25
26 (* Inversion lemmas with generic slicing for local environments *************)
27
28 lemma rdeq_inv_lifts_sn: f_dropable_sn cdeq.
29 /2 width=5 by rex_dropable_sn/ qed-.
30
31 lemma rdeq_inv_lifts_dx: f_dropable_dx cdeq.
32 /2 width=5 by rex_dropable_dx/ qed-.
33
34 lemma rdeq_inv_lifts_bi: โˆ€L1,L2,U. L1 โ‰›[U] L2 โ†’ โˆ€b,f. ๐”โฆƒfโฆ„ โ†’
35                          โˆ€K1,K2. โฌ‡*[b, f] L1 โ‰˜ K1 โ†’ โฌ‡*[b, f] L2 โ‰˜ K2 โ†’
36                          โˆ€T. โฌ†*[f] T โ‰˜ U โ†’ K1 โ‰›[T] K2.
37 /2 width=10 by rex_inv_lifts_bi/ qed-.
38
39 lemma rdeq_inv_lref_pair_sn: โˆ€L1,L2,i. L1 โ‰›[#i] L2 โ†’ โˆ€I,K1,V1. โฌ‡*[i] L1 โ‰˜ K1.โ“‘{I}V1 โ†’
40                              โˆƒโˆƒK2,V2. โฌ‡*[i] L2 โ‰˜ K2.โ“‘{I}V2 & K1 โ‰›[V1] K2 & V1 โ‰› V2.
41 /2 width=3 by rex_inv_lref_pair_sn/ qed-.
42
43 lemma rdeq_inv_lref_pair_dx: โˆ€L1,L2,i. L1 โ‰›[#i] L2 โ†’ โˆ€I,K2,V2. โฌ‡*[i] L2 โ‰˜ K2.โ“‘{I}V2 โ†’
44                              โˆƒโˆƒK1,V1. โฌ‡*[i] L1 โ‰˜ K1.โ“‘{I}V1 & K1 โ‰›[V1] K2 & V1 โ‰› V2.
45 /2 width=3 by rex_inv_lref_pair_dx/ qed-.
46
47 lemma rdeq_inv_lref_pair_bi (L1) (L2) (i):
48                             L1 โ‰›[#i] L2 โ†’
49                             โˆ€I1,K1,V1. โฌ‡*[i] L1 โ‰˜ K1.โ“‘{I1}V1 โ†’
50                             โˆ€I2,K2,V2. โฌ‡*[i] L2 โ‰˜ K2.โ“‘{I2}V2 โ†’
51                             โˆงโˆง K1 โ‰›[V1] K2 & V1 โ‰› V2 & I1 = I2.
52 /2 width=6 by rex_inv_lref_pair_bi/ qed-.