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_2/list.ma".
16 include "basic_2/grammar/term.ma".
18 (* GLOBAL ENVIRONMENTS ******************************************************)
20 (* global environments *)
21 definition genv ≝ list2 bind2 term.
23 interpretation "sort (global environment)"
24 'Star = (nil2 bind2 term).
26 interpretation "environment construction (binary)"
27 'DxItem2 L I T = (cons2 bind2 term I T L).
29 interpretation "environment binding construction (binary)"
30 'DxBind2 L I T = (cons2 bind2 term I T L).
32 interpretation "abbreviation (global environment)"
33 'DxAbbr L T = (cons2 bind2 term Abbr T L).
35 interpretation "abstraction (global environment)"
36 'DxAbst L T = (cons2 bind2 term Abst T L).
38 (* Basic properties *********************************************************)
40 axiom genv_eq_dec: ∀T1,T2:genv. Decidable (T1 = T2).