Copyright | (c) Levent Erkok |
---|---|
License | BSD3 |
Maintainer | erkokl@gmail.com |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Demonstrates uninterpreted sorts, together with axioms.
Documentation
A new data-type that we expect to use in an uninterpreted fashion
in the backend SMT solver. Note the custom deriving
clause, which
takes care of most of the boilerplate. The () field is needed so
SBV will not translate it to an enumerated data-type
Q () |
Instances
Eq Q Source # | |
Data Q Source # | |
Defined in Documentation.SBV.Examples.Uninterpreted.Sort gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Q -> c Q # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Q # dataTypeOf :: Q -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Q) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Q) # gmapT :: (forall b. Data b => b -> b) -> Q -> Q # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Q -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Q -> r # gmapQ :: (forall d. Data d => d -> u) -> Q -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Q -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Q -> m Q # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Q -> m Q # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Q -> m Q # | |
Ord Q Source # | |
Read Q Source # | |
Show Q Source # | |
HasKind Q Source # | |
SymWord Q Source # | |
Defined in Documentation.SBV.Examples.Uninterpreted.Sort forall :: String -> Symbolic (SBV Q) Source # forall_ :: Symbolic (SBV Q) Source # mkForallVars :: Int -> Symbolic [SBV Q] Source # exists :: String -> Symbolic (SBV Q) Source # exists_ :: Symbolic (SBV Q) Source # mkExistVars :: Int -> Symbolic [SBV Q] Source # free :: String -> Symbolic (SBV Q) Source # free_ :: Symbolic (SBV Q) Source # mkFreeVars :: Int -> Symbolic [SBV Q] Source # symbolic :: String -> Symbolic (SBV Q) Source # symbolics :: [String] -> Symbolic [SBV Q] Source # literal :: Q -> SBV Q Source # unliteral :: SBV Q -> Maybe Q Source # isConcrete :: SBV Q -> Bool Source # isSymbolic :: SBV Q -> Bool Source # isConcretely :: SBV Q -> (Q -> Bool) -> Bool Source # mkSymWord :: Maybe Quantifier -> Maybe String -> Symbolic (SBV Q) Source # |