Documentation

Lean.Compiler.Util

@[inline]
Equations
@[inline]
Equations
  • One or more equations did not get rendered due to their size.
@[export lean_at_most_once]

Return true iff the free variable with id x occurs at most once in e

Equations
@[export lean_mk_eager_lambda_lifting_name]
Equations
@[export lean_is_eager_lambda_lifting_name]
Equations
  • One or more equations did not get rendered due to their size.
@[export lean_mk_unsafe_rec_name]

We generate auxiliary unsafe definitions for regular recursive definitions. The auxiliary unsafe definition has a clear runtime cost execution model. This function returns the auxiliary unsafe definition name for the given name.

Equations
@[export lean_is_unsafe_rec_name]

Return some _ if the given name was created using mkUnsafeRecName

Equations