Documentation

ISAR.Holonomic

Holonomic (D-finite) certificates #

Lean counterpart of the Python kernel in scratch/isar_holonomic_closure_algebra.py.

Polynomial-coefficient linear ODE certificate of order order.

Instances For
    noncomputable def ISAR.HolonomicCertificate.residual (c : HolonomicCertificate) (f : ) (x : ) :

    Pointwise residual of a certificate against a function.

    Equations
    Instances For

      f satisfies the holonomic ODE encoded by c.

      Equations
      Instances For
        def ISAR.IsHolonomic (f : ) :

        f admits some holonomic certificate.

        Equations
        Instances For
          theorem ISAR.cert_sound (c : HolonomicCertificate) (f : ) (h : ∀ (x : ), c.residual f x = 0) :

          Build an order-1 certificate p₀ · f + p₁ · f' = 0 with p₁ ≠ 0.

          Equations
          Instances For

            Build an order-2 certificate with leading p2 ≠ 0.

            Equations
            Instances For
              theorem ISAR.orderOneCert_residual (p0 p1 : Polynomial ) (hp1 : p1 0) (f : ) (x : ) :
              (orderOneCert p0 p1 hp1).residual f x = Polynomial.eval x p0 * f x + Polynomial.eval x p1 * deriv f x
              theorem ISAR.orderTwoCert_residual (p0 p1 p2 : Polynomial ) (hp2 : p2 0) (f : ) (x : ) :
              (orderTwoCert p0 p1 p2 hp2).residual f x = Polynomial.eval x p0 * f x + Polynomial.eval x p1 * deriv f x + Polynomial.eval x p2 * iteratedDeriv 2 f x

              Prepend a zero coefficient (integral-closure construction).

              Equations
              Instances For