Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for The representation theory of the Ariki-Koike and cyclotomic q-Schur algebras

Definition
QAlgorithms_Papers_Independent_Intake100_P36

by Gohan · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

The objects the formalized statements of The representation theory of the Ariki-Koike and cyclotomic q-Schur algebras (arXiv:math/0204025) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • AKFree: The free algebra on exactly T_0,...,T_(n-1), PDF p.4.
  • akFreeGenerator: A helper for generators; out-of-range indices return zero and never enter a relation.
  • AKRel: Corrected Definition 2.1, PDF p.4. Each relation is guarded by its degree domain. The ordered cyclotomic product keeps repeated and zero parameters.
  • ArikiKoike: The presented algebra H, not an algebra equipped with a presumed basis (PDF p.4).
  • akT: The quotient images of the generators, PDF p.4.
  • jmNat: L_(k+1), with zero-based helper k; the q^(-1) factor is essential (PDF p.4).
  • cyclotomicJM: The n genuine JM elements, L_1,...,L_n (PDF p.4).
  • reducedWord: Choose a reduced expression using the accepted Coxeter predicate (PDF p.4). Reverse the word for right actions: the first written letter acts first. Adjacent transpositions generate S_n, so this choice predicate is inhabited for every w.
  • tw: T_w computed by a reduced word. No independence or spanning assertion is a field (PDF p.4).
  • jmPowers: Ordered product L_1^a_1...L_n^a_n, including the empty product 1 (PDF p.4).
  • arikiKoikeMonomial: The explicit family of Theorem 2.2 (PDF p.4).
  • jmEval: Finite ordered evaluation makes sense before commutativity is proved (PDF p.4). Once the JM theorem is used it is ordinary multivariate polynomial evaluation.
  • qInteger: The quantum integer 1+q+...+q^(m-1), PDF p.11.
  • semisimplicityPolynomial: The exact semisimplicity polynomial P_H, PDF p.11. Integer powers are powers of the unit q, not total division by an arbitrary element.
  • MultiPartition: Multipartitions of n as decreasing rows, padded by zero to n rows (PDF p.11). Every part is at most n. Fin 0 represents the unique empty component at degree zero.
  • Node: Nodes (component,row,column), all zero-based; source nodes add one to each index (PDF p.11).
  • StandardMultiTableau: A standard tableau is a bijective labeling increasing in rows and columns (PDF p.11).
  • rowNumber: Count the nodes strictly before x in component/row/column reading order (PDF p.16).
  • tableauPermutation: d(t) is the unique permutation carrying row reading labels to t (PDF p.16). The predicate computes d(t) from the bijection, not from an assumed H-action.
  • rowStabilizer: The row-stabilizer of the row reading tableau (PDF p.16).
  • precedingSize: Size of components strictly preceding s (PDF p.16).
  • rowSymmetrizer: x_lambda=sum_(w in S_lambda) T_w; there are no q-weights here (PDF p.16).
  • uPlus: u_lambda^+, preserving both product orders before JM commutativity is used (PDF p.16).
  • murphyGenerator: m_lambda=x_lambda u_lambda^+, computed in the presented algebra (PDF p.16).
  • murphy: The literal m_st=T_(d(s)^(-1)) m_lambda T_(d(t)), Definition 3.7, PDF p.16.
  • MurphyIndex: The dependent index set keeps the common shape (PDF p.16).
  • murphyFamily: The computed Murphy family, not an arbitrary cellular basis (PDF p.16).
  • dominancePrefix: Dominance prefix: earlier components, then the first i rows of component s (PDF p.11).
  • ShapeDominates: Shape dominance, including every row prefix (PDF p.11).
  • higherMurphySpan: H^lambda is the R-span of strictly higher SHAPES (PDF p.17).
  • tableauDominancePrefixCount: Prefix count in the restriction of a tableau to labels 1,...,k (PDF p.19).
  • TableauDominates: Tableau dominance compares the shapes of ALL initial subtableaux (PDF p.19).
  • tableauResidue: Residue of the node carrying label k+1, with possibly negative column-row content (PDF p.11).
  • AffineFree: Free affine algebra: T_1,...,T_(n-1) and two formal signs of each X_j (PDF p.7).
  • affineFreeT: T_i with the source's one-based index; invalid helper values are zero (PDF p.7).
  • affineFreeX: X_(j+1) or its formal inverse; valid j is zero-based (PDF p.7).
  • AffineRel: Corrected affine presentation from PDF p.7. Polynomial RHS is zero; ALL X's commute, and T_i commutes with X_j for j≠i,i+1. The printed shared distance guard cannot apply to the X-X commutation relation.
  • AffineHecke: The actual affine Hecke algebra, PDF p.7.
  • affineT: The affine T generator image (PDF p.7).
  • affineHeckeX: The affine X generator or inverse image, with zero-based j (PDF p.7).
  • Laurent: Laurent polynomials in n variables, as the group algebra of Z^n (PDF p.37).
  • IsSymmetricLaurent: Symmetric Laurent polynomials: coefficients are invariant under every variable permutation (PDF p.37).
  • affineLaurentEval: Ordered Laurent evaluation using the explicit inverse generators (PDF p.37).
  • affineCyclotomicRel: The only extra affine relation for the cyclotomic quotient (PDF p.7).
  • AffineCyclotomic: Hhat modulo the two-sided ideal generated by the cyclotomic polynomial (PDF p.7).
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Papers_Independent_Support21_P06

/-!
Mathas, arXiv:math/0204025v1. Local, literal Ariki--Koike presentation.
The two polynomial relations on PDF p.4 are corrected from 1 to 0, as
required by the quotient ideal on p.6 and normalized relation on p.41.
No basis, cellular datum, representation, or JM axiom is assumed.
Compilation is pending the batch mechanical handoff.
-/

noncomputable section

open scoped BigOperators

namespace QAlgorithms.Papers.Independent.Intake100.P36

open QAlgorithms.Papers.Independent.Renew46.P26 (Adjacent adjacentPerm nextPosition)
open QAlgorithms.Papers.Independent.Support21.P06 (wordPerm IsReducedWord)

attribute [local instance] Classical.propDecidable Classical.decEq

/-- The free algebra on exactly T_0,...,T_(n-1), PDF p.4. -/
abbrev AKFree (R : Type*) [CommRing R] (n : ℕ) := FreeAlgebra R (Fin n)

/-- A helper for generators; out-of-range indices return zero and never enter a relation. -/
def akFreeGenerator (R : Type*) [CommRing R] (n i : ℕ) : AKFree R n :=
  if h : i < n then FreeAlgebra.ι R ⟨i, h⟩ else 0

/-- Corrected Definition 2.1, PDF p.4. Each relation is guarded by its degree domain.
The ordered cyclotomic product keeps repeated and zero parameters. -/
inductive AKRel {R : Type*} [CommRing R] {r : ℕ}
    (q : Rˣ) (Q : Fin r → R) (n : ℕ) : AKFree R n → AKFree R n → Prop
  | cyclotomic (h : 0 < n) : AKRel q Q n
      (List.ofFn (fun s : Fin r => akFreeGenerator R n 0 - algebraMap R (AKFree R n) (Q s))).prod 0
  | quadratic (i : ℕ) (hi : 1 ≤ i) (hn : i < n) : AKRel q Q n
      ((akFreeGenerator R n i - algebraMap R (AKFree R n) (q : R)) * (akFreeGenerator R n i + 1)) 0
  | specialBraid (hn : 2 ≤ n) : AKRel q Q n
      (akFreeGenerator R n 0 * akFreeGenerator R n 1 * akFreeGenerator R n 0 * akFreeGenerator R n 1)
      (akFreeGenerator R n 1 * akFreeGenerator R n 0 * akFreeGenerator R n 1 * akFreeGenerator R n 0)
  | distant (i j : ℕ) (hi : i < n) (hj : j < n) (hij : i + 1 < j) : AKRel q Q n
      (akFreeGenerator R n i * akFreeGenerator R n j) (akFreeGenerator R n j * akFreeGenerator R n i)
  | braid (i : ℕ) (hi : 1 ≤ i) (hn : i + 1 < n) : AKRel q Q n
      (akFreeGenerator R n i * akFreeGenerator R n (i + 1) * akFreeGenerator R n i)
      (akFreeGenerator R n (i + 1) * akFreeGenerator R n i * akFreeGenerator R n (i + 1))

/-- The presented algebra H, not an algebra equipped with a presumed basis (PDF p.4). -/
abbrev ArikiKoike {R : Type*} [CommRing R] {r : ℕ}
    (q : Rˣ) (Q : Fin r → R) (n : ℕ) := RingQuot (AKRel q Q n)

/-- The quotient images of the generators, PDF p.4. -/
def akT {R : Type*} [CommRing R] {r : ℕ} (q : Rˣ) (Q : Fin r → R)
    (n i : ℕ) : ArikiKoike q Q n := RingQuot.mkAlgHom R (AKRel q Q n) (akFreeGenerator R n i)

/-- L_(k+1), with zero-based helper k; the q^(-1) factor is essential (PDF p.4). -/
def jmNat {R : Type*} [CommRing R] {r : ℕ} (q : Rˣ) (Q : Fin r → R)
    (n : ℕ) : ℕ → ArikiKoike q Q n
  | 0 => akT q Q n 0
  | k + 1 => algebraMap R (ArikiKoike q Q n) (↑(q⁻¹) : R) *
      akT q Q n (k + 1) * jmNat q Q n k * akT q Q n (k + 1)

/-- The n genuine JM elements, L_1,...,L_n (PDF p.4). -/
def cyclotomicJM {R : Type*} [CommRing R] {r n : ℕ} (q : Rˣ) (Q : Fin r → R)
    (k : Fin n) : ArikiKoike q Q n := jmNat q Q n k.val

/-- Normalization check L_2=q^(-1)T_1 T_0 T_1 (PDF p.4). -/
example {R : Type*} [CommRing R] {r : ℕ} (q : Rˣ) (Q : Fin r → R) :
    jmNat q Q 2 1 = algebraMap R (ArikiKoike q Q 2) (↑(q⁻¹) : R) *
      akT q Q 2 1 * akT q Q 2 0 * akT q Q 2 1 := by rfl

/-- The imported adjacent permutation swaps zero-based positions i and i+1 (PDF p.4).
The corresponding source generator is T_(i+1). -/
example {n : ℕ} (i : Adjacent n) :
    adjacentPerm i = Equiv.swap i.val (nextPosition i) := by rfl

/-- Choose a reduced expression using the accepted Coxeter predicate (PDF p.4).
Reverse the word for right actions: the first written letter acts first.
Adjacent transpositions generate S_n, so this choice predicate is inhabited for every w. -/
def reducedWord {n : ℕ} (w : Equiv.Perm (Fin n)) : List (Adjacent n) :=
  Classical.epsilon (fun l : List (Adjacent n) => IsReducedWord w l.reverse)

/-- T_w computed by a reduced word. No independence or spanning assertion is a field (PDF p.4). -/
def tw {R : Type*} [CommRing R] {r n : ℕ} (q : Rˣ) (Q : Fin r → R)
    (w : Equiv.Perm (Fin n)) : ArikiKoike q Q n :=
  ((reducedWord w).map (fun i => akT q Q n (i.val.val + 1))).prod

/-- Ordered product L_1^a_1...L_n^a_n, including the empty product 1 (PDF p.4). -/
def jmPowers {R : Type*} [CommRing R] {r n : ℕ} (q : Rˣ) (Q : Fin r → R)
    (a : Fin n → ℕ) : ArikiKoike q Q n :=
  (List.ofFn (fun i : Fin n => cyclotomicJM q Q i ^ a i)).prod

/-- The explicit family of Theorem 2.2 (PDF p.4). -/
def arikiKoikeMonomial {R : Type*} [CommRing R] {r n : ℕ} (q : Rˣ) (Q : Fin r → R)
    (z : (Fin n → Fin r) × Equiv.Perm (Fin n)) : ArikiKoike q Q n :=
  jmPowers q Q (fun i => (z.1 i).val) * tw q Q z.2

/-- Finite ordered evaluation makes sense before commutativity is proved (PDF p.4).
Once the JM theorem is used it is ordinary multivariate polynomial evaluation. -/
def jmEval {R : Type*} [CommRing R] {r n : ℕ} (q : Rˣ) (Q : Fin r → R)
    (p : MvPolynomial (Fin n) R) : ArikiKoike q Q n :=
  ∑ d ∈ p.support, (p.coeff d) • jmPowers q Q (fun i => d i)

/-- The quantum integer 1+q+...+q^(m-1), PDF p.11. -/
def qInteger {R : Type*} [CommRing R] (q : Rˣ) (m : ℕ) : R :=
  ∑ k ∈ Finset.range m, (q : R) ^ k

/-- The exact semisimplicity polynomial P_H, PDF p.11.
Integer powers are powers of the unit q, not total division by an arbitrary element. -/
def semisimplicityPolynomial {R : Type*} [CommRing R] {r : ℕ}
    (q : Rˣ) (Q : Fin r → R) (n : ℕ) : R :=
  (∏ k : Fin n, qInteger q (k.val + 1)) *
  ∏ s : Fin r, ∏ t ∈ Finset.univ.filter (fun t : Fin r => s < t),
    ∏ d ∈ Finset.Ioo (-(n : ℤ)) (n : ℤ), ((↑(q ^ d) : R) * Q s - Q t)

/-- P_H=1 in degree zero even with repeated or zero parameters (PDF pp.2,11). -/
example {R : Type*} [CommRing R] {r : ℕ} (q : Rˣ) (Q : Fin r → R) :
    semisimplicityPolynomial q Q 0 = 1 := by
  simp [semisimplicityPolynomial]

/-- Multipartitions of n as decreasing rows, padded by zero to n rows (PDF p.11).
Every part is at most n. Fin 0 represents the unique empty component at degree zero. -/
abbrev MultiPartition (r n : ℕ) :=
  {a : Fin r → Fin n → Fin (n + 1) //
    (∑ s : Fin r, ∑ i : Fin n, (a s i).val) = n ∧
      ∀ s, Antitone (fun i : Fin n => (a s i).val)}

