public class Quantifier extends BoolExpr
| Modifier and Type | Method and Description |
|---|---|
BoolExpr |
getBody()
The body of the quantifier.
|
Symbol[] |
getBoundVariableNames()
The symbols for the bound variables.
|
Sort[] |
getBoundVariableSorts()
The sorts of the bound variables.
|
Pattern[] |
getNoPatterns()
The no-patterns.
|
int |
getNumBound()
The number of bound variables.
|
int |
getNumNoPatterns()
The number of no-patterns.
|
int |
getNumPatterns()
The number of patterns.
|
Pattern[] |
getPatterns()
The patterns.
|
int |
getWeight()
The weight of the quantifier.
|
boolean |
isExistential()
Indicates whether the quantifier is existential.
|
boolean |
isUniversal()
Indicates whether the quantifier is universal.
|
static Quantifier |
of(Context ctx,
boolean isForall,
Expr<?>[] bound,
Expr<BoolSort> body,
int weight,
Pattern[] patterns,
Expr<?>[] noPatterns,
Symbol quantifierID,
Symbol skolemID) |
static Quantifier |
of(Context ctx,
boolean isForall,
Sort[] sorts,
Symbol[] names,
Expr<BoolSort> body,
int weight,
Pattern[] patterns,
Expr<?>[] noPatterns,
Symbol quantifierID,
Symbol skolemID)
Create a quantified expression.
|
Quantifier |
translate(Context ctx)
Translates (copies) the quantifier to the Context
ctx. |
distillSort, getArgs, getBoolValue, getFuncDecl, getIndex, getNumArgs, getSort, getString, isAdd, isAlgebraicNumber, isAnd, isArithmeticNumeral, isArray, isArrayMap, isAsArray, isBool, isBV, isBVAdd, isBVAND, isBVBitOne, isBVBitZero, isBVCarry, isBVComp, isBVConcat, isBVExtract, isBVMul, isBVNAND, isBVNOR, isBVNOT, isBVNumeral, isBVOR, isBVReduceAND, isBVReduceOR, isBVRepeat, isBVRotateLeft, isBVRotateLeftExtended, isBVRotateRight, isBVRotateRightExtended, isBVSDiv, isBVSGE, isBVSGT, isBVShiftLeft, isBVShiftRightArithmetic, isBVShiftRightLogical, isBVSignExtension, isBVSLE, isBVSLT, isBVSMod, isBVSRem, isBVSub, isBVToInt, isBVUDiv, isBVUGE, isBVUGT, isBVULE, isBVULT, isBVUMinus, isBVURem, isBVXNOR, isBVXOR, isBVXOR3, isBVZeroExtension, isConcat, isConst, isConstantArray, isDefaultArray, isDistinct, isDiv, isEmptyRelation, isEq, isFalse, isFiniteDomain, isFiniteDomainLT, isGE, isGT, isIDiv, isIff, isImplies, isInt, isIntNum, isIntToBV, isIntToReal, isIsEmptyRelation, isITE, isLabel, isLabelLit, isLE, isLT, isModulus, isMul, isNot, isNumeral, isOEQ, isOr, isProofAndElimination, isProofApplyDef, isProofAsserted, isProofCommutativity, isProofDefAxiom, isProofDefIntro, isProofDER, isProofDistributivity, isProofElimUnusedVars, isProofGoal, isProofHypothesis, isProofIFFFalse, isProofIFFOEQ, isProofIFFTrue, isProofLemma, isProofModusPonens, isProofModusPonensOEQ, isProofMonotonicity, isProofNNFNeg, isProofNNFPos, isProofOrElimination, isProofPullQuant, isProofPushQuant, isProofQuantInst, isProofQuantIntro, isProofReflexivity, isProofRewrite, isProofRewriteStar, isProofSkolemize, isProofSymmetry, isProofTheoryLemma, isProofTransitivity, isProofTransitivityStar, isProofTrue, isProofUnitResolution, isRatNum, isReal, isRealIsInt, isRealToInt, isRelation, isRelationalJoin, isRelationClone, isRelationComplement, isRelationFilter, isRelationNegationFilter, isRelationProject, isRelationRename, isRelationSelect, isRelationStore, isRelationUnion, isRelationWiden, isRemainder, isSelect, isSetComplement, isSetDifference, isSetIntersect, isSetSubset, isSetUnion, isStore, isString, isSub, isTrue, isUMinus, isWellSorted, isXor, simplify, simplify, substitute, substitute, substituteVars, toString, updatecompareTo, equals, getASTKind, getId, getSExpr, hashCode, isApp, isExpr, isFuncDecl, isQuantifier, isSort, isVararrayLength, arrayToNativepublic boolean isUniversal()
public boolean isExistential()
public int getWeight()
public int getNumPatterns()
public Pattern[] getPatterns()
Z3Exceptionpublic int getNumNoPatterns()
public Pattern[] getNoPatterns()
Z3Exceptionpublic int getNumBound()
public Symbol[] getBoundVariableNames()
Z3Exceptionpublic Sort[] getBoundVariableSorts()
Z3Exceptionpublic BoolExpr getBody()
Z3Exceptionpublic Quantifier translate(Context ctx)
ctx.translate in class Expr<BoolSort>ctx - A contextctxZ3Exception - on errorpublic static Quantifier of(Context ctx, boolean isForall, Sort[] sorts, Symbol[] names, Expr<BoolSort> body, int weight, Pattern[] patterns, Expr<?>[] noPatterns, Symbol quantifierID, Symbol skolemID)
ctx - Context to create the quantifier on.isForall - Quantifier type.sorts - Sorts of bound variables.names - Names of bound variablesbody - Body of quantifierweight - Weight used to indicate priority for qunatifier instantiationpatterns - Nullable patternsnoPatterns - Nullable noPatternsquantifierID - Nullable quantifierIDskolemID - Nullable skolemIDpublic static Quantifier of(Context ctx, boolean isForall, Expr<?>[] bound, Expr<BoolSort> body, int weight, Pattern[] patterns, Expr<?>[] noPatterns, Symbol quantifierID, Symbol skolemID)
ctx - Context to create the quantifier on.isForall - Quantifier type.bound - Bound variables.body - Body of the quantifier.weight - Weight.patterns - Nullable array of patterns.noPatterns - Nullable array of noPatterns.quantifierID - Nullable quantifier identifier.skolemID - Nullable skolem identifier.