19 if(lhs_root != rhs_root)
20 map[lhs_root] = rhs_root;
48 std::vector<std::pair<exprt, exprt>> equations;
49 for(
const auto &pair :
map)
50 equations.emplace_back(pair.first,
find(pair.second));
Base class for all expressions.
exprt find(exprt expr) const
std::vector< std::pair< exprt, exprt > > to_vector() const
exprt make_union(const exprt &a, const exprt &b)
Merge the set containing a and the set containing b.
bool replace_expr(exprt &expr) const
Replace subexpressions of expr by the representative element of the set they belong to.