The twee package

[ Tags: bsd3, library, program, theorem-provers ] [ Propose Tags ]

Twee is an experimental equational theorem prover based on Knuth-Bendix completion.

Given a set of equational axioms and a set of equational conjectures it will try to prove the conjectures. It will terminate if the conjectures are true but normally fail to terminate if they are false.

The input problem should be in TPTP format (see You can use types and quantifiers, but apart from that the problem must be equational.

[Skip to Readme]


Versions 0.1, 2.0
Dependencies base (==4.*), containers, dlist, ghc-prim, jukebox (>=0.3), pretty, primitive (>=, split, transformers, twee [details]
License BSD3
Author Nick Smallbone
Category Theorem Provers
Home page
Source repository head: git clone git:// -b master
Uploaded Sun Sep 3 15:56:00 UTC 2017 by NickSmallbone
Distributions NixOS:2.0
Executables twee
Downloads 370 total (161 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2017-09-03 [all 3 reports]
Hackage Matrix CI


  • Data
    • Primitive
      • ByteArray
        • Data.Primitive.ByteArray.Checked
      • Data.Primitive.Checked
      • SmallArray
        • Data.Primitive.SmallArray.Checked
  • Twee
    • Twee.Array
    • Twee.Base
    • Twee.CP
    • Twee.ChurchList
    • Twee.Constraints
    • Twee.Equation
    • Twee.Heap
    • Twee.Index
      • Twee.Index.Lookup
    • Twee.Join
    • Twee.KBO
    • Twee.Label
    • Twee.Pretty
    • Twee.Proof
    • Twee.Rule
      • Twee.Rule.Index
    • Twee.Task
    • Twee.Term
      • Twee.Term.Core
    • Twee.Utils



Build a static binary.


Build a binary which statically links against libstdc++.


Build using LLVM backend for faster code.


Use bounds checks for all array operations.


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees

Readme for twee-2.0

[back to package description]
This is twee, a prover for equational problems.

To install, run cabal install.

Afterwards, invoke as twee nameofproblem.p. The problem should be in
TPTP format ( You can find a few examples in the
tests directory. All axioms and conjectures must be equations, but you
can freely use types and quantifiers.

Twee is experimental software, use at your own risk!