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

What4.Solver.STP

Description

STP-specific tweaks to the basic SMTLib2 solver interface.

Synopsis

Documentation

data STP Source #

Constructors

STP 

Instances

Instances details
Show STP Source # 
Instance details

Defined in What4.Solver.STP

Methods

showsPrec :: Int -> STP -> ShowS #

show :: STP -> String #

showList :: [STP] -> ShowS #

SMTLib2GenericSolver STP Source # 
Instance details

Defined in What4.Solver.STP

SMTLib2Tweaks STP Source # 
Instance details

Defined in What4.Solver.STP

OnlineSolver (Writer STP) Source # 
Instance details

Defined in What4.Solver.STP

Methods

startSolverProcess :: forall scope (st :: Type -> Type) fs. ProblemFeatures -> Maybe Handle -> ExprBuilder scope st fs -> IO (SolverProcess scope (Writer STP)) Source #

shutdownSolverProcess :: SolverProcess scope (Writer STP) -> IO (ExitCode, Text) Source #

withSTP Source #

Arguments

:: ExprBuilder t st fs 
-> FilePath

Path to STP executable

-> LogData 
-> (Session t STP -> IO a)

Action to run

-> IO a 

Run STP in a session. STP will be configured to produce models, buth otherwise left with the default configuration.