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/notation/constructors/star_0.ma".
17 include "basic_2/notation/constructors/dxbind2_3.ma".
18 include "basic_2/notation/constructors/dxabbr_2.ma".
19 include "basic_2/notation/constructors/dxabst_2.ma".
20 include "basic_2/grammar/term.ma".
22 (* GLOBAL ENVIRONMENTS ******************************************************)
24 (* global environments *)
25 definition genv ≝ list2 bind2 term.
27 interpretation "sort (global environment)"
28 'Star = (nil2 bind2 term).
30 interpretation "environment binding construction (binary)"
31 'DxBind2 L I T = (cons2 bind2 term I T L).
33 interpretation "abbreviation (global environment)"
34 'DxAbbr L T = (cons2 bind2 term Abbr T L).
36 interpretation "abstraction (global environment)"
37 'DxAbst L T = (cons2 bind2 term Abst T L).
39 (* Basic properties *********************************************************)
41 axiom genv_eq_dec: ∀T1,T2:genv. Decidable (T1 = T2).