language-sygus-0.1.1.2: A parser and printer for the SyGuS 2.0 language.

Safe HaskellSafe
LanguageHaskell2010

Sygus.Syntax

Documentation

data Lit Source #

Instances
Eq Lit Source # 
Instance details

Defined in Sygus.Syntax

Methods

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

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

Read Lit Source # 
Instance details

Defined in Sygus.Syntax

Show Lit Source # 
Instance details

Defined in Sygus.Syntax

Methods

showsPrec :: Int -> Lit -> ShowS #

show :: Lit -> String #

showList :: [Lit] -> ShowS #

Generic Lit Source # 
Instance details

Defined in Sygus.Syntax

Associated Types

type Rep Lit :: Type -> Type #

Methods

from :: Lit -> Rep Lit x #

to :: Rep Lit x -> Lit #

Hashable Lit Source # 
Instance details

Defined in Sygus.Syntax

Methods

hashWithSalt :: Int -> Lit -> Int #

hash :: Lit -> Int #

type Rep Lit Source # 
Instance details

Defined in Sygus.Syntax

data Cmd Source #

Instances
Eq Cmd Source # 
Instance details

Defined in Sygus.Syntax

Methods

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

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

Read Cmd Source # 
Instance details

Defined in Sygus.Syntax

Show Cmd Source # 
Instance details

Defined in Sygus.Syntax

Methods

showsPrec :: Int -> Cmd -> ShowS #

show :: Cmd -> String #

showList :: [Cmd] -> ShowS #

Generic Cmd Source # 
Instance details

Defined in Sygus.Syntax

Associated Types

type Rep Cmd :: Type -> Type #

Methods

from :: Cmd -> Rep Cmd x #

to :: Rep Cmd x -> Cmd #

Hashable Cmd Source # 
Instance details

Defined in Sygus.Syntax

Methods

hashWithSalt :: Int -> Cmd -> Int #

hash :: Cmd -> Int #

type Rep Cmd Source # 
Instance details

Defined in Sygus.Syntax

