]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/gTopLevel/proofEngine.mli
New: refinement is now used to disambiguate parsing.
[helm.git] / helm / gTopLevel / proofEngine.mli
index 1b110a66979d8d73104af0fe4cb198dc81e680f0..ab1b0285e978ce81cd2e762f0dea22562c7c189e 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
@@ -12,8 +34,9 @@ val perforate : Cic.context -> Cic.term -> Cic.term -> unit
 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
+val fold_whd : Cic.term -> unit
+val fold_reduce : Cic.term -> unit
+val fold_simpl : Cic.term -> unit
 
   (* scratch area reduction tactics *)
 val whd_in_scratch : Cic.term -> Cic.term -> Cic.term
@@ -21,12 +44,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 change : goal_input:Cic.term -> input:Cic.term -> unit
 
   (* structural tactics *)
 val clearbody : Cic.hypothesis -> unit
@@ -35,4 +60,34 @@ 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 rewrite_back_simpl : Cic.term -> unit
+val replace : goal_input:Cic.term -> input:Cic.term -> unit
+
+val reflexivity : unit -> unit
+val symmetry : unit -> unit
+val transitivity : Cic.term -> unit
+
+val exists : unit -> unit
+val split : unit -> unit
+val left : unit -> unit
+val right : unit -> unit
+
+val assumption : unit -> unit
+
+val generalize : Cic.term -> unit
+
+val absurd : Cic.term -> unit
+val contradiction : unit -> unit
+
+val decompose : clist:(Cic.term list) -> unit
+
+(*
+val decide_equality : unit -> unit
+val compare : Cic.term -> Cic.term -> unit
+*)
 
+(*
+val prova_tatticali : unit -> unit
+*)