@[inline, reducible]
Auxiliary tactic for cleaning the local context. It removes local declarations (aka hypotheses) that are not relevant.
We say a variable x is "relevant" if
- It occurs in the target type, or
- There is a relevant variable
ythat depends onx, or - The type of
xis a proposition and it depends on a relevant variabley.
Equations
- Lean.MVarId.cleanup mvarId = Lean.Meta.cleanupCore mvarId
Instances For
@[inline, reducible, deprecated Lean.MVarId.cleanup]
Equations
- Lean.Meta.cleanup mvarId = Lean.MVarId.cleanup mvarId