Documentation

Lean.Meta.Tactic.Cleanup

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 y that depends on x, or
  • The type of x is a proposition and it depends on a relevant variable y.
Equations
  • One or more equations did not get rendered due to their size.
Equations
  • One or more equations did not get rendered due to their size.
Equations
  • One or more equations did not get rendered due to their size.