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: Cosimo Oliboni, oliboni@cs.unibo.it *)
19 (* Cosimo Oliboni, oliboni@cs.unibo.it *)
21 (* ********************************************************************** *)
23 include "utility/ascii.ma".
24 include "freescale/theory.ma".
25 include "utility/utility.ma".
27 (* ************************ *)
28 (* MANIPOLAZIONE DI STRINGA *)
29 (* ************************ *)
32 ndefinition aux_str_type ≝ list ascii.
36 bfold_right_list2 ascii (λx,y.eq_ascii x y).
43 nrecord strId : Type ≝
45 str_elem: aux_str_type;
50 ndefinition eq_strId ≝
52 (eq_str (str_elem sid) (str_elem sid'))⊗
53 (eq_nat (id_elem sid) (id_elem sid')).