Documentation

BSeries.Numerics.LabelledRungeKutta

Labelled Runge-Kutta B-series #

This file defines labelled elementary weights for additive, or coloured, Runge-Kutta tableaus. The coefficients of a node are selected by its label.

Main definitions #

structure BSeries.LabelledRungeKutta (α : Type u) (ι : Type v) (R : Type w) :
Type (max (max u v) w)

A labelled Runge-Kutta tableau with stage type ι, labels α, and coefficients in R.

  • A : αιιR
  • b : αιR
Instances For
    def BSeries.LabelledRungeKutta.comapMapLabels {α : Type u} {ι : Type v} {R : Type w} {β : Type x} (f : αβ) (rk : LabelledRungeKutta β ι R) :

    Pull a labelled Runge-Kutta tableau back along a relabelling map.

    Equations
    Instances For
      def BSeries.LabelledRungeKutta.comapConstLabel {α : Type u} {ι : Type v} {R : Type w} (a : α) (rk : LabelledRungeKutta α ι R) :

      Restrict a labelled Runge-Kutta tableau to one constant label.

      Equations
      Instances For
        @[simp]
        theorem BSeries.LabelledRungeKutta.comapMapLabels_A {α : Type u} {ι : Type v} {R : Type w} {β : Type x} (f : αβ) (rk : LabelledRungeKutta β ι R) (a : α) (i j : ι) :
        (comapMapLabels f rk).A a i j = rk.A (f a) i j
        @[simp]
        theorem BSeries.LabelledRungeKutta.comapMapLabels_b {α : Type u} {ι : Type v} {R : Type w} {β : Type x} (f : αβ) (rk : LabelledRungeKutta β ι R) (a : α) (i : ι) :
        (comapMapLabels f rk).b a i = rk.b (f a) i
        @[simp]
        theorem BSeries.LabelledRungeKutta.comapConstLabel_A {α : Type u} {ι : Type v} {R : Type w} (a : α) (rk : LabelledRungeKutta α ι R) (i j : ι) :
        (comapConstLabel a rk).A i j = rk.A a i j
        @[simp]
        theorem BSeries.LabelledRungeKutta.comapConstLabel_b {α : Type u} {ι : Type v} {R : Type w} (a : α) (rk : LabelledRungeKutta α ι R) (i : ι) :
        (comapConstLabel a rk).b i = rk.b a i
        def BSeries.LabelledRungeKutta.abscissa {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] (rk : LabelledRungeKutta α ι R) (a : α) (i : ι) :
        R

        Label-dependent row sum cᵢᵃ = ∑ⱼ Aᵃᵢⱼ.

        Equations
        Instances For
          @[simp]
          theorem BSeries.LabelledRungeKutta.abscissa_comapMapLabels {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {β : Type x} (f : αβ) (rk : LabelledRungeKutta β ι R) (a : α) (i : ι) :
          (comapMapLabels f rk).abscissa a i = rk.abscissa (f a) i
          @[simp]
          theorem BSeries.LabelledRungeKutta.abscissa_comapConstLabel {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] (a : α) (rk : LabelledRungeKutta α ι R) (i : ι) :
          def BSeries.LabelledRungeKutta.stageWeight {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] (rk : LabelledRungeKutta α ι R) :
          HopfAlgebras.PLTree αιR

          Recursive stage weight of a planar labelled tree.

          Equations
          Instances For
            def BSeries.LabelledRungeKutta.stageWeightList {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] (rk : LabelledRungeKutta α ι R) :
            List (HopfAlgebras.PLTree α)ιR

            Product of child contributions in the recursive labelled stage weight.

            Equations
            Instances For
              @[simp]
              theorem BSeries.LabelledRungeKutta.stageWeight_node {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] (rk : LabelledRungeKutta α ι R) (a : α) (ts : List (HopfAlgebras.PLTree α)) (i : ι) :
              @[simp]
              theorem BSeries.LabelledRungeKutta.stageWeightList_nil {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] (rk : LabelledRungeKutta α ι R) (i : ι) :
              @[simp]
              theorem BSeries.LabelledRungeKutta.stageWeightList_cons {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] (rk : LabelledRungeKutta α ι R) (t : HopfAlgebras.PLTree α) (ts : List (HopfAlgebras.PLTree α)) (i : ι) :
              rk.stageWeightList (t :: ts) i = (∑ j : ι, rk.A t.rootLabel i j * rk.stageWeight t j) * rk.stageWeightList ts i
              @[simp]
              theorem BSeries.LabelledRungeKutta.stageWeight_singleton {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] (rk : LabelledRungeKutta α ι R) (a : α) (i : ι) :
              @[simp]
              theorem BSeries.LabelledRungeKutta.stageWeightList_singleton {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] (rk : LabelledRungeKutta α ι R) (a : α) (i : ι) :
              @[simp]
              theorem BSeries.LabelledRungeKutta.stageWeightList_append {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] (rk : LabelledRungeKutta α ι R) (ts us : List (HopfAlgebras.PLTree α)) (i : ι) :
              rk.stageWeightList (ts ++ us) i = rk.stageWeightList ts i * rk.stageWeightList us i
              theorem BSeries.LabelledRungeKutta.stageWeightList_perm {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] (rk : LabelledRungeKutta α ι R) (i : ι) {ts us : List (HopfAlgebras.PLTree α)} (h : ts.Perm us) :
              theorem BSeries.LabelledRungeKutta.stageWeight_comapMapLabels {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {β : Type x} (f : αβ) (rk : LabelledRungeKutta β ι R) (t : HopfAlgebras.PLTree α) (i : ι) :
              theorem BSeries.LabelledRungeKutta.stageWeightList_comapMapLabels {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {β : Type x} (f : αβ) (rk : LabelledRungeKutta β ι R) (ts : List (HopfAlgebras.PLTree α)) (i : ι) :
              theorem BSeries.LabelledRungeKutta.stageWeight_perm {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] (rk : LabelledRungeKutta α ι R) (i : ι) {t u : HopfAlgebras.PLTree α} :
              t.Perm urk.stageWeight t i = rk.stageWeight u i

              Stage weights are invariant under the labelled non-planar tree relation.

              Stage-weight products are invariant under elementwise equivalent child lists.

              def BSeries.LabelledRungeKutta.weight {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] (rk : LabelledRungeKutta α ι R) :

              Elementary weight of a planar labelled rooted tree.

              Equations
              Instances For
                theorem BSeries.LabelledRungeKutta.weight_perm {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] (rk : LabelledRungeKutta α ι R) {t u : HopfAlgebras.PLTree α} :
                t.Perm urk.weight t = rk.weight u

                Elementary weights are invariant under the labelled non-planar tree relation.

                def BSeries.LabelledRungeKutta.weightList {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] (rk : LabelledRungeKutta α ι R) (ts : List (HopfAlgebras.PLTree α)) :
                R

                Multiplicative extension of labelled elementary weights to planar forests.

                Equations
                Instances For
                  @[simp]
                  theorem BSeries.LabelledRungeKutta.weightList_nil {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] (rk : LabelledRungeKutta α ι R) :
                  @[simp]
                  theorem BSeries.LabelledRungeKutta.weightList_cons {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] (rk : LabelledRungeKutta α ι R) (t : HopfAlgebras.PLTree α) (ts : List (HopfAlgebras.PLTree α)) :
                  rk.weightList (t :: ts) = rk.weight t * rk.weightList ts
                  @[simp]
                  theorem BSeries.LabelledRungeKutta.weightList_append {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] (rk : LabelledRungeKutta α ι R) (ts us : List (HopfAlgebras.PLTree α)) :
                  rk.weightList (ts ++ us) = rk.weightList ts * rk.weightList us
                  theorem BSeries.LabelledRungeKutta.weightList_perm {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] (rk : LabelledRungeKutta α ι R) {ts us : List (HopfAlgebras.PLTree α)} (h : ts.Perm us) :
                  rk.weightList ts = rk.weightList us
                  theorem BSeries.LabelledRungeKutta.weight_comapMapLabels {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {β : Type x} (f : αβ) (rk : LabelledRungeKutta β ι R) (t : HopfAlgebras.PLTree α) :
                  def BSeries.LabelledRungeKutta.treeStageWeight {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] (rk : LabelledRungeKutta α ι R) (τ : HopfAlgebras.LRootedTree α) (i : ι) :
                  R

                  Recursive stage weight of a non-planar labelled rooted tree.

                  Equations
                  Instances For
                    def BSeries.LabelledRungeKutta.forestStageWeight {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] (rk : LabelledRungeKutta α ι R) (φ : HopfAlgebras.LRootedForest α) (i : ι) :
                    R

                    Product of child stage contributions over a non-planar labelled rooted forest.

                    Equations
                    Instances For
                      @[simp]
                      theorem BSeries.LabelledRungeKutta.forestStageWeight_zero {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] (rk : LabelledRungeKutta α ι R) (i : ι) :
                      @[simp]
                      theorem BSeries.LabelledRungeKutta.forestStageWeight_add {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] (rk : LabelledRungeKutta α ι R) (φ ψ : HopfAlgebras.LRootedForest α) (i : ι) :
                      def BSeries.LabelledRungeKutta.treeWeight {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] (rk : LabelledRungeKutta α ι R) (τ : HopfAlgebras.LRootedTree α) :
                      R

                      Elementary weight of a non-planar labelled rooted tree.

                      Equations
                      Instances For
                        theorem BSeries.LabelledRungeKutta.treeWeight_graft {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] (rk : LabelledRungeKutta α ι R) (a : α) (φ : HopfAlgebras.LRootedForest α) :
                        rk.treeWeight (HopfAlgebras.LRootedForest.graft a φ) = i : ι, rk.b a i * rk.forestStageWeight φ i
                        theorem BSeries.LabelledRungeKutta.treeWeight_branches {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] (rk : LabelledRungeKutta α ι R) (τ : HopfAlgebras.LRootedTree α) :
                        rk.treeWeight τ = i : ι, rk.b τ.rootLabel i * rk.forestStageWeight τ.branches i

                        Multiplicative extension of labelled elementary weights to non-planar labelled forests.

                        Equations
                        Instances For
                          @[simp]
                          theorem BSeries.LabelledRungeKutta.forestWeight_zero {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] (rk : LabelledRungeKutta α ι R) :
                          @[simp]
                          theorem BSeries.LabelledRungeKutta.forestWeight_add {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] (rk : LabelledRungeKutta α ι R) (φ ψ : HopfAlgebras.LRootedForest α) :
                          rk.forestWeight (φ + ψ) = rk.forestWeight φ * rk.forestWeight ψ
                          def BSeries.LabelledRungeKutta.series {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] (rk : LabelledRungeKutta α ι R) :
                          LSeries α R

                          The labelled B-series induced by a labelled Runge-Kutta tableau.

                          Equations
                          Instances For
                            theorem BSeries.LabelledRungeKutta.series_graft {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] (rk : LabelledRungeKutta α ι R) (a : α) (φ : HopfAlgebras.LRootedForest α) :
                            theorem BSeries.LabelledRungeKutta.series_comapMapLabels {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {β : Type x} (f : αβ) (rk : LabelledRungeKutta β ι R) :
                            def BSeries.LabelledRungeKutta.AgreeUpToOrder {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {κ : Type v} [Fintype κ] (rk : LabelledRungeKutta α ι R) (rk' : LabelledRungeKutta α κ R) (n : ) :

                            Two labelled Runge-Kutta tableaux have matching labelled B-series coefficients through order n.

                            Equations
                            Instances For
                              theorem BSeries.LabelledRungeKutta.agreeUpToOrder_refl {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] (rk : LabelledRungeKutta α ι R) (n : ) :
                              theorem BSeries.LabelledRungeKutta.AgreeUpToOrder.symm {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {κ : Type v} [Fintype κ] {rk : LabelledRungeKutta α ι R} {rk' : LabelledRungeKutta α κ R} {n : } (h : rk.AgreeUpToOrder rk' n) :
                              theorem BSeries.LabelledRungeKutta.AgreeUpToOrder.trans {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {κ η : Type v} [Fintype κ] [Fintype η] {rk : LabelledRungeKutta α ι R} {rk' : LabelledRungeKutta α κ R} {rk'' : LabelledRungeKutta α η R} {n : } (h : rk.AgreeUpToOrder rk' n) (h' : rk'.AgreeUpToOrder rk'' n) :
                              rk.AgreeUpToOrder rk'' n
                              theorem BSeries.LabelledRungeKutta.AgreeUpToOrder.mono {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {κ : Type v} [Fintype κ] {rk : LabelledRungeKutta α ι R} {rk' : LabelledRungeKutta α κ R} {m n : } (h : rk.AgreeUpToOrder rk' n) (hmn : m n) :
                              theorem BSeries.LabelledRungeKutta.agreeUpToOrder_iff_treeWeight {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {κ : Type v} [Fintype κ] (rk : LabelledRungeKutta α ι R) (rk' : LabelledRungeKutta α κ R) (n : ) :
                              rk.AgreeUpToOrder rk' n ∀ (τ : HopfAlgebras.LRootedTree α), τ.order nrk.treeWeight τ = rk'.treeWeight τ
                              theorem BSeries.LabelledRungeKutta.agreeUpToOrder_iff_weight {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {κ : Type v} [Fintype κ] (rk : LabelledRungeKutta α ι R) (rk' : LabelledRungeKutta α κ R) (n : ) :
                              rk.AgreeUpToOrder rk' n ∀ (t : HopfAlgebras.PLTree α), t.order nrk.weight t = rk'.weight t
                              theorem BSeries.LabelledRungeKutta.agreeUpToOrder_iff_forestCoeff {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {κ : Type v} [Fintype κ] (rk : LabelledRungeKutta α ι R) (rk' : LabelledRungeKutta α κ R) (n : ) :
                              theorem BSeries.LabelledRungeKutta.agreeUpToOrder_iff_forestWeight {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {κ : Type v} [Fintype κ] (rk : LabelledRungeKutta α ι R) (rk' : LabelledRungeKutta α κ R) (n : ) :
                              rk.AgreeUpToOrder rk' n ∀ (φ : HopfAlgebras.LRootedForest α), φ.order nrk.forestWeight φ = rk'.forestWeight φ
                              theorem BSeries.LabelledRungeKutta.AgreeUpToOrder.treeWeight {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {κ : Type v} [Fintype κ] {rk : LabelledRungeKutta α ι R} {rk' : LabelledRungeKutta α κ R} {n : } (h : rk.AgreeUpToOrder rk' n) {τ : HopfAlgebras.LRootedTree α} ( : τ.order n) :
                              rk.treeWeight τ = rk'.treeWeight τ
                              theorem BSeries.LabelledRungeKutta.AgreeUpToOrder.weight {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {κ : Type v} [Fintype κ] {rk : LabelledRungeKutta α ι R} {rk' : LabelledRungeKutta α κ R} {n : } (h : rk.AgreeUpToOrder rk' n) {t : HopfAlgebras.PLTree α} (ht : t.order n) :
                              rk.weight t = rk'.weight t
                              theorem BSeries.LabelledRungeKutta.AgreeUpToOrder.forestWeight {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {κ : Type v} [Fintype κ] {rk : LabelledRungeKutta α ι R} {rk' : LabelledRungeKutta α κ R} {n : } (h : rk.AgreeUpToOrder rk' n) {φ : HopfAlgebras.LRootedForest α} ( : φ.order n) :
                              theorem BSeries.LabelledRungeKutta.agreeUpToOrder_succ_iff_treeWeight {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {κ : Type v} [Fintype κ] (rk : LabelledRungeKutta α ι R) (rk' : LabelledRungeKutta α κ R) (n : ) :
                              rk.AgreeUpToOrder rk' (n + 1) rk.AgreeUpToOrder rk' n ∀ (τ : HopfAlgebras.LRootedTree α), τ.order = n + 1rk.treeWeight τ = rk'.treeWeight τ
                              theorem BSeries.LabelledRungeKutta.agreeUpToOrder_succ_iff_weight {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {κ : Type v} [Fintype κ] (rk : LabelledRungeKutta α ι R) (rk' : LabelledRungeKutta α κ R) (n : ) :
                              rk.AgreeUpToOrder rk' (n + 1) rk.AgreeUpToOrder rk' n ∀ (t : HopfAlgebras.PLTree α), t.order = n + 1rk.weight t = rk'.weight t
                              theorem BSeries.LabelledRungeKutta.agreeUpToOrder_all_iff_series_eq {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {κ : Type v} [Fintype κ] (rk : LabelledRungeKutta α ι R) (rk' : LabelledRungeKutta α κ R) :
                              (∀ (n : ), rk.AgreeUpToOrder rk' n) rk.series = rk'.series
                              theorem BSeries.LabelledRungeKutta.agreeUpToOrder_all_iff_treeWeight {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {κ : Type v} [Fintype κ] (rk : LabelledRungeKutta α ι R) (rk' : LabelledRungeKutta α κ R) :
                              (∀ (n : ), rk.AgreeUpToOrder rk' n) ∀ (τ : HopfAlgebras.LRootedTree α), rk.treeWeight τ = rk'.treeWeight τ
                              theorem BSeries.LabelledRungeKutta.agreeUpToOrder_all_iff_weight {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {κ : Type v} [Fintype κ] (rk : LabelledRungeKutta α ι R) (rk' : LabelledRungeKutta α κ R) :
                              (∀ (n : ), rk.AgreeUpToOrder rk' n) ∀ (t : HopfAlgebras.PLTree α), rk.weight t = rk'.weight t
                              theorem BSeries.LabelledRungeKutta.agreeUpToOrder_all_iff_forestWeight {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {κ : Type v} [Fintype κ] (rk : LabelledRungeKutta α ι R) (rk' : LabelledRungeKutta α κ R) :
                              (∀ (n : ), rk.AgreeUpToOrder rk' n) ∀ (φ : HopfAlgebras.LRootedForest α), rk.forestWeight φ = rk'.forestWeight φ
                              theorem BSeries.LabelledRungeKutta.agreeUpToOrder_comapMapLabels {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {β : Type x} {κ : Type v} [Fintype κ] (f : αβ) {rk : LabelledRungeKutta β ι R} {rk' : LabelledRungeKutta β κ R} {n : } (h : rk.AgreeUpToOrder rk' n) :
                              theorem BSeries.LabelledRungeKutta.agreeUpToOrder_comapMapLabels_iff_of_surjective {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {β : Type x} {κ : Type v} [Fintype κ] {f : αβ} (hf : Function.Surjective f) (rk : LabelledRungeKutta β ι R) (rk' : LabelledRungeKutta β κ R) (n : ) :
                              theorem BSeries.LabelledRungeKutta.agreeUpToOrder_all_comapMapLabels {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {β : Type x} {κ : Type v} [Fintype κ] (f : αβ) {rk : LabelledRungeKutta β ι R} {rk' : LabelledRungeKutta β κ R} (h : ∀ (n : ), rk.AgreeUpToOrder rk' n) (n : ) :
                              theorem BSeries.LabelledRungeKutta.agreeUpToOrder_all_comapMapLabels_iff_of_surjective {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {β : Type x} {κ : Type v} [Fintype κ] {f : αβ} (hf : Function.Surjective f) (rk : LabelledRungeKutta β ι R) (rk' : LabelledRungeKutta β κ R) :
                              (∀ (n : ), (comapMapLabels f rk).AgreeUpToOrder (comapMapLabels f rk') n) ∀ (n : ), rk.AgreeUpToOrder rk' n
                              theorem BSeries.LabelledRungeKutta.agreeUpToOrder_comapConstLabel {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {κ : Type v} [Fintype κ] (a : α) {rk : LabelledRungeKutta α ι R} {rk' : LabelledRungeKutta α κ R} {n : } (h : rk.AgreeUpToOrder rk' n) :
                              theorem BSeries.LabelledRungeKutta.agreeUpToOrder_all_comapConstLabel {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {κ : Type v} [Fintype κ] (a : α) {rk : LabelledRungeKutta α ι R} {rk' : LabelledRungeKutta α κ R} (h : ∀ (n : ), rk.AgreeUpToOrder rk' n) (n : ) :
                              def BSeries.LabelledRungeKutta.ofRungeKutta {ι : Type v} {R : Type w} (α : Type u) (rk : RungeKutta ι R) :

                              Promote an ordinary Runge-Kutta tableau to a label-independent labelled tableau.

                              Equations
                              Instances For
                                @[simp]
                                theorem BSeries.LabelledRungeKutta.ofRungeKutta_A {α : Type u} {ι : Type v} {R : Type w} (rk : RungeKutta ι R) (a : α) (i j : ι) :
                                (ofRungeKutta α rk).A a i j = rk.A i j
                                @[simp]
                                theorem BSeries.LabelledRungeKutta.ofRungeKutta_b {α : Type u} {ι : Type v} {R : Type w} (rk : RungeKutta ι R) (a : α) (i : ι) :
                                (ofRungeKutta α rk).b a i = rk.b i
                                theorem BSeries.LabelledRungeKutta.agreeUpToOrder_ofRungeKutta {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {κ : Type v} [Fintype κ] {rk : RungeKutta ι R} {rk' : RungeKutta κ R} {n : } (h : rk.AgreeUpToOrder rk' n) :
                                theorem BSeries.LabelledRungeKutta.agreeUpToOrder_ofRungeKutta_iff {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {κ : Type v} [Fintype κ] [Nonempty α] (rk : RungeKutta ι R) (rk' : RungeKutta κ R) (n : ) :
                                theorem BSeries.LabelledRungeKutta.agreeUpToOrder_ofRungeKutta_all {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {κ : Type v} [Fintype κ] {rk : RungeKutta ι R} {rk' : RungeKutta κ R} (h : ∀ (n : ), rk.AgreeUpToOrder rk' n) (n : ) :
                                theorem BSeries.LabelledRungeKutta.agreeUpToOrder_ofRungeKutta_all_iff {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [CommSemiring R] {κ : Type v} [Fintype κ] [Nonempty α] (rk : RungeKutta ι R) (rk' : RungeKutta κ R) :
                                (∀ (n : ), (ofRungeKutta α rk).AgreeUpToOrder (ofRungeKutta α rk') n) ∀ (n : ), rk.AgreeUpToOrder rk' n
                                def BSeries.LabelledRungeKutta.HasOrder {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] (rk : LabelledRungeKutta α ι R) (n : ) :

                                A labelled Runge-Kutta tableau has order n when its labelled B-series agrees with the exact labelled B-series through order n.

                                Equations
                                Instances For
                                  theorem BSeries.LabelledRungeKutta.hasOrder_iff_treeWeight {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] (rk : LabelledRungeKutta α ι R) (n : ) :
                                  rk.HasOrder n ∀ (τ : HopfAlgebras.LRootedTree α), τ.order nrk.treeWeight τ = (↑τ.treeFactorial)⁻¹
                                  theorem BSeries.LabelledRungeKutta.hasOrder_iff_weight {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] (rk : LabelledRungeKutta α ι R) (n : ) :
                                  rk.HasOrder n ∀ (t : HopfAlgebras.PLTree α), t.order nrk.weight t = (↑t.treeFactorial)⁻¹
                                  theorem BSeries.LabelledRungeKutta.hasOrder_iff_forestCoeff {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] (rk : LabelledRungeKutta α ι R) (n : ) :
                                  theorem BSeries.LabelledRungeKutta.hasOrder_iff_forestWeight {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] (rk : LabelledRungeKutta α ι R) (n : ) :
                                  theorem BSeries.LabelledRungeKutta.HasOrder.treeWeight {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] {rk : LabelledRungeKutta α ι R} {n : } (h : rk.HasOrder n) {τ : HopfAlgebras.LRootedTree α} ( : τ.order n) :
                                  theorem BSeries.LabelledRungeKutta.HasOrder.weight {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] {rk : LabelledRungeKutta α ι R} {n : } (h : rk.HasOrder n) {t : HopfAlgebras.PLTree α} (ht : t.order n) :
                                  theorem BSeries.LabelledRungeKutta.HasOrder.forestCoeff {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] {rk : LabelledRungeKutta α ι R} {n : } (h : rk.HasOrder n) {φ : HopfAlgebras.LRootedForest α} ( : φ.order n) :
                                  theorem BSeries.LabelledRungeKutta.HasOrder.forestWeight {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] {rk : LabelledRungeKutta α ι R} {n : } (h : rk.HasOrder n) {φ : HopfAlgebras.LRootedForest α} ( : φ.order n) :
                                  theorem BSeries.LabelledRungeKutta.HasOrder.of_agreeUpToOrder {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] {κ : Type v} [Fintype κ] {rk : LabelledRungeKutta α ι R} {rk' : LabelledRungeKutta α κ R} {n : } (h : rk.AgreeUpToOrder rk' n) (hrk : rk.HasOrder n) :
                                  rk'.HasOrder n
                                  theorem BSeries.LabelledRungeKutta.hasOrder_congr {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] {κ : Type v} [Fintype κ] {rk : LabelledRungeKutta α ι R} {rk' : LabelledRungeKutta α κ R} {n : } (h : rk.AgreeUpToOrder rk' n) :
                                  rk.HasOrder n rk'.HasOrder n
                                  theorem BSeries.LabelledRungeKutta.hasOrder_all_congr {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] {κ : Type v} [Fintype κ] {rk : LabelledRungeKutta α ι R} {rk' : LabelledRungeKutta α κ R} (h : ∀ (n : ), rk.AgreeUpToOrder rk' n) :
                                  (∀ (n : ), rk.HasOrder n) ∀ (n : ), rk'.HasOrder n
                                  theorem BSeries.LabelledRungeKutta.HasOrder.treeWeight_graft {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] {rk : LabelledRungeKutta α ι R} {n : } (h : rk.HasOrder n) {x : α} {φ : HopfAlgebras.LRootedForest α} ( : 1 + φ.order n) :
                                  i : ι, rk.b x i * rk.forestStageWeight φ i = (↑(1 + φ.order))⁻¹ * (↑φ.treeFactorial)⁻¹
                                  theorem BSeries.LabelledRungeKutta.HasOrder.treeWeight_branches {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] {rk : LabelledRungeKutta α ι R} {n : } (h : rk.HasOrder n) {τ : HopfAlgebras.LRootedTree α} ( : τ.order n) :
                                  i : ι, rk.b τ.rootLabel i * rk.forestStageWeight τ.branches i = (↑τ.order)⁻¹ * (↑τ.branches.treeFactorial)⁻¹
                                  theorem BSeries.LabelledRungeKutta.HasOrder.treeWeight_butcherProduct {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] {rk : LabelledRungeKutta α ι R} {n : } (h : rk.HasOrder n) {φ : HopfAlgebras.LRootedForest α} {τ : HopfAlgebras.LRootedTree α} (horder : φ.order + τ.order n) :
                                  i : ι, rk.b τ.rootLabel i * (rk.forestStageWeight φ i * rk.treeStageWeight τ i) = (↑(φ.order + τ.order))⁻¹ * (↑(φ + τ.branches).treeFactorial)⁻¹
                                  theorem BSeries.LabelledRungeKutta.hasOrder_iff_treeWeight_butcherProduct {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] (rk : LabelledRungeKutta α ι R) (n : ) :
                                  rk.HasOrder n ∀ (φ : HopfAlgebras.LRootedForest α) (τ : HopfAlgebras.LRootedTree α), φ.order + τ.order ni : ι, rk.b τ.rootLabel i * (rk.forestStageWeight φ i * rk.treeStageWeight τ i) = (↑(φ.order + τ.order))⁻¹ * (↑(φ + τ.branches).treeFactorial)⁻¹
                                  theorem BSeries.LabelledRungeKutta.hasOrder_iff_treeWeight_graft {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] (rk : LabelledRungeKutta α ι R) (n : ) :
                                  rk.HasOrder n ∀ (x : α) (φ : HopfAlgebras.LRootedForest α), 1 + φ.order ni : ι, rk.b x i * rk.forestStageWeight φ i = (↑(1 + φ.order))⁻¹ * (↑φ.treeFactorial)⁻¹
                                  theorem BSeries.LabelledRungeKutta.hasOrder_ofRungeKutta {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] {rk : RungeKutta ι R} {n : } (h : rk.HasOrder n) :
                                  theorem BSeries.LabelledRungeKutta.hasOrder_ofRungeKutta_iff {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] [Nonempty α] (rk : RungeKutta ι R) (n : ) :
                                  theorem BSeries.LabelledRungeKutta.hasOrder_ofRungeKutta_all {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] {rk : RungeKutta ι R} (h : ∀ (n : ), rk.HasOrder n) (n : ) :
                                  theorem BSeries.LabelledRungeKutta.hasOrder_ofRungeKutta_all_iff {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] [Nonempty α] (rk : RungeKutta ι R) :
                                  (∀ (n : ), (ofRungeKutta α rk).HasOrder n) ∀ (n : ), rk.HasOrder n
                                  theorem BSeries.LabelledRungeKutta.hasOrder_comapMapLabels {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] {β : Type x} (f : αβ) {rk : LabelledRungeKutta β ι R} {n : } (h : rk.HasOrder n) :
                                  theorem BSeries.LabelledRungeKutta.hasOrder_comapMapLabels_iff_of_surjective {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] {β : Type x} {f : αβ} (hf : Function.Surjective f) (rk : LabelledRungeKutta β ι R) (n : ) :
                                  theorem BSeries.LabelledRungeKutta.hasOrder_all_comapMapLabels {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] {β : Type x} (f : αβ) {rk : LabelledRungeKutta β ι R} (h : ∀ (n : ), rk.HasOrder n) (n : ) :
                                  theorem BSeries.LabelledRungeKutta.hasOrder_all_comapMapLabels_iff_of_surjective {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] {β : Type x} {f : αβ} (hf : Function.Surjective f) (rk : LabelledRungeKutta β ι R) :
                                  (∀ (n : ), (comapMapLabels f rk).HasOrder n) ∀ (n : ), rk.HasOrder n
                                  theorem BSeries.LabelledRungeKutta.hasOrder_comapConstLabel {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] (a : α) {rk : LabelledRungeKutta α ι R} {n : } (h : rk.HasOrder n) :
                                  theorem BSeries.LabelledRungeKutta.hasOrder_all_comapConstLabel {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] (a : α) {rk : LabelledRungeKutta α ι R} (h : ∀ (n : ), rk.HasOrder n) (n : ) :
                                  theorem BSeries.LabelledRungeKutta.hasOrder_zero {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] (rk : LabelledRungeKutta α ι R) :
                                  theorem BSeries.LabelledRungeKutta.series_eq_exact_of_hasOrder_all {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] {rk : LabelledRungeKutta α ι R} (h : ∀ (n : ), rk.HasOrder n) :
                                  theorem BSeries.LabelledRungeKutta.hasOrder_all_iff_series_eq_exact {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] (rk : LabelledRungeKutta α ι R) :
                                  (∀ (n : ), rk.HasOrder n) rk.series = LSeries.exact α R
                                  theorem BSeries.LabelledRungeKutta.hasOrder_all_iff_coeff {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] (rk : LabelledRungeKutta α ι R) :
                                  (∀ (n : ), rk.HasOrder n) ∀ (ξ : LTreeIndex α), rk.series.coeff ξ = (LSeries.exact α R).coeff ξ
                                  theorem BSeries.LabelledRungeKutta.hasOrder_all_iff_treeWeight {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] (rk : LabelledRungeKutta α ι R) :
                                  (∀ (n : ), rk.HasOrder n) ∀ (τ : HopfAlgebras.LRootedTree α), rk.treeWeight τ = (↑τ.treeFactorial)⁻¹
                                  theorem BSeries.LabelledRungeKutta.hasOrder_all_iff_treeCoeff {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] (rk : LabelledRungeKutta α ι R) :
                                  (∀ (n : ), rk.HasOrder n) ∀ (τ : HopfAlgebras.LRootedTree α), rk.series.coeff (LTreeIndex.tree τ) = (↑τ.treeFactorial)⁻¹
                                  theorem BSeries.LabelledRungeKutta.hasOrder_all_iff_weight {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] (rk : LabelledRungeKutta α ι R) :
                                  (∀ (n : ), rk.HasOrder n) ∀ (t : HopfAlgebras.PLTree α), rk.weight t = (↑t.treeFactorial)⁻¹
                                  theorem BSeries.LabelledRungeKutta.hasOrder_all_iff_forestWeight {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] (rk : LabelledRungeKutta α ι R) :
                                  (∀ (n : ), rk.HasOrder n) ∀ (φ : HopfAlgebras.LRootedForest α), rk.forestWeight φ = (↑φ.treeFactorial)⁻¹
                                  theorem BSeries.LabelledRungeKutta.hasOrder_all_iff_forestCoeff {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] (rk : LabelledRungeKutta α ι R) :
                                  (∀ (n : ), rk.HasOrder n) ∀ (φ : HopfAlgebras.LRootedForest α), rk.series.forestCoeff φ = (↑φ.treeFactorial)⁻¹
                                  theorem BSeries.LabelledRungeKutta.hasOrder_all_iff_treeWeight_graft {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] (rk : LabelledRungeKutta α ι R) :
                                  (∀ (n : ), rk.HasOrder n) ∀ (x : α) (φ : HopfAlgebras.LRootedForest α), i : ι, rk.b x i * rk.forestStageWeight φ i = (↑(1 + φ.order))⁻¹ * (↑φ.treeFactorial)⁻¹
                                  theorem BSeries.LabelledRungeKutta.hasOrder_all_iff_treeWeight_branches {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] (rk : LabelledRungeKutta α ι R) :
                                  (∀ (n : ), rk.HasOrder n) ∀ (τ : HopfAlgebras.LRootedTree α), i : ι, rk.b τ.rootLabel i * rk.forestStageWeight τ.branches i = (↑τ.order)⁻¹ * (↑τ.branches.treeFactorial)⁻¹
                                  theorem BSeries.LabelledRungeKutta.hasOrder_all_iff_treeWeight_butcherProduct {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] (rk : LabelledRungeKutta α ι R) :
                                  (∀ (n : ), rk.HasOrder n) ∀ (φ : HopfAlgebras.LRootedForest α) (τ : HopfAlgebras.LRootedTree α), i : ι, rk.b τ.rootLabel i * (rk.forestStageWeight φ i * rk.treeStageWeight τ i) = (↑(φ.order + τ.order))⁻¹ * (↑(φ + τ.branches).treeFactorial)⁻¹
                                  theorem BSeries.LabelledRungeKutta.HasOrder.mono {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] {rk : LabelledRungeKutta α ι R} {m n : } (h : rk.HasOrder n) (hmn : m n) :
                                  theorem BSeries.LabelledRungeKutta.hasOrder_succ_iff_treeWeight {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] (rk : LabelledRungeKutta α ι R) (n : ) :
                                  rk.HasOrder (n + 1) rk.HasOrder n ∀ (τ : HopfAlgebras.LRootedTree α), τ.order = n + 1rk.treeWeight τ = (↑τ.treeFactorial)⁻¹
                                  theorem BSeries.LabelledRungeKutta.hasOrder_succ_iff_weight {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] (rk : LabelledRungeKutta α ι R) (n : ) :
                                  rk.HasOrder (n + 1) rk.HasOrder n ∀ (t : HopfAlgebras.PLTree α), t.order = n + 1rk.weight t = (↑t.treeFactorial)⁻¹
                                  theorem BSeries.LabelledRungeKutta.hasOrder_succ_iff_forestWeight {α : Type u} {ι : Type v} {R : Type w} [Fintype ι] [Field R] (rk : LabelledRungeKutta α ι R) (n : ) :
                                  rk.HasOrder (n + 1) rk.HasOrder n ∀ (φ : HopfAlgebras.LRootedForest α), φ.order = n + 1rk.forestWeight φ = (↑φ.treeFactorial)⁻¹