def
Lean.occursCheck
{m : Type → Type}
[Monad m]
[Lean.MonadMCtx m]
(mvarId : Lean.MVarId)
(e : Lean.Expr)
:
m Bool
Return true if e
does not contain mvarId
directly or indirectly
This function considers assignments and delayed assignments.
Instances For
partial def
Lean.occursCheck.visitMVar
{m : Type → Type}
[Monad m]
[Lean.MonadMCtx m]
(mvarId mvarId' : Lean.MVarId)
:
partial def
Lean.occursCheck.visit
{m : Type → Type}
[Monad m]
[Lean.MonadMCtx m]
(mvarId : Lean.MVarId)
(e : Lean.Expr)
: