]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/ground/relocation/fr2_map.ma
3de9abeb3e22fe3fb3adb08f1cea561f949ddcba
[helm.git] / matita / matita / contribs / lambdadelta / ground / relocation / fr2_map.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/notation/functions/diamond_0.ma".
16 include "ground/notation/functions/semicolon_3.ma".
17 include "ground/arith/nat.ma".
18
19 (* FINITE RELOCATION MAPS WITH PAIRS ****************************************)
20
21 (*** mr2 *)
22 inductive fr2_map: Type[0] :=
23 (*** nil2 *)
24   | fr2_nil : fr2_map
25 (*** cons2 *)
26   | fr2_cons: nat → nat → fr2_map → fr2_map.
27
28 interpretation
29   "nil (finite relocation maps with pairs)"
30   'Diamond = (fr2_nil).
31
32 interpretation
33   "cons (finite relocation maps with pairs)"
34   'Semicolon d h f = (fr2_cons d h f).