fix(frontends/lean/rewrite_tactic): incorrect assertion
This commit is contained in:
parent
e17ba27596
commit
264cedb3a6
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ rewrite_info const & get_rewrite_info(expr const & e) {
|
||||||
|
|
||||||
expr mk_rewrite_tactic_expr(buffer<expr> const & elems) {
|
expr mk_rewrite_tactic_expr(buffer<expr> const & elems) {
|
||||||
lean_assert(std::all_of(elems.begin(), elems.end(), [](expr const & e) {
|
lean_assert(std::all_of(elems.begin(), elems.end(), [](expr const & e) {
|
||||||
return is_rewrite_step(e) || is_rewrite_unfold_step(e);
|
return is_rewrite_step(e) || is_rewrite_unfold_step(e) || is_rewrite_reduce_step(e);
|
||||||
}));
|
}));
|
||||||
return mk_app(*g_rewrite_tac, mk_expr_list(elems.size(), elems.data()));
|
return mk_app(*g_rewrite_tac, mk_expr_list(elems.size(), elems.data()));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue