toysolver-0.8.1: Assorted decision procedures for SAT, SMT, Max-SAT, PB, MIP, etc
Copyright(c) Masahiro Sakai 2015
LicenseBSD-style
Maintainermasahiro.sakai@gmail.com
Stabilityunstable
Portabilitynon-portable
Safe HaskellSafe-Inferred
LanguageHaskell2010

ToySolver.EUF.EUFSolver

Description

 
Synopsis

The Solver type

Problem description

type FSym = Int Source #

data Term Source #

Constructors

TApp FSym [Term] 

Instances

Instances details
Show Term Source # 
Instance details

Defined in ToySolver.EUF.CongruenceClosure

Methods

showsPrec :: Int -> Term -> ShowS #

show :: Term -> String #

showList :: [Term] -> ShowS #

Eq Term Source # 
Instance details

Defined in ToySolver.EUF.CongruenceClosure

Methods

(==) :: Term -> Term -> Bool #

(/=) :: Term -> Term -> Bool #

Ord Term Source # 
Instance details

Defined in ToySolver.EUF.CongruenceClosure

Methods

compare :: Term -> Term -> Ordering #

(<) :: Term -> Term -> Bool #

(<=) :: Term -> Term -> Bool #

(>) :: Term -> Term -> Bool #

(>=) :: Term -> Term -> Bool #

max :: Term -> Term -> Term #

min :: Term -> Term -> Term #

VAFun Term Source # 
Instance details

Defined in ToySolver.EUF.CongruenceClosure

Methods

withVArgs :: ([Term] -> Term) -> Term Source #

VAFun a => VAFun (Term -> a) Source # 
Instance details

Defined in ToySolver.EUF.CongruenceClosure

Methods

withVArgs :: ([Term] -> Term) -> Term -> a Source #

class VAFun a where Source #

Methods

withVArgs :: ([Term] -> Term) -> a Source #

Instances

Instances details
VAFun Term Source # 
Instance details

Defined in ToySolver.EUF.CongruenceClosure

Methods

withVArgs :: ([Term] -> Term) -> Term Source #

VAFun a => VAFun (Term -> a) Source # 
Instance details

Defined in ToySolver.EUF.CongruenceClosure

Methods

withVArgs :: ([Term] -> Term) -> Term -> a Source #

newFun :: VAFun a => Solver -> IO a Source #

Query

Explanation

Model Construction

data Model Source #

Instances

Instances details
Show Model Source # 
Instance details

Defined in ToySolver.EUF.CongruenceClosure

Methods

showsPrec :: Int -> Model -> ShowS #

show :: Model -> String #

showList :: [Model] -> ShowS #

Backtracking

Low-level operations