type Rep Cmd = D1 (MetaData "Cmd" "Sygus.Syntax" "language-sygus-0.1.1.2-FhPJX0wzClvHYBu97mWxNf" False) (((C1 (MetaCons "CheckSynth" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Constraint" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Term))) :+: (C1 (MetaCons "DeclareVar" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Symbol) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Sort)) :+: C1 (MetaCons "InvConstraint" PrefixI False) ((S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Symbol) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Symbol)) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Symbol) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Symbol))))) :+: ((C1 (MetaCons "SetFeature" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Feature) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool)) :+: C1 (MetaCons "SynthFun" PrefixI False) ((S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Symbol) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [SortedVar])) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Sort) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe GrammarDef))))) :+: (C1 (MetaCons "SynthInv" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Symbol) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [SortedVar]) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe GrammarDef)))) :+: C1 (MetaCons "SmtCmd" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 SmtCmd)))))

data Identifier Source #

Constructors

ISymb Symbol 
Indexed Symbol [Index] 
Instances
Eq Identifier Source # 
Instance details

Defined in Sygus.Syntax

Read Identifier Source # 
Instance details

Defined in Sygus.Syntax

Show Identifier Source # 
Instance details

Defined in Sygus.Syntax

Generic Identifier Source # 
Instance details

Defined in Sygus.Syntax

Associated Types

type Rep Identifier :: Type -> Type #

Hashable Identifier Source # 
Instance details

Defined in Sygus.Syntax

type Rep Identifier Source # 
Instance details

Defined in Sygus.Syntax

data Index Source #

Instances
Eq Index Source # 
Instance details

Defined in Sygus.Syntax

Methods

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

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

Read Index Source # 
Instance details

Defined in Sygus.Syntax

Show Index Source # 
Instance details

Defined in Sygus.Syntax

Methods

showsPrec :: Int -> Index -> ShowS #

show :: Index -> String #

showList :: [Index] -> ShowS #

Generic Index Source # 
Instance details

Defined in Sygus.Syntax

Associated Types

type Rep Index :: Type -> Type #

Methods

from :: Index -> Rep Index x #

to :: Rep Index x -> Index #

Hashable Index Source # 
Instance details

Defined in Sygus.Syntax

Methods

hashWithSalt :: Int -> Index -> Int #

hash :: Index -> Int #

type Rep Index Source # 
Instance details

Defined in Sygus.Syntax

type Rep Index = D1 (MetaData "Index" "Sygus.Syntax" "language-sygus-0.1.1.2-FhPJX0wzClvHYBu97mWxNf" False) (C1 (MetaCons "IndNumeral" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Integer)) :+: C1 (MetaCons "IndSymb" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Symbol)))

data Sort Source #

Instances
Eq Sort Source # 
Instance details

Defined in Sygus.Syntax

Methods

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

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

Read Sort Source # 
Instance details

Defined in Sygus.Syntax

Show Sort Source # 
Instance details

Defined in Sygus.Syntax

Methods

showsPrec :: Int -> Sort -> ShowS #

show :: Sort -> String #

showList :: [Sort] -> ShowS #

Generic Sort Source # 
Instance details

Defined in Sygus.Syntax

Associated Types

type Rep Sort :: Type -> Type #

Methods

from :: Sort -> Rep Sort x #

to :: Rep Sort x -> Sort #

Hashable Sort Source # 
Instance details

Defined in Sygus.Syntax

Methods

hashWithSalt :: Int -> Sort -> Int #

hash :: Sort -> Int #

type Rep Sort Source # 
Instance details

Defined in Sygus.Syntax

data Term Source #

Instances
Eq Term Source # 
Instance details

Defined in Sygus.Syntax

Methods

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

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

Read Term Source # 
Instance details

Defined in Sygus.Syntax

Show Term Source # 
Instance details

Defined in Sygus.Syntax

Methods

showsPrec :: Int -> Term -> ShowS #

show :: Term -> String #

showList :: [Term] -> ShowS #

Generic Term Source # 
Instance details

Defined in Sygus.Syntax

Associated Types

type Rep Term :: Type -> Type #

Methods

from :: Term -> Rep Term x #

to :: Rep Term x -> Term #

Hashable Term Source # 
Instance details

Defined in Sygus.Syntax

Methods

hashWithSalt :: Int -> Term -> Int #

hash :: Term -> Int #

type Rep Term Source # 
Instance details

Defined in Sygus.Syntax

data BfTerm Source #

Instances
Eq BfTerm Source # 
Instance details

Defined in Sygus.Syntax

Methods

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

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

Read BfTerm Source # 
Instance details

Defined in Sygus.Syntax

Show BfTerm Source # 
Instance details

Defined in Sygus.Syntax

Generic BfTerm Source # 
Instance details

Defined in Sygus.Syntax

Associated Types

type Rep BfTerm :: Type -> Type #

Methods

from :: BfTerm -> Rep BfTerm x #

to :: Rep BfTerm x -> BfTerm #

Hashable BfTerm Source # 
Instance details

Defined in Sygus.Syntax

Methods

hashWithSalt :: Int -> BfTerm -> Int #

hash :: BfTerm -> Int #

type Rep BfTerm Source # 
Instance details

Defined in Sygus.Syntax

data SortedVar Source #

Constructors

SortedVar Symbol Sort 
Instances
Eq SortedVar Source # 
Instance details

Defined in Sygus.Syntax

Read SortedVar Source # 
Instance details

Defined in Sygus.Syntax

Show SortedVar Source # 
Instance details

Defined in Sygus.Syntax

Generic SortedVar Source # 
Instance details

Defined in Sygus.Syntax

Associated Types

type Rep SortedVar :: Type -> Type #

Hashable SortedVar Source # 
Instance details

Defined in Sygus.Syntax

type Rep SortedVar Source # 
Instance details

Defined in Sygus.Syntax

type Rep SortedVar = D1 (MetaData "SortedVar" "Sygus.Syntax" "language-sygus-0.1.1.2-FhPJX0wzClvHYBu97mWxNf" False) (C1 (MetaCons "SortedVar" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Symbol) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Sort)))

data VarBinding Source #

Constructors

VarBinding Symbol Term 
Instances
Eq VarBinding Source # 
Instance details

Defined in Sygus.Syntax

Read VarBinding Source # 
Instance details

Defined in Sygus.Syntax

