Description
Import, export etc. for TPTP, a syntax for first-order logic.
Description
For information about the TPTP format, see https://www.tptp.org/.
Components:
Parser (
parse)Exporter (
toTPTP)Pretty-printer (
pretty)QuickCheck instances (generation of random formulae)
diff: Get a "formula" which represents the differences between two given formulae (equal subexpressions are truncated; so are the subexpressions of subexpressions whose heads already differ)
Tests passed:
For randomly generated formulae,
parse . toTPTP == idFor all files in the TPTP (v 5.2.0) distribution's
Problemssubtree which don't match the regex "^(thf|tff)(",parse . toTPTP . parse == parse
Not yet implemented: The new thf and tff formula types.