qlogic-0.9: A Haskell Library for Propositional Logic.

Safe HaskellSafe-Infered

Qlogic.ArcSat

Documentation

data ArcBZVec a

Constructors

InfBit a 
BZVec a Int 

Instances

Typeable1 ArcBZVec 
Eq a => Eq (ArcBZVec a) 
Ord a => Ord (ArcBZVec a) 
Show a => Show (ArcBZVec a) 
(Eq a, Ord a, Show a, Typeable a) => PropAtom (ArcBZVec a) 

data Size

Constructors

Bits Int 
Bound ArcInt 

bits :: Size -> Int

mTruncTo :: (Ord 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

arcAtom :: (Eq l, PropAtom a) => Size -> a -> ArcFormula l

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

arcAtom' :: (Eq l, PropAtom a) => Int -> Int -> a -> [PropFormula l]

baseFromVec :: (Ord a, Show a, Typeable a) => ArcBZVec a -> a

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