inline std::ostream& operator<<(std::ostream& os, const IntAnd& ia);
inline std::ostream& operator<<(std::ostream& os, const IntAnd& ia)
{
- return os << "[" << ia.d_size << "]";
+ return os << "(_ iand " << ia.d_size << ")";
}
} // namespace cvc5
arr = d_nodeManager->mkNode(STORE, storeAll, zero, one);
ASSERT_TRUE(arr.isConst());
Node arr2 = d_nodeManager->mkNode(STORE, arr, one, zero);
- ASSERT_FALSE(arr2.isConst());
arr2 = Rewriter::rewrite(arr2);
ASSERT_TRUE(arr2.isConst());
arr2 = d_nodeManager->mkNode(STORE, arr, one, one);
+ arr2 = Rewriter::rewrite(arr2);
ASSERT_TRUE(arr2.isConst());
arr2 = d_nodeManager->mkNode(STORE, arr, zero, one);
- ASSERT_FALSE(arr2.isConst());
arr2 = Rewriter::rewrite(arr2);
ASSERT_TRUE(arr2.isConst());