Package com.microsoft.z3
Class Fixedpoint
java.lang.Object
com.microsoft.z3.Z3Object
com.microsoft.z3.Fixedpoint
Object for managing fixedpoints
-
Method Summary
Modifier and TypeMethodDescriptionfinal voidAssert a constraint (or multiple) into the fixedpoint solver.voidAddpropertyabout thepredicate.voidAdd table fact to the fixedpoint solver.voidAdd rule into the fixedpoint solver.Expr<?>Retrieve satisfying instance or instances of solver, or definitions for the recursive predicates that show unsatisfiability.BoolExpr[]Retrieve set of assertions added to fixedpoint context.Expr<?>getCoverDelta(int level, FuncDecl<BoolSort> predicate) Retrieve the cover of a predicate.getHelp()A string that describes all available fixedpoint solver parameters.intgetNumLevels(FuncDecl<BoolSort> predicate) Retrieve the number of levels explored for a given predicate.Retrieves parameter descriptions for Fixedpoint solver.Retrieve explanation why fixedpoint engine returned status Unknown.BoolExpr[]getRules()Retrieve set of rules added to fixedpoint context.Fixedpoint statistics.BoolExpr[]Parse an SMT-LIB2 file with fixedpoint rules.BoolExpr[]Parse an SMT-LIB2 string with fixedpoint rules.Query the fixedpoint solver.Query the fixedpoint solver.voidRegister predicate as recursive relation.voidsetParameters(Params value) Sets the fixedpoint solver parameters.voidsetPredicateRepresentation(FuncDecl<BoolSort> f, Symbol[] kinds) Instrument the Datalog engine on which table representation to use for recursive predicate.toString()Retrieve internal string representation of fixedpoint object.Convert benchmark given as set of axioms, rules and queries to a string.voidupdateRule(Expr<BoolSort> rule, Symbol name) Update named rule into in the fixedpoint solver.Methods inherited from class com.microsoft.z3.Z3Object
arrayLength, arrayToNative
-
Method Details
-
getHelp
A string that describes all available fixedpoint solver parameters. -
setParameters
Sets the fixedpoint solver parameters.- Throws:
Z3Exception
-
getParameterDescriptions
Retrieves parameter descriptions for Fixedpoint solver.- Throws:
Z3Exception
-
add
Assert a constraint (or multiple) into the fixedpoint solver.- Throws:
Z3Exception
-
registerRelation
Register predicate as recursive relation.- Throws:
Z3Exception
-
addRule
Add rule into the fixedpoint solver.- Parameters:
rule- implication (Horn clause) representing rulename- Nullable rule name.- Throws:
Z3Exception
-
addFact
Add table fact to the fixedpoint solver.- Throws:
Z3Exception
-
query
Query the fixedpoint solver. A query is a conjunction of constraints. The constraints may include the recursively defined relations. The query is satisfiable if there is an instance of the query variables and a derivation for it. The query is unsatisfiable if there are no derivations satisfying the query variables.- Throws:
Z3Exception
-
query
Query the fixedpoint solver. A query is an array of relations. The query is satisfiable if there is an instance of some relation that is non-empty. The query is unsatisfiable if there are no derivations satisfying any of the relations.- Throws:
Z3Exception
-
updateRule
Update named rule into in the fixedpoint solver.- Parameters:
rule- implication (Horn clause) representing rulename- Nullable rule name.- Throws:
Z3Exception
-
getAnswer
Retrieve satisfying instance or instances of solver, or definitions for the recursive predicates that show unsatisfiability.- Throws:
Z3Exception
-
getReasonUnknown
Retrieve explanation why fixedpoint engine returned status Unknown. -
getNumLevels
Retrieve the number of levels explored for a given predicate. -
getCoverDelta
Retrieve the cover of a predicate.- Throws:
Z3Exception
-
addCover
Addpropertyabout thepredicate. The property is added atlevel. -
toString
Retrieve internal string representation of fixedpoint object. -
setPredicateRepresentation
Instrument the Datalog engine on which table representation to use for recursive predicate. -
toString
Convert benchmark given as set of axioms, rules and queries to a string. -
getRules
Retrieve set of rules added to fixedpoint context.- Throws:
Z3Exception
-
getAssertions
Retrieve set of assertions added to fixedpoint context.- Throws:
Z3Exception
-
getStatistics
Fixedpoint statistics.- Throws:
Z3Exception
-
ParseFile
Parse an SMT-LIB2 file with fixedpoint rules. Add the rules to the current fixedpoint context. Return the set of queries in the file. -
ParseString
Parse an SMT-LIB2 string with fixedpoint rules. Add the rules to the current fixedpoint context. Return the set of queries in the file.
-