equal
deleted
inserted
replaced
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 |