fix(library/tactic/rewrite_tactic): remove incorrect assertion
This commit is contained in:
parent
267545ca0c
commit
c2edc330ef
1 changed files with 0 additions and 1 deletions
|
@ -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) {
|
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;
|
constraint_seq cs;
|
||||||
bool unfolded = !to_unfold;
|
bool unfolded = !to_unfold;
|
||||||
bool use_eta = true;
|
bool use_eta = true;
|
||||||
|
|
Loading…
Reference in a new issue