]> matita.cs.unibo.it Git - helm.git/blob - helm/software/components/acic_procedural/proceduralHelpers.mli
6b90e815c58b3d4b009bcd2e5ae5fefb316ed1e9
[helm.git] / helm / software / components / acic_procedural / proceduralHelpers.mli
1 (* Copyright (C) 2003-2005, HELM Team.
2  * 
3  * This file is part of HELM, an Hypertextual, Electronic
4  * Library of Mathematics, developed at the Computer Science
5  * Department, University of Bologna, Italy.
6  * 
7  * HELM is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation; either version 2
10  * of the License, or (at your option) any later version.
11  * 
12  * HELM is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with HELM; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
20  * MA  02111-1307, USA.
21  * 
22  * For details, see the HELM World-Wide-Web page,
23  * http://cs.unibo.it/helm/.
24  *)
25
26 val pp_term:
27    (string -> unit) -> Cic.metasenv -> Cic.context -> Cic.term -> unit
28 val mk_fresh_name:
29    Cic.context -> Cic.name -> Cic.name
30 val list_map_cps:
31    ('a list -> 'b) -> (('a -> 'b) -> 'c -> 'b) -> 'c list -> 'b
32 val identity:
33    'a -> 'a
34 val compose:
35    ('a -> 'b) -> ('c -> 'a) -> 'c -> 'b
36 val fst3:
37    'a * 'b * 'c -> 'a 
38 val refine:
39    Cic.context -> Cic.term -> Cic.term
40 val get_type:
41    string -> Cic.context -> Cic.term -> Cic.term
42 val is_proof:
43    Cic.context -> Cic.term -> bool
44 val is_sort:
45    Cic.term -> bool
46 val is_unsafe:
47    int -> Cic.context * Cic.term -> bool
48 val is_not_atomic:
49    Cic.term -> bool
50 val is_atomic:
51    Cic.term -> bool
52 val get_ind_type:
53    UriManager.uri -> int -> int * Cic.inductiveType
54 val get_ind_names:
55    UriManager.uri -> int -> string list
56 val get_default_eliminator:
57   Cic.context -> UriManager.uri -> int -> Cic.term -> Cic.term
58 val get_ind_parameters:
59    Cic.context -> Cic.term -> Cic.term list * int
60 val cic: 
61    Cic.annterm -> Cic.term
62 val occurs:
63    Cic.context -> what:Cic.term -> where:Cic.term -> bool
64 val name_of_uri:
65    UriManager.uri -> int option -> int option -> string
66 val cic_bc:
67    Cic.context -> Cic.term -> Cic.term
68 val acic_bc:
69    Cic.context -> Cic.annterm -> Cic.annterm