Copyright | (c) Galois Inc 2022 |
---|---|
License | BSD3 |
Maintainer | Rob Dockins <rdockins@galois.com> |
Stability | provisional |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
CVC5-specific tweaks to the basic SMTLib2 solver interface.
Synopsis
- data CVC5 = CVC5
- cvc5Features :: ProblemFeatures
- cvc5Adapter :: SolverAdapter st
- cvc5Path :: ConfigOption (BaseStringType Unicode)
- cvc5Timeout :: ConfigOption BaseIntegerType
- cvc5Options :: [ConfigDesc]
- runCVC5InOverride :: ExprBuilder t st fs -> LogData -> [BoolExpr t] -> (SatResult (GroundEvalFn t, Maybe (ExprRangeBindings t)) () -> IO a) -> IO a
- withCVC5 :: ExprBuilder t st fs -> FilePath -> LogData -> (Session t CVC5 -> IO a) -> IO a
- writeCVC5SMT2File :: ExprBuilder t st fs -> Handle -> [BoolExpr t] -> IO ()
- writeMultiAsmpCVC5SMT2File :: ExprBuilder t st fs -> Handle -> [BoolExpr t] -> IO ()
- runCVC5SyGuS :: sym ~ ExprBuilder t st fs => sym -> LogData -> [SomeSymFn sym] -> [BoolExpr t] -> IO (SatResult (MapF (SymFnWrapper sym) (SymFnWrapper sym)) ())
- withCVC5_SyGuS :: ExprBuilder t st fs -> FilePath -> LogData -> (Session t CVC5_SyGuS -> IO a) -> IO a
- writeCVC5SyFile :: sym ~ ExprBuilder t st fs => sym -> Handle -> [SomeSymFn sym] -> [BoolExpr t] -> IO ()
Documentation
Instances
cvc5Adapter :: SolverAdapter st Source #
cvc5Path :: ConfigOption (BaseStringType Unicode) Source #
Path to cvc5
cvc5Timeout :: ConfigOption BaseIntegerType Source #
Per-check timeout, in milliseconds (zero is none)
cvc5Options :: [ConfigDesc] Source #
runCVC5InOverride :: 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 cvc5 executable |
-> LogData | |
-> (Session t CVC5 -> IO a) | Action to run |
-> IO a |
Run cvc5 in a session. cvc5 will be configured to produce models, but otherwise left with the default configuration.
writeCVC5SMT2File :: ExprBuilder t st fs -> Handle -> [BoolExpr t] -> IO () Source #
writeMultiAsmpCVC5SMT2File :: ExprBuilder t st fs -> Handle -> [BoolExpr t] -> IO () Source #
runCVC5SyGuS :: sym ~ ExprBuilder t st fs => sym -> LogData -> [SomeSymFn sym] -> [BoolExpr t] -> IO (SatResult (MapF (SymFnWrapper sym) (SymFnWrapper sym)) ()) Source #
Find a solution to a Syntax-Guided Synthesis (SyGuS) problem.
For more information, see the SyGuS standard.
withCVC5_SyGuS :: ExprBuilder t st fs -> FilePath -> LogData -> (Session t CVC5_SyGuS -> IO a) -> IO a Source #
Run CVC5 SyGuS in a session, with the default configuration.
writeCVC5SyFile :: sym ~ ExprBuilder t st fs => sym -> Handle -> [SomeSymFn sym] -> [BoolExpr t] -> IO () Source #