mirror of
https://github.com/Z3Prover/z3
synced 2025-07-19 02:42:02 +00:00
support for logging congruence closure equality explanations when commutativity is used
This commit is contained in:
parent
b57a483a6c
commit
988e8afc2e
1 changed files with 6 additions and 1 deletions
|
@ -172,7 +172,12 @@ namespace smt {
|
||||||
|
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
out << "[eq-expl] #" << en->get_owner_id() << " nyi ; #" << target->get_owner_id() << "\n";
|
|
||||||
|
// The e-graph only supports commutativity for binary functions
|
||||||
|
out << "[eq-expl] #" << en->get_owner_id()
|
||||||
|
<< " cg (#" << en->get_arg(0)->get_owner_id() << " #" << target->get_arg(1)->get_owner_id()
|
||||||
|
<< ") (#" << en->get_arg(1)->get_owner_id() << " #" << target->get_arg(0)->get_owner_id()
|
||||||
|
<< ") ; #" << target->get_owner_id() << "\n";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case smt::eq_justification::kind::JUSTIFICATION:
|
case smt::eq_justification::kind::JUSTIFICATION:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue