The yices-painless package
This library defines an embedded language in Haskell for programming the Yices SMT solver.
Yices is an efficient SMT solver that decides the satisfiability of arbitrary formulas containing uninterpreted function symbols with equality, linear real and integer arithmetic, scalar types, recursive datatypes, tuples, records, extensional arrays, fixed-size bit-vectors, quantifiers, and lambda expressions. Yices also does MaxSMT (and, dually, unsat cores) and is competitive as an ordinary SAT and MaxSAT solver.
The embedded language embeds both terms, functions and types into Haskell, via a typed higher-order abstract syntax representation. Propositions in the embedding are represented as (typed) pure expressions.
Solution variables in the proposition (notionally, free variables) are bound an the outermost lambda term. Propositions constructed from logical primitives can then be executed by the solver to yield a satisfying assignment to those free variables in the proposition. Uninterpreted functions may be introduced via variables as well.
More information about Yices:
The primary interface is via the EDSL, Yices.Painless.Language, however, low and medium-level bindings to the Yices C API are also provided (Yices.Painless.Base.C and Yices.Painless.Base). The medium-level bindings add significant type and resource safety to that which the C API provides.
Documentation for this package is available:
|Versions||0.1, 0.1.1, 0.1.2|
|Dependencies||base (>3 && <5), containers (>=0.2), pretty, strict-concurrency, vector (>=0.7) [details]|
|Copyright||Don Stewart 2010.|
|Category||Math, Theorem Provers, Formal Methods|
|Uploaded||Mon Jan 17 22:46:47 UTC 2011 by DonaldStewart|
|Downloads||671 total (1 in the last 30 days)|
|Status||Docs not available [build log]
All reported builds failed as of 2016-12-28 [all 12 reports]
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
For package maintainers and hackage trustees