]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/gTopLevel/proofEngine.mli
Now it is possible to define a 'cookable' operator with arity = 0 and hide = 0
[helm.git] / helm / gTopLevel / proofEngine.mli
index 1b110a66979d8d73104af0fe4cb198dc81e680f0..cbe4c8bc5b5c5d0584f34bac645992c914812114 100644 (file)
@@ -1,9 +1,31 @@
-
-exception NotConvertible
+(* Copyright (C) 2002, HELM Team.
+ * 
+ * This file is part of HELM, an Hypertextual, Electronic
+ * Library of Mathematics, developed at the Computer Science
+ * Department, University of Bologna, Italy.
+ * 
+ * HELM is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ * 
+ * HELM is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with HELM; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+ * MA  02111-1307, USA.
+ * 
+ * For details, see the HELM World-Wide-Web page,
+ * http://cs.unibo.it/helm/.
+ *)
 
   (* proof engine status *)
-val proof : ProofEngineTypes.proof ref
-val goal : ProofEngineTypes.goal ref
+val proof : ProofEngineTypes.proof option ref
+val goal : ProofEngineTypes.goal option ref
 
   (* start a new goal undoing part of the proof *)
 val perforate : Cic.context -> Cic.term -> Cic.term -> unit
@@ -13,7 +35,6 @@ val whd : Cic.term -> unit
 val reduce : Cic.term -> unit
 val simpl : Cic.term -> unit
 val fold : Cic.term -> unit
-val change : goal_input:Cic.term -> input:Cic.term -> unit
 
   (* scratch area reduction tactics *)
 val whd_in_scratch : Cic.term -> Cic.term -> Cic.term
@@ -21,12 +42,14 @@ val reduce_in_scratch : Cic.term -> Cic.term -> Cic.term
 val simpl_in_scratch : Cic.term -> Cic.term -> Cic.term
 
   (* "primitive" tactics *)
+val can_apply : Cic.term -> bool
 val apply : Cic.term -> unit
 val intros : unit -> unit
 val cut : Cic.term -> unit
 val letin : Cic.term -> unit
 val exact : Cic.term -> unit
-val elim_intros_simpl : Cic.term -> unit
+val elim_simpl_intros : Cic.term -> unit
+val change : goal_input:Cic.term -> input:Cic.term -> unit
 
   (* structural tactics *)
 val clearbody : Cic.hypothesis -> unit
@@ -35,4 +58,18 @@ val clear : Cic.hypothesis -> unit
   (* other tactics *)
 val elim_type : Cic.term -> unit
 val ring : unit -> unit
+val fourier : unit -> unit
+val rewrite_simpl : Cic.term -> unit
+
+val reflexivity : unit -> unit
+val symmetry : unit -> unit
+val transitivity : Cic.term -> unit
+
+val left : unit -> unit
+val right : unit -> unit
+
+val assumption : unit -> unit
 
+(*
+val prova_tatticali : unit -> unit
+*)