]> matita.cs.unibo.it Git - helm.git/blob - helm/gTopLevel/proofEngine.mli
Initial revision
[helm.git] / helm / gTopLevel / proofEngine.mli
1 (* Copyright (C) 2002, 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   (* proof engine status *)
27 val proof : ProofEngineTypes.proof option ref
28 val goal : ProofEngineTypes.goal option ref
29
30   (* start a new goal undoing part of the proof *)
31 val perforate : Cic.context -> Cic.term -> Cic.term -> unit
32
33   (* reduction tactics *)
34 val whd : Cic.term -> unit
35 val reduce : Cic.term -> unit
36 val simpl : Cic.term -> unit
37 val fold : Cic.term -> unit
38
39   (* scratch area reduction tactics *)
40 val whd_in_scratch : Cic.term -> Cic.term -> Cic.term
41 val reduce_in_scratch : Cic.term -> Cic.term -> Cic.term
42 val simpl_in_scratch : Cic.term -> Cic.term -> Cic.term
43
44   (* "primitive" tactics *)
45 val apply : Cic.term -> unit
46 val intros : unit -> unit
47 val cut : Cic.term -> unit
48 val letin : Cic.term -> unit
49 val exact : Cic.term -> unit
50 val elim_intros_simpl : Cic.term -> unit
51 val change : goal_input:Cic.term -> input:Cic.term -> unit
52
53   (* structural tactics *)
54 val clearbody : Cic.hypothesis -> unit
55 val clear : Cic.hypothesis -> unit
56
57   (* other tactics *)
58 val elim_type : Cic.term -> unit
59 val ring : unit -> unit
60 val fourier : unit -> unit
61 val rewrite_simpl : Cic.term -> unit