Documentation

Lean.Util.OccursCheck

def Lean.occursCheck {m : TypeType} [Monad m] [MonadMCtx m] (mvarId : MVarId) (e : Expr) :

Return true if e does not contain mvarId directly or indirectly This function considers assignments and delayed assignments.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    partial def Lean.occursCheck.visitMVar {m : TypeType} [Monad m] [MonadMCtx m] (mvarId mvarId' : MVarId) :
    partial def Lean.occursCheck.visit {m : TypeType} [Monad m] [MonadMCtx m] (mvarId : MVarId) (e : Expr) :