# logic-TPTP: Import, export etc. for TPTP, a syntax for first-order logic

For information about the TPTP format, see http://www.cs.miami.edu/~tptp/.

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 == id`

For all files in the TPTP (v 5.2.0) distribution's

`Problems`

subtree which don't match the regex "^(thf|tff)(",`parse . toTPTP . parse == parse`

Not yet implemented: The new *thf* and *tff* formula types.

Versions [faq] | 0.1, 0.2.0, 0.2.0.1, 0.2.0.3, 0.2.0.4, 0.2.0.6, 0.2.0.7, 0.3.0.0, 0.3.0.1, 0.3.0.2, 0.4.0.0, 0.4.1.0, 0.4.2.0, 0.4.3.0, 0.4.4.0, 0.4.5.0, 0.4.6.0 |
---|---|

Change log | changelog.markdown |

Dependencies | ansi-wl-pprint, array, base (==4.*), containers, mtl, pointed, QuickCheck (>=2), semigroups, syb, transformers, transformers-compat (>=0.5) [details] |

License | LicenseRef-GPL |

Author | Daniel Schüssler |

Maintainer | Ahn, Ki Yung <kya@pdx.edu>, Daniel Schüssler <daniels@community.haskell.org> |

Category | Codec, Math, Theorem Provers |

Bug tracker | http://github.com/DanielSchuessler/logic-TPTP/issues |

Source repo | head: git clone http://github.com/DanielSchuessler/logic-TPTP.git |

Uploaded | by DanielSchuessler at Sat Jul 21 21:23:16 UTC 2018 |

Distributions | NixOS:0.4.6.0 |

Downloads | 6321 total (221 in the last 30 days) |

Rating | (no votes yet) [estimated by rule of succession] |

Your Rating | |

Status | Docs available [build log] Last success reported on 2018-07-21 [all 1 reports] |

## Modules

[Index] [Quick Jump]

## Downloads

- logic-TPTP-0.4.6.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)