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.

Instances For

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

    Instances For

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

        clear * - h₁ h₂
      
      Instances For