Safe Haskell | None |
---|
- data Size
- intToBits :: Int -> Int
- signedBitsToNat :: Int -> Int
- bits :: Size -> Int
- bound :: Size -> (Int, Int)
- lowerbound :: Size -> Int
- upperbound :: Size -> Int
- increment :: Size -> Size
- twoComplement :: Eq l => Int -> NatFormula l
- truncFront :: Eq l => NatFormula l -> NatFormula l
- truncTo :: Int -> NatFormula l -> NatFormula l
- padFrontM :: (Eq l, Solver s l) => Int -> NatFormula l -> NatMonad s l (NatFormula l)
- mNegate :: (Ord l, Solver s l) => NatFormula l -> NatMonad s l (NatFormula l)
- mAdd :: (Ord l, Solver s l) => NatFormula l -> NatFormula l -> NatMonad s l (NatFormula l)
- mTimes :: (Ord l, Solver s l) => NatFormula l -> NatFormula l -> NatMonad s l (NatFormula l)
- unsignedMTimes :: (Ord l, Solver s l) => NatFormula l -> NatFormula l -> NatMonad s l (NatFormula l)
- mGrt :: (Solver s l, Eq l) => NatFormula l -> NatFormula l -> NatMonad s l (PropFormula l)
- mGeq :: (Solver s l, Eq l) => NatFormula l -> NatFormula l -> NatMonad s l (PropFormula l)
- mEqu :: (Solver s l, Eq l) => NatFormula l -> NatFormula l -> NatMonad s l (PropFormula l)
- natAtomM :: (PropAtom a, Eq l, Solver s l) => Size -> a -> NatMonad s l (NatFormula l)
- intAssignment :: (Ord a, Typeable a) => Size -> Assign () -> NatAssign a
- eval :: Ord l => NatFormula l -> Assign l -> Int
- boolsToInt :: [Bool] -> Int
Documentation
calculates the necessary length of a list of Top/Bot values for representing the given integer
signedBitsToNat :: Int -> Int
lowerbound :: Size -> Int
upperbound :: Size -> Int
twoComplement :: Eq l => Int -> NatFormula l
truncFront :: Eq l => NatFormula l -> NatFormula l
truncTo :: Int -> NatFormula l -> NatFormula l
padFrontM :: (Eq l, Solver s l) => Int -> NatFormula l -> NatMonad s l (NatFormula l)
mNegate :: (Ord l, Solver s l) => NatFormula l -> NatMonad s l (NatFormula l)
mAdd :: (Ord l, Solver s l) => NatFormula l -> NatFormula l -> NatMonad s l (NatFormula l)
mTimes :: (Ord l, Solver s l) => NatFormula l -> NatFormula l -> NatMonad s l (NatFormula l)
unsignedMTimes :: (Ord l, Solver s l) => NatFormula l -> NatFormula l -> NatMonad s l (NatFormula l)
mGrt :: (Solver s l, Eq l) => NatFormula l -> NatFormula l -> NatMonad s l (PropFormula l)
performs greater than comparisons of integers in the representation as a list of propositional formulas
mGeq :: (Solver s l, Eq l) => NatFormula l -> NatFormula l -> NatMonad s l (PropFormula l)
performs greater or equal comparisons of integers in the representation as a list of propositional formulas
mEqu :: (Solver s l, Eq l) => NatFormula l -> NatFormula l -> NatMonad s l (PropFormula l)
performs equality comparisons of integers in the representation as a list of propositional formulas
eval :: Ord l => NatFormula l -> Assign l -> Int
boolsToInt :: [Bool] -> Int