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