Documentation

Anderson4D.PermSum.CollapseAlphabet

Alphabet transport for collapse sums #

The structural leaf decomposition is an equivalence

HeppLeaf t ≃ InsideLeaf r ⊕ OutsideLeaf r.

This file proves that validWords, wordSum, and the definitional paperSum are invariant under an arbitrary finite alphabet equivalence, and then specializes the construction to that leaf decomposition.

def Anderson4D.renameMultiplicity {α : Type u_1} {β : Type u_2} (e : α ≃ β) (mult : α → ℕ) :
β → ℕ

Transport a multiplicity function covariantly along an equivalence.

Equations
Instances For
    @[simp]
    theorem Anderson4D.renameMultiplicity_apply {α : Type u_1} {β : Type u_2} (e : α ≃ β) (mult : α → ℕ) (a : α) :
    renameMultiplicity e mult (e a) = mult a
    def Anderson4D.wordRenameEquiv {α : Type u_1} {β : Type u_2} (e : α ≃ β) (n : ℕ) :
    (Fin n → α) ≃ (Fin n → β)

    Apply an alphabet equivalence pointwise to a finite word.

    Equations
    Instances For
      @[simp]
      theorem Anderson4D.wordRenameEquiv_apply {α : Type u_1} {β : Type u_2} (e : α ≃ β) (n : ℕ) (w : Fin n → α) (i : Fin n) :
      (wordRenameEquiv e n) w i = e (w i)
      @[simp]
      theorem Anderson4D.wordRenameEquiv_symm_apply {α : Type u_1} {β : Type u_2} (e : α ≃ β) (n : ℕ) (w : Fin n → β) (i : Fin n) :
      (wordRenameEquiv e n).symm w i = e.symm (w i)
      theorem Anderson4D.wordRename_mem_validWords_iff {α : Type u_1} {β : Type u_2} [Fintype α] [Fintype β] [DecidableEq α] [DecidableEq β] {n : ℕ} (e : α ≃ β) (mult : α → ℕ) (w : Fin n → α) :

      Prescribed fiber cardinalities are invariant under renaming letters.

      theorem Anderson4D.factorialLedger_rename {α : Type u_1} {β : Type u_2} [Fintype α] [Fintype β] (e : α ≃ β) (mult : α → ℕ) :
      ∏ b : β, ↑(renameMultiplicity e mult b).factorial = ∏ a : α, ↑(mult a).factorial

      The product of multiplicity factorials is invariant under renaming the finite alphabet.

      theorem Anderson4D.wordSum_rename {α : Type u_1} {β : Type u_2} [Fintype α] [Fintype β] [DecidableEq α] [DecidableEq β] {n : ℕ} (e : α ≃ β) (mult : α → ℕ) (F : (Fin n → α) → ℝ) :
      wordSum mult F = wordSum (renameMultiplicity e mult) fun (w : Fin n → β) => F ((wordRenameEquiv e n).symm w)

      Raw word sums are unchanged by a finite alphabet equivalence.

      theorem Anderson4D.paperSum_rename {α : Type u_1} {β : Type u_2} [Fintype α] [Fintype β] [DecidableEq α] [DecidableEq β] {n : ℕ} (e : α ≃ β) (mult : α → ℕ) (F : (Fin n → α) → ℝ) :
      paperSum mult F = paperSum (renameMultiplicity e mult) fun (w : Fin n → β) => F ((wordRenameEquiv e n).symm w)

      The definitional paper sum is invariant under the same renaming.

      The Hepp-leaf split alphabet #

      Original leaf multiplicities expressed on the canonical inside/outside sum alphabet.

      Equations
      Instances For

        The original leaf word renamed to the inside/outside sum alphabet.

        Equations
        Instances For
          theorem Anderson4D.paperSum_eq_splitLeafAlphabet {t : PlaneTree} {n : ℕ} (mu : t.Multiplicities) (r : t.VPos) (F : (Fin n → HeppLeaf t) → ℝ) :

          Tree-facing alphabet split for arbitrary paper-sum statistics.