qlogic-0.9: A Haskell Library for Propositional Logic.

Safe HaskellSafe-Infered

Qlogic.BzSat

Documentation

data Size

Constructors

Bits Int 
Bound ArcInt ArcInt 

bits :: Size -> Int

padFrontM :: (Eq l, Solver s l) => Int -> ArcFormula l -> NatMonad s l (ArcFormula l)

mAdd :: (Eq l, Solver s l) => ArcFormula l -> ArcFormula l -> NatMonad s l (ArcFormula l)

mTimes :: (Ord l, Solver s l) => ArcFormula l -> ArcFormula l -> NatMonad s l (ArcFormula l)

mGrt :: (Eq l, Solver s l) => ArcFormula l -> ArcFormula l -> NatMonad s l (PropFormula l)

mGeq :: (Eq l, Solver s l) => ArcFormula l -> ArcFormula l -> NatMonad s l (PropFormula l)

mEqu :: (Eq l, Solver s l) => ArcFormula l -> ArcFormula l -> NatMonad s l (PropFormula l)

soundInf :: (Eq l, PropAtom a) => Size -> a -> PropFormula l

soundInf' :: (Eq l, PropAtom a) => Int -> a -> PropFormula l

arcAtomM :: (Eq l, Solver s l, PropAtom a) => Size -> a -> NatMonad s l (ArcFormula l)

eval :: Ord l => ArcFormula l -> Assign l -> ArcInt