Documentation

Mathlib.Tactic.ComputeAsymptotics.Multiseries.Trimming

Trimming of multiseries #

A multiseries is trimmed when its leading coefficient (the head of its expansion) is itself trimmed and non-zero. For a trimmed multiseries, the leading monomial captures the main asymptotic behavior of the approximated function.

Main definitions #

We also prove structural lemmas relating these predicates to seq and to the cons/nil constructors.

A multiseries is zero if it is the real constant 0 or has an empty sequence.

Instances For
    @[simp]
    theorem Tactic.ComputeAsymptotics.MultiseriesExpansion.IsZero.iff_seq_eq_nil {basis_hd : } {basis_tl : List ()} {ms : MultiseriesExpansion (basis_hd :: basis_tl)} :
    theorem Tactic.ComputeAsymptotics.MultiseriesExpansion.IsZero.not_cons {basis_hd : } {basis_tl : Basis} {exp : } {coef : MultiseriesExpansion basis_tl} {tl : Multiseries basis_hd basis_tl} {f : } :
    ¬(mk (Multiseries.cons exp coef tl) f).IsZero

    We call a multiseries Trimmed if it is either a constant, .nil, or cons (exp, coef) tl where coef is trimmed and is not zero. Intuitively, when a multiseries is trimmed, its leading monomial gives the main asymptotic behavior of the approximated function.

    Instances For
      def Tactic.ComputeAsymptotics.MultiseriesExpansion.Multiseries.Trimmed {basis_hd : } {basis_tl : Basis} (ms : Multiseries basis_hd basis_tl) :

      We call a Multiseries Trimmed if it is either .nil or cons (exp, coef) tl where coef is trimmed and is not zero.

      Equations
      Instances For
        theorem Tactic.ComputeAsymptotics.MultiseriesExpansion.Multiseries.Trimmed.cons {basis_hd : } {basis_tl : Basis} {exp : } {coef : MultiseriesExpansion basis_tl} {tl : Multiseries basis_hd basis_tl} (h_coef : coef.Trimmed) (h_ne_zero : ¬coef.IsZero) :
        theorem Tactic.ComputeAsymptotics.MultiseriesExpansion.Multiseries.Trimmed.elim_cons {basis_hd : } {basis_tl : Basis} {exp : } {coef : MultiseriesExpansion basis_tl} {tl : Multiseries basis_hd basis_tl} (h : (Multiseries.cons exp coef tl).Trimmed) :
        coef.Trimmed ¬coef.IsZero

        If cons (exp, coef) tl is trimmed, then coef is trimmed and is not zero.

        theorem Tactic.ComputeAsymptotics.MultiseriesExpansion.elim_cons {basis_hd : } {basis_tl : Basis} {exp : } {coef : MultiseriesExpansion basis_tl} {tl : Multiseries basis_hd basis_tl} {f : } (h : (mk (Multiseries.cons exp coef tl) f).Trimmed) :
        coef.Trimmed ¬coef.IsZero

        If cons (exp, coef) tl is trimmed, then coef is trimmed and is not zero.