]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/ground/relocation/gr_isi_pat.ma
update in ground
[helm.git] / matita / matita / contribs / lambdadelta / ground / relocation / gr_isi_pat.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 "ground/relocation/gr_isi_id.ma".
16 include "ground/relocation/gr_pat_pat_id.ma".
17
18 (* IDENTITY CONDITION FOR GENERIC RELOCATION MAPS ***************************)
19
20 (* Advanced constructions with gr_isi ***************************************)
21
22 (*** isid_at *)
23 lemma gr_isi_pat (f): (∀i. @❪i,f❫ ≘ i) → 𝐈❪f❫.
24 /3 width=1 by gr_eq_id_isi, gr_pat_inv_id/
25 qed.
26
27 (* Inversions with gr_pat ***************************************************)
28
29 (*** isid_inv_at *)
30 lemma gr_isi_inv_pat (f) (i): 𝐈❪f❫ → @❪i,f❫ ≘ i.
31 /3 width=3 by gr_isi_inv_eq_id, gr_pat_id, gr_pat_eq_repl_back/
32 qed-.
33
34 (* Destructions with gr_pat *************************************************)
35
36 (*** isid_inv_at_mono *)
37 lemma gr_isi_pat_des (f) (i1) (i2): 𝐈❪f❫ → @❪i1,f❫ ≘ i2 → i1 = i2.
38 /4 width=3 by gr_isi_inv_eq_id, gr_pat_id_des, gr_pat_eq_repl_fwd/
39 qed-.