]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/basic_2A/grammar/genv.ma
update in lambdadelta
[helm.git] / matita / matita / contribs / lambdadelta / basic_2A / 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_2A/lib/list.ma".
16 include "basic_2A/notation/constructors/star_0.ma".
17 include "basic_2A/notation/constructors/dxbind2_3.ma".
18 include "basic_2A/notation/constructors/dxabbr_2.ma".
19 include "basic_2A/notation/constructors/dxabst_2.ma".
20 include "basic_2A/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 "global 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 eq_genv_dec: ∀G1,G2:genv. Decidable (G1 = G2).