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 (* ********************************************************************** *)
16 (* Progetto FreeScale *)
18 (* Sviluppato da: Ing. Cosimo Oliboni, oliboni@cs.unibo.it *)
19 (* Ultima modifica: 05/08/2009 *)
21 (* ********************************************************************** *)
23 include "common/ascii.ma".
24 include "common/list_utility.ma".
26 (* ************************ *)
27 (* MANIPOLAZIONE DI STRINGA *)
28 (* ************************ *)
31 ndefinition aux_str_type ≝ list ascii.
35 bfold_right_list2 ascii (λx,y.eq_ascii x y).
42 nrecord strId : Type ≝
44 str_elem: aux_str_type;
49 ndefinition eq_strId ≝
51 (eq_str (str_elem sid) (str_elem sid'))⊗
52 (eq_nat (id_elem sid) (id_elem sid')).