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

Safe HaskellNone
LanguageHaskell98

Language.Fixpoint.Solver.Monad

Contents

Description

This is a wrapper around IO that permits SMT queries

Synopsis

Type

type SolveM = StateT SolverState IO Source #

Solver Monadic API --------------------------------------------------------

Execution

Get Binds

SMT Query

filterRequired :: Cand a -> Expr -> SolveM [a] Source #

SMT Interface -------------------------------------------------------------

`filterRequired [(x1, p1),...,(xn, pn)] q` returns a minimal list [xi] s.t. / [pi] => q

filterValid :: SrcSpan -> Expr -> Cand a -> SolveM [a] Source #

`filterValid p [(x1, q1),...,(xn, qn)]` returns the list `[ xi | p => qi]`

filterValidGradual :: [Expr] -> Cand a -> SolveM [a] Source #

`filterValidGradual ps [(x1, q1),...,(xn, qn)]` returns the list `[ xi | p => qi]` | for some p in the list ps

Debug

data Stats Source #

Instances

Show Stats Source # 

Methods

showsPrec :: Int -> Stats -> ShowS #

show :: Stats -> String #

showList :: [Stats] -> ShowS #

Generic Stats Source # 

Associated Types

type Rep Stats :: * -> * #

Methods

from :: Stats -> Rep Stats x #

to :: Rep Stats x -> Stats #

NFData Stats Source # 

Methods

rnf :: Stats -> () #

PTable Stats Source # 
type Rep Stats Source # 

numIter :: Stats -> Int Source #

# Refine Iterations