mirror of
https://github.com/Z3Prover/z3
synced 2025-08-23 03:27:52 +00:00
euf_completion with AC: add first cut of AC matching for top-level, add plugins and fix shared expression rewriting in ac-plugin
This commit is contained in:
parent
bc312768c8
commit
b2f01706be
8 changed files with 139 additions and 26 deletions
|
@ -33,10 +33,13 @@ namespace euf {
|
|||
}
|
||||
|
||||
void arith_plugin::register_node(enode* n) {
|
||||
// no-op
|
||||
TRACE(plugin, tout << g.bpp(n) << "\n");
|
||||
m_add.register_node(n);
|
||||
m_mul.register_node(n);
|
||||
}
|
||||
|
||||
void arith_plugin::merge_eh(enode* n1, enode* n2) {
|
||||
TRACE(plugin, tout << g.bpp(n1) << " == " << g.bpp(n2) << "\n");
|
||||
m_add.merge_eh(n1, n2);
|
||||
m_mul.merge_eh(n1, n2);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue