2 ||M|| This file is part of HELM, an Hypertextual, Electronic
3 ||A|| Library of Mathematics, developed at the Computer Science
4 ||T|| Department of the University of Bologna, Italy.
7 ||A|| This file is distributed under the terms of the
8 \ / GNU General Public License Version 2
10 V_______________________________________________________________ *)
12 include "lambda-delta/syntax/lenv.ma".
14 (* LENGTH *******************************************************************)
16 (* the length of a local environment *)
17 let rec length L ≝ match L with
19 | LPair L _ _ ⇒ length L + 1
22 interpretation "length (local environment)" 'card L = (length L).