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/lenv.ma".
17 (* LENGTH *******************************************************************)
19 (* the length of a local environment *)
20 let rec length L ≝ match L with
22 | LPair L _ _ ⇒ length L + 1
25 interpretation "length (local environment)" 'card L = (length L).