mirror of
https://github.com/Z3Prover/z3
synced 2025-10-08 00:41:56 +00:00
Refactor finite_set_decl_plugin to use polymorphism_util
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
5135fd3408
commit
0362f0a7a6
2 changed files with 8 additions and 58 deletions
|
@ -65,12 +65,9 @@ class finite_set_decl_plugin : public decl_plugin {
|
|||
};
|
||||
|
||||
ptr_vector<psig> m_sigs;
|
||||
ptr_vector<sort> m_binding;
|
||||
bool m_init;
|
||||
|
||||
void init();
|
||||
bool is_sort_param(sort* s, unsigned& idx);
|
||||
bool match(ptr_vector<sort>& binding, sort* s, sort* sP);
|
||||
void match(psig& sig, unsigned dsz, sort *const* dom, sort* range, sort_ref& range_out);
|
||||
func_decl * mk_empty(sort* element_sort);
|
||||
func_decl * mk_finite_set_op(decl_kind k, unsigned arity, sort * const * domain, sort* range);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue