Equations
- Lean.Meta.Match.instReprMatchEqns = { reprPrec := Lean.Meta.Match.reprMatchEqnsâ }
- eqns : Lean.PHashSet Lean.Name
Instances For
def
Lean.Meta.Match.registerMatchEqns
(matchDeclName : Lean.Name)
(matchEqns : Lean.Meta.Match.MatchEqns)
:
Instances For
@[extern lean_get_match_equations_for]
Returns true
if declName
is the name of a match
equational theorem.
Equations
- Lean.Meta.Match.isMatchEqnTheorem env declName = Lean.PersistentHashSet.contains (Lean.Meta.Match.matchEqnsExt.getState env).eqns declName