]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/static_2/static/feqx.ma
9804e73c2aa46eb7557c41b331ac42fb72f158c3
[helm.git] / matita / matita / contribs / lambdadelta / static_2 / static / feqx.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/notation/relations/approxeqsn_6.ma".
16 include "static_2/static/reqx.ma".
17 include "static_2/static/feqg.ma".
18
19 (* SORT-IRRELEVANT EQUIVALENCE FOR CLOSURES ON REFERRED ENTRIES *************)
20 (*
21 definition feqx: relation6 genv lenv term genv lenv term ≝
22            feqg sfull.
23 *)
24 interpretation
25   "sort-irrelevant equivalence on referred entries (closure)"
26   'ApproxEqSn G1 L1 T1 G2 L2 T2 = (feqg sfull G1 L1 T1 G2 L2 T2).
27
28 (* Basic_properties *********************************************************)
29
30 lemma feqg_feqx (S) (G1) (G2) (L1) (L2) (T1) (T2):
31       ❪G1,L1,T1❫ ≛[S] ❪G2,L2,T2❫ → ❪G1,L1,T1❫ ≅ ❪G2,L2,T2❫.
32 #S #G1 #G2 #L1 #L2 #T1 #T2 #H
33 elim (feqg_inv_gen_sn … H) -H
34 /3 width=2 by feqg_intro_sn, reqg_reqx, teqg_teqx/ 
35 qed.