what4-1.1: Solver-agnostic symbolic values support for issuing queries
Copyright(c) Galois Inc 2015-2020
LicenseBSD3
MaintainerJoe Hendrix <jhendrix@galois.com>
Stabilityprovisional
Safe HaskellSafe-Inferred
LanguageHaskell2010

What4.SatResult

Description

 

Documentation

data SatResult mdl core Source #

Constructors

Sat mdl 
Unsat core 
Unknown 

Instances

Instances details
(Show mdl, Show core) => Show (SatResult mdl core) Source # 
Instance details

Defined in What4.SatResult

Methods

showsPrec :: Int -> SatResult mdl core -> ShowS #

show :: SatResult mdl core -> String #

showList :: [SatResult mdl core] -> ShowS #

Generic (SatResult mdl core) Source # 
Instance details

Defined in What4.SatResult

Associated Types

type Rep (SatResult mdl core) :: Type -> Type #

Methods

from :: SatResult mdl core -> Rep (SatResult mdl core) x #

to :: Rep (SatResult mdl core) x -> SatResult mdl core #

type Rep (SatResult mdl core) Source # 
Instance details

Defined in What4.SatResult

type Rep (SatResult mdl core) = D1 ('MetaData "SatResult" "What4.SatResult" "what4-1.1-F6JmVDCUG2e4tsAmUzrLc2" 'False) (C1 ('MetaCons "Sat" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 mdl)) :+: (C1 ('MetaCons "Unsat" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 core)) :+: C1 ('MetaCons "Unknown" 'PrefixI 'False) (U1 :: Type -> Type)))

isSat :: SatResult mdl core -> Bool Source #

isUnsat :: SatResult mdl core -> Bool Source #

traverseSatResult :: Applicative t => (a -> t q) -> (b -> t r) -> SatResult a b -> t (SatResult q r) Source #