Documentation

Expdb.Basic.Asymptotics

Project-specific asymptotic notation #

This module formalizes the infinitesimal equality and comparison relations and the underspill principle from Chapter 2 of the ANTEDB blueprint. The notations X =o Y and X ≤o Y are available after open scoped Expdb.

The blueprint also uses non-standard objects indexed by an ambient natural-number parameter. These are represented by VariableObject. Their asymptotic properties are encoded in the VariableObject namespace.

Variable functions whose domain type may depend on the ambient parameter are represented by VariableFunction. Their pointwise asymptotic properties are encoded in the VariableFunction namespace.

@[reducible, inline]
abbrev Expdb.VariableObject (α : Type u) :

A family indexed by the ambient natural-number parameter.

Equations
Instances For
    @[reducible, inline]
    abbrev Expdb.VariableFunction (domain : VariableObject (Type u)) (codomain : Type v) :
    Type (max u v)

    A family of functions whose domain may depend on the ambient natural-number parameter.

    Equations
    Instances For
      @[reducible, inline]
      abbrev Expdb.VariableObject.fixed {α : Type u} (x : α) :

      The constant variable object with value x.

      Equations
      Instances For

        A variable object whose norm is eventually bounded by a fixed constant.

        Equations
        Instances For

          A variable object whose norm tends to infinity.

          Equations
          Instances For

            A variable object is unbounded iff its norm eventually exceeds every fixed threshold.

            A variable object whose norm tends to zero.

            Equations
            Instances For

              A variable object is infinitesimal iff its norm is eventually below every positive tolerance.

              A variable function that is bounded along every variable choice. The choice may vary with the ambient index; it is not a fixed point of the domain.

              Equations
              Instances For

                A variable function that is infinitesimal along every variable choice. The choice may vary with the ambient index; it is not a fixed point of the domain.

                Equations
                Instances For

                  The relation X = Y + o(1), meaning that X - Y is infinitesimal.

                  Equations
                  Instances For

                    The relation X ≤ Y + o(1), meaning that the positive part of X - Y is infinitesimal.

                    Equations
                    Instances For

                      X =o Y denotes X = Y + o(1), not the little-o relation X = o(Y).

                      Equations
                      Instances For

                        X ≤o Y denotes X ≤ Y + o(1).

                        Equations
                        Instances For

                          The relation =o is reflexive.

                          The relation =o is transitive.

                          The relation =o is preserved by negation.

                          theorem Expdb.IsEqUpToInfinitesimal.add {E : Type u} [SeminormedAddCommGroup E] {X₁ X₂ Y₁ Y₂ : VariableObject E} (h₁ : IsEqUpToInfinitesimal X₁ Y₁) (h₂ : IsEqUpToInfinitesimal X₂ Y₂) :
                          IsEqUpToInfinitesimal (X₁ + X₂) (Y₁ + Y₂)

                          The relation =o is preserved by addition.

                          theorem Expdb.IsEqUpToInfinitesimal.sub {E : Type u} [SeminormedAddCommGroup E] {X₁ X₂ Y₁ Y₂ : VariableObject E} (h₁ : IsEqUpToInfinitesimal X₁ Y₁) (h₂ : IsEqUpToInfinitesimal X₂ Y₂) :
                          IsEqUpToInfinitesimal (X₁ - X₂) (Y₁ - Y₂)

                          The relation =o is preserved by subtraction.

                          The relation =o is preserved by multiplication by a fixed scalar.

                          X =o Y iff X and Y are eventually within every positive tolerance.

                          X ≤o Y iff X i ≤ Y i + δ eventually for every δ > 0.

                          For real variable objects, X =o Y iff X ≤o Y and Y ≤o X.

                          theorem Expdb.underspill (X Y : VariableObject ) :
                          IsLEUpToInfinitesimal X Y ε > 0, IsLEUpToInfinitesimal X fun (i : ) => Y i + ε

                          Underspill principle. The relation X ≤ Y + o(1) holds if and only if X ≤ Y + ε + o(1) for every fixed ε > 0.