/-- Nodes (component,row,column), all zero-based; source nodes add one to each index (PDF p.11). -/
abbrev Node {r n : ℕ} (lam : MultiPartition r n) :=
  {x : Fin r × Fin n × Fin n // x.2.2.val < (lam.val x.1 x.2.1).val}

/-- A standard tableau is a bijective labeling increasing in rows and columns (PDF p.11). -/
abbrev StandardMultiTableau {r n : ℕ} (lam : MultiPartition r n) :=
  {t : Node lam ≃ Fin n //
    (∀ x y : Node lam, x.val.1 = y.val.1 → x.val.2.1 = y.val.2.1 →
      x.val.2.2 < y.val.2.2 → t x < t y) ∧
    (∀ x y : Node lam, x.val.1 = y.val.1 → x.val.2.2 = y.val.2.2 →
      x.val.2.1 < y.val.2.1 → t x < t y)}

/-- Count the nodes strictly before x in component/row/column reading order (PDF p.16). -/
def rowNumber {r n : ℕ} {lam : MultiPartition r n} (x : Node lam) : ℕ :=
  (Finset.univ.filter (fun y : Node lam =>
    y.val.1 < x.val.1 ∨
    (y.val.1 = x.val.1 ∧ y.val.2.1 < x.val.2.1) ∨
    (y.val.1 = x.val.1 ∧ y.val.2.1 = x.val.2.1 ∧ y.val.2.2 < x.val.2.2))).card

/-- d(t) is the unique permutation carrying row reading labels to t (PDF p.16).
The predicate computes d(t) from the bijection, not from an assumed H-action. -/
def tableauPermutation {r n : ℕ} {lam : MultiPartition r n} (t : StandardMultiTableau lam) :
    Equiv.Perm (Fin n) :=
  Classical.epsilon (fun w => ∀ (x : Node lam) (k : Fin n),
    k.val = rowNumber x → w k = t.val x)

/-- The row-stabilizer of the row reading tableau (PDF p.16). -/
def rowStabilizer {r n : ℕ} (lam : MultiPartition r n) : Finset (Equiv.Perm (Fin n)) :=
  Finset.univ.filter (fun w => ∀ (x : Node lam) (k : Fin n),
    k.val = rowNumber x → ∃ y : Node lam,
      y.val.1 = x.val.1 ∧ y.val.2.1 = x.val.2.1 ∧ rowNumber y = (w k).val)

/-- Size of components strictly preceding s (PDF p.16). -/
def precedingSize {r n : ℕ} (lam : MultiPartition r n) (s : Fin r) : ℕ :=
  ∑ t ∈ Finset.univ.filter (fun t : Fin r => t < s),
    ∑ i : Fin n, (lam.val t i).val

/-- x_lambda=sum_(w in S_lambda) T_w; there are no q-weights here (PDF p.16). -/
def rowSymmetrizer {R : Type*} [CommRing R] {r n : ℕ}
    (q : Rˣ) (Q : Fin r → R) (lam : MultiPartition r n) : ArikiKoike q Q n :=
  ∑ w ∈ rowStabilizer lam, tw q Q w

/-- u_lambda^+, preserving both product orders before JM commutativity is used (PDF p.16). -/
def uPlus {R : Type*} [CommRing R] {r n : ℕ}
    (q : Rˣ) (Q : Fin r → R) (lam : MultiPartition r n) : ArikiKoike q Q n :=
  (List.ofFn (fun s : Fin r =>
    (((List.finRange n).filter (fun k => k.val < precedingSize lam s)).map
      (fun k => cyclotomicJM q Q k - algebraMap R (ArikiKoike q Q n) (Q s))).prod)).prod

/-- m_lambda=x_lambda u_lambda^+, computed in the presented algebra (PDF p.16). -/
def murphyGenerator {R : Type*} [CommRing R] {r n : ℕ}
    (q : Rˣ) (Q : Fin r → R) (lam : MultiPartition r n) : ArikiKoike q Q n :=
  rowSymmetrizer q Q lam * uPlus q Q lam

/-- The literal m_st=T_(d(s)^(-1)) m_lambda T_(d(t)), Definition 3.7, PDF p.16. -/
def murphy {R : Type*} [CommRing R] {r n : ℕ}
    (q : Rˣ) (Q : Fin r → R) {lam : MultiPartition r n}
    (s t : StandardMultiTableau lam) : ArikiKoike q Q n :=
  tw q Q (tableauPermutation s)⁻¹ * murphyGenerator q Q lam * tw q Q (tableauPermutation t)

/-- The dependent index set keeps the common shape (PDF p.16). -/
abbrev MurphyIndex (r n : ℕ) := Σ lam : MultiPartition r n, StandardMultiTableau lam × StandardMultiTableau lam

/-- The computed Murphy family, not an arbitrary cellular basis (PDF p.16). -/
def murphyFamily {R : Type*} [CommRing R] {r n : ℕ}
    (q : Rˣ) (Q : Fin r → R) (z : MurphyIndex r n) : ArikiKoike q Q n :=
  murphy q Q z.2.1 z.2.2

/-- Dominance prefix: earlier components, then the first i rows of component s (PDF p.11). -/
def dominancePrefix {r n : ℕ} (lam : MultiPartition r n) (s : Fin r) (i : ℕ) : ℕ :=
  precedingSize lam s + ∑ j ∈ Finset.univ.filter (fun j : Fin n => j.val < i),
    (lam.val s j).val

/-- Shape dominance, including every row prefix (PDF p.11). -/
def ShapeDominates {r n : ℕ} (lam mu : MultiPartition r n) : Prop :=
  ∀ s i, dominancePrefix mu s i ≤ dominancePrefix lam s i

/-- H^lambda is the R-span of strictly higher SHAPES (PDF p.17). -/
def higherMurphySpan {R : Type*} [CommRing R] {r n : ℕ}
    (q : Rˣ) (Q : Fin r → R) (lam : MultiPartition r n) : Submodule R (ArikiKoike q Q n) :=
  Submodule.span R {z | ∃ (mu : MultiPartition r n) (s t : StandardMultiTableau mu),
    ShapeDominates mu lam ∧ mu ≠ lam ∧ z = murphy q Q s t}

/-- Prefix count in the restriction of a tableau to labels 1,...,k (PDF p.19). -/
def tableauDominancePrefixCount {r n : ℕ} {lam : MultiPartition r n}
    (t : StandardMultiTableau lam) (k : ℕ) (s : Fin r) (i : ℕ) : ℕ :=
  (Finset.univ.filter (fun x : Node lam => (t.val x).val < k ∧
    (x.val.1 < s ∨ (x.val.1 = s ∧ x.val.2.1.val < i)))).card

/-- Tableau dominance compares the shapes of ALL initial subtableaux (PDF p.19). -/
def TableauDominates {r n : ℕ} {lam : MultiPartition r n}
    (s t : StandardMultiTableau lam) : Prop :=
  ∀ k, k ≤ n → ∀ c i, tableauDominancePrefixCount t k c i ≤ tableauDominancePrefixCount s k c i

/-- Residue of the node carrying label k+1, with possibly negative column-row content (PDF p.11). -/
def tableauResidue {R : Type*} [CommRing R] {r n : ℕ}
    (q : Rˣ) (Q : Fin r → R) {lam : MultiPartition r n}
    (t : StandardMultiTableau lam) (k : Fin n) : R :=
  let x := t.val.symm k
  (↑(q ^ ((x.val.2.2.val : ℤ) - (x.val.2.1.val : ℤ))) : R) * Q x.val.1

/-- At degree zero there is no node or JM index (PDF p.2). -/
example {r : ℕ} (lam : MultiPartition r 0) (x : Node lam) : False := by
  exact Fin.elim0 x.val.2.1

/-- Free affine algebra: T_1,...,T_(n-1) and two formal signs of each X_j (PDF p.7). -/
abbrev AffineFree (R : Type*) [CommRing R] (n : ℕ) :=
  FreeAlgebra R (Sum (Fin (n - 1)) (Fin n × Bool))

/-- T_i with the source's one-based index; invalid helper values are zero (PDF p.7). -/
def affineFreeT (R : Type*) [CommRing R] (n i : ℕ) : AffineFree R n :=
  if h : 1 ≤ i ∧ i < n then FreeAlgebra.ι R (Sum.inl ⟨i - 1, by omega⟩) else 0

/-- X_(j+1) or its formal inverse; valid j is zero-based (PDF p.7). -/
def affineFreeX (R : Type*) [CommRing R] (n j : ℕ) (inverse : Bool) : AffineFree R n :=
  if h : j < n then FreeAlgebra.ι R (Sum.inr (⟨j, h⟩, inverse)) else 0

/-- Corrected affine presentation from PDF p.7.
Polynomial RHS is zero; ALL X's commute, and T_i commutes with X_j for j≠i,i+1.
The printed shared distance guard cannot apply to the X-X commutation relation. -/
inductive AffineRel {R : Type*} [CommRing R] (q : Rˣ) (n : ℕ) :
    AffineFree R n → AffineFree R n → Prop
  | quadratic (i : ℕ) (hi : 1 ≤ i) (hn : i < n) : AffineRel q n
      ((affineFreeT R n i - algebraMap R (AffineFree R n) (q : R)) *
        (affineFreeT R n i + 1)) 0
  | braid (i : ℕ) (hi : 1 ≤ i) (hn : i + 1 < n) : AffineRel q n
      (affineFreeT R n i * affineFreeT R n (i + 1) * affineFreeT R n i)
      (affineFreeT R n (i + 1) * affineFreeT R n i * affineFreeT R n (i + 1))
  | distant (i j : ℕ) (hi : 1 ≤ i) (hj : j < n) (hij : i + 1 < j) : AffineRel q n
      (affineFreeT R n i * affineFreeT R n j) (affineFreeT R n j * affineFreeT R n i)
  | inverseRight (j : ℕ) (hj : j < n) : AffineRel q n
      (affineFreeX R n j false * affineFreeX R n j true) 1
  | inverseLeft (j : ℕ) (hj : j < n) : AffineRel q n
      (affineFreeX R n j true * affineFreeX R n j false) 1
  | commutingX (i j : ℕ) (hi : i < n) (hj : j < n) (b c : Bool) : AffineRel q n
      (affineFreeX R n i b * affineFreeX R n j c)
      (affineFreeX R n j c * affineFreeX R n i b)
  | mixed (i : ℕ) (hi : 1 ≤ i) (hn : i < n) : AffineRel q n
      (affineFreeT R n i * affineFreeX R n (i - 1) false * affineFreeT R n i)
      (algebraMap R (AffineFree R n) (q : R) * affineFreeX R n i false)
  | distantX (i j : ℕ) (hi : 1 ≤ i) (hn : i < n) (hj : j < n)
      (h1 : j + 1 ≠ i) (h2 : j + 1 ≠ i + 1) (b : Bool) : AffineRel q n
      (affineFreeT R n i * affineFreeX R n j b)
      (affineFreeX R n j b * affineFreeT R n i)

/-- The actual affine Hecke algebra, PDF p.7. -/
abbrev AffineHecke {R : Type*} [CommRing R] (q : Rˣ) (n : ℕ) := RingQuot (AffineRel q n)

/-- The affine T generator image (PDF p.7). -/
def affineT {R : Type*} [CommRing R] (q : Rˣ) (n i : ℕ) : AffineHecke q n :=
  RingQuot.mkAlgHom R (AffineRel q n) (affineFreeT R n i)

/-- The affine X generator or inverse image, with zero-based j (PDF p.7). -/
def affineHeckeX {R : Type*} [CommRing R] {n : ℕ} (q : Rˣ) (j : Fin n) (b : Bool) :
    AffineHecke q n := RingQuot.mkAlgHom R (AffineRel q n) (affineFreeX R n j.val b)

/-- Laurent polynomials in n variables, as the group algebra of Z^n (PDF p.37). -/
abbrev Laurent (R : Type*) [CommRing R] (n : ℕ) := AddMonoidAlgebra R (Fin n → ℤ)

/-- Symmetric Laurent polynomials: coefficients are invariant under every variable permutation (PDF p.37). -/
def IsSymmetricLaurent {R : Type*} [CommRing R] {n : ℕ} (p : Laurent R n) : Prop :=
  ∀ (w : Equiv.Perm (Fin n)) (a : Fin n → ℤ), p.coeff (fun i => a (w i)) = p.coeff a

/-- Ordered Laurent evaluation using the explicit inverse generators (PDF p.37). -/
def affineLaurentEval {R : Type*} [CommRing R] {n : ℕ} (q : Rˣ) (p : Laurent R n) :
    AffineHecke q n :=
  ∑ a ∈ p.coeff.support, (p.coeff a) •
    (List.ofFn (fun i : Fin n =>
      if 0 ≤ a i then affineHeckeX q i false ^ (a i).toNat
      else affineHeckeX q i true ^ (-a i).toNat)).prod

/-- The only extra affine relation for the cyclotomic quotient (PDF p.7). -/
def affineCyclotomicRel {R : Type*} [CommRing R] {r : ℕ}
    (q : Rˣ) (Q : Fin r → R) (n : ℕ) (x y : AffineHecke q n) : Prop :=
  0 < n ∧ x = (List.ofFn (fun s : Fin r =>
    RingQuot.mkAlgHom R (AffineRel q n) (affineFreeX R n 0 false) -
      algebraMap R (AffineHecke q n) (Q s))).prod ∧ y = 0

/-- Hhat modulo the two-sided ideal generated by the cyclotomic polynomial (PDF p.7). -/
abbrev AffineCyclotomic {R : Type*} [CommRing R] {r : ℕ}
    (q : Rˣ) (Q : Fin r → R) (n : ℕ) := RingQuot (affineCyclotomicRel q Q n)

/-- Negative exponents really use inverse generators; -1 does not become zero (PDF p.37). -/
example : (-(-1 : ℤ)).toNat = 1 := by rfl

end QAlgorithms.Papers.Independent.Intake100.P36
Source
The representation theory of the Ariki-Koike and cyclotomic q-Schur algebras, arXiv:math/0204025v1, https://arxiv.org/abs/math/0204025v1
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

QAlgorithms.Papers.Independent.Intake100.P36.AKFree

For every commutative ring RRR and every natural number nnn, AKFree⁡(R,n)\operatorname{AKFree}(R,n)AKFree(R,n) denotes the free associative unital RRR-algebra on generators indexed by {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}. No commutation relations between these generators are imposed. The case n=0n=0n=0 is included: there are then no generators, and this is the free RRR-algebra on the empty set.

QAlgorithms.Papers.Independent.Intake100.P36.AKRel

For every commutative ring RRR, natural number rrr, unit q∈R×q\in R^\timesq∈R×, parameter function Q:{0,…,r−1}→RQ:\{0,\ldots,r-1\}\to RQ:{0,…,r−1}→R, and natural number nnn, this defines a binary relation on the free associative unital RRR-algebra on generators X0,…,Xn−1X_0,\ldots,X_{n-1}X0​,…,Xn−1​. Write Xi=0X_i=0Xi​=0 for i≥ni\ge ni≥n and identify elements of RRR with their scalar images in this algebra. The relation holds precisely for pairs supplied by one of these five rules, with products in the displayed order:

(∏s=0r−1(X0−Qs), 0)if n>0,((Xi−q)(Xi+1), 0)for 1≤i<n,(X0X1X0X1, X1X0X1X0)if n≥2,(XiXj, XjXi)for 0≤i,j<n, i+1<j,(XiXi+1Xi, Xi+1XiXi+1)for 1≤i, i+1<n.\begin{aligned} &\left(\prod_{s=0}^{r-1}(X_0-Q_s),\,0\right) &&\text{if }n>0,\\ &\bigl((X_i-q)(X_i+1),\,0\bigr) &&\text{for }1\le i<n,\\ &\bigl(X_0X_1X_0X_1,\,X_1X_0X_1X_0\bigr) &&\text{if }n\ge2,\\ &\bigl(X_iX_j,\,X_jX_i\bigr) &&\text{for }0\le i,j<n,\ i+1<j,\\ &\bigl(X_iX_{i+1}X_i,\,X_{i+1}X_iX_{i+1}\bigr) &&\text{for }1\le i,\ i+1<n. \end{aligned}​(s=0∏r−1​(X0​−Qs​),0)((Xi​−q)(Xi​+1),0)(X0​X1​X0​X1​,X1​X0​X1​X0​)(Xi​Xj​,Xj​Xi​)(Xi​Xi+1​Xi​,Xi+1​Xi​Xi+1​)​​if n>0,for 1≤i<n,if n≥2,for 0≤i,j<n, i+1<j,for 1≤i, i+1<n.​

These rules define the relation itself, without adding reflexive, symmetric, transitive, or algebraic closure. If r=0r=0r=0, the first product is 111, so the first rule supplies (1,0)(1,0)(1,0) whenever n>0n>0n>0. If n=0n=0n=0, none of the rules applies.

QAlgorithms.Papers.Independent.Intake100.P36.AffineCyclotomic

For any commutative ring RRR, natural numbers r,nr,nr,n, unit q∈R×q\in R^\timesq∈R×, and parameters Qs∈RQ_s\in RQs​∈R for 0≤s<r0\le s<r0≤s<r, this denotes the ring quotient of the following RRR-algebra HHH. Its generators are TiT_iTi​ for 1≤i<n1\le i<n1≤i<n and mutually commuting invertible XjX_jXj​ for 0≤j<n0\le j<n0≤j<n; its relations are (Ti−q)(Ti+1)=0(T_i-q)(T_i+1)=0(Ti​−q)(Ti​+1)=0, TiTj=TjTiT_iT_j=T_jT_iTi​Tj​=Tj​Ti​ when ∣i−j∣>1|i-j|>1∣i−j∣>1, TiTi+1Ti=Ti+1TiTi+1T_iT_{i+1}T_i=T_{i+1}T_iT_{i+1}Ti​Ti+1​Ti​=Ti+1​Ti​Ti+1​ whenever the indices exist, TiXi−1Ti=qXiT_iX_{i-1}T_i=qX_iTi​Xi−1​Ti​=qXi​, and TiXjε=XjεTiT_iX_j^\varepsilon=X_j^\varepsilon T_iTi​Xjε​=Xjε​Ti​ for ε∈{1,−1}\varepsilon\in\{1,-1\}ε∈{1,−1} and j∉{i−1,i}j\notin\{i-1,i\}j∈/{i−1,i}. If n>0n>0n>0, the quotient additionally imposes ∏s=0r−1(X0−Qs1H)=0\prod_{s=0}^{r-1}(X_0-Q_s1_H)=0∏s=0r−1​(X0​−Qs​1H​)=0, with the factors ordered by increasing sss; if n=0n=0n=0, it imposes no additional relation, and the resulting algebra is RRR. In particular, if r=0<nr=0<nr=0<n, the added relation is 1=01=01=0, so the quotient is the zero ring. No condition on the parameters QsQ_sQs​ is required.

QAlgorithms.Papers.Independent.Intake100.P36.AffineFree

For any commutative ring RRR and natural number nnn, this is the free unital associative RRR-algebra with one generator for each element of the disjoint union

{0,…,n−2} ⊔ ({0,…,n−1}×{false,true}).\{0,\ldots,n-2\}\ \sqcup\ \bigl(\{0,\ldots,n-1\}\times\{\mathrm{false},\mathrm{true}\}\bigr).{0,…,n−2} ⊔ ({0,…,n−1}×{false,true}).

The first indexing set has size max⁡(n−1,0)\max(n-1,0)max(n−1,0), because subtraction is truncated at zero. Thus the algebra has max⁡(n−1,0)+2n\max(n-1,0)+2nmax(n−1,0)+2n formal generators; the Boolean labels distinguish two generators for each index and impose no inverse relation. At n=0n=0n=0, the generator set is empty and the free algebra is canonically RRR; at n=1n=1n=1, it has only the two Boolean-labeled generators.

QAlgorithms.Papers.Independent.Intake100.P36.AffineHecke

For any commutative ring RRR, unit q∈R×q\in R^\timesq∈R×, and natural number nnn, this is the quotient of the free unital associative RRR-algebra on TiT_iTi​, 1≤i<n1\le i<n1≤i<n, and Xj+,Xj−X_j^+,X_j^-Xj+​,Xj−​, 0≤j<n0\le j<n0≤j<n, by the ring congruence generated by the following equations, with scalars embedded from RRR:

(Ti−q)(Ti+1)=0(1≤i<n),TiTi+1Ti=Ti+1TiTi+1(1≤i, i+1<n),TiTj=TjTi(1≤i, j<n, i+1<j),Xj+Xj−=1=Xj−Xj+(j<n),XiεXjη=XjηXiε(i,j<n, ε,η∈{+,−}),TiXi−1+Ti=qXi+(1≤i<n),TiXjε=XjεTi(1≤i<n, j<n, j+1≠i, j+1≠i+1, ε∈{+,−}).\begin{aligned} (T_i-q)(T_i+1)&=0 &&(1\le i<n),\\ T_iT_{i+1}T_i&=T_{i+1}T_iT_{i+1} &&(1\le i,\ i+1<n),\\ T_iT_j&=T_jT_i &&(1\le i,\ j<n,\ i+1<j),\\ X_j^+X_j^-&=1=X_j^-X_j^+ &&(j<n),\\ X_i^\varepsilon X_j^\eta&=X_j^\eta X_i^\varepsilon &&(i,j<n,\ \varepsilon,\eta\in\{+,-\}),\\ T_iX_{i-1}^+T_i&=qX_i^+ &&(1\le i<n),\\ T_iX_j^\varepsilon&=X_j^\varepsilon T_i &&(1\le i<n,\ j<n,\ j+1\ne i,\ j+1\ne i+1,\ \varepsilon\in\{+,-\}). \end{aligned}(Ti​−q)(Ti​+1)Ti​Ti+1​Ti​Ti​Tj​Xj+​Xj−​Xiε​Xjη​Ti​Xi−1+​Ti​Ti​Xjε​​=0=Ti+1​Ti​Ti+1​=Tj​Ti​=1=Xj−​Xj+​=Xjη​Xiε​=qXi+​=Xjε​Ti​​​(1≤i<n),(1≤i, i+1<n),(1≤i, j<n, i+1<j),(j<n),(i,j<n, ε,η∈{+,−}),(1≤i<n),(1≤i<n, j<n, j+1=i, j+1=i+1, ε∈{+,−}).​

Here Xj+X_j^+Xj+​ comes from the generator labeled false and Xj−X_j^-Xj−​ from the generator labeled true. At n=0n=0n=0, there are no generators or defining relation pairs, so the algebra is canonically RRR; at n=1n=1n=1, the presentation has one pair of mutually inverse generators and no TiT_iTi​.

QAlgorithms.Papers.Independent.Intake100.P36.AffineRel

For any commutative ring RRR, unit q∈R×q\in R^\timesq∈R×, and natural number nnn, let FFF be the free unital associative RRR-algebra on generators TiT_iTi​ for 1≤i<n1\le i<n1≤i<n and Xj+,Xj−X_j^+,X_j^-Xj+​,Xj−​ for 0≤j<n0\le j<n0≤j<n, where +++ denotes the Boolean value false and −-− denotes true; extend the notation by Ti=0T_i=0Ti​=0 for all other natural indices and Xj±=0X_j^\pm=0Xj±​=0 for j≥nj\ge nj≥n. The defined binary relation on FFF consists exactly of the ordered pairs in the following display, where qqq denotes its scalar image in FFF:

((Ti−q)(Ti+1), 0)(1≤i<n),(TiTi+1Ti, Ti+1TiTi+1)(1≤i, i+1<n),(TiTj, TjTi)(1≤i, j<n, i+1<j),(Xj+Xj−, 1),(Xj−Xj+, 1)(j<n),(XiεXjη, XjηXiε)(i,j<n, ε,η∈{+,−}),(TiXi−1+Ti, qXi+)(1≤i<n),(TiXjε, XjεTi)(1≤i<n, j<n, j+1≠i, j+1≠i+1, ε∈{+,−}).\begin{aligned} &\bigl((T_i-q)(T_i+1),\,0\bigr) && (1\le i<n),\\ &\bigl(T_iT_{i+1}T_i,\,T_{i+1}T_iT_{i+1}\bigr) && (1\le i,\ i+1<n),\\ &\bigl(T_iT_j,\,T_jT_i\bigr) && (1\le i,\ j<n,\ i+1<j),\\ &\bigl(X_j^+X_j^-,\,1\bigr),\quad \bigl(X_j^-X_j^+,\,1\bigr) && (j<n),\\ &\bigl(X_i^\varepsilon X_j^\eta,\,X_j^\eta X_i^\varepsilon\bigr) && (i,j<n,\ \varepsilon,\eta\in\{+,-\}),\\ &\bigl(T_iX_{i-1}^+T_i,\,qX_i^+\bigr) && (1\le i<n),\\ &\bigl(T_iX_j^\varepsilon,\,X_j^\varepsilon T_i\bigr) && (1\le i<n,\ j<n,\ j+1\ne i,\ j+1\ne i+1,\ \varepsilon\in\{+,-\}). \end{aligned}​((Ti​−q)(Ti​+1),0)(Ti​Ti+1​Ti​,Ti+1​Ti​Ti+1​)(Ti​Tj​,Tj​Ti​)(Xj+​Xj−​,1),(Xj−​Xj+​,1)(Xiε​Xjη​,Xjη​Xiε​)(Ti​Xi−1+​Ti​,qXi+​)(Ti​Xjε​,Xjε​Ti​)​​(1≤i<n),(1≤i, i+1<n),(1≤i, j<n, i+1<j),(j<n),(i,j<n, ε,η∈{+,−}),(1≤i<n),(1≤i<n, j<n, j+1=i, j+1=i+1, ε∈{+,−}).​

These are pairs of elements in the free algebra; this definition does not itself identify their two entries or close the relation under symmetry, transitivity, or algebra operations. When n=0n=0n=0, there are no pairs; when n=1n=1n=1, only the inverse and commuting-XXX pairs can occur.

QAlgorithms.Papers.Independent.Intake100.P36.ArikiKoike

For every commutative ring RRR, natural number rrr, unit q∈R×q\in R^\timesq∈R×, function Q:{0,…,r−1}→RQ:\{0,\ldots,r-1\}\to RQ:{0,…,r−1}→R, and natural number nnn, ArikiKoike⁡(q,Q,n)\operatorname{ArikiKoike}(q,Q,n)ArikiKoike(q,Q,n) denotes the ring quotient of the free associative unital RRR-algebra on T0,…,Tn−1T_0,\ldots,T_{n-1}T0​,…,Tn−1​ by the smallest ring congruence imposing

∏s=0r−1(T0−Qs)=0(n>0),(Ti−q)(Ti+1)=0(1≤i<n),T0T1T0T1=T1T0T1T0(n≥2),TiTj=TjTi(0≤i,j<n, i+1<j),TiTi+1Ti=Ti+1TiTi+1(1≤i, i+1<n).\begin{gathered} \prod_{s=0}^{r-1}(T_0-Q_s)=0\quad(n>0),\qquad (T_i-q)(T_i+1)=0\quad(1\le i<n),\\ T_0T_1T_0T_1=T_1T_0T_1T_0\quad(n\ge2),\\ T_iT_j=T_jT_i\quad(0\le i,j<n,\ i+1<j),\\ T_iT_{i+1}T_i=T_{i+1}T_iT_{i+1}\quad(1\le i,\ i+1<n). \end{gathered}s=0∏r−1​(T0​−Qs​)=0(n>0),(Ti​−q)(Ti​+1)=0(1≤i<n),T0​T1​T0​T1​=T1​T0​T1​T0​(n≥2),Ti​Tj​=Tj​Ti​(0≤i,j<n, i+1<j),Ti​Ti+1​Ti​=Ti+1​Ti​Ti+1​(1≤i, i+1<n).​

Scalars in these formulas are their canonical images, and the cyclotomic product is ordered by increasing sss. The cases r=0r=0r=0 and n=0n=0n=0 are allowed: for r=0<nr=0<nr=0<n, the empty cyclotomic product imposes 1=01=01=0, whereas for n=0n=0n=0 there are no generators and no imposed relations.

QAlgorithms.Papers.Independent.Intake100.P36.IsSymmetricLaurent

For any commutative ring RRR, any natural number nnn, and any Laurent polynomial p=∑a∈Z[n]cauap=\sum_{a\in\mathbb Z^{[n]}}c_a u^ap=∑a∈Z[n]​ca​ua with finitely many nonzero coefficients, where [n]={0,…,n−1}[n]=\{0,\ldots,n-1\}[n]={0,…,n−1}, this predicate means that ca∘w=cac_{a\circ w}=c_aca∘w​=ca​ for every permutation www of [n][n][n] and every exponent vector a:[n]→Za:[n]\to\mathbb Za:[n]→Z. Thus its coefficients are unchanged by every permutation of the coordinates of an exponent vector. The case n=0n=0n=0 is included: there is one empty exponent vector, and every such Laurent polynomial satisfies the predicate.

QAlgorithms.Papers.Independent.Intake100.P36.Laurent

For any commutative ring RRR and natural number nnn, this is the additive monoid algebra of the additive group Zn\mathbb Z^nZn over RRR: its elements are finitely supported coefficient functions c:Zn→Rc:\mathbb Z^n\to Rc:Zn→R, written as finite formal sums

∑a∈ZncaXa.\sum_{a\in\mathbb Z^n}c_aX^a.a∈Zn∑​ca​Xa.

Addition is coefficientwise, multiplication is the convolution determined by XaXb=Xa+bX^aX^b=X^{a+b}XaXb=Xa+b, and the multiplicative identity has coefficient 111 at the zero exponent vector and zero elsewhere. The exponent coordinates are indexed by 0,…,n−10,\ldots,n-10,…,n−1 and may be negative. When n=0n=0n=0, there is exactly one exponent vector, the empty vector, and this algebra is canonically RRR.

QAlgorithms.Papers.Independent.Intake100.P36.MultiPartition

For any natural numbers r,nr,nr,n, this is the type of arrays (as,i)0≤s<r, 0≤i<n(a_{s,i})_{0\le s<r,\ 0\le i<n}(as,i​)0≤s<r, 0≤i<n​ whose entries are integers in {0,…,n}\{0,\ldots,n\}{0,…,n}, satisfying

∑s=0r−1∑i=0n−1as,i=n,as,j≤as,iwhenever 0≤s<r and 0≤i≤j<n.\sum_{s=0}^{r-1}\sum_{i=0}^{n-1}a_{s,i}=n, \qquad a_{s,j}\le a_{s,i}\quad \text{whenever }0\le s<r\text{ and }0\le i\le j<n.s=0∑r−1​i=0∑n−1​as,i​=n,as,j​≤as,i​whenever 0≤s<r and 0≤i≤j<n.

Thus each component has a weakly decreasing sequence of nnn entries, and the sum over all components is nnn. When n=0n=0n=0, there is exactly one such empty array for every rrr; when r=0r=0r=0 and n>0n>0n>0, there are no such arrays because the sum is 000.

QAlgorithms.Papers.Independent.Intake100.P36.MurphyIndex

For any natural numbers r,nr,nr,n, MurphyIndex⁡(r,n)\operatorname{MurphyIndex}(r,n)MurphyIndex(r,n) is the type of triples (λ,s,t)(\lambda,s,t)(λ,s,t), where λ=(λc,a)c<r, a<n\lambda=(\lambda_{c,a})_{c<r,\ a<n}λ=(λc,a​)c<r, a<n​ has entries in {0,…,n}\{0,\ldots,n\}{0,…,n}, satisfies ∑c<r∑a<nλc,a=n\sum_{c<r}\sum_{a<n}\lambda_{c,a}=n∑c<r​∑a<n​λc,a​=n, and is weakly decreasing in aaa for each ccc, and where s,ts,ts,t are independently chosen bijections from the node set {(c,a,b):c<r, a,b<n, b<λc,a}\{(c,a,b):c<r,\ a,b<n,\ b<\lambda_{c,a}\}{(c,a,b):c<r, a,b<n, b<λc,a​} to {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}. Each bijection must strictly increase with the column within any fixed component and row, and strictly increase with the row within any fixed component and column. The pair (s,t)(s,t)(s,t) is ordered, and the two tableaux may coincide. For n=0n=0n=0, there is one empty shape and one pair of empty tableaux, so this type has one element for every rrr. For r=0r=0r=0 and n>0n>0n>0, the required total sum cannot equal nnn, so the type is empty.

QAlgorithms.Papers.Independent.Intake100.P36.Node

For natural numbers r,nr,nr,n and an array λ=(λs,i)0≤s<r, 0≤i<n\lambda=(\lambda_{s,i})_{0\le s<r,\ 0\le i<n}λ=(λs,i​)0≤s<r, 0≤i<n​ with entries in {0,…,n}\{0,\ldots,n\}{0,…,n}, total sum nnn, and λs,j≤λs,i\lambda_{s,j}\le\lambda_{s,i}λs,j​≤λs,i​ whenever i≤ji\le ji≤j, this is the type of triples

(s,i,j)such that0≤s<r,0≤i<n,0≤j<n,j<λs,i.(s,i,j)\quad\text{such that}\quad 0\le s<r,\qquad 0\le i<n,\qquad 0\le j<n,\qquad j<\lambda_{s,i}.(s,i,j)such that0≤s<r,0≤i<n,0≤j<n,j<λs,i​.

The three coordinates specify a component, row, and column, all numbered from 000. When n=0n=0n=0, this type is empty.

QAlgorithms.Papers.Independent.Intake100.P36.ShapeDominates

For any natural numbers r,nr,nr,n and arrays λ,μ\lambda,\muλ,μ, each indexed by c<rc<rc<r, a<na<na<n, with entries in {0,…,n}\{0,\ldots,n\}{0,…,n}, weakly decreasing in each component's row index, and having total sum nnn, the proposition ShapeDominates⁡(λ,μ)\operatorname{ShapeDominates}(\lambda,\mu)ShapeDominates(λ,μ) means that for every component s<rs<rs<r and every natural number iii,

∑c<s∑a<nμc,a+∑a<na<iμs,a ≤ ∑c<s∑a<nλc,a+∑a<na<iλs,a.\sum_{c<s}\sum_{a<n}\mu_{c,a} +\sum_{\substack{a<n\\a<i}}\mu_{s,a} \ \le\ \sum_{c<s}\sum_{a<n}\lambda_{c,a} +\sum_{\substack{a<n\\a<i}}\lambda_{s,a}.c<s∑​a<n∑​μc,a​+a<na<i​∑​μs,a​ ≤ c<s∑​a<n∑​λc,a​+a<na<i​∑​λs,a​.

The inequalities are weak, so equality of shapes is allowed. The quantification includes i=0i=0i=0 and every i≥ni\ge ni≥n; for such i≥ni\ge ni≥n, each second sum contains the entire indicated component. If n=0n=0n=0, all sums vanish and the proposition holds. If r=0r=0r=0, the component quantification is vacuous, although shapes with these parameters exist only when n=0n=0n=0.

QAlgorithms.Papers.Independent.Intake100.P36.StandardMultiTableau

For natural numbers r,nr,nr,n and an array λ=(λs,i)\lambda=(\lambda_{s,i})λ=(λs,i​) with rrr components, nnn entries per component, entries in {0,…,n}\{0,\ldots,n\}{0,…,n}, total sum nnn, and weakly decreasing entries in each component, let NλN_\lambdaNλ​ be the set of triples (s,i,j)(s,i,j)(s,i,j) with 0≤s<r0\le s<r0≤s<r, 0≤i,j<n0\le i,j<n0≤i,j<n, and j<λs,ij<\lambda_{s,i}j<λs,i​. This is the type of bijections t:Nλ→{0,…,n−1}t:N_\lambda\to\{0,\ldots,n-1\}t:Nλ​→{0,…,n−1} such that for every pair x=(s,i,j)x=(s,i,j)x=(s,i,j) and y=(s′,i′,j′)y=(s',i',j')y=(s′,i′,j′) of nodes, s=s′s=s's=s′, i=i′i=i'i=i′, and j<j′j<j'j<j′ imply t(x)<t(y)t(x)<t(y)t(x)<t(y), and s=s′s=s's=s′, j=j′j=j'j=j′, and i<i′i<i'i<i′ imply t(x)<t(y)t(x)<t(y)t(x)<t(y). Thus the labels increase along each row and each column within each component, with no comparison requirement between different components. When n=0n=0n=0, both sets of the bijection are empty, and there is exactly one such tableau.

QAlgorithms.Papers.Independent.Intake100.P36.TableauDominates

For natural numbers r,nr,nr,n, let λ\lambdaλ consist of rrr weakly decreasing lists of nnn row lengths, each length between 000 and nnn, with total sum nnn. Its nodes are triples (c,a,b)(c,a,b)(c,a,b) with 0≤c<r0\le c<r0≤c<r, 0≤a,b<n0\le a,b<n0≤a,b<n, and b<λc,ab<\lambda_{c,a}b<λc,a​. Let s,ts,ts,t be bijective labelings of these nodes by 0,…,n−10,\ldots,n-10,…,n−1, increasing along each row and down each column within each component. The assertion that sss dominates ttt means that, for every natural number k≤nk\le nk≤n, every component c<rc<rc<r, and every natural number iii,

#{(d,a,b):t(d,a,b)<k, d<c or (d=c and a<i)}≤#{(d,a,b):s(d,a,b)<k, d<c or (d=c and a<i)}.\#\{(d,a,b):t(d,a,b)<k,\ d<c\ \text{or}\ (d=c\ \text{and}\ a<i)\} \le \#\{(d,a,b):s(d,a,b)<k,\ d<c\ \text{or}\ (d=c\ \text{and}\ a<i)\}.#{(d,a,b):t(d,a,b)<k, d<c or (d=c and a<i)}≤#{(d,a,b):s(d,a,b)<k, d<c or (d=c and a<i)}.

There is no upper bound on iii. When k=0k=0k=0, both counts are zero; when n=0n=0n=0, every such comparison is between zero counts. If r=0<nr=0<nr=0<n, no such λ\lambdaλ exists.

QAlgorithms.Papers.Independent.Intake100.P36.affineCyclotomicRel

For any commutative ring RRR, natural numbers r,nr,nr,n, unit q∈R×q\in R^\timesq∈R×, parameters Qs∈RQ_s\in RQs​∈R indexed by 0≤s<r0\le s<r0≤s<r, and elements x,yx,yx,y of an RRR-algebra HHH, this predicate is defined as follows. The algebra HHH is generated by TiT_iTi​ for 1≤i<n1\le i<n1≤i<n and mutually commuting invertible XjX_jXj​ for 0≤j<n0\le j<n0≤j<n, with relations (Ti−q)(Ti+1)=0(T_i-q)(T_i+1)=0(Ti​−q)(Ti​+1)=0, commutation of Ti,TjT_i,T_jTi​,Tj​ when ∣i−j∣>1|i-j|>1∣i−j∣>1, the braid relations TiTi+1Ti=Ti+1TiTi+1T_iT_{i+1}T_i=T_{i+1}T_iT_{i+1}Ti​Ti+1​Ti​=Ti+1​Ti​Ti+1​ whenever the indices exist, TiXi−1Ti=qXiT_iX_{i-1}T_i=qX_iTi​Xi−1​Ti​=qXi​, and commutation of TiT_iTi​ with XjX_jXj​ and Xj−1X_j^{-1}Xj−1​ whenever j∉{i−1,i}j\notin\{i-1,i\}j∈/{i−1,i}. The predicate holds exactly when n>0n>0n>0, x=∏s=0r−1(X0−Qs1H)x=\prod_{s=0}^{r-1}(X_0-Q_s1_H)x=∏s=0r−1​(X0​−Qs​1H​), with factors ordered by increasing sss, and y=0Hy=0_Hy=0H​. It is false for every x,yx,yx,y when n=0n=0n=0. When r=0r=0r=0, the product is empty and equals 1H1_H1H​, so for n>0n>0n>0 the predicate holds exactly for x=1Hx=1_Hx=1H​ and y=0Hy=0_Hy=0H​. No invertibility or distinctness assumptions are imposed on the QsQ_sQs​.

QAlgorithms.Papers.Independent.Intake100.P36.affineFreeT

For any commutative ring RRR and natural numbers n,in,in,i, work in the free unital associative RRR-algebra whose generator set is the disjoint union of a set of size max⁡(n−1,0)\max(n-1,0)max(n−1,0) and the pairs (j,b)(j,b)(j,b) with j<nj<nj<n and bbb Boolean. The element defined here is the generator in the first summand with zero-based index i−1i-1i−1 if 1≤i<n1\le i<n1≤i<n, and it is the zero element otherwise. In particular, it is zero for i=0i=0i=0, for i≥ni\ge ni≥n, and for every iii when n=0n=0n=0 or n=1n=1n=1; the subtraction i−1i-1i−1 is natural-number subtraction and is used to select a generator only in the branch where i≥1i\ge1i≥1.

QAlgorithms.Papers.Independent.Intake100.P36.affineFreeX

For any commutative ring RRR, natural numbers n,jn,jn,j, and Boolean value bbb, work in the free unital associative RRR-algebra with generator set consisting of a first summand of size max⁡(n−1,0)\max(n-1,0)max(n−1,0) and a second summand of pairs (a,c)(a,c)(a,c) with a<na<na<n and ccc Boolean. The element defined here is the second-summand generator indexed by (j,b)(j,b)(j,b) when j<nj<nj<n, and zero when j≥nj\ge nj≥n. The two Boolean values select distinct formal generator labels; the definition itself imposes no inverse relation. For n=0n=0n=0, its value is zero for every j,bj,bj,b.

QAlgorithms.Papers.Independent.Intake100.P36.affineHeckeX

Let RRR be any commutative ring, q∈R×q\in R^\timesq∈R×, nnn a natural number, j∈{0,…,n−1}j\in\{0,\ldots,n-1\}j∈{0,…,n−1}, and bbb a Boolean value. Consider the quotient of the free unital associative RRR-algebra on TiT_iTi​, 1≤i<n1\le i<n1≤i<n, and Xa+,Xa−X_a^+,X_a^-Xa+​,Xa−​, a<na<na<n, by the relations (Ti−q)(Ti+1)=0(T_i-q)(T_i+1)=0(Ti​−q)(Ti​+1)=0, TiTi+1Ti=Ti+1TiTi+1T_iT_{i+1}T_i=T_{i+1}T_iT_{i+1}Ti​Ti+1​Ti​=Ti+1​Ti​Ti+1​ for 1≤i1\le i1≤i and i+1<ni+1<ni+1<n, TiTℓ=TℓTiT_iT_\ell=T_\ell T_iTi​Tℓ​=Tℓ​Ti​ for 1≤i1\le i1≤i, ℓ<n\ell<nℓ<n, and i+1<ℓi+1<\elli+1<ℓ, Xa+Xa−=Xa−Xa+=1X_a^+X_a^-=X_a^-X_a^+=1Xa+​Xa−​=Xa−​Xa+​=1, pairwise commutation of all Xa±X_a^\pmXa±​, TiXi−1+Ti=qXi+T_iX_{i-1}^+T_i=qX_i^+Ti​Xi−1+​Ti​=qXi+​ for 1≤i<n1\le i<n1≤i<n, and TiXaε=XaεTiT_iX_a^\varepsilon=X_a^\varepsilon T_iTi​Xaε​=Xaε​Ti​ for 1≤i<n1\le i<n1≤i<n, a<na<na<n, a+1≠ia+1\ne ia+1=i, a+1≠i+1a+1\ne i+1a+1=i+1, and either sign ε\varepsilonε. The element defined here is the image under the canonical quotient RRR-algebra homomorphism of Xj+X_j^+Xj+​ if bbb is false and of Xj−X_j^-Xj−​ if bbb is true. Since j<nj<nj<n is part of the argument’s type, the free-generator definition always uses its valid-index branch; there is no such argument when n=0n=0n=0.

QAlgorithms.Papers.Independent.Intake100.P36.affineLaurentEval

For any commutative ring RRR, natural number nnn, unit q∈R×q\in R^\timesq∈R×, and finitely supported Laurent polynomial p=∑acauap=\sum_a c_a u^ap=∑a​ca​ua in nnn variables, this defines an element of the following RRR-algebra HHH: it has generators TiT_iTi​ for 1≤i<n1\le i<n1≤i<n and mutually commuting invertible generators XjX_jXj​ for 0≤j<n0\le j<n0≤j<n, subject to (Ti−q)(Ti+1)=0(T_i-q)(T_i+1)=0(Ti​−q)(Ti​+1)=0, TiTj=TjTiT_iT_j=T_jT_iTi​Tj​=Tj​Ti​ when ∣i−j∣>1|i-j|>1∣i−j∣>1, TiTi+1Ti=Ti+1TiTi+1T_iT_{i+1}T_i=T_{i+1}T_iT_{i+1}Ti​Ti+1​Ti​=Ti+1​Ti​Ti+1​ when 1≤i1\le i1≤i and i+1<ni+1<ni+1<n, TiXi−1Ti=qXiT_iX_{i-1}T_i=qX_iTi​Xi−1​Ti​=qXi​, and TiXjε=XjεTiT_iX_j^\varepsilon=X_j^\varepsilon T_iTi​Xjε​=Xjε​Ti​ for ε∈{1,−1}\varepsilon\in\{1,-1\}ε∈{1,−1} whenever j∉{i−1,i}j\notin\{i-1,i\}j∈/{i−1,i}. The defined element is ∑a:ca≠0ca∏j=0n−1Yj(a)\sum_{a:c_a\ne0}c_a\prod_{j=0}^{n-1}Y_j(a)∑a:ca​=0​ca​∏j=0n−1​Yj​(a), with the product taken in increasing order of jjj, where Yj(a)=XjajY_j(a)=X_j^{a_j}Yj​(a)=Xjaj​​ if aj≥0a_j\ge0aj​≥0, and Yj(a)=(Xj−1)−ajY_j(a)=(X_j^{-1})^{-a_j}Yj​(a)=(Xj−1​)−aj​ if aj<0a_j<0aj​<0. Here multiplication by cac_aca​ is scalar multiplication from RRR. A zero exponent contributes 111, the zero polynomial gives the empty sum 000, and for n=0n=0n=0 the product is empty and equals 111, so evaluation gives the constant coefficient. No symmetry condition on ppp is assumed.

QAlgorithms.Papers.Independent.Intake100.P36.affineT

Let RRR be any commutative ring, q∈R×q\in R^\timesq∈R×, and n,in,in,i natural numbers. Consider the unital associative RRR-algebra presented by TaT_aTa​ for 1≤a<n1\le a<n1≤a<n and Xj+,Xj−X_j^+,X_j^-Xj+​,Xj−​ for j<nj<nj<n, with relations (Ta−q)(Ta+1)=0(T_a-q)(T_a+1)=0(Ta​−q)(Ta​+1)=0, TaTa+1Ta=Ta+1TaTa+1T_aT_{a+1}T_a=T_{a+1}T_aT_{a+1}Ta​Ta+1​Ta​=Ta+1​Ta​Ta+1​ when 1≤a1\le a1≤a and a+1<na+1<na+1<n, TaTb=TbTaT_aT_b=T_bT_aTa​Tb​=Tb​Ta​ when 1≤a1\le a1≤a, b<nb<nb<n, and a+1<ba+1<ba+1<b, Xj+Xj−=Xj−Xj+=1X_j^+X_j^-=X_j^-X_j^+=1Xj+​Xj−​=Xj−​Xj+​=1, pairwise commutation of all Xj±X_j^\pmXj±​, TaXa−1+Ta=qXa+T_aX_{a-1}^+T_a=qX_a^+Ta​Xa−1+​Ta​=qXa+​ for 1≤a<n1\le a<n1≤a<n, and TaXjε=XjεTaT_aX_j^\varepsilon=X_j^\varepsilon T_aTa​Xjε​=Xjε​Ta​ for 1≤a<n1\le a<n1≤a<n, j<nj<nj<n, j+1≠aj+1\ne aj+1=a, j+1≠a+1j+1\ne a+1j+1=a+1, and either sign ε\varepsilonε. Here +++ and −-− correspond to the false and true generator labels. The element defined here is the image under the canonical quotient RRR-algebra homomorphism of the free generator TiT_iTi​ when 1≤i<n1\le i<n1≤i<n, and is zero otherwise. In particular it is zero at i=0i=0i=0, at i≥ni\ge ni≥n, and for every iii when n≤1n\le1n≤1.

QAlgorithms.Papers.Independent.Intake100.P36.akFreeGenerator

For every commutative ring RRR and natural numbers nnn and iii, this defines an element XiX_iXi​ of the free associative unital RRR-algebra on nnn generators by

Xi={the free generator indexed by i,i<n,0,i≥n.X_i= \begin{cases} \text{the free generator indexed by }i,&i<n,\\ 0,&i\ge n. \end{cases}Xi​={the free generator indexed by i,0,​i<n,i≥n.​

Thus the definition accepts every natural-number index, including indices outside the generating set; when n=0n=0n=0, its value is zero for every iii.

QAlgorithms.Papers.Independent.Intake100.P36.akT

For every commutative ring RRR, natural number rrr, unit q∈R×q\in R^\timesq∈R×, parameter function Q:{0,…,r−1}→RQ:\{0,\ldots,r-1\}\to RQ:{0,…,r−1}→R, and natural numbers n,in,in,i, this defines TiT_iTi​ to be the image of the iiith free generator under the canonical quotient map when i<ni<ni<n, and zero when i≥ni\ge ni≥n. The target is the quotient RRR-algebra on generators T0,…,Tn−1T_0,\ldots,T_{n-1}T0​,…,Tn−1​ imposing

∏s=0r−1(T0−Qs)=0 (n>0),(Tj−q)(Tj+1)=0 (1≤j<n),T0T1T0T1=T1T0T1T0 (n≥2),TjTk=TkTj (0≤j,k<n, j+1<k),TjTj+1Tj=Tj+1TjTj+1 (1≤j, j+1<n),\begin{gathered} \prod_{s=0}^{r-1}(T_0-Q_s)=0\ (n>0),\qquad (T_j-q)(T_j+1)=0\ (1\le j<n),\\ T_0T_1T_0T_1=T_1T_0T_1T_0\ (n\ge2),\\ T_jT_k=T_kT_j\ (0\le j,k<n,\ j+1<k),\\ T_jT_{j+1}T_j=T_{j+1}T_jT_{j+1}\ (1\le j,\ j+1<n), \end{gathered}s=0∏r−1​(T0​−Qs​)=0 (n>0),(Tj​−q)(Tj​+1)=0 (1≤j<n),T0​T1​T0​T1​=T1​T0​T1​T0​ (n≥2),Tj​Tk​=Tk​Tj​ (0≤j,k<n, j+1<k),Tj​Tj+1​Tj​=Tj+1​Tj​Tj+1​ (1≤j, j+1<n),​

where scalars use the canonical map and the first product has increasing indices. In particular, every TiT_iTi​ is zero when n=0n=0n=0; if r=0<nr=0<nr=0<n, the quotient imposes 1=01=01=0.

QAlgorithms.Papers.Independent.Intake100.P36.arikiKoikeMonomial

For every commutative ring RRR, natural numbers r,nr,nr,n, unit q∈R×q\in R^\timesq∈R×, parameter function Q:{0,…,r−1}→RQ:\{0,\ldots,r-1\}\to RQ:{0,…,r−1}→R, function a:{0,…,n−1}→{0,…,r−1}a:\{0,\ldots,n-1\}\to\{0,\ldots,r-1\}a:{0,…,n−1}→{0,…,r−1}, and permutation www of {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}, this defines an element of the quotient RRR-algebra on T0,…,Tn−1T_0,\ldots,T_{n-1}T0​,…,Tn−1​ imposing

∏s=0r−1(T0−Qs)=0 (n>0),(Ti−q)(Ti+1)=0 (1≤i<n),T0T1T0T1=T1T0T1T0 (n≥2),TiTj=TjTi (0≤i,j<n, i+1<j),TiTi+1Ti=Ti+1TiTi+1 (1≤i, i+1<n),\begin{gathered} \prod_{s=0}^{r-1}(T_0-Q_s)=0\ (n>0),\qquad (T_i-q)(T_i+1)=0\ (1\le i<n),\\ T_0T_1T_0T_1=T_1T_0T_1T_0\ (n\ge2),\qquad T_iT_j=T_jT_i\ (0\le i,j<n,\ i+1<j),\\ T_iT_{i+1}T_i=T_{i+1}T_iT_{i+1}\ (1\le i,\ i+1<n), \end{gathered}s=0∏r−1​(T0​−Qs​)=0 (n>0),(Ti​−q)(Ti​+1)=0 (1≤i<n),T0​T1​T0​T1​=T1​T0​T1​T0​ (n≥2),Ti​Tj​=Tj​Ti​ (0≤i,j<n, i+1<j),Ti​Ti+1​Ti​=Ti+1​Ti​Ti+1​ (1≤i, i+1<n),​

with canonical scalar images and increasing order in the first product. Define J0=T0J_0=T_0J0​=T0​ and Jk+1=q−1Tk+1JkTk+1J_{k+1}=q^{-1}T_{k+1}J_kT_{k+1}Jk+1​=q−1Tk+1​Jk​Tk+1​ for k+1<nk+1<nk+1<n. Choose a list ℓ=[i1,…,im]\ell=[i_1,\ldots,i_m]ℓ=[i1​,…,im​] of indices with ib+1<ni_b+1<nib​+1<n by classical choice subject, whenever possible, to σim⋯σi1=w\sigma_{i_m}\cdots\sigma_{i_1}=wσim​​⋯σi1​​=w and m=#{(u,v):u<v, w(v)<w(u)}m=\#\{(u,v):u<v,\ w(v)<w(u)\}m=#{(u,v):u<v, w(v)<w(u)}, where σi\sigma_iσi​ exchanges iii and i+1i+1i+1; otherwise the list is unspecified. For the input pair (a,w)(a,w)(a,w), the value is

(J0a(0)J1a(1)⋯Jn−1a(n−1))(Ti1+1⋯Tim+1),\left(J_0^{a(0)}J_1^{a(1)}\cdots J_{n-1}^{a(n-1)}\right) \left(T_{i_1+1}\cdots T_{i_m+1}\right),(J0a(0)​J1a(1)​⋯Jn−1a(n−1)​)(Ti1​+1​⋯Tim​+1​),

where the values of aaa are read as natural-number exponents and both products retain their displayed order. If n=0n=0n=0, both products are empty and the value is 111. If r=0<nr=0<nr=0<n, no function aaa of the required type exists.

QAlgorithms.Papers.Independent.Intake100.P36.cyclotomicJM

For every commutative ring RRR, natural numbers r,nr,nr,n, unit q∈R×q\in R^\timesq∈R×, parameter function Q:{0,…,r−1}→RQ:\{0,\ldots,r-1\}\to RQ:{0,…,r−1}→R, and index k∈{0,…,n−1}k\in\{0,\ldots,n-1\}k∈{0,…,n−1}, this defines the element JkJ_kJk​ in the quotient RRR-algebra generated by T0,…,Tn−1T_0,\ldots,T_{n-1}T0​,…,Tn−1​ subject to

∏s=0r−1(T0−Qs)=0 (n>0),(Ti−q)(Ti+1)=0 (1≤i<n),T0T1T0T1=T1T0T1T0 (n≥2),TiTj=TjTi (0≤i,j<n, i+1<j),TiTi+1Ti=Ti+1TiTi+1 (1≤i, i+1<n),\begin{gathered} \prod_{s=0}^{r-1}(T_0-Q_s)=0\ (n>0),\qquad (T_i-q)(T_i+1)=0\ (1\le i<n),\\ T_0T_1T_0T_1=T_1T_0T_1T_0\ (n\ge2),\qquad T_iT_j=T_jT_i\ (0\le i,j<n,\ i+1<j),\\ T_iT_{i+1}T_i=T_{i+1}T_iT_{i+1}\ (1\le i,\ i+1<n), \end{gathered}s=0∏r−1​(T0​−Qs​)=0 (n>0),(Ti​−q)(Ti​+1)=0 (1≤i<n),T0​T1​T0​T1​=T1​T0​T1​T0​ (n≥2),Ti​Tj​=Tj​Ti​ (0≤i,j<n, i+1<j),Ti​Ti+1​Ti​=Ti+1​Ti​Ti+1​ (1≤i, i+1<n),​

with canonical scalar images and increasing order in the cyclotomic product. Its value is obtained from J0=T0J_0=T_0J0​=T0​ and Jℓ+1=q−1Tℓ+1JℓTℓ+1J_{\ell+1}=q^{-1}T_{\ell+1}J_\ell T_{\ell+1}Jℓ+1​=q−1Tℓ+1​Jℓ​Tℓ+1​; equivalently,

Jk=q−kTkTk−1⋯T1T0T1⋯Tk−1Tk,J_k=q^{-k}T_kT_{k-1}\cdots T_1T_0T_1\cdots T_{k-1}T_k,Jk​=q−kTk​Tk−1​⋯T1​T0​T1​⋯Tk−1​Tk​,

with both strings surrounding T0T_0T0​ empty for k=0k=0k=0. When n=0n=0n=0 there is no possible input kkk. If r=0<nr=0<nr=0<n, the quotient imposes 1=01=01=0.

QAlgorithms.Papers.Independent.Intake100.P36.dominancePrefix

For natural numbers r,nr,nr,n, let λ=(λc,a)c<r, a<n\lambda=(\lambda_{c,a})_{c<r,\ a<n}λ=(λc,a​)c<r, a<n​ have entries in {0,…,n}\{0,\ldots,n\}{0,…,n}, weakly decreasing in the row index within each component, with total sum nnn. For a component s<rs<rs<r and any natural number iii, define

dominancePrefix⁡(λ,s,i)=∑c<s∑a<nλc,a+∑a<na<iλs,a.\operatorname{dominancePrefix}(\lambda,s,i) =\sum_{c<s}\sum_{a<n}\lambda_{c,a} +\sum_{\substack{a<n\\a<i}}\lambda_{s,a}.dominancePrefix(λ,s,i)=c<s∑​a<n∑​λc,a​+a<na<i​∑​λs,a​.

Thus the value counts all row lengths in components strictly before sss, together with the first iii rows available in component sss. The argument iii need not be at most nnn: if i≥ni\ge ni≥n, the second sum includes every row of component sss, while if i=0i=0i=0, it is empty. For n=0n=0n=0, the value is zero; for r=0r=0r=0, there is no component argument sss.

QAlgorithms.Papers.Independent.Intake100.P36.higherMurphySpan

Let RRR be a commutative ring, r,nr,nr,n natural numbers, q∈R×q\in R^\timesq∈R×, Q=(Qc)c<r∈RrQ=(Q_c)_{c<r}\in R^rQ=(Qc​)c<r​∈Rr, and λ=(λc,a)\lambda=(\lambda_{c,a})λ=(λc,a​) an array of entries in {0,…,n}\{0,\ldots,n\}{0,…,n}, weakly decreasing in each component's row index and with total sum nnn. Let A\mathcal AA be the unital associative RRR-algebra on T0,…,Tn−1T_0,\ldots,T_{n-1}T0​,…,Tn−1​, subject to ∏c<r(T0−Qc)=0\prod_{c<r}(T_0-Q_c)=0∏c<r​(T0​−Qc​)=0 for n>0n>0n>0, (Ti−q)(Ti+1)=0(T_i-q)(T_i+1)=0(Ti​−q)(Ti​+1)=0 for 1≤i<n1\le i<n1≤i<n, T0T1T0T1=T1T0T1T0T_0T_1T_0T_1=T_1T_0T_1T_0T0​T1​T0​T1​=T1​T0​T1​T0​ for n≥2n\ge2n≥2, TiTj=TjTiT_iT_j=T_jT_iTi​Tj​=Tj​Ti​ for 0≤i,j<n0\le i,j<n0≤i,j<n and i+1<ji+1<ji+1<j, and TiTi+1Ti=Ti+1TiTi+1T_iT_{i+1}T_i=T_{i+1}T_iT_{i+1}Ti​Ti+1​Ti​=Ti+1​Ti​Ti+1​ for 1≤i1\le i1≤i and i+1<ni+1<ni+1<n, with scalars mapped into A\mathcal AA. Set Tj=0T_j=0Tj​=0 for j≥nj\ge nj≥n, L0=T0L_0=T_0L0​=T0​, and Lk+1=q−1Tk+1LkTk+1L_{k+1}=q^{-1}T_{k+1}L_kT_{k+1}Lk+1​=q−1Tk+1​Lk​Tk+1​. For a permutation www, classically choose a list ℓ(w)\ell(w)ℓ(w) of adjacent positions whose reverse has transposition product www and whose length is #{(u,v):u<v<n, w(v)<w(u)}\#\{(u,v):u<v<n,\ w(v)<w(u)\}#{(u,v):u<v<n, w(v)<w(u)}, and define E(w)=∏a∈ℓ(w)Ta+1E(w)=\prod_{a\in\ell(w)}T_{a+1}E(w)=∏a∈ℓ(w)​Ta+1​ in list order. For any array μ\muμ satisfying the same shape conditions as λ\lambdaλ, its nodes are triples (c,a,b)(c,a,b)(c,a,b) with c<rc<rc<r, a,b<na,b<na,b<n, and b<μc,ab<\mu_{c,a}b<μc,a​; write ρμ(x)\rho_\mu(x)ρμ​(x) for the number of nodes lexicographically before xxx, and Aμ(c)=∑d<c∑a<nμd,aA_\mu(c)=\sum_{d<c}\sum_{a<n}\mu_{d,a}Aμ​(c)=∑d<c​∑a<n​μd,a​. A standard tableau of μ\muμ is a bijection from its nodes to {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1} that strictly increases along rows and columns within each component. For each such tableau sss, choose psp_sps​ using the condition ps(k)=s(x)p_s(k)=s(x)ps​(k)=s(x) whenever k=ρμ(x)k=\rho_\mu(x)k=ρμ​(x); all these classical choices have arbitrary defaults if their predicates have no solution. Let WμW_\muWμ​ contain those permutations www such that every node xxx and k<nk<nk<n with k=ρμ(x)k=\rho_\mu(x)k=ρμ​(x) admit a node yyy in the same component and row with ρμ(y)=w(k)\rho_\mu(y)=w(k)ρμ​(y)=w(k), and define

mμ;s,t=E(ps−1)(∑w∈WμE(w))(∏c=0r−1∏0≤k<nk<Aμ(c)(Lk−Qc))E(pt),m_{\mu;s,t} =E(p_s^{-1}) \left(\sum_{w\in W_\mu}E(w)\right) \left(\prod_{c=0}^{r-1} \prod_{\substack{0\le k<n\\k<A_\mu(c)}}(L_k-Q_c)\right) E(p_t),mμ;s,t​=E(ps−1​)​w∈Wμ​∑​E(w)​​c=0∏r−1​0≤k<nk<Aμ​(c)​∏​(Lk​−Qc​)​E(pt​),

where products use increasing indices and empty products equal 111. Then higherMurphySpan⁡(q,Q,λ)\operatorname{higherMurphySpan}(q,Q,\lambda)higherMurphySpan(q,Q,λ) is the RRR-submodule of A\mathcal AA consisting of finite RRR-linear combinations of these elements mμ;s,tm_{\mu;s,t}mμ;s,t​, over all pairs of standard tableaux s,ts,ts,t of shapes μ≠λ\mu\ne\lambdaμ=λ satisfying, for every c<rc<rc<r and every natural number hhh,

∑d<c∑a<nλd,a+∑a<na<hλc,a ≤ ∑d<c∑a<nμd,a+∑a<na<hμc,a.\sum_{d<c}\sum_{a<n}\lambda_{d,a} +\sum_{\substack{a<n\\a<h}}\lambda_{c,a} \ \le\ \sum_{d<c}\sum_{a<n}\mu_{d,a} +\sum_{\substack{a<n\\a<h}}\mu_{c,a}.d<c∑​a<n∑​λd,a​+a<na<h​∑​λc,a​ ≤ d<c∑​a<n∑​μd,a​+a<na<h​∑​μc,a​.

If there are no such shapes and tableaux, the span is the zero submodule; in particular, this occurs when n=0n=0n=0.

QAlgorithms.Papers.Independent.Intake100.P36.jmEval

For every commutative ring RRR, natural numbers r,nr,nr,n, unit q∈R×q\in R^\timesq∈R×, parameter function Q:{0,…,r−1}→RQ:\{0,\ldots,r-1\}\to RQ:{0,…,r−1}→R, and multivariate polynomial ppp over RRR in variables indexed by {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}, this defines an element of the quotient RRR-algebra on T0,…,Tn−1T_0,\ldots,T_{n-1}T0​,…,Tn−1​ imposing

∏s=0r−1(T0−Qs)=0 (n>0),(Ti−q)(Ti+1)=0 (1≤i<n),T0T1T0T1=T1T0T1T0 (n≥2),TiTj=TjTi (0≤i,j<n, i+1<j),TiTi+1Ti=Ti+1TiTi+1 (1≤i, i+1<n).\begin{gathered} \prod_{s=0}^{r-1}(T_0-Q_s)=0\ (n>0),\qquad (T_i-q)(T_i+1)=0\ (1\le i<n),\\ T_0T_1T_0T_1=T_1T_0T_1T_0\ (n\ge2),\qquad T_iT_j=T_jT_i\ (0\le i,j<n,\ i+1<j),\\ T_iT_{i+1}T_i=T_{i+1}T_iT_{i+1}\ (1\le i,\ i+1<n). \end{gathered}s=0∏r−1​(T0​−Qs​)=0 (n>0),(Ti​−q)(Ti​+1)=0 (1≤i<n),T0​T1​T0​T1​=T1​T0​T1​T0​ (n≥2),Ti​Tj​=Tj​Ti​ (0≤i,j<n, i+1<j),Ti​Ti+1​Ti​=Ti+1​Ti​Ti+1​ (1≤i, i+1<n).​

Scalars use the canonical map, and the cyclotomic product is ordered increasingly. With J0=T0J_0=T_0J0​=T0​ and Jk+1=q−1Tk+1JkTk+1J_{k+1}=q^{-1}T_{k+1}J_kT_{k+1}Jk+1​=q−1Tk+1​Jk​Tk+1​ for k+1<nk+1<nk+1<n, write cdc_dcd​ for the coefficient of the monomial having exponent function d:{0,…,n−1}→Nd:\{0,\ldots,n-1\}\to\mathbb Nd:{0,…,n−1}→N. The defined value is

∑d∈supp⁡(p)cd⋅(J0d(0)J1d(1)⋯Jn−1d(n−1)),\sum_{d\in\operatorname{supp}(p)} c_d\cdot\left(J_0^{d(0)}J_1^{d(1)}\cdots J_{n-1}^{d(n-1)}\right),d∈supp(p)∑​cd​⋅(J0d(0)​J1d(1)​⋯Jn−1d(n−1)​),

where the support consists of the exponent functions with nonzero coefficient, coefficients act by RRR-scalar multiplication, and each product is ordered by increasing index. The zero polynomial gives the empty sum 000; when n=0n=0n=0, every monomial product is the empty product 111, so the result is the scalar image of the constant polynomial. If r=0<nr=0<nr=0<n, the target quotient imposes 1=01=01=0.

QAlgorithms.Papers.Independent.Intake100.P36.jmNat

For every commutative ring RRR, natural number rrr, unit q∈R×q\in R^\timesq∈R×, parameter function Q:{0,…,r−1}→RQ:\{0,\ldots,r-1\}\to RQ:{0,…,r−1}→R, and natural number nnn, this defines a sequence (Jk)k∈N(J_k)_{k\in\mathbb N}(Jk​)k∈N​ in the quotient RRR-algebra generated by T0,…,Tn−1T_0,\ldots,T_{n-1}T0​,…,Tn−1​ with relations

∏s=0r−1(T0−Qs)=0 (n>0),(Ti−q)(Ti+1)=0 (1≤i<n),T0T1T0T1=T1T0T1T0 (n≥2),TiTj=TjTi (0≤i,j<n, i+1<j),TiTi+1Ti=Ti+1TiTi+1 (1≤i, i+1<n).\begin{gathered} \prod_{s=0}^{r-1}(T_0-Q_s)=0\ (n>0),\qquad (T_i-q)(T_i+1)=0\ (1\le i<n),\\ T_0T_1T_0T_1=T_1T_0T_1T_0\ (n\ge2),\qquad T_iT_j=T_jT_i\ (0\le i,j<n,\ i+1<j),\\ T_iT_{i+1}T_i=T_{i+1}T_iT_{i+1}\ (1\le i,\ i+1<n). \end{gathered}s=0∏r−1​(T0​−Qs​)=0 (n>0),(Ti​−q)(Ti​+1)=0 (1≤i<n),T0​T1​T0​T1​=T1​T0​T1​T0​ (n≥2),Ti​Tj​=Tj​Ti​ (0≤i,j<n, i+1<j),Ti​Ti+1​Ti​=Ti+1​Ti​Ti+1​ (1≤i, i+1<n).​

Here scalar coefficients use the canonical map, the cyclotomic product is ordered increasingly, and TiT_iTi​ is defined to be zero for i≥ni\ge ni≥n. The sequence is specified by

J0=T0,Jk+1=q−1Tk+1JkTk+1(k∈N),J_0=T_0,\qquad J_{k+1}=q^{-1}T_{k+1}J_kT_{k+1}\quad(k\in\mathbb N),J0​=T0​,Jk+1​=q−1Tk+1​Jk​Tk+1​(k∈N),

where q−1q^{-1}q−1 is the image in the algebra of the inverse unit. The recursion runs over all natural numbers, not just indices below nnn; it gives Jk=0J_k=0Jk​=0 for k≥nk\ge nk≥n, including every kkk when n=0n=0n=0. If r=0<nr=0<nr=0<n, the quotient imposes 1=01=01=0.

QAlgorithms.Papers.Independent.Intake100.P36.jmPowers

For every commutative ring RRR, natural numbers r,nr,nr,n, unit q∈R×q\in R^\timesq∈R×, parameter function Q:{0,…,r−1}→RQ:\{0,\ldots,r-1\}\to RQ:{0,…,r−1}→R, and function a:{0,…,n−1}→Na:\{0,\ldots,n-1\}\to\mathbb Na:{0,…,n−1}→N, this defines an element in the quotient RRR-algebra on T0,…,Tn−1T_0,\ldots,T_{n-1}T0​,…,Tn−1​ imposing

∏s=0r−1(T0−Qs)=0 (n>0),(Ti−q)(Ti+1)=0 (1≤i<n),T0T1T0T1=T1T0T1T0 (n≥2),TiTj=TjTi (0≤i,j<n, i+1<j),TiTi+1Ti=Ti+1TiTi+1 (1≤i, i+1<n).\begin{gathered} \prod_{s=0}^{r-1}(T_0-Q_s)=0\ (n>0),\qquad (T_i-q)(T_i+1)=0\ (1\le i<n),\\ T_0T_1T_0T_1=T_1T_0T_1T_0\ (n\ge2),\qquad T_iT_j=T_jT_i\ (0\le i,j<n,\ i+1<j),\\ T_iT_{i+1}T_i=T_{i+1}T_iT_{i+1}\ (1\le i,\ i+1<n). \end{gathered}s=0∏r−1​(T0​−Qs​)=0 (n>0),(Ti​−q)(Ti​+1)=0 (1≤i<n),T0​T1​T0​T1​=T1​T0​T1​T0​ (n≥2),Ti​Tj​=Tj​Ti​ (0≤i,j<n, i+1<j),Ti​Ti+1​Ti​=Ti+1​Ti​Ti+1​ (1≤i, i+1<n).​

Scalars use the canonical map, and the cyclotomic product is ordered increasingly. Set J0=T0J_0=T_0J0​=T0​ and Jk+1=q−1Tk+1JkTk+1J_{k+1}=q^{-1}T_{k+1}J_kT_{k+1}Jk+1​=q−1Tk+1​Jk​Tk+1​ for k+1<nk+1<nk+1<n. The defined element is the ordered product

J0a(0)J1a(1)⋯Jn−1a(n−1).J_0^{a(0)}J_1^{a(1)}\cdots J_{n-1}^{a(n-1)}.J0a(0)​J1a(1)​⋯Jn−1a(n−1)​.

Exponents may be zero, with zeroth powers equal to 111. For n=0n=0n=0, the unique exponent function yields the empty product 111. If r=0<nr=0<nr=0<n, the quotient imposes 1=01=01=0.

QAlgorithms.Papers.Independent.Intake100.P36.murphy

Let RRR be any commutative ring, r,nr,nr,n natural numbers, q∈R×q\in R^\timesq∈R×, Q=(Qc)c<r∈RrQ=(Q_c)_{c<r}\in R^rQ=(Qc​)c<r​∈Rr, and λ=(λc,a)\lambda=(\lambda_{c,a})λ=(λc,a​) an array with entries in {0,…,n}\{0,\ldots,n\}{0,…,n}, weakly decreasing along rows in each component and with total sum nnn. Its nodes are x=(c,a,b)x=(c,a,b)x=(c,a,b) with c<rc<rc<r, a,b<na,b<na,b<n, and b<λc,ab<\lambda_{c,a}b<λc,a​. Let s,ts,ts,t each be a bijection from these nodes to {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1} such that labels strictly increase with the column within a fixed component and row, and strictly increase with the row within a fixed component and column. Let ρλ(x)\rho_\lambda(x)ρλ​(x) count nodes lexicographically before xxx, and let ps,ptp_s,p_tps​,pt​ be permutations selected by classical choice using, respectively, the conditions ps(k)=s(x)p_s(k)=s(x)ps​(k)=s(x) and pt(k)=t(x)p_t(k)=t(x)pt​(k)=t(x) whenever k=ρλ(x)k=\rho_\lambda(x)k=ρλ​(x); a choice has an arbitrary default if its condition has no solution. Work in the unital associative RRR-algebra A\mathcal AA on T0,…,Tn−1T_0,\ldots,T_{n-1}T0​,…,Tn−1​, subject to ∏c<r(T0−Qc)=0\prod_{c<r}(T_0-Q_c)=0∏c<r​(T0​−Qc​)=0 for n>0n>0n>0, (Ti−q)(Ti+1)=0(T_i-q)(T_i+1)=0(Ti​−q)(Ti​+1)=0 for 1≤i<n1\le i<n1≤i<n, T0T1T0T1=T1T0T1T0T_0T_1T_0T_1=T_1T_0T_1T_0T0​T1​T0​T1​=T1​T0​T1​T0​ for n≥2n\ge2n≥2, TiTj=TjTiT_iT_j=T_jT_iTi​Tj​=Tj​Ti​ for 0≤i,j<n0\le i,j<n0≤i,j<n and i+1<ji+1<ji+1<j, and TiTi+1Ti=Ti+1TiTi+1T_iT_{i+1}T_i=T_{i+1}T_iT_{i+1}Ti​Ti+1​Ti​=Ti+1​Ti​Ti+1​ for 1≤i1\le i1≤i and i+1<ni+1<ni+1<n, with scalars mapped into A\mathcal AA. For a permutation www, classically select a list ℓ(w)\ell(w)ℓ(w) of adjacent positions whose reverse has transposition product www and whose length is the inversion count #{(u,v):u<v<n, w(v)<w(u)}\#\{(u,v):u<v<n,\ w(v)<w(u)\}#{(u,v):u<v<n, w(v)<w(u)}, using an arbitrary default if no such list exists, and define E(w)=∏a∈ℓ(w)Ta+1E(w)=\prod_{a\in\ell(w)}T_{a+1}E(w)=∏a∈ℓ(w)​Ta+1​ in list order. Let WλW_\lambdaWλ​ consist of permutations www such that every node xxx and k<nk<nk<n with k=ρλ(x)k=\rho_\lambda(x)k=ρλ​(x) admit a node yyy in the same component and row with ρλ(y)=w(k)\rho_\lambda(y)=w(k)ρλ​(y)=w(k). Put Aλ(c)=∑d<c∑a<nλd,aA_\lambda(c)=\sum_{d<c}\sum_{a<n}\lambda_{d,a}Aλ​(c)=∑d<c​∑a<n​λd,a​, set Tj=0T_j=0Tj​=0 for j≥nj\ge nj≥n, and define L0=T0L_0=T_0L0​=T0​, Lk+1=q−1Tk+1LkTk+1L_{k+1}=q^{-1}T_{k+1}L_kT_{k+1}Lk+1​=q−1Tk+1​Lk​Tk+1​. The definition is

ms,t=E(ps−1)(∑w∈WλE(w))(∏c=0r−1∏0≤k<nk<Aλ(c)(Lk−Qc))E(pt),m_{s,t} =E(p_s^{-1}) \left(\sum_{w\in W_\lambda}E(w)\right) \left(\prod_{c=0}^{r-1} \prod_{\substack{0\le k<n\\k<A_\lambda(c)}}(L_k-Q_c)\right) E(p_t),ms,t​=E(ps−1​)(w∈Wλ​∑​E(w))​c=0∏r−1​0≤k<nk<Aλ​(c)​∏​(Lk​−Qc​)​E(pt​),

with increasing component and inner indices. The inverse appearing here is the inverse permutation ps−1p_s^{-1}ps−1​. All empty products are 111; when n=0n=0n=0, the tableaux are the unique empty bijections and the value is 111.

QAlgorithms.Papers.Independent.Intake100.P36.murphyFamily

Let RRR be a commutative ring, r,nr,nr,n natural numbers, q∈R×q\in R^\timesq∈R×, Q=(Qc)c<r∈RrQ=(Q_c)_{c<r}\in R^rQ=(Qc​)c<r​∈Rr, and z=(λ,s,t)z=(\lambda,s,t)z=(λ,s,t), where λ=(λc,a)\lambda=(\lambda_{c,a})λ=(λc,a​) has entries in {0,…,n}\{0,\ldots,n\}{0,…,n}, weakly decreasing in each component's row index and with total sum nnn, and s,ts,ts,t are bijections from nodes (c,a,b)(c,a,b)(c,a,b), with c<rc<rc<r, a,b<na,b<na,b<n, and b<λc,ab<\lambda_{c,a}b<λc,a​, to {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}, each strictly increasing along rows and columns within each component. The target is the unital associative RRR-algebra A\mathcal AA on T0,…,Tn−1T_0,\ldots,T_{n-1}T0​,…,Tn−1​, with relations ∏c<r(T0−Qc)=0\prod_{c<r}(T_0-Q_c)=0∏c<r​(T0​−Qc​)=0 when n>0n>0n>0, (Ti−q)(Ti+1)=0(T_i-q)(T_i+1)=0(Ti​−q)(Ti​+1)=0 for 1≤i<n1\le i<n1≤i<n, T0T1T0T1=T1T0T1T0T_0T_1T_0T_1=T_1T_0T_1T_0T0​T1​T0​T1​=T1​T0​T1​T0​ when n≥2n\ge2n≥2, TiTj=TjTiT_iT_j=T_jT_iTi​Tj​=Tj​Ti​ for 0≤i,j<n0\le i,j<n0≤i,j<n with i+1<ji+1<ji+1<j, and TiTi+1Ti=Ti+1TiTi+1T_iT_{i+1}T_i=T_{i+1}T_iT_{i+1}Ti​Ti+1​Ti​=Ti+1​Ti​Ti+1​ for 1≤i1\le i1≤i with i+1<ni+1<ni+1<n; scalars are interpreted through the scalar map. Let ρλ(x)\rho_\lambda(x)ρλ​(x) count nodes lexicographically before xxx, and choose permutations ps,ptp_s,p_tps​,pt​ by the respective predicates ps(k)=s(x)p_s(k)=s(x)ps​(k)=s(x), pt(k)=t(x)p_t(k)=t(x)pt​(k)=t(x) whenever k=ρλ(x)k=\rho_\lambda(x)k=ρλ​(x). For each permutation www, select a list ℓ(w)\ell(w)ℓ(w) of adjacent positions whose reverse has transposition product www and whose length equals #{(u,v):u<v<n, w(v)<w(u)}\#\{(u,v):u<v<n,\ w(v)<w(u)\}#{(u,v):u<v<n, w(v)<w(u)}, and put E(w)=∏a∈ℓ(w)Ta+1E(w)=\prod_{a\in\ell(w)}T_{a+1}E(w)=∏a∈ℓ(w)​Ta+1​ in list order. These selections use classical choice, with arbitrary defaults if the respective predicates have no solution. Let WλW_\lambdaWλ​ consist of permutations www such that each node xxx and k<nk<nk<n satisfying k=ρλ(x)k=\rho_\lambda(x)k=ρλ​(x) admit a node yyy in the same component and row with ρλ(y)=w(k)\rho_\lambda(y)=w(k)ρλ​(y)=w(k). Define Aλ(c)=∑d<c∑a<nλd,aA_\lambda(c)=\sum_{d<c}\sum_{a<n}\lambda_{d,a}Aλ​(c)=∑d<c​∑a<n​λd,a​, take Tj=0T_j=0Tj​=0 for j≥nj\ge nj≥n, and set L0=T0L_0=T_0L0​=T0​, Lk+1=q−1Tk+1LkTk+1L_{k+1}=q^{-1}T_{k+1}L_kT_{k+1}Lk+1​=q−1Tk+1​Lk​Tk+1​. Then

murphyFamily⁡(q,Q,z)=E(ps−1)(∑w∈WλE(w))(∏c=0r−1∏0≤k<nk<Aλ(c)(Lk−Qc))E(pt),\operatorname{murphyFamily}(q,Q,z) =E(p_s^{-1}) \left(\sum_{w\in W_\lambda}E(w)\right) \left(\prod_{c=0}^{r-1} \prod_{\substack{0\le k<n\\k<A_\lambda(c)}}(L_k-Q_c)\right) E(p_t),murphyFamily(q,Q,z)=E(ps−1​)(w∈Wλ​∑​E(w))​c=0∏r−1​0≤k<nk<Aλ​(c)​∏​(Lk​−Qc​)​E(pt​),

with products in increasing index order. Empty products are 111, and for n=0n=0n=0 the unique index gives the value 111; for r=0<nr=0<nr=0<n, there is no index zzz.

QAlgorithms.Papers.Independent.Intake100.P36.murphyGenerator

Let RRR be a commutative ring, r,nr,nr,n natural numbers, q∈R×q\in R^\timesq∈R×, Q=(Qc)c<r∈RrQ=(Q_c)_{c<r}\in R^rQ=(Qc​)c<r​∈Rr, and λ=(λc,a)\lambda=(\lambda_{c,a})λ=(λc,a​) an array of entries in {0,…,n}\{0,\ldots,n\}{0,…,n}, weakly decreasing in the row index within each component, with total sum nnn. Let A\mathcal AA be the unital associative RRR-algebra generated by T0,…,Tn−1T_0,\ldots,T_{n-1}T0​,…,Tn−1​, with relations ∏c<r(T0−Qc)=0\prod_{c<r}(T_0-Q_c)=0∏c<r​(T0​−Qc​)=0 for n>0n>0n>0, (Ti−q)(Ti+1)=0(T_i-q)(T_i+1)=0(Ti​−q)(Ti​+1)=0 for 1≤i<n1\le i<n1≤i<n, T0T1T0T1=T1T0T1T0T_0T_1T_0T_1=T_1T_0T_1T_0T0​T1​T0​T1​=T1​T0​T1​T0​ for n≥2n\ge2n≥2, TiTj=TjTiT_iT_j=T_jT_iTi​Tj​=Tj​Ti​ for 0≤i,j<n0\le i,j<n0≤i,j<n and i+1<ji+1<ji+1<j, and TiTi+1Ti=Ti+1TiTi+1T_iT_{i+1}T_i=T_{i+1}T_iT_{i+1}Ti​Ti+1​Ti​=Ti+1​Ti​Ti+1​ for 1≤i1\le i1≤i and i+1<ni+1<ni+1<n, interpreting scalars through the algebra's scalar map. For each permutation www of {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}, classically select a list ℓ(w)\ell(w)ℓ(w) of adjacent positions whose reverse has transposition product www and whose length is #{(u,v):u<v<n, w(v)<w(u)}\#\{(u,v):u<v<n,\ w(v)<w(u)\}#{(u,v):u<v<n, w(v)<w(u)}, with arbitrary default if no such list exists, and set E(w)=∏a∈ℓ(w)Ta+1E(w)=\prod_{a\in\ell(w)}T_{a+1}E(w)=∏a∈ℓ(w)​Ta+1​ in list order. A node of λ\lambdaλ is (c,a,b)(c,a,b)(c,a,b) with c<rc<rc<r, a,b<na,b<na,b<n, and b<λc,ab<\lambda_{c,a}b<λc,a​; its rank ρλ\rho_\lambdaρλ​ counts nodes earlier in lexicographic order. Let WλW_\lambdaWλ​ contain exactly those permutations www for which every node xxx and k<nk<nk<n with k=ρλ(x)k=\rho_\lambda(x)k=ρλ​(x) admit a node yyy in the same component and row with ρλ(y)=w(k)\rho_\lambda(y)=w(k)ρλ​(y)=w(k). Define Aλ(c)=∑d<c∑a<nλd,aA_\lambda(c)=\sum_{d<c}\sum_{a<n}\lambda_{d,a}Aλ​(c)=∑d<c​∑a<n​λd,a​, set out-of-range TjT_jTj​ to zero, and define L0=T0L_0=T_0L0​=T0​, Lk+1=q−1Tk+1LkTk+1L_{k+1}=q^{-1}T_{k+1}L_kT_{k+1}Lk+1​=q−1Tk+1​Lk​Tk+1​. Then

murphyGenerator⁡(q,Q,λ)=(∑w∈WλE(w))(∏c=0r−1∏0≤k<nk<Aλ(c)(Lk−Qc)),\operatorname{murphyGenerator}(q,Q,\lambda) =\left(\sum_{w\in W_\lambda}E(w)\right) \left(\prod_{c=0}^{r-1} \prod_{\substack{0\le k<n\\k<A_\lambda(c)}}(L_k-Q_c)\right),murphyGenerator(q,Q,λ)=(w∈Wλ​∑​E(w))​c=0∏r−1​0≤k<nk<Aλ​(c)​∏​(Lk​−Qc​)​,

where both products use increasing indices. Empty products are 111; for n=0n=0n=0, this element is 111.

QAlgorithms.Papers.Independent.Intake100.P36.precedingSize

For natural numbers r,nr,nr,n, let λ=(λc,a)c<r, a<n\lambda=(\lambda_{c,a})_{c<r,\ a<n}λ=(λc,a​)c<r, a<n​ have entries in {0,…,n}\{0,\ldots,n\}{0,…,n}, weakly decreasing along each component's rows, with total sum nnn, and let s∈{0,…,r−1}s\in\{0,\ldots,r-1\}s∈{0,…,r−1}. The natural number precedingSize⁡(λ,s)\operatorname{precedingSize}(\lambda,s)precedingSize(λ,s) is the sum of all row lengths in components strictly before sss:

precedingSize⁡(λ,s)=∑c<s∑a=0n−1λc,a.\operatorname{precedingSize}(\lambda,s) =\sum_{c<s}\sum_{a=0}^{n-1}\lambda_{c,a}.precedingSize(λ,s)=c<s∑​a=0∑n−1​λc,a​.

Empty sums are zero; in particular, the value is zero when s=0s=0s=0 or n=0n=0n=0. If r=0r=0r=0, there is no permitted argument sss.

QAlgorithms.Papers.Independent.Intake100.P36.qInteger

For every commutative ring RRR, every unit q∈R×q\in R^\timesq∈R×, and every natural number mmm, this defines the element

[m]q=∑k=0m−1qk∈R,[m]_q=\sum_{k=0}^{m-1}q^k\in R,[m]q​=k=0∑m−1​qk∈R,

where qqq in the sum denotes its underlying element of RRR. When m=0m=0m=0, the sum is empty and its value is 000.

QAlgorithms.Papers.Independent.Intake100.P36.reducedWord

For every natural number nnn and permutation www of {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}, this defines, by classical choice, a list ℓ=[i1,…,im]\ell=[i_1,\ldots,i_m]ℓ=[i1​,…,im​] of indices satisfying 0≤ia0\le i_a0≤ia​ and ia+1<ni_a+1<nia​+1<n, chosen to satisfy the following condition if any such list exists: writing σi\sigma_iσi​ for the transposition exchanging iii and i+1i+1i+1, the reversed list represents www, and the list length equals the number of inversions of www, namely

σim⋯σi1=w,m=#{(a,b):0≤a<b<n, w(b)<w(a)}.\sigma_{i_m}\cdots\sigma_{i_1}=w,\qquad m=\#\{(a,b):0\le a<b<n,\ w(b)<w(a)\}.σim​​⋯σi1​​=w,m=#{(a,b):0≤a<b<n, w(b)<w(a)}.

Thus the defining condition concerns the reverse of the returned list. The choice specifies no preferred list among those satisfying the condition; if none satisfies it, the choice still returns an unspecified list of allowed indices. For n=0n=0n=0 or n=1n=1n=1, there are no allowed adjacent indices, and the returned list is empty.

QAlgorithms.Papers.Independent.Intake100.P36.rowNumber

For natural numbers r,nr,nr,n, an array λ=(λs,i)\lambda=(\lambda_{s,i})λ=(λs,i​) with entries in {0,…,n}\{0,\ldots,n\}{0,…,n}, total sum nnn, and weakly decreasing rows lengths within each component, and a node x=(s,i,j)x=(s,i,j)x=(s,i,j) satisfying 0≤s<r0\le s<r0≤s<r, 0≤i,j<n0\le i,j<n0≤i,j<n, and j<λs,ij<\lambda_{s,i}j<λs,i​, this defines a natural number equal to the number of nodes y=(s′,i′,j′)y=(s',i',j')y=(s′,i′,j′) satisfying 0≤s′<r0\le s'<r0≤s′<r, 0≤i′,j′<n0\le i',j'<n0≤i′,j′<n, j′<λs′,i′j'<\lambda_{s',i'}j′<λs′,i′​, and

s′<sor(s′=s and i′<i)or(s′=s and i′=i and j′<j).s'<s \quad\text{or}\quad (s'=s\ \text{and}\ i'<i) \quad\text{or}\quad (s'=s\ \text{and}\ i'=i\ \text{and}\ j'<j).s′<sor(s′=s and i′<i)or(s′=s and i′=i and j′<j).

It counts all nodes strictly preceding xxx in the ordering by component first, then row, then column, so the numbering starts at 000. When n=0n=0n=0, there is no node xxx to which the definition can be applied.

QAlgorithms.Papers.Independent.Intake100.P36.rowStabilizer

For natural numbers r,nr,nr,n, let λ=(λc,a)c<r, a<n\lambda=(\lambda_{c,a})_{c<r,\ a<n}λ=(λc,a​)c<r, a<n​ be an array with entries in {0,…,n}\{0,\ldots,n\}{0,…,n}, weakly decreasing in aaa for each component ccc, and satisfying ∑c<r∑a<nλc,a=n\sum_{c<r}\sum_{a<n}\lambda_{c,a}=n∑c<r​∑a<n​λc,a​=n. Its nodes are triples x=(c,a,b)x=(c,a,b)x=(c,a,b) with c<rc<rc<r, a,b<na,b<na,b<n, and b<λc,ab<\lambda_{c,a}b<λc,a​. Define ρλ(x)\rho_\lambda(x)ρλ​(x) to be the number of nodes preceding xxx in lexicographic order on component, row, and column. Then rowStabilizer⁡(λ)\operatorname{rowStabilizer}(\lambda)rowStabilizer(λ) is the finite set of permutations www of {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1} such that, for every node x=(c,a,b)x=(c,a,b)x=(c,a,b) and every k<nk<nk<n, if k=ρλ(x)k=\rho_\lambda(x)k=ρλ​(x), there is a node y=(c,a,b′)y=(c,a,b')y=(c,a,b′) in the same component and row with ρλ(y)=w(k)\rho_\lambda(y)=w(k)ρλ​(y)=w(k). The defining condition imposes a requirement only when kkk equals a node's rank. When n=0n=0n=0, there are no nodes, the condition is vacuous, and the set contains the unique permutation of the empty set.

QAlgorithms.Papers.Independent.Intake100.P36.rowSymmetrizer

Let RRR be any commutative ring, r,nr,nr,n natural numbers, q∈R×q\in R^\timesq∈R× a unit, Q=(Qc)c<rQ=(Q_c)_{c<r}Q=(Qc​)c<r​ elements of RRR, and λ=(λc,a)\lambda=(\lambda_{c,a})λ=(λc,a​) an array of integers between 000 and nnn, weakly decreasing in each component's row index and with total sum nnn. Work in the unital associative RRR-algebra A\mathcal AA generated by T0,…,Tn−1T_0,\ldots,T_{n-1}T0​,…,Tn−1​, subject to ∏c<r(T0−Qc)=0\prod_{c<r}(T_0-Q_c)=0∏c<r​(T0​−Qc​)=0 when n>0n>0n>0, (Ti−q)(Ti+1)=0(T_i-q)(T_i+1)=0(Ti​−q)(Ti​+1)=0 for 1≤i<n1\le i<n1≤i<n, T0T1T0T1=T1T0T1T0T_0T_1T_0T_1=T_1T_0T_1T_0T0​T1​T0​T1​=T1​T0​T1​T0​ when n≥2n\ge2n≥2, TiTj=TjTiT_iT_j=T_jT_iTi​Tj​=Tj​Ti​ for 0≤i,j<n0\le i,j<n0≤i,j<n with i+1<ji+1<ji+1<j, and TiTi+1Ti=Ti+1TiTi+1T_iT_{i+1}T_i=T_{i+1}T_iT_{i+1}Ti​Ti+1​Ti​=Ti+1​Ti​Ti+1​ for 1≤i1\le i1≤i and i+1<ni+1<ni+1<n; elements of RRR in these relations mean their scalar images in A\mathcal AA. For a permutation www of {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}, select by classical choice a list ℓ(w)\ell(w)ℓ(w) of adjacent positions aaa, where a+1<na+1<na+1<n, whose reversed list of transpositions (a,a+1)(a,a+1)(a,a+1) has product www and whose length is the number of pairs u<v<nu<v<nu<v<n with w(v)<w(u)w(v)<w(u)w(v)<w(u), and put E(w)=∏a∈ℓ(w)Ta+1E(w)=\prod_{a\in\ell(w)}T_{a+1}E(w)=∏a∈ℓ(w)​Ta+1​ in list order; the selection has an arbitrary default if no list satisfies its predicate. The nodes of λ\lambdaλ are triples (c,a,b)(c,a,b)(c,a,b) with c<rc<rc<r, a,b<na,b<na,b<n, and b<λc,ab<\lambda_{c,a}b<λc,a​; let ρλ(x)\rho_\lambda(x)ρλ​(x) count nodes lexicographically before xxx. Let WλW_\lambdaWλ​ consist of permutations www such that, for every node xxx and every k<nk<nk<n with k=ρλ(x)k=\rho_\lambda(x)k=ρλ​(x), some node yyy in the same component and row satisfies ρλ(y)=w(k)\rho_\lambda(y)=w(k)ρλ​(y)=w(k). The definition is

rowSymmetrizer⁡(q,Q,λ)=∑w∈WλE(w).\operatorname{rowSymmetrizer}(q,Q,\lambda)=\sum_{w\in W_\lambda}E(w).rowSymmetrizer(q,Q,λ)=w∈Wλ​∑​E(w).

There are no additional assumptions on R,q,QR,q,QR,q,Q. Empty products are 111; when n=0n=0n=0, the sum consists of the unique empty permutation's term and equals 111.

QAlgorithms.Papers.Independent.Intake100.P36.semisimplicityPolynomial

For every commutative ring RRR, natural numbers r,nr,nr,n, unit q∈R×q\in R^\timesq∈R×, and family Q:{0,…,r−1}→RQ:\{0,\ldots,r-1\}\to RQ:{0,…,r−1}→R, this defines

P(q,Q,n)=(∏k=0n−1∑j=0kqj)∏0≤s<t<r∏d∈Z−n<d<n(qdQs−Qt)∈R.P(q,Q,n)= \left(\prod_{k=0}^{n-1}\sum_{j=0}^{k}q^j\right) \prod_{0\le s<t<r} \prod_{\substack{d\in\mathbb Z\\-n<d<n}} (q^dQ_s-Q_t)\in R.P(q,Q,n)=(k=0∏n−1​j=0∑k​qj)0≤s<t<r∏​d∈Z−n<d<n​∏​(qdQs​−Qt​)∈R.

Here nonnegative powers use the underlying element of qqq, and negative powers use its inverse as a unit, subsequently viewed in RRR. All products over empty index sets equal 111; in particular, P(q,Q,0)=1P(q,Q,0)=1P(q,Q,0)=1, and when r=0r=0r=0 or r=1r=1r=1 the product over pairs s<ts<ts<t is empty.

QAlgorithms.Papers.Independent.Intake100.P36.tableauDominancePrefixCount

For natural numbers r,nr,nr,n, let λ=(λc,a)c<r, a<n\lambda=(\lambda_{c,a})_{c<r,\ a<n}λ=(λc,a​)c<r, a<n​ have entries in {0,…,n}\{0,\ldots,n\}{0,…,n}, weakly decreasing in each component's row index and with total sum nnn. Its nodes are triples (c,a,b)(c,a,b)(c,a,b) with c<rc<rc<r, a,b<na,b<na,b<n, and b<λc,ab<\lambda_{c,a}b<λc,a​. Let ttt be a bijection from these nodes to {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1} whose labels strictly increase along rows and columns within each component. For arbitrary natural numbers k,ik,ik,i and a component s<rs<rs<r, the definition is

tableauDominancePrefixCount⁡(t,k,s,i)=#{(c,a,b):c<r, a,b<n, b<λc,a, t(c,a,b)<k, [c<s or (c=s and a<i)]}.\operatorname{tableauDominancePrefixCount}(t,k,s,i) = \#\bigl\{(c,a,b): c<r,\ a,b<n,\ b<\lambda_{c,a},\ t(c,a,b)<k,\ [c<s\ \text{or}\ (c=s\ \text{and}\ a<i)] \bigr\}.tableauDominancePrefixCount(t,k,s,i)=#{(c,a,b):c<r, a,b<n, b<λc,a​, t(c,a,b)<k, [c<s or (c=s and a<i)]}.

Thus it counts nodes labelled strictly below kkk that lie either in a component strictly before sss or in a row strictly before iii of component sss. Neither kkk nor iii is restricted to be at most nnn: when k≥nk\ge nk≥n, every node satisfies the label condition, and when i≥ni\ge ni≥n, every row in component sss satisfies the row condition. The count is zero for k=0k=0k=0 or n=0n=0n=0; when i=0i=0i=0, only components strictly before sss contribute.

QAlgorithms.Papers.Independent.Intake100.P36.tableauPermutation

For natural numbers r,nr,nr,n, let λ=(λs,i)\lambda=(\lambda_{s,i})λ=(λs,i​) have rrr components with nnn entries each, entries in {0,…,n}\{0,\ldots,n\}{0,…,n}, total sum nnn, and weakly decreasing entries in each component. Let NλN_\lambdaNλ​ consist of the triples (s,i,j)(s,i,j)(s,i,j) with 0≤s<r0\le s<r0≤s<r, 0≤i,j<n0\le i,j<n0≤i,j<n, and j<λs,ij<\lambda_{s,i}j<λs,i​, and let t:Nλ→{0,…,n−1}t:N_\lambda\to\{0,\ldots,n-1\}t:Nλ​→{0,…,n−1} be a bijection strictly increasing along rows and columns within each component. For x∈Nλx\in N_\lambdax∈Nλ​, let ρ(x)\rho(x)ρ(x) be the number of nodes preceding xxx in the lexicographic ordering by component, row, and column. This defines a permutation www of {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1} by Hilbert choice using the condition

∀x∈Nλ ∀k∈{0,…,n−1},k=ρ(x) ⟹ w(k)=t(x).\forall x\in N_\lambda\ \forall k\in\{0,\ldots,n-1\}, \qquad k=\rho(x)\ \Longrightarrow\ w(k)=t(x).∀x∈Nλ​ ∀k∈{0,…,n−1},k=ρ(x) ⟹ w(k)=t(x).

Hilbert choice selects a permutation satisfying this condition if one exists, and otherwise selects an arbitrary permutation. When n=0n=0n=0, the condition is vacuous and the selected permutation is the unique permutation of the empty set.

QAlgorithms.Papers.Independent.Intake100.P36.tableauResidue

Let RRR be any commutative ring, r,nr,nr,n natural numbers, qqq a unit of RRR, and Q=(Qc)c<rQ=(Q_c)_{c<r}Q=(Qc​)c<r​ a family of elements of RRR. Let λ\lambdaλ consist of rrr weakly decreasing lists of nnn row lengths in {0,…,n}\{0,\ldots,n\}{0,…,n}, with total sum nnn, and let ttt bijectively label its nodes (c,a,b)(c,a,b)(c,a,b), where c<rc<rc<r, a,b<na,b<na,b<n, and b<λc,ab<\lambda_{c,a}b<λc,a​, by 0,…,n−10,\ldots,n-10,…,n−1, increasingly along rows and down columns within each component. For a label k<nk<nk<n, let (c,a,b)(c,a,b)(c,a,b) be its unique node. Its residue is

res⁡t(k)=q b−aQc∈R,\operatorname{res}_t(k)=q^{\,b-a}Q_c\in R,rest​(k)=qb−aQc​∈R,

where b−ab-ab−a is an integer difference, the integer power is computed in the group of units of RRR, and its result is then regarded as an element of RRR. Thus negative exponents use the inverse of qqq. The argument k<nk<nk<n excludes n=0n=0n=0; the remaining data then also require r>0r>0r>0.

QAlgorithms.Papers.Independent.Intake100.P36.tw

For every commutative ring RRR, natural numbers r,nr,nr,n, unit q∈R×q\in R^\timesq∈R×, function Q:{0,…,r−1}→RQ:\{0,\ldots,r-1\}\to RQ:{0,…,r−1}→R, and permutation www of {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}, this defines an element of the quotient RRR-algebra generated by T0,…,Tn−1T_0,\ldots,T_{n-1}T0​,…,Tn−1​ with relations

∏s=0r−1(T0−Qs)=0 (n>0),(Ti−q)(Ti+1)=0 (1≤i<n),T0T1T0T1=T1T0T1T0 (n≥2),TiTj=TjTi (0≤i,j<n, i+1<j),TiTi+1Ti=Ti+1TiTi+1 (1≤i, i+1<n),\begin{gathered} \prod_{s=0}^{r-1}(T_0-Q_s)=0\ (n>0),\qquad (T_i-q)(T_i+1)=0\ (1\le i<n),\\ T_0T_1T_0T_1=T_1T_0T_1T_0\ (n\ge2),\qquad T_iT_j=T_jT_i\ (0\le i,j<n,\ i+1<j),\\ T_iT_{i+1}T_i=T_{i+1}T_iT_{i+1}\ (1\le i,\ i+1<n), \end{gathered}s=0∏r−1​(T0​−Qs​)=0 (n>0),(Ti​−q)(Ti​+1)=0 (1≤i<n),T0​T1​T0​T1​=T1​T0​T1​T0​ (n≥2),Ti​Tj​=Tj​Ti​ (0≤i,j<n, i+1<j),Ti​Ti+1​Ti​=Ti+1​Ti​Ti+1​ (1≤i, i+1<n),​

using canonical scalar images and increasing order in the first product. Choose a list ℓ=[i1,…,im]\ell=[i_1,\ldots,i_m]ℓ=[i1​,…,im​] of adjacent indices 0≤ia<ia+1<n0\le i_a<i_a+1<n0≤ia​<ia​+1<n by classical choice with the condition, whenever satisfiable, that σim⋯σi1=w\sigma_{i_m}\cdots\sigma_{i_1}=wσim​​⋯σi1​​=w and mmm is the number of pairs a<ba<ba<b with w(b)<w(a)w(b)<w(a)w(b)<w(a), where σi\sigma_iσi​ swaps iii and i+1i+1i+1; if that condition is unsatisfiable, the chosen list is unspecified. The defined element is

Tw=Ti1+1Ti2+1⋯Tim+1,T_w=T_{i_1+1}T_{i_2+1}\cdots T_{i_m+1},Tw​=Ti1​+1​Ti2​+1​⋯Tim​+1​,

in the order of the chosen list. An empty list gives 111, including when n=0n=0n=0 or n=1n=1n=1. If r=0<nr=0<nr=0<n, the quotient imposes 1=01=01=0.

QAlgorithms.Papers.Independent.Intake100.P36.uPlus

Let RRR be any commutative ring, r,nr,nr,n natural numbers, q∈R×q\in R^\timesq∈R×, Q=(Qc)c<r∈RrQ=(Q_c)_{c<r}\in R^rQ=(Qc​)c<r​∈Rr, and λ=(λc,a)c<r, a<n\lambda=(\lambda_{c,a})_{c<r,\ a<n}λ=(λc,a​)c<r, a<n​ an array with entries in {0,…,n}\{0,\ldots,n\}{0,…,n}, weakly decreasing in each component's row index and with total sum nnn. Let A\mathcal AA be the unital associative RRR-algebra on T0,…,Tn−1T_0,\ldots,T_{n-1}T0​,…,Tn−1​ with relations ∏c<r(T0−Qc)=0\prod_{c<r}(T_0-Q_c)=0∏c<r​(T0​−Qc​)=0 if n>0n>0n>0, (Ti−q)(Ti+1)=0(T_i-q)(T_i+1)=0(Ti​−q)(Ti​+1)=0 for 1≤i<n1\le i<n1≤i<n, T0T1T0T1=T1T0T1T0T_0T_1T_0T_1=T_1T_0T_1T_0T0​T1​T0​T1​=T1​T0​T1​T0​ if n≥2n\ge2n≥2, TiTj=TjTiT_iT_j=T_jT_iTi​Tj​=Tj​Ti​ when 0≤i,j<n0\le i,j<n0≤i,j<n and i+1<ji+1<ji+1<j, and TiTi+1Ti=Ti+1TiTi+1T_iT_{i+1}T_i=T_{i+1}T_iT_{i+1}Ti​Ti+1​Ti​=Ti+1​Ti​Ti+1​ when 1≤i1\le i1≤i and i+1<ni+1<ni+1<n. Scalars denote their images in A\mathcal AA. Set Tj=0T_j=0Tj​=0 for natural indices j≥nj\ge nj≥n, define L0=T0L_0=T_0L0​=T0​ and Lk+1=q−1Tk+1LkTk+1L_{k+1}=q^{-1}T_{k+1}L_kT_{k+1}Lk+1​=q−1Tk+1​Lk​Tk+1​, and put Aλ(c)=∑d<c∑a<nλd,aA_\lambda(c)=\sum_{d<c}\sum_{a<n}\lambda_{d,a}Aλ​(c)=∑d<c​∑a<n​λd,a​. The element defined is the ordered product

u+(q,Q,λ)=∏c=0r−1(∏0≤k<nk<Aλ(c)(Lk−Qc)),u^+(q,Q,\lambda) =\prod_{c=0}^{r-1} \left(\prod_{\substack{0\le k<n\\k<A_\lambda(c)}}(L_k-Q_c)\right),u+(q,Q,λ)=c=0∏r−1​​0≤k<nk<Aλ​(c)​∏​(Lk​−Qc​)​,

with components ccc taken in increasing order and, within each component, indices kkk taken in increasing order. An empty inner or outer product is 111; thus components with Aλ(c)=0A_\lambda(c)=0Aλ​(c)=0 contribute 111, and the value is 111 when n=0n=0n=0. No conditions on the parameters beyond those stated are imposed.

Human review
  • Endorsed by Shuze Chen · Oct 30, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 30, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me