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 "basic_2A/notation/constructors/star_0.ma".
16 include "basic_2A/notation/constructors/dxbind2_3.ma".
17 include "basic_2A/notation/constructors/dxabbr_2.ma".
18 include "basic_2A/notation/constructors/dxabst_2.ma".
19 include "basic_2A/grammar/term.ma".
21 (* GLOBAL ENVIRONMENTS ******************************************************)
23 (* global environments *)
24 inductive genv: Type[0] ≝
25 | GAtom: genv (* empty *)
26 | GPair: genv → bind2 → term → genv (* binary binding construction *)
29 interpretation "sort (global environment)"
32 interpretation "global environment binding construction (binary)"
33 'DxBind2 G I T = (GPair G I T).
35 interpretation "abbreviation (global environment)"
36 'DxAbbr G T = (GPair G Abbr T).
38 interpretation "abstraction (global environment)"
39 'DxAbst G T = (GPair G Abst T).
41 (* Basic properties *********************************************************)
43 axiom eq_genv_dec: ∀G1,G2:genv. Decidable (G1 = G2).