From 8b4c45340a74a8e2419667d403cd1fde9c7664fd Mon Sep 17 00:00:00 2001 From: Haniel Barbosa Date: Fri, 12 Mar 2021 15:03:41 -0300 Subject: [PATCH] [proof-new] Fix arity check when building equality engine proofs (#6133) Broken in dc679ed. --- src/theory/uf/equality_engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/theory/uf/equality_engine.cpp b/src/theory/uf/equality_engine.cpp index 1c5419977..8b44cc4d9 100644 --- a/src/theory/uf/equality_engine.cpp +++ b/src/theory/uf/equality_engine.cpp @@ -1076,7 +1076,7 @@ void EqualityEngine::buildEqConclusion(EqualityNodeId id1, << id2 << "} " << d_nodes[id2] << "\n"; // if has at least as many children as the minimal // number of children of the n-ary kind, build the node - if (numChildren >= kind::metakind::getMaxArityForKind(k1)) + if (numChildren >= kind::metakind::getMinArityForKind(k1)) { std::vector children; for (unsigned j = 0; j < numChildren; ++j) -- 2.30.2