Documentation

BSeries.Numerics.Enumeration

Enumeration of trees by order and existence of high-order methods #

We enumerate the planar trees and forests of each order, deduce that the rooted trees of order at most p form a finite set, and combine this with the density theorem 317A to obtain Butcher's existence theorem: for every p there is a Runge–Kutta method of order p (Butcher, Numerical Methods for ODEs, Subsection 324 via Theorem 317A).

@[irreducible]

All planar forests of total order exactly m.

Equations
Instances For

    Completeness of the tree enumeration.

    The finite set of rooted trees of order at most p.

    Equations
    Instances For
      theorem BSeries.RungeKutta.exists_rk_hasOrder (R : Type u_1) [Field R] [CharZero R] (p : ) :
      ∃ (ι : Type) (x : Fintype ι) (rk : RungeKutta ι R), rk.HasOrder p

      Existence of Runge–Kutta methods of arbitrary order (Butcher, Numerical Methods for ODEs, Subsection 324, via Theorem 317A): for every p there is a Runge–Kutta method of order p.