def
Lean.Meta.introNCore
(mvarId : Lean.MVarId)
(n : Nat)
(givenNames : List Lean.Name)
(useNamesForExplicitOnly : Bool)
(preserveBinderNames : Bool)
:
Equations
- One or more equations did not get rendered due to their size.
@[inline]
abbrev
Lean.Meta.introN
(mvarId : Lean.MVarId)
(n : Nat)
(givenNames : optParam (List Lean.Name) [])
(useNamesForExplicitOnly : optParam Bool false)
:
Equations
- Lean.Meta.introN mvarId n givenNames useNamesForExplicitOnly = Lean.Meta.introNCore mvarId n givenNames useNamesForExplicitOnly false
@[inline]
Equations
- Lean.Meta.introNP mvarId n = Lean.Meta.introNCore mvarId n [] false true
Equations
- Lean.Meta.intro mvarId name = do let discr ← Lean.Meta.introN mvarId 1 [name] false match discr with | (fvarIds, mvarId) => pure (Array.getOp fvarIds 0, mvarId)
Equations
- One or more equations did not get rendered due to their size.
@[inline]
Equations
- Lean.Meta.intro1 mvarId = Lean.Meta.intro1Core mvarId false
@[inline]
Equations
- Lean.Meta.intro1P mvarId = Lean.Meta.intro1Core mvarId true
Equations
- One or more equations did not get rendered due to their size.