]> matita.cs.unibo.it Git - helm.git/blob - helm/software/components/acic_procedural/proceduralHelpers.mli
Preparing for 0.5.9 release.
[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
29 val list_fold_right_cps:
30    ('b -> 'c) -> (('b -> 'c) -> 'a -> 'b -> 'c) -> 'a list -> 'b -> 'c
31
32 val list_fold_left_cps:
33    ('b -> 'c) -> (('b -> 'c) -> 'b -> 'a -> 'c) -> 'b -> 'a list -> 'c
34
35 val list_map_cps:
36    ('b list -> 'c) -> (('b -> 'c) -> 'a -> 'c) -> 'a list -> 'c
37
38 val identity:
39    'a -> 'a
40
41 val compose:
42    ('a -> 'b) -> ('c -> 'a) -> 'c -> 'b
43
44 val fst3:
45    'a * 'b * 'c -> 'a 
46
47 val refine:
48    Cic.context -> Cic.term -> Cic.term
49
50 val get_type:
51    string -> Cic.context -> Cic.term -> Cic.term
52
53 val is_prop:
54    Cic.context -> Cic.term -> bool
55
56 val is_proof:
57    Cic.context -> Cic.term -> bool
58
59 val is_sort:
60    Cic.term -> bool
61
62 val is_unsafe:
63    int -> Cic.context * Cic.term -> bool
64
65 val is_not_atomic:
66    Cic.term -> bool
67
68 val is_atomic:
69    Cic.term -> bool
70
71 val get_ind_type:
72    UriManager.uri -> int -> int * Cic.inductiveType
73
74 val get_ind_names:
75    UriManager.uri -> int -> string list
76
77 val get_default_eliminator:
78   Cic.context -> UriManager.uri -> int -> Cic.term -> Cic.term
79
80 val get_ind_parameters:
81    Cic.context -> Cic.term -> Cic.term list * int
82
83 val cic: 
84    Cic.annterm -> Cic.term
85
86 val occurs:
87    Cic.context -> what:Cic.term -> where:Cic.term -> bool
88
89 val name_of_uri:
90    UriManager.uri -> int option -> int option -> string
91
92 val cic_bc:
93    Cic.context -> Cic.term -> Cic.term
94
95 val acic_bc:
96    Cic.context -> Cic.annterm -> Cic.annterm
97
98 val is_acic_proof:
99    (Cic.id, Cic2acic.sort_kind) Hashtbl.t -> Cic.context -> Cic.annterm ->
100    bool
101
102 val alpha:
103    ?flatten:bool -> Cic.context -> Cic.term -> Cic.term -> bool