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 "ground/arith/nat_rplus_succ.ma".
16 include "ground/relocation/gr_uni.ma".
17 include "ground/relocation/gr_pat_pat_id.ma".
19 (* POSITIVE APPLICATION FOR GENERIC RELOCATION MAPS *************************)
21 (* Constructions with gr_uni ************************************************)
24 lemma gr_pat_uni (n) (i):
26 #n @(nat_ind_succ … n) -n
27 /2 width=5 by gr_pat_next/
30 (* Inversions with gr_uni ***************************************************)
33 lemma gr_pat_inv_uni (n) (i) (j):
34 @❪i,𝐮❨n❩❫ ≘ j → j = i+n.
35 /2 width=4 by gr_pat_mono/ qed-.