HepLean Documentation

Mathlib.Tactic.Bound.Attribute

The bound attribute #

Any lemma tagged with @[bound] is registered as an apply rule for the bound tactic, by converting it to either norm apply or safe apply <priority>. The classification is based on the number and types of the lemma's hypotheses.

def Mathlib.Tactic.Bound.isZero {u : Lean.Level} {α : Q(Type u)} (e : Q(«$α»)) :

Check if an expression is zero

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    def Mathlib.Tactic.Bound.ineqPriority {u : Lean.Level} {α : Q(Type u)} (a : Q(«$α»)) (b : Q(«$α»)) :

    Map the arguments of an inequality expression to a score

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

      Map a hypothesis type to a score

      Map a type to a score

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

        Insist that our conclusion is an inequality

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

          Map a theorem decl to a score (0 means norm apply, 0 < means safe apply)

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

            Map a score to either norm apply or safe apply <priority>

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

              Attribute for forward rules for the bound tactic.

              @[bound_forward] lemmas should produce inequalities given other hypotheses that might be in the context. A typical example is exposing an inequality field of a structure, such as HasPowerSeriesOnBall.r_pos.

              Equations
              Instances For