Package org.smtlib.logic
Class QF_RDL
- All Implemented Interfaces:
ILanguage,ILogic,INode,IPos.IPosable
QF_RDL atoms (QF_RDL.smt2): (op x y), (op (- x y) c), (op (- (+ x ... x) (+ y ... y)) c)
with k > 1 occurrences each of x and y, and the extension (op (- x y) (/ c n)); x, y are
free constants of sort Real, c is m or (- m), and m, n are numerals with n nonzero. A decimal
d or (- d) as c is an error; --relax accepts it with a warning.
-
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_RDL(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_RDL
public QF_RDL(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
-