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

Safe HaskellNone
LanguageHaskell98

Language.Fixpoint.SmtLib2

Contents

Description

This module contains an SMTLIB2 interface for 1. checking the validity, and, 2. computing satisfying assignments for formulas. By implementing a binary interface over the SMTLIB2 format defined at http://www.smt-lib.org/ http://www.grammatech.com/resource/smt/SMTLIBTutorial.pdf

Synopsis

Commands

Responses

data Response Source

Responses received from SMT engine

Constructors

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

Instances

Typeclass for SMTLIB2 conversion

class SMTLIB2 a where Source

AST Conversion ---------------------------------------------------

Types that can be serialized

Methods

smt2 :: a -> Text Source

Creating and killing SMTLIB2 Process

data Context Source

Information about the external SMT process

Constructors

Ctx 

makeContext :: SMTSolver -> IO Context Source

SMT Context ---------------------------------------------------------

Execute Queries

command :: Context -> Command -> IO Response Source

SMT IO --------------------------------------------------------------