fix(library/tactic/rewrite_tactic): incorrect assertion
This commit is contained in:
parent
0ceedbe69e
commit
c07d14e94a
1 changed files with 2 additions and 3 deletions
|
@ -390,10 +390,9 @@ bool check_tactic_elems(buffer<expr> const & elems) {
|
|||
if (std::all_of(elems.begin(), elems.end(), [](expr const & e) {
|
||||
return is_rewrite_step(e) || is_rewrite_unfold_step(e) ||
|
||||
is_rewrite_reduce_step(e) || is_rewrite_fold_step(e); })) {
|
||||
lean_unreachable();
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
lean_unreachable();
|
||||
}
|
||||
|
||||
expr mk_rewrite_tactic_expr(buffer<expr> const & elems) {
|
||||
|
|
Loading…
Reference in a new issue