fix(library/blast/intros): corner case
This commit is contained in:
parent
6c038626f8
commit
33036befc6
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,8 @@ struct intros_proof_step_cell : public proof_step_cell {
|
||||||
};
|
};
|
||||||
|
|
||||||
bool intros_action(unsigned max) {
|
bool intros_action(unsigned max) {
|
||||||
|
if (max == 0)
|
||||||
|
return true;
|
||||||
state & s = curr_state();
|
state & s = curr_state();
|
||||||
expr target = whnf(s.get_target());
|
expr target = whnf(s.get_target());
|
||||||
if (!is_pi(target))
|
if (!is_pi(target))
|
||||||
|
|
Loading…
Reference in a new issue