Documentation

Lean.Meta.KExprMap

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

A mapping that indentifies 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

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

    Instances For

      Insert e ↦ v into m

      Instances For