- name : Lake.Name
- motivePos : Nat
- altsInfo : Array Lean.Meta.ElimAltInfo
Instances For
def
Lean.Meta.getElimInfo
(declName : Lake.Name)
(baseDeclName? : optParam (Option Lake.Name) none)
:
Instances For
Eliminators/recursors may have implicit targets. For builtin recursors, all indices are implicit targets. Given an eliminator and the sequence of explicit targets, this methods returns a new sequence containing implicit and explicit targets.
Instances For
partial def
Lean.Meta.addImplicitTargets.collect
(elimInfo : Lean.Meta.ElimInfo)
(targets : Array Lean.Expr)
(type : Lean.Expr)
(argIdx : Nat)
(targetIdx : Nat)
(targets' : Array Lean.Expr)
:
- elimInfo : Lean.Meta.ElimInfo
Instances For
- map : Lean.SMap (Array Lake.Name) Lean.Meta.ElimInfo
Instances For
def
Lean.Meta.addCustomEliminatorEntry
(es : Lean.Meta.CustomEliminators)
(e : Lean.Meta.CustomEliminator)
: