Proper-0.4.2.0: An implementation of propositional logic in Haskell

Safe HaskellSafe-Inferred

Proper.Sentence

Documentation

data Sentence s

Instances

checkTheorem :: (Ord s, Show s) => Theorem s -> Bool

con :: Sentence s -> Sentence s -> Sentence s

dis :: Sentence s -> Sentence s -> Sentence s

val :: s -> Sentence s

bic :: Sentence s -> Sentence s -> Sentence s

imp :: Sentence s -> Sentence s -> Sentence s

truthAssignment :: Ord s => [s] -> [Bool] -> TruthAssignment s

evalSentence :: (Ord s, Show s) => TruthAssignment s -> Sentence s -> Bool

toCNF :: (Ord s, Show s) => Sentence s -> CNF s

theorem :: [Sentence s] -> Sentence s -> Theorem s