Show VarBinding Source # 
Instance details

Defined in Sygus.Syntax

Generic VarBinding Source # 
Instance details

Defined in Sygus.Syntax

Associated Types

type Rep VarBinding :: Type -> Type #

Hashable VarBinding Source # 
Instance details

Defined in Sygus.Syntax

type Rep VarBinding Source # 
Instance details

Defined in Sygus.Syntax

type Rep VarBinding = D1 (MetaData "VarBinding" "Sygus.Syntax" "language-sygus-0.1.1.2-FhPJX0wzClvHYBu97mWxNf" False) (C1 (MetaCons "VarBinding" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Symbol) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Term)))

data Feature Source #

Constructors

Grammars 
FwdDecls 
Recursion 
Instances
Eq Feature Source # 
Instance details

Defined in Sygus.Syntax

Methods

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

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

Read Feature Source # 
Instance details

Defined in Sygus.Syntax

Show Feature Source # 
Instance details

Defined in Sygus.Syntax

Generic Feature Source # 
Instance details

Defined in Sygus.Syntax

Associated Types

type Rep Feature :: Type -> Type #

Methods

from :: Feature -> Rep Feature x #

to :: Rep Feature x -> Feature #

Hashable Feature Source # 
Instance details

Defined in Sygus.Syntax

Methods

hashWithSalt :: Int -> Feature -> Int #

hash :: Feature -> Int #

type Rep Feature Source # 
Instance details

Defined in Sygus.Syntax

type Rep Feature = D1 (MetaData "Feature" "Sygus.Syntax" "language-sygus-0.1.1.2-FhPJX0wzClvHYBu97mWxNf" False) (C1 (MetaCons "Grammars" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "FwdDecls" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Recursion" PrefixI False) (U1 :: Type -> Type)))

data SmtCmd Source #

Instances
Eq SmtCmd Source # 
Instance details

Defined in Sygus.Syntax

Methods

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

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

Read SmtCmd Source # 
Instance details

Defined in Sygus.Syntax

Show SmtCmd Source # 
Instance details

Defined in Sygus.Syntax

Generic SmtCmd Source # 
Instance details

Defined in Sygus.Syntax

Associated Types

type Rep SmtCmd :: Type -> Type #

Methods

from :: SmtCmd -> Rep SmtCmd x #

to :: Rep SmtCmd x -> SmtCmd #

Hashable SmtCmd Source # 
Instance details

Defined in Sygus.Syntax

Methods

hashWithSalt :: Int -> SmtCmd -> Int #

hash :: SmtCmd -> Int #

type Rep SmtCmd Source # 
Instance details

Defined in Sygus.Syntax

type Rep SmtCmd = D1 (MetaData "SmtCmd" "Sygus.Syntax" "language-sygus-0.1.1.2-FhPJX0wzClvHYBu97mWxNf" False) ((C1 (MetaCons "DeclareDatatype" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Symbol) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 DTDec)) :+: (C1 (MetaCons "DeclareDatatypes" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [SortDecl]) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [DTDec])) :+: C1 (MetaCons "DeclareSort" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Symbol) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Integer)))) :+: ((C1 (MetaCons "DefineFun" PrefixI False) ((S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Symbol) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [SortedVar])) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Sort) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Term))) :+: C1 (MetaCons "DefineSort" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Symbol) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Sort))) :+: (C1 (MetaCons "SetLogic" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Symbol)) :+: C1 (MetaCons "SetOption" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Symbol) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Lit)))))

data SortDecl Source #

Constructors

SortDecl Symbol Integer 
Instances
Eq SortDecl Source # 
Instance details

Defined in Sygus.Syntax

Read SortDecl Source # 
Instance details

Defined in Sygus.Syntax

Show SortDecl Source # 
Instance details

Defined in Sygus.Syntax

Generic SortDecl Source # 
Instance details

Defined in Sygus.Syntax

Associated Types

type Rep SortDecl :: Type -> Type #

Methods

from :: SortDecl -> Rep SortDecl x #

to :: Rep SortDecl x -> SortDecl #

Hashable SortDecl Source # 
Instance details

Defined in Sygus.Syntax

Methods

hashWithSalt :: Int -> SortDecl -> Int #

