src/HOL/Tools/ATP/atp_problem.ML
changeset 43677 2cd0b478d1b6
parent 43676 3b0b448b4d69
child 43678 56d352659500
equal deleted inserted replaced
43676:3b0b448b4d69 43677:2cd0b478d1b6
   228           "(" ^ space_implode (" " ^ tptp_app ^ " ") (s :: ss) ^ ")"
   228           "(" ^ space_implode (" " ^ tptp_app ^ " ") (s :: ss) ^ ")"
   229         else
   229         else
   230           s ^ "(" ^ commas ss ^ ")"
   230           s ^ "(" ^ commas ss ^ ")"
   231       end
   231       end
   232   | string_for_term THF (AAbs ((s, ty), tm)) =
   232   | string_for_term THF (AAbs ((s, ty), tm)) =
   233     "^[" ^ s ^ ":" ^ string_for_type THF ty ^ "] : " ^ string_for_term THF tm
   233     "(^[" ^ s ^ ":" ^ string_for_type THF ty ^ "] : " ^ string_for_term THF tm ^ ")"
   234   | string_for_term _ _ = raise Fail "unexpected term in first-order format"
   234   | string_for_term _ _ = raise Fail "unexpected term in first-order format"
   235 
   235 
   236 fun string_for_quantifier AForall = tptp_forall
   236 fun string_for_quantifier AForall = tptp_forall
   237   | string_for_quantifier AExists = tptp_exists
   237   | string_for_quantifier AExists = tptp_exists
   238 
   238