@[specialize #[]]
Instantiate level parameters
Equations
Instances For
Instantiate universe level parameters names paramNames
with lvls
in e
.
If the two lists have different length, the smallest one is used.
Equations
- e.instantiateLevelParams paramNames lvls = if (paramNames.isEmpty || lvls.isEmpty) = true then e else Lean.Expr.instantiateLevelParamsCore (Lean.Expr.getParamSubst✝ paramNames lvls) e
Instances For
def
Lean.Expr.instantiateLevelParamsNoCache
(e : Expr)
(paramNames : List Name)
(lvls : List Level)
:
Instantiate universe level parameters names paramNames
with lvls
in e
.
If the two lists have different length, the smallest one is used.
(Does not preserve expression sharing.)
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lean.Expr.instantiateLevelParamsArray
(e : Expr)
(paramNames : Array Name)
(lvls : Array Level)
:
Instantiate universe level parameters names paramNames
with lvls
in e
.
If the two arrays have different length, the smallest one is used.
Equations
- One or more equations did not get rendered due to their size.