Documentation

Lean.Util.HasConstCache

structure Lean.HasConstCache (declName : Lean.Name) :
Type
Equations
  • One or more equations did not get rendered due to their size.
Equations
@[implementedBy Lean.HasConstCache.containsUnsafe]

Return true iff e contains the constant declName. Remark: the results for visited expressions are stored in the state cache.