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 "ground/arith/nat_succ.ma".
16 include "static_2/syntax/genv.ma".
18 (* LENGTH OF A GLOBAL ENVIRONMENT *******************************************)
20 rec definition glength G on G ≝ match G with
22 | GPair G _ _ ⇒ ↑(glength G)
25 interpretation "length (global environment)"
26 'card G = (glength G).