]> matita.cs.unibo.it Git - helm.git/blob - helm/software/components/acic_procedural/proceduralHelpers.mli
203224371f72f724b01bd472b85c9f3edac98d18
[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 mk_fresh_name:
27    bool -> Cic.context -> Cic.name -> Cic.name
28 val list_fold_right_cps:
29    ('b -> 'c) -> (('b -> 'c) -> 'a -> 'b -> 'c) -> 'a list -> 'b -> 'c
30 val list_fold_left_cps:
31    ('b -> 'c) -> (('b -> 'c) -> 'b -> 'a -> 'c) -> 'b -> 'a list -> 'c
32 val list_map_cps:
33    ('b list -> 'c) -> (('b -> 'c) -> 'a -> 'c) -> 'a list -> 'c
34 val identity:
35    'a -> 'a
36 val compose:
37    ('a -> 'b) -> ('c -> 'a) -> 'c -> 'b
38 val fst3:
39    'a * 'b * 'c -> 'a 
40 val refine:
41    Cic.context -> Cic.term -> Cic.term
42 val get_type:
43    string -> Cic.context -> Cic.term -> Cic.term
44 val is_prop:
45    Cic.context -> Cic.term -> bool
46 val is_proof:
47    Cic.context -> Cic.term -> bool
48 val is_sort:
49    Cic.term -> bool
50 val is_unsafe:
51    int -> Cic.context * Cic.term -> bool
52 val is_not_atomic:
53    Cic.term -> bool
54 val is_atomic:
55    Cic.term -> bool
56 val get_ind_type:
57    UriManager.uri -> int -> int * Cic.inductiveType
58 val get_ind_names:
59    UriManager.uri -> int -> string list
60 val get_default_eliminator:
61   Cic.context -> UriManager.uri -> int -> Cic.term -> Cic.term
62 val get_ind_parameters:
63    Cic.context -> Cic.term -> Cic.term list * int
64 val cic: 
65    Cic.annterm -> Cic.term
66 val occurs:
67    Cic.context -> what:Cic.term -> where:Cic.term -> bool
68 val name_of_uri:
69    UriManager.uri -> int option -> int option -> string
70 val cic_bc:
71    Cic.context -> Cic.term -> Cic.term
72 val acic_bc:
73    Cic.context -> Cic.annterm -> Cic.annterm
74 val is_acic_proof:
75    (Cic.id, Cic2acic.sort_kind) Hashtbl.t -> Cic.context -> Cic.annterm ->
76    bool