fixed Waldmeister endgame w.r.t. "Trueprop"
authorblanchet
Sun, 04 May 2014 19:27:28 +0200
changeset 56854 ddd3af5a683d
parent 56853 a265e41cc33b
child 56855 e7a55d295b8e
fixed Waldmeister endgame w.r.t. "Trueprop"
src/HOL/Tools/ATP/atp_proof_reconstruct.ML
--- a/src/HOL/Tools/ATP/atp_proof_reconstruct.ML	Sun May 04 19:08:29 2014 +0200
+++ b/src/HOL/Tools/ATP/atp_proof_reconstruct.ML	Sun May 04 19:27:28 2014 +0200
@@ -496,7 +496,8 @@
 
 fun repair_waldmeister_endgame proof =
   let
-    fun repair_tail (name, _, t, rule, deps) = (name, Negated_Conjecture, s_not t, rule, deps)
+    fun repair_tail (name, _, @{const Trueprop} $ t, rule, deps) =
+      (name, Negated_Conjecture, @{const Trueprop} $ s_not t, rule, deps)
     fun repair_body [] = []
       | repair_body ((line as ((num, _), _, _, _, _)) :: lines) =
         if num = waldmeister_conjecture_num then map repair_tail (line :: lines)