Documentation

Lean.Meta.KExprMap

structure Lean.Meta.KExprMap (α : Type) :

A mapping that identifies definitionally equal expressions. We implement it as a mapping from HeadIndex to AssocList Expr α.

Remark: this map may be quite inefficient if there are many HeadIndex collisions.

Instances For
    Equations
    • Lean.Meta.instInhabitedKExprMap = { default := { map := default } }

    Return some v if there is an entry e ↦ v in m.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      Insert e ↦ v into m

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For