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 trees of order exactly n.
Equations
Instances For
@[irreducible]
All planar forests of total order exactly m.
Equations
Instances For
Completeness of the tree enumeration.
Completeness of the forest enumeration.
The finite set of rooted trees of order at most p.
Equations
- BSeries.RootedTree.treesUpToOrder p = (Finset.range (p + 1)).biUnion fun (n : ℕ) => (List.map HopfAlgebras.RootedTree.ofPTree (BSeries.PTree.treesOfOrder n)).toFinset
Instances For
theorem
BSeries.RootedTree.mem_treesUpToOrder
{p : ℕ}
{τ : HopfAlgebras.RootedTree}
(h : τ.order ≤ p)
:
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.