- failed : IntrosResult
- goal (newDecls : Array FVarId) (mvarId : MVarId) : IntrosResult
Instances For
Introduces leading binders (universal quantifiers and let-expressions) from the goal's target type.
If names is non-empty, introduces (at most) names.size binders using the provided names.
If names is empty, introduces all leading binders using inaccessible names.
Returns .goal newDecls mvarId with new introduced free variable Ids and the updated goal.
Returns .failed if no new declaration was introduced.