Object for managing fixedpoints More...
Public Member Functions | |
void | Assert (params BoolExpr[] constraints) |
Assert a constraint (or multiple) into the fixedpoint solver. More... | |
void | Add (params BoolExpr[] constraints) |
Alias for Assert. More... | |
void | RegisterRelation (FuncDecl f) |
Register predicate as recursive relation. More... | |
void | AddRule (BoolExpr rule, Symbol name=null) |
Add rule into the fixedpoint solver. More... | |
void | AddFact (FuncDecl pred, params uint[] args) |
Add table fact to the fixedpoint solver. More... | |
Status | Query (BoolExpr 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. More... | |
Status | Query (params FuncDecl[] relations) |
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. More... | |
void | UpdateRule (BoolExpr rule, Symbol name) |
Update named rule into in the fixedpoint solver. More... | |
Expr | GetAnswer () |
Retrieve satisfying instance or instances of solver, or definitions for the recursive predicates that show unsatisfiability. More... | |
string | GetReasonUnknown () |
Retrieve explanation why fixedpoint engine returned status Unknown. More... | |
uint | GetNumLevels (FuncDecl predicate) |
Retrieve the number of levels explored for a given predicate. More... | |
Expr | GetCoverDelta (int level, FuncDecl predicate) |
Retrieve the cover of a predicate. More... | |
void | AddCover (int level, FuncDecl predicate, Expr property) |
Add property about the predicate . The property is added at level . More... | |
override string | ToString () |
Retrieve internal string representation of fixedpoint object. More... | |
void | SetPredicateRepresentation (FuncDecl f, Symbol[] kinds) |
Instrument the Datalog engine on which table representation to use for recursive predicate. More... | |
string | ToString (params BoolExpr[] queries) |
Convert benchmark given as set of axioms, rules and queries to a string. More... | |
BoolExpr[] | ParseFile (string file) |
Parse an SMT-LIB2 file with fixedpoint rules. Add the rules to the current fixedpoint context. Return the set of queries in the file. More... | |
BoolExpr[] | ParseString (string s) |
Similar to ParseFile. Instead it takes as argument a string. More... | |
Public Member Functions inherited from Z3Object | |
void | Dispose () |
Disposes of the underlying native Z3 object. More... | |
Properties | |
string | Help [get] |
A string that describes all available fixedpoint solver parameters. More... | |
Params | Parameters [set] |
Sets the fixedpoint solver parameters. More... | |
ParamDescrs | ParameterDescriptions [get] |
Retrieves parameter descriptions for Fixedpoint solver. More... | |
BoolExpr[] | Rules [get] |
Retrieve set of rules added to fixedpoint context. More... | |
BoolExpr[] | Assertions [get] |
Retrieve set of assertions added to fixedpoint context. More... | |
Statistics | Statistics [get] |
Fixedpoint statistics. More... | |
Properties inherited from Z3Object | |
Context | Context [get] |
Access Context object More... | |
Object for managing fixedpoints
Definition at line 29 of file Fixedpoint.cs.
|
inline |
Alias for Assert.
Definition at line 83 of file Fixedpoint.cs.
Add property
about the predicate
. The property is added at level
.
Definition at line 215 of file Fixedpoint.cs.
|
inline |
|
inline |
Assert a constraint (or multiple) into the fixedpoint solver.
Definition at line 68 of file Fixedpoint.cs.
Referenced by Fixedpoint.Add().
|
inline |
Retrieve satisfying instance or instances of solver, or definitions for the recursive predicates that show unsatisfiability.
Definition at line 179 of file Fixedpoint.cs.
|
inline |
Retrieve the number of levels explored for a given predicate.
Definition at line 197 of file Fixedpoint.cs.
|
inline |
Retrieve explanation why fixedpoint engine returned status Unknown.
Definition at line 188 of file Fixedpoint.cs.
|
inline |
Parse an SMT-LIB2 file with fixedpoint rules. Add the rules to the current fixedpoint context. Return the set of queries in the file.
Definition at line 293 of file Fixedpoint.cs.
|
inline |
Similar to ParseFile. Instead it takes as argument a string.
Definition at line 302 of file Fixedpoint.cs.
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.
Definition at line 128 of file Fixedpoint.cs.
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.
Definition at line 148 of file Fixedpoint.cs.
|
inline |
Instrument the Datalog engine on which table representation to use for recursive predicate.
Definition at line 231 of file Fixedpoint.cs.
|
inline |
Retrieve internal string representation of fixedpoint object.
Definition at line 223 of file Fixedpoint.cs.
|
inline |
Convert benchmark given as set of axioms, rules and queries to a string.
Definition at line 243 of file Fixedpoint.cs.
|
get |
Retrieve set of assertions added to fixedpoint context.
Definition at line 266 of file Fixedpoint.cs.
|
get |
A string that describes all available fixedpoint solver parameters.
Definition at line 35 of file Fixedpoint.cs.
|
get |
Retrieves parameter descriptions for Fixedpoint solver.
Definition at line 59 of file Fixedpoint.cs.
|
set |
Sets the fixedpoint solver parameters.
Definition at line 46 of file Fixedpoint.cs.
|
get |
|
get |
Fixedpoint statistics.
Definition at line 279 of file Fixedpoint.cs.