fixed parsing of not in ATP proofs (e.g. ~x | y is (~x) | y, not ~(x | y))
--- a/src/HOL/Tools/ATP/atp_proof.ML Sun May 01 18:37:24 2011 +0200
+++ b/src/HOL/Tools/ATP/atp_proof.ML Sun May 01 18:37:24 2011 +0200
@@ -262,7 +262,7 @@
>> (fn ((q, ts), phi) =>
(* FIXME: TFF *)
AQuant (q, map (rpair NONE o fo_term_head) ts, phi))
- || $$ "~" |-- parse_formula >> mk_anot
+ || $$ "~" |-- ($$ "(" |-- parse_formula --| $$ ")" || parse_atom) >> mk_anot
|| parse_atom)
-- Scan.option ((Scan.this_string "=>" >> K AImplies
|| Scan.this_string "<=>" >> K AIff