| Copyright | (c) Galois Inc 2015-2020 |
|---|---|
| License | BSD3 |
| Maintainer | Rob Dockins <rdockins@galois.com> |
| Stability | provisional |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
What4.Solver.CVC4
Description
CVC4-specific tweaks to the basic SMTLib2 solver interface.
Synopsis
- data CVC4 = CVC4
- cvc4Features :: ProblemFeatures
- cvc4Adapter :: SolverAdapter st
- cvc4Path :: ConfigOption (BaseStringType Unicode)
- cvc4Timeout :: ConfigOption BaseIntegerType
- cvc4Options :: [ConfigDesc]
- runCVC4InOverride :: ExprBuilder t st fs -> LogData -> [BoolExpr t] -> (SatResult (GroundEvalFn t, Maybe (ExprRangeBindings t)) () -> IO a) -> IO a
- withCVC4 :: ExprBuilder t st fs -> FilePath -> LogData -> (Session t CVC4 -> IO a) -> IO a
- writeCVC4SMT2File :: ExprBuilder t st fs -> Handle -> [BoolExpr t] -> IO ()
- writeMultiAsmpCVC4SMT2File :: ExprBuilder t st fs -> Handle -> [BoolExpr t] -> IO ()
Documentation
Constructors
| CVC4 |
Instances
cvc4Adapter :: SolverAdapter st Source #
cvc4Path :: ConfigOption (BaseStringType Unicode) Source #
Path to cvc4
cvc4Timeout :: ConfigOption BaseIntegerType Source #
Per-check timeout, in milliseconds (zero is none)
cvc4Options :: [ConfigDesc] Source #
runCVC4InOverride :: ExprBuilder t st fs -> LogData -> [BoolExpr t] -> (SatResult (GroundEvalFn t, Maybe (ExprRangeBindings t)) () -> IO a) -> IO a Source #
Arguments
| :: ExprBuilder t st fs | |
| -> FilePath | Path to CVC4 executable |
| -> LogData | |
| -> (Session t CVC4 -> IO a) | Action to run |
| -> IO a |
Run CVC4 in a session. CVC4 will be configured to produce models, but otherwise left with the default configuration.
writeCVC4SMT2File :: ExprBuilder t st fs -> Handle -> [BoolExpr t] -> IO () Source #
writeMultiAsmpCVC4SMT2File :: ExprBuilder t st fs -> Handle -> [BoolExpr t] -> IO () Source #