generalized data structure, for extension with SMT solver proofs
authorblanchet
Thu, 12 Sep 2013 23:29:13 +0200
changeset 53587 3fb81ab13ea3
parent 53586 bd5fa6425993
child 53588 11a77e4aa98b
generalized data structure, for extension with SMT solver proofs
src/HOL/Tools/ATP/atp_proof.ML
--- a/src/HOL/Tools/ATP/atp_proof.ML	Thu Sep 12 22:10:57 2013 +0200
+++ b/src/HOL/Tools/ATP/atp_proof.ML	Thu Sep 12 23:29:13 2013 +0200
@@ -35,10 +35,11 @@
     UnknownError of string
 
   type atp_step_name = string * string list
-  type 'a atp_step =
-    atp_step_name * atp_formula_role * 'a * string * atp_step_name list
+  type ('a, 'b) atp_step =
+    atp_step_name * atp_formula_role * 'a * 'b * atp_step_name list
 
-  type 'a atp_proof = ('a, 'a, ('a, 'a) atp_term, 'a) atp_formula atp_step list
+  type 'a atp_proof =
+    (('a, 'a, ('a, 'a) atp_term, 'a) atp_formula, string) atp_step list
 
   val short_output : bool -> string -> string
   val string_of_atp_failure : atp_failure -> string
@@ -196,10 +197,11 @@
     | _ => raise Fail "not Vampire"
   end
 
-type 'a atp_step =
-  atp_step_name * atp_formula_role * 'a * string * atp_step_name list
+type ('a, 'b) atp_step =
+  atp_step_name * atp_formula_role * 'a * 'b * atp_step_name list
 
-type 'a atp_proof = ('a, 'a, ('a, 'a) atp_term, 'a) atp_formula atp_step list
+type 'a atp_proof =
+  (('a, 'a, ('a, 'a) atp_term, 'a) atp_formula, string) atp_step list
 
 (**** PARSING OF TSTP FORMAT ****)