3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-31 11:42:28 +00:00

Fixed tests by making methods public for finite sets (#7977)

This commit is contained in:
kper 2025-10-15 14:03:00 +02:00 committed by GitHub
parent f674d22ec8
commit b24aec3c4c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,12 +34,7 @@ where the signature is defined in finite_set_decl_plugin.h.
*/
class finite_set_rewriter {
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()):
m_util(m) {
}
@ -50,5 +45,11 @@ public:
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);
};