1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| The HELM team. *)
8 (* ||A|| http://helm.cs.unibo.it *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU General Public License Version 2 *)
13 (**************************************************************************)
15 include "static_2/static/rex_fqup.ma".
16 include "static_2/static/rdeq.ma".
18 (* SORT-IRRELEVANT EQUIVALENCE FOR LOCAL ENVIRONMENTS ON REFERRED ENTRIES ***)
20 (* Advanced properties ******************************************************)
22 lemma rdeq_refl: ∀T. reflexive … (rdeq T).
23 /2 width=1 by rex_refl/ qed.
25 lemma rdeq_pair_refl: ∀V1,V2. V1 ≛ V2 →
26 ∀I,L. ∀T:term. L.ⓑ{I}V1 ≛[T] L.ⓑ{I}V2.
27 /2 width=1 by rex_pair_refl/ qed.
29 (* Advanced inversion lemmas ************************************************)
31 lemma rdeq_inv_bind_void: ∀p,I,L1,L2,V,T. L1 ≛[ⓑ{p,I}V.T] L2 →
32 L1 ≛[V] L2 ∧ L1.ⓧ ≛[T] L2.ⓧ.
33 /2 width=3 by rex_inv_bind_void/ qed-.
35 (* Advanced forward lemmas **************************************************)
37 lemma rdeq_fwd_bind_dx_void: ∀p,I,L1,L2,V,T.
38 L1 ≛[ⓑ{p,I}V.T] L2 → L1.ⓧ ≛[T] L2.ⓧ.
39 /2 width=4 by rex_fwd_bind_dx_void/ qed-.