fix(library/app_builder): bug in eq_drec
This commit is contained in:
parent
34d5882b9a
commit
2d04156959
1 changed files with 1 additions and 1 deletions
|
@ -440,7 +440,7 @@ struct app_builder::imp {
|
|||
return none_expr();
|
||||
expr A = m_ctx->infer(lhs);
|
||||
auto A_lvl = get_level(A);
|
||||
expr mtype = m_ctx->whnf(m_ctx->infer(H1));
|
||||
expr mtype = m_ctx->whnf(m_ctx->infer(motive));
|
||||
if (!is_pi(mtype) || !is_pi(binding_body(mtype)) || !is_sort(binding_body(binding_body(mtype))))
|
||||
return none_expr();
|
||||
level l_1 = sort_level(binding_body(binding_body(mtype)));
|
||||
|
|
Loading…
Reference in a new issue