def
Lean.Elab.withCommonTelescope
{α : Type}
(preDefs : Array Lean.Elab.PreDefinition)
(k : Array Lean.Expr → Array Lean.Expr → Lean.Elab.TermElabM α)
:
Equations
- Lean.Elab.withCommonTelescope preDefs k = Lean.Elab.withCommonTelescope.go k #[] (Array.map (fun (x : Lean.Elab.PreDefinition) => x.value) preDefs)
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Collect the names of the varying variables (after the fixed prefix); this also determines the
arity for the well-founded translations, and is turned into an ArgsPacker
.
We use the term to determine the arity, but take the name from the type, for better names in the
fun : (n : Nat) → Nat | 0 => 0 | n+1 => fun n
idiom.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.