Documentation

Lean.Util.FindExpr

Equations
  • One or more equations did not get rendered due to their size.
Equations
  • One or more equations did not get rendered due to their size.
@[implementedBy Lean.Expr.FindImpl.findUnsafe?]

Return true if e occurs in t

Equations
inductive Lean.Expr.FindStep:
Type

Return type for findExt? function argument.

Equations
  • One or more equations did not get rendered due to their size.
Equations
  • One or more equations did not get rendered due to their size.
@[implementedBy Lean.Expr.FindExtImpl.findUnsafe?]

Similar to find?, but p can return FindStep.done to interrupt the search on subterms. Remark: Differently from find?, we do not invoke p for partial applications of an application.