fix(library/tactic/rewrite_tactic): remove incorrect assertion

This commit is contained in:
Leonardo de Moura 2015-07-13 19:19:12 -04:00
parent 267545ca0c
commit c2edc330ef

View file

@ -629,7 +629,6 @@ class rewrite_fn {
};
optional<expr> reduce(expr const & e, list<name> const & to_unfold, optional<occurrence> const & occs, bool force_unfold) {
lean_assert(is_nil(to_unfold) == !occs);
constraint_seq cs;
bool unfolded = !to_unfold;
bool use_eta = true;