src/HOL/Tools/ATP/atp_proof.ML
changeset 52756 1ac8a0d0ddb1
parent 52755 4183c3219745
child 52993 dd28fbc5cecb
--- a/src/HOL/Tools/ATP/atp_proof.ML	Mon Jul 29 15:42:04 2013 +0200
+++ b/src/HOL/Tools/ATP/atp_proof.ML	Mon Jul 29 16:13:35 2013 +0200
@@ -260,7 +260,7 @@
   (parse_file_source >> File_Source
    || parse_inference_source >> Inference_Source
    || skip_introduced >> K dummy_inference (* for Vampire *)
-   || scan_nat >> (fn s => Inference_Source ("", [s])) (* for E *)
+   || scan_general_id >> (fn s => Inference_Source ("", [s])) (* for E *)
    || skip_term >> K dummy_inference) x
 
 fun list_app (f, args) =
@@ -506,7 +506,7 @@
     case core_of_agsyhol_proof tstp of
       SOME facts => facts |> map (core_inference agsyhol_coreN)
     | NONE =>
-      tstp ^ "$" (* the $ sign acts as a sentinel (FIXME: needed?) *)
+      tstp ^ "$"  (* the $ sign acts as a sentinel (FIXME: needed?) *)
       |> parse_proof problem
       |> perhaps (try (sort (vampire_step_name_ord o pairself #1)))