def
Lean.mustOccursCheck
{m : Type → Type}
[Monad m]
[MonadMCtx m]
[MonadLCtx m]
(mvarId : MVarId)
(e : Expr)
:
m Bool
Return true if e
must contain mvarId
as a subterm directly or
indirectly after further mvar instantiation and β-reduction
This function considers assigments and delayed assignments.
Equations
- One or more equations did not get rendered due to their size.