Documentation

Mathlib.Tactic.ComputeAsymptotics.Multiseries.Monomial.Predicates

Predicates on monomials #

In this file we define UnitMonomial: type to represent monomials without coefficient as a list of its exponents. [e₁, e₂, ..., eₙ] corresponds to basis[0] ^ e₁ * ... * basis[n] ^ eₙ where basis is the basis of functions.

Then we define some predicates for these lists:

  1. FirstNonzeroIsPos li means that the first non-zero element of the list li is positive.
  2. FirstNonzeroIsNeg li means that the first non-zero element of the list li is negative.
  3. AllZero li means that all elements in li are zero.

This trichotomy determines the asymptotic behaviour of a monomial: FirstNonzeroIsPos means it tends to infinity, FirstNonzeroIsNeg means it tends to zero and AllZero means it tends to a constant.

@[reducible, inline]

Unit monomial, represented as a list of its exponents. [e₁, e₂, ..., eₙ] corresponds to basis[0] ^ e₁ * ... * basis[n] ^ eₙ where basis is the basis of functions.

Equations
Instances For

    Type representing a sign of the first non-zero exponent, returned by sign.

    Instances For

      Sign of the first non-zero exponent of a unit monomial.

      Equations
      Instances For

        Predicate stating that the first non-zero exponent is positive.

        Equations
        Instances For

          Predicate stating that the first non-zero exponent is negative.

          Equations
          Instances For

            Predicate stating that all exponents are zero.

            Equations
            Instances For
              theorem Tactic.ComputeAsymptotics.UnitMonomial.AllZero.of_tail {hd : } {tl : UnitMonomial} (h_hd : hd = 0) (h_tl : tl.AllZero) :
              AllZero (hd :: tl)