]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/basic_2/grammar/genv.ma
2cf0f6d3dd6b6c10e1d029397df0053ba0b0fd92
[helm.git] / matita / matita / contribs / lambdadelta / basic_2 / grammar / genv.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_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".
21
22 (* GLOBAL ENVIRONMENTS ******************************************************)
23
24 (* global environments *)
25 definition genv ≝ list2 bind2 term.
26
27 interpretation "sort (global environment)"
28    'Star = (nil2 bind2 term).
29
30 interpretation "environment binding construction (binary)"
31    'DxBind2 L I T = (cons2 bind2 term I T L).
32
33 interpretation "abbreviation (global environment)"
34    'DxAbbr L T = (cons2 bind2 term Abbr T L).
35
36 interpretation "abstraction (global environment)"
37    'DxAbst L T = (cons2 bind2 term Abst T L).
38
39 (* Basic properties *********************************************************)
40
41 axiom genv_eq_dec: ∀T1,T2:genv. Decidable (T1 = T2).