hash :: SortDecl -> Int #

type Rep SortDecl Source # 
Instance details

Defined in Sygus.Syntax

data DTDec Source #

Constructors

DTDec [DTConsDec] 
Instances
Eq DTDec Source # 
Instance details

Defined in Sygus.Syntax

Methods

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

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

Read DTDec Source # 
Instance details

Defined in Sygus.Syntax

Show DTDec Source # 
Instance details

Defined in Sygus.Syntax

Methods

showsPrec :: Int -> DTDec -> ShowS #

show :: DTDec -> String #

showList :: [DTDec] -> ShowS #

Generic DTDec Source # 
Instance details

Defined in Sygus.Syntax

Associated Types

type Rep DTDec :: Type -> Type #

Methods

from :: DTDec -> Rep DTDec x #

to :: Rep DTDec x -> DTDec #

Hashable DTDec Source # 
Instance details

Defined in Sygus.Syntax

Methods

hashWithSalt :: Int -> DTDec -> Int #

hash :: DTDec -> Int #

type Rep DTDec Source # 
Instance details

Defined in Sygus.Syntax

type Rep DTDec = D1 (MetaData "DTDec" "Sygus.Syntax" "language-sygus-0.1.1.2-FhPJX0wzClvHYBu97mWxNf" False) (C1 (MetaCons "DTDec" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [DTConsDec])))

data DTConsDec Source #

Constructors

DTConsDec Symbol [SortedVar] 
Instances
Eq DTConsDec Source # 
Instance details

Defined in Sygus.Syntax

Read DTConsDec Source # 
Instance details

Defined in Sygus.Syntax

Show DTConsDec Source # 
Instance details

Defined in Sygus.Syntax

Generic DTConsDec Source # 
Instance details

Defined in Sygus.Syntax

Associated Types

type Rep DTConsDec :: Type -> Type #

Hashable DTConsDec Source # 
Instance details

Defined in Sygus.Syntax

type Rep DTConsDec Source # 
Instance details

Defined in Sygus.Syntax

data GrammarDef Source #

Instances
Eq GrammarDef Source # 
Instance details

Defined in Sygus.Syntax

Read GrammarDef Source # 
Instance details

Defined in Sygus.Syntax

Show GrammarDef Source # 
Instance details

Defined in Sygus.Syntax

Generic GrammarDef Source # 
Instance details

Defined in Sygus.Syntax

Associated Types

type Rep GrammarDef :: Type -> Type #

Hashable GrammarDef Source # 
Instance details

Defined in Sygus.Syntax

type Rep GrammarDef Source # 
Instance details

Defined in Sygus.Syntax

data GroupedRuleList Source #

Instances
Eq GroupedRuleList Source # 
Instance details

Defined in Sygus.Syntax

Read GroupedRuleList Source # 
Instance details

Defined in Sygus.Syntax

Show GroupedRuleList Source # 
Instance details

Defined in Sygus.Syntax

Generic GroupedRuleList Source # 
Instance details

Defined in Sygus.Syntax

Associated Types

type Rep GroupedRuleList :: Type -> Type #

Hashable GroupedRuleList Source # 
Instance details

Defined in Sygus.Syntax

type Rep GroupedRuleList Source # 
Instance details

Defined in Sygus.Syntax

data GTerm Source #

Instances
Eq GTerm Source # 
Instance details

Defined in Sygus.Syntax

Methods

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

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

Read GTerm Source # 
Instance details

Defined in Sygus.Syntax

Show GTerm Source # 
Instance details

Defined in Sygus.Syntax

Methods

showsPrec :: Int -> GTerm -> ShowS #

show :: GTerm -> String #

showList :: [GTerm] -> ShowS #

Generic GTerm Source # 
Instance details

Defined in Sygus.Syntax

Associated Types

type Rep GTerm :: Type -> Type #

Methods

from :: GTerm -> Rep GTerm x #

to :: Rep GTerm x -> GTerm #

Hashable GTerm Source # 
Instance details

Defined in Sygus.Syntax

Methods

hashWithSalt :: Int -> GTerm -> Int #

hash :: GTerm -> Int #

type Rep GTerm Source # 
Instance details

Defined in Sygus.Syntax