liquid-fixpoint-0.5.0.1: Predicate Abstraction-based Horn-Clause/Implication Constraint Solver

Safe HaskellNone
LanguageHaskell98

Language.Fixpoint.Smt.Types

Contents

Description

This module contains the types defining an SMTLIB2 interface.

Synopsis

Serialized Representation

type Raw = Text Source

Types ---------------------------------------------------------------

Commands

Responses

data Response Source

Responses received from SMT engine

Constructors

Ok 
Sat 
Unsat 
Unknown 
Values [(Symbol, Raw)] 
Error Raw 

Typeclass for SMTLIB2 conversion

class SMTLIB2 a where Source

Types that can be serialized

Minimal complete definition

smt2

Methods

defunc :: a -> SMT2 a Source

smt2 :: a -> Text Source

runSmt2 :: SMTEnv -> a -> Text Source

SMTLIB2 Process Context

data Context Source

Information about the external SMT process

Constructors

Ctx 

SMTLIB2 symbol environment

data SMTSt Source

Constructors

SMTSt 

Fields

fresh :: Int
 
smt2env :: SMTEnv
 

withExtendedEnv :: (Foldable t, MonadState SMTSt m) => t (Symbol, Sort) -> m b -> m b Source

Theory Symbol

data TheorySymbol Source

Theory Symbol

Constructors

Thy 

Fields

tsSym :: Symbol
 
tsRaw :: Raw
 
tsSort :: Sort
 

Strict Formatter

format :: Params ps => Format -> ps -> Text Source

AST Conversion: Types that can be serialized ---------------------