Copyright | (c) Galois Inc 2015-2020 |
---|---|
License | BSD3 |
Maintainer | Rob Dockins <rdockins@galois.com> |
Stability | provisional |
Safe Haskell | None |
Language | Haskell2010 |
Z3-specific tweaks to the basic SMTLib2 solver interface.
Synopsis
- data Z3 = Z3
- z3Adapter :: SolverAdapter st
- z3Path :: ConfigOption (BaseStringType Unicode)
- z3Timeout :: ConfigOption BaseIntegerType
- z3Options :: [ConfigDesc]
- z3Features :: ProblemFeatures
- runZ3InOverride :: ExprBuilder t st fs -> LogData -> [BoolExpr t] -> (SatResult (GroundEvalFn t, Maybe (ExprRangeBindings t)) () -> IO a) -> IO a
- withZ3 :: ExprBuilder t st fs -> FilePath -> LogData -> (Session t Z3 -> IO a) -> IO a
- writeZ3SMT2File :: ExprBuilder t st fs -> Handle -> [BoolExpr t] -> IO ()
Documentation
Instances
z3Adapter :: SolverAdapter st Source #
z3Path :: ConfigOption (BaseStringType Unicode) Source #
Path to Z3
z3Timeout :: ConfigOption BaseIntegerType Source #
Per-check timeout, in milliseconds (zero is none)
z3Options :: [ConfigDesc] Source #
runZ3InOverride :: ExprBuilder t st fs -> LogData -> [BoolExpr t] -> (SatResult (GroundEvalFn t, Maybe (ExprRangeBindings t)) () -> IO a) -> IO a Source #
:: ExprBuilder t st fs | |
-> FilePath | Path to Z3 executable |
-> LogData | |
-> (Session t Z3 -> IO a) | Action to run |
-> IO a |
Run Z3 in a session. Z3 will be configured to produce models, but otherwise left with the default configuration.
writeZ3SMT2File :: ExprBuilder t st fs -> Handle -> [BoolExpr t] -> IO () Source #