# 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
Equations
• Lean.Meta.instInhabitedKExprMap = { default := { map := default } }

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

Equations
• One or more equations did not get rendered due to their size.
def Lean.Meta.KExprMap.insert {α : Type} (m : ) (e : Lean.Expr) (v : α) :

Insert e ↦ v↦ v into m

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