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_2/grammar/term.ma".
17 (* LOCAL ENVIRONMENTS *******************************************************)
19 (* local environments *)
20 inductive lenv: Type[0] ≝
21 | LAtom: lenv (* empty *)
22 | LPair: lenv → bind2 → term → lenv (* binary binding construction *)
25 interpretation "sort (local environment)"
28 interpretation "environment construction (binary)"
29 'DxItem2 L I T = (LPair L I T).
31 interpretation "environment binding construction (binary)"
32 'DxBind2 L I T = (LPair L I T).
34 interpretation "abbreviation (local environment)"
35 'DxAbbr L T = (LPair L Abbr T).
37 interpretation "abstraction (local environment)"
38 'DxAbst L T = (LPair L Abst T).
40 (* Basic_1: removed theorems 2: chead_ctail c_tail_ind *)