# 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 the

`.p`

files in the TPTP (v 3.7.0.0) distribution's`PROBLEMS`

subtree which don't contain the string "thf(",`parse . toTPTP . parse == parse`

Not yet implemented: The new *thf* formula type.

Versions | 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 |
---|---|

Dependencies | ansi-wl-pprint, array, base (==4.*), containers, haskell98, mtl, QuickCheck (>=2), syb, utf8-prelude [details] |

License | LicenseRef-GPL |

Author | Daniel Schüssler |

Maintainer | Ahn, Ki Yung <kya@pdx.edu> |

Category | Codec, Math, Theorem Provers |

Bug tracker | mailto:daniels@community.haskell.org,kya@pdx.edu |

Source repo | head: darcs get http://patch-tag.com/r/kyagrd/logic-TPTP |

Uploaded | by KiYungAhn at Tue Jul 20 00:01:05 UTC 2010 |

Distributions | NixOS:0.4.6.0 |

Downloads | 5839 total (194 in the last 30 days) |

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

Your Rating | |

Status | Docs uploaded by user Build status unknown [no reports yet] Hackage Matrix CI |

## Modules

[Index]

## Downloads

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