satchmo-1.8.0: SAT encoding monad

Satchmo.Binary.Op.Flexible

Description

operations from this module cannot overflow. instead they increase the bit width.

Synopsis

Documentation

shift :: MonadSAT m => Number -> m NumberSource

multiply by 2

number :: MonadSAT m => Int -> m NumberSource

declare a number variable (bit width)

constant :: MonadSAT m => Integer -> m NumberSource

declare a number constant