Documentation

Mathlib.Tactic.ClearExcept

The clear* tactic #

This file provides a variant of the clear tactic, which clears all hypotheses it can besides a provided list.

Returns the free variable IDs that can be cleared, excluding those in the preserve list and class instances.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    Clears all hypotheses from a goal except those in the preserve list.

    Equations
    Instances For

      Clears all hypotheses it can, except those provided after a minus sign. Example:

        clear * - h₁ h₂
      
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For