Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/yogu/haskell-resolve

A resolver for propositional logic written in haskell
https://github.com/yogu/haskell-resolve

Last synced: 2 days ago
JSON representation

A resolver for propositional logic written in haskell

Awesome Lists containing this project

README

        

Resolution tool for propositional logic
=======================================

This is my first little project in haskell. It accepts a string, interprets it as a propositional formula, converts it to a set of clauses and then applies the resolution algorithm to find out whether the formula is satisfiable or not.

Usage
-----

satisfiable "(A | !B) & (!A | B) & A & !B"

results in `False`, where

satisfiable "(A | !B) & (!A | B) & A & B"

results in `True`.