3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-27 02:45:51 +00:00

support for logging congruence closure equality explanations when commutativity is used

This commit is contained in:
nilsbecker 2018-12-03 13:50:48 +01:00
parent b57a483a6c
commit 988e8afc2e

View file

@ -172,7 +172,12 @@ namespace smt {
break;
} 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;
}
case smt::eq_justification::kind::JUSTIFICATION: