src/HOL/Tools/ATP/atp_proof.ML
changeset 42615 8d7039b6ad7a
parent 42610 def5846169ce
child 42648 6099b85ae48e
equal deleted inserted replaced
42614:81953e554197 42615:8d7039b6ad7a
   350 
   350 
   351 (**** PARSING OF VAMPIRE OUTPUT ****)
   351 (**** PARSING OF VAMPIRE OUTPUT ****)
   352 
   352 
   353 val parse_vampire_braced_stuff =
   353 val parse_vampire_braced_stuff =
   354   $$ "{" -- Scan.repeat (scan_general_id --| Scan.option ($$ ",")) -- $$ "}"
   354   $$ "{" -- Scan.repeat (scan_general_id --| Scan.option ($$ ",")) -- $$ "}"
   355 val parse_vampire_parenthesized_detritus =
   355 fun parse_vampire_parenthesized_detritus x =
   356   $$ "(" |-- parse_vampire_detritus --| $$ ")"
   356   ($$ "(" |-- parse_vampire_detritus --| $$ ")") x
   357 
   357 
   358 (* Syntax: <num>. <formula> <annotation> *)
   358 (* Syntax: <num>. <formula> <annotation> *)
   359 fun parse_vampire_line x =
   359 fun parse_vampire_line x =
   360   (scan_general_id --| $$ "." -- parse_formula
   360   (scan_general_id --| $$ "." -- parse_formula
   361      --| Scan.option parse_vampire_braced_stuff
   361      --| Scan.option parse_vampire_braced_stuff