Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/potocpav/boolean-sat

Propositional logic formula builder, solver, and exporter
https://github.com/potocpav/boolean-sat

Last synced: 15 days ago
JSON representation

Propositional logic formula builder, solver, and exporter

Awesome Lists containing this project

README

        

# Boolean Logic Solving Library

This library provides:

* Boolean expression type,
* O(n) conversion to [Conjunctive Normal Form](https://en.wikipedia.org/wiki/Conjunctive_normal_form)
(CNF) using [Tseytin tranformation](https://en.wikipedia.org/wiki/Tseytin_transformation),
* [DIMACS](http://www.domagoj-babic.com/uploads/ResearchProjects/Spear/dimacs-cnf.pdf) export,
* [CryptoMiniSat](https://github.com/msoos/cryptominisat) high-level and low-level FFI,
* [Mios](http://hackage.haskell.org/package/mios) SAT solver interface.
* [Usage examples](examples), including a Sudoku solver

Documentation is hosted on hackage.

## Dependencies

[CryptoMiniSat](https://github.com/msoos/cryptominisat) SAT solver is needed in order to build & use this library.