Package org.smtlib.logic
Class QF_IDL
- All Implemented Interfaces:
ILanguage,ILogic,INode,IPos.IPosable
QF_IDL atoms (QF_IDL.smt2): (op x y), (op (- x y) n) and (op (- x y) (- n)), with x, y
free constants of sort Int and n a numeral.
-
Field Summary
Fields inherited from class org.smtlib.impl.SMTExpr.Logic
attributes, attributesList, logicName, smtConfigFields inherited from class org.smtlib.impl.Pos.Posable
pos -
Constructor Summary
ConstructorsConstructorDescriptionQF_IDL(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheckAtom(IExpr.IFcnExpr e, IExpr lhs, IExpr rhs) Checks the arguments of a binary arithmetic atom (op lhs rhs).voidcheckFcnDeclaration(IExpr.IIdentifier id, List<ISort> argSorts, ISort resultSort, IExpr definition) Checks whether the given function declaration is permitted in the language, throwing an exception if notvoidcheckSortDeclaration(IExpr.IIdentifier id, List<ISort.IParameter> params, ISort expr) Checks whether the given sort declaration is permitted in the language, throwing an exception if notprotected Stringkind()"IDL" or "RDL", for error messagesMethods inherited from class org.smtlib.logic.DifferenceLogic
isDifferenceOfSymbols, validExpressionMethods inherited from class org.smtlib.logic.Logic
allowedArraySort, allowedArraySorts, checkArraySorts, checkArraySorts, checkBoundArraySorts, isBitVecArray, isBitVecSort, isFreeConstant, isInteger, isLinearInteger, isLinearReal, isRealConst, noExponentiation, noFunctions, nonCoefficients, noQuantifiers, noSorts, restrictionError, sameSort, sortAppMethods inherited from class org.smtlib.impl.SMTExpr.Logic
accept, attributeList, attributes, logicName, valueMethods inherited from class org.smtlib.impl.Pos.Printable
toStringMethods inherited from class org.smtlib.impl.Pos.Posable
equals, hashCode, pos, setPos
-
Constructor Details
-
QF_IDL
public QF_IDL(SMT.Configuration smtConfig, IExpr.ISymbol name, Collection<IExpr.IAttribute<?>> attributes)
-
-
Method Details
-
kind
Description copied from class:DifferenceLogic"IDL" or "RDL", for error messages- Specified by:
kindin classDifferenceLogic
-
checkAtom
Description copied from class:DifferenceLogicChecks the arguments of a binary arithmetic atom (op lhs rhs).- Specified by:
checkAtomin classDifferenceLogic- Throws:
IVisitor.VisitorException
-
checkFcnDeclaration
public void checkFcnDeclaration(IExpr.IIdentifier id, List<ISort> argSorts, ISort resultSort, IExpr definition) throws IVisitor.VisitorException Description copied from interface:ILanguageChecks whether the given function declaration is permitted in the language, throwing an exception if not- Specified by:
checkFcnDeclarationin interfaceILanguage- Overrides:
checkFcnDeclarationin classSMTExpr.Logic- Throws:
IVisitor.VisitorException
-
checkSortDeclaration
public void checkSortDeclaration(IExpr.IIdentifier id, List<ISort.IParameter> params, ISort expr) throws IVisitor.VisitorException Description copied from interface:ILanguageChecks whether the given sort declaration is permitted in the language, throwing an exception if not- Specified by:
checkSortDeclarationin interfaceILanguage- Overrides:
checkSortDeclarationin classSMTExpr.Logic- Throws:
IVisitor.VisitorException
-