mirror of
https://github.com/Z3Prover/z3
synced 2025-11-03 13:07:53 +00:00
Update finite_set_rewriter.h
This commit is contained in:
parent
8da94d2ca3
commit
9a6897cbb0
1 changed files with 5 additions and 6 deletions
|
|
@ -33,7 +33,11 @@ where the signature is defined in finite_set_decl_plugin.h.
|
||||||
*/
|
*/
|
||||||
class finite_set_rewriter {
|
class finite_set_rewriter {
|
||||||
finite_set_util m_util;
|
finite_set_util m_util;
|
||||||
|
// Rewrite rules for set operations
|
||||||
|
br_status mk_union(unsigned num_args, expr * const * args, expr_ref & result);
|
||||||
|
br_status mk_intersect(unsigned num_args, expr * const * args, expr_ref & result);
|
||||||
|
br_status mk_difference(expr * arg1, expr * arg2, expr_ref & result);
|
||||||
|
br_status mk_subset(expr * arg1, expr * arg2, expr_ref & result);
|
||||||
public:
|
public:
|
||||||
finite_set_rewriter(ast_manager & m, params_ref const & p = params_ref()):
|
finite_set_rewriter(ast_manager & m, params_ref const & p = params_ref()):
|
||||||
m_util(m) {
|
m_util(m) {
|
||||||
|
|
@ -45,9 +49,4 @@ public:
|
||||||
|
|
||||||
br_status mk_app_core(func_decl * f, unsigned num_args, expr * const * args, expr_ref & result);
|
br_status mk_app_core(func_decl * f, unsigned num_args, expr * const * args, expr_ref & result);
|
||||||
|
|
||||||
// Rewrite rules for set operations
|
|
||||||
br_status mk_union(unsigned num_args, expr * const * args, expr_ref & result);
|
|
||||||
br_status mk_intersect(unsigned num_args, expr * const * args, expr_ref & result);
|
|
||||||
br_status mk_difference(expr * arg1, expr * arg2, expr_ref & result);
|
|
||||||
br_status mk_subset(expr * arg1, expr * arg2, expr_ref & result);
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue