liquid-fixpoint-0.8.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 # 
Instance details

Defined in Language.Fixpoint.Solver.Monad

Methods

showsPrec :: Int -> Stats -> ShowS #

show :: Stats -> String #

showList :: [Stats] -> ShowS #

Generic Stats Source # 
Instance details

Defined in Language.Fixpoint.Solver.Monad

Associated Types

type Rep Stats :: Type -> Type #

Methods

from :: Stats -> Rep Stats x #

to :: Rep Stats x -> Stats #

NFData Stats Source # 
Instance details

Defined in Language.Fixpoint.Solver.Monad

Methods

rnf :: Stats -> () #

PTable Stats Source # 
Instance details

Defined in Language.Fixpoint.Solver.Monad

type Rep Stats Source # 
Instance details

Defined in Language.Fixpoint.Solver.Monad

numIter :: Stats -> Int Source #

# Refine Iterations