Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for The representations of cyclotomic BMW algebras

Definition
QAlgorithms_Papers_Independent_Intakenext100_P51

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

prove2quantum

The objects the formalized statements of The representations of cyclotomic BMW algebras (arXiv:0801.0465) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • RuiXuUnitParameters: Unit ground data before choosing moments, Definition 2.1, PDF p.2.
  • Ground: Full ground data, PDF p.2. No nonzero or unit condition on omega_0.
  • RuiXuLetter: Source one-based generator labels. No out-of-range generators are present.
  • ruiXuFreeT: Free T_i, with zero outside 1 <= i < n; Definition 2.1, PDF p.2.
  • ruiXuFreeE: Free E_i, with zero outside 1 <= i < n; Definition 2.1, PDF p.2.
  • ruiXuFreeX: Free X_j or X_j inverse (true), with zero outside 1 <= j <= n.
  • signedPower: Integer powers in an algebra with specified inverse. All subtraction occurs in Z; nonnegative exponents include the zeroth power.
  • RuiXuBMWRelations: ALL relations (a)--(k) of Definition 2.1, PDF p.2. Both skein, both untwisting and both tangle equalities are imposed.
  • RuiXuBMW: Actual presented algebra, not an arbitrary algebra with chosen generators.
  • ruiXuBMWMap: Canonical free-algebra projection, Definition 2.1, PDF p.2.
  • T: T_i in the source presentation.
  • ruiXuE: E_i in the source presentation.
  • ruiXuX: X_j or its inverse in the source presentation.
  • XPow: Integer power of the actual invertible X_j, PDF pp.2--3.
  • TInv: T_i inverse expressed by the Kauffman relation, PDF p.3.
  • evenIndicator: The integer parity indicator (1+(-1)^a)/2, without requiring 2 invertible.
  • geometric: The exact geometric expansion 1/(1-v t) in a formal variable t.
  • qSeries: Q-series of (3.10), PDF p.10: product (u_i-t)/(1-u_i t).
  • qCoeff: Q_a(u), Definition 3.9, PDF p.10.
  • RhoChoice: The parity-dependent rho alternatives, Proposition 3.2(2), PDF p.5.
  • positiveMoment: Right side of (3.12), PDF p.10, for every a>=0.
  • negativeMoment: Right side of (3.13), PDF p.10, used only for a>0. In the even case a=1, range (a-1) is empty, exactly the printed sum through -1.
  • RuiXuUAdmissible: Definition 3.15, PDF p.11, over an arbitrary commutative unital ring.
  • positiveSeries: Positive moment series, with t=y inverse and constant omega_0, PDF p.11.
  • negativeSeries: Negative moment series starts at a=1; its constant is zero, PDF p.11.
  • paritySeries: Exact expansion y^2/(y^2-1)=1/(1-t^2) at infinity.
  • positiveRHS: Positive displayed rational function in Lemma 3.16, PDF p.11, expanded at infinity. Q(u;t)=product u_i product (y-u_i inverse)/(y-u_i). The gamma term y gamma_r(y)/(y^2-1) expands to tG for odd r and -G for even r.
  • negativeRHS: Negative displayed rational function in Lemma 3.16, PDF p.11, expanded at infinity. Q(u inverse;t)=product u_i inverse product (y-u_i)/(y-u_i inverse). The term y/(gamma_r(y)(y^2-1)) expands to tG or -t^2G.
  • cyclotomicCoeff: Cyclotomic coefficients (-1)^(r-s) sigma_(r-s)(u), Definition 2.6, p.3.
  • RuiXuAdmissible: BOTH admissibility identities (2.5), PDF p.3, with all integer shifts b.
  • gammaParity: gamma_r(z) in Proposition 3.2(1), PDF p.5.
  • ruiXuSpectralWeight: The rational gamma_i weight in Proposition 3.2(1), PDF p.5, mapped into an actual field. Products omit i and all exponents below are integer exponents.
  • spectralMoment: The computed integer moment, not a freely chosen variable, PDF pp.5,10.
  • genericGenerators: The displayed r+1 transcendental generators, section 3, PDF p.4.
  • IsGenericField: K is precisely Q(u_1,...,u_r,q), not an arbitrary field extension, p.4.
  • twoStrandMonomial: The SPECIFIED 3r^2 indexed monomials in Theorem 3.8, PDF p.9.
  • SimpleAction: Nonzero unital simple left representation. Invariant subspaces are quantified explicitly; no action or simplicity is inferred from dimensions.
  • EquivalentActions: Actual intertwining linear isomorphism of the whole left action.
  • OneLabel: The 2r one-dimensional labels, Proposition 3.1(a), PDF p.4.
  • TwoLabel: Unordered distinct parameter pairs, with a canonical increasing order, Proposition 3.1(b), PDF p.4. The cardinality is binomial(r,2).
  • heckeEigenvalue: The two allowed eigenvalues q and -q inverse, PDF p.4.
  • twoTMatrix: Exactly the 2x2 T matrix in Proposition 3.1(b), PDF p.4, including the common factor u_j/(u_j-u_i). Columns give images of basis vectors.
  • twoXMatrix: X_1 or X_2 diagonal matrix of Proposition 3.1(b), PDF p.4.
  • HeckeLetter: Exact Hecke generator alphabet from PDF p.3, with one-based helpers.
  • ruiXuFreeG: Free normalized Hecke generator g_i.
  • ruiXuFreeY: Free Hecke generator y_j; no inverse letters or extra contractions.
  • RuiXuHeckeRelations: All seven normalized Hecke relation groups (a)--(g), PDF p.3.
  • RuiXuHecke: The exact normalized Ariki--Koike algebra, PDF p.3.
  • heckeMap: Canonical Hecke quotient map.
  • HG: g_i in the normalized Hecke presentation.
  • HY: y_j in the normalized Hecke presentation.
  • ruiXuContractionIdeal: Actual two-sided ideal B E_1 B, as the R-span of all products a E_1 b, PDF p.34. It is zero at levels 0 and 1.
  • RuiXuHeckeQuotient: Quotient by the actual contraction ideal, Proposition 5.2, PDF p.34.
  • toHeckeQuotient: Actual quotient projection used in Proposition 5.2, PDF p.34.
  • lowerImage: Canonical lower-level image, PDF p.34. Adjoining generators describes the image without assuming injectivity of the strand homomorphism. At m=0 this is the scalar subalgebra.
  • lowerContraction: Image of the lower contraction ideal, zero at m=0,1; PDF pp.34--35.
  • contractionChain: E^f = E_(n-1) E_(n-3) ... E_(n-2f+1), in the printed order, p.35.
  • idealLayer: The actual two-sided contraction layer, with the terminal layer set to zero as in Definition 5.3, PDF p.35.
  • exponentWord: Exactly the active coordinates of kappa in N_r^(f,n), PDF p.35. They correspond to the distinct positions n-1,n-3,...,n-2f+1.
  • intervalWord: T_(a,b) in the exact ordered word for s_(a,b), PDF p.35. The downward branch is T_(a-1)...T_b and the upward branch is T_a...T_(b-1).
  • pairWord: The prescribed D_(1,m) representative s_(m-1,i) s_(m,j), with 1<=i<j<=m, evaluated in the ambient algebra. Formula (5.6), PDF p.35.
  • ValidPair: The named D_(1,m) indices; the identity pair is (m-1,m), p.35.
  • nOne: N_1 is the actual span in Lemma 5.11, PDF p.36. Its D_1 indexing is expanded using the ordered representative formula (5.6); no abstract right module is substituted for this submodule of the actual presented algebra.
  • lowerProduct: Lower-image product submodule B'_(n-2) h, PDF p.38.
  • nThree: BOTH generating families of N_3, Lemma 5.14, PDF p.38. The second family has the exact nonidentity d_1 s_(n-1,n-3) s_(n,n-2) word.
  • LastWords: The three d_2 words in Lemmas 5.15 and 5.17, PDF pp.38--39.
  • nFourBound: N_(4,k), with |l_1|<=p and |k_1|<=bound. Lemma 5.15, PDF p.38.
  • nFour: The actual N_4 of Lemma 5.17, with BOTH exponents bounded, PDF p.39.
  • mSpan: M_l of Lemma 5.18, PDF p.39. The first integer exponent k is UNBOUNDED.
  • LowerInduction: Full induction hypothesis shared by 5.18 and 5.22, PDF pp.39--40. At l=0 the strict absolute-value condition admits no l_prime.
  • nTwo: Actual N_2 of Proposition 5.27, PDF p.41. D_(2,n) is expanded by (5.6) in the order s_(n-3,i_2) s_(n-2,j_2) s_(n-1,i_1) s_(n,j_1), with i_2<i_1 and both pairs in their specified ranges.
  • laurentEval: Evaluation of a Laurent word in the first m variables in an ambient BMW algebra. Both signs are letters, as in Definition 2.1, PDF p.2. Only m<=n is used as an inclusion; no injectivity is assumed.
  • laurentImage: The actual Laurent coefficient subalgebra R[X_1^{+-1},...,X_m^{+-1}] in the ambient algebra, Lemma 4.21, PDF p.17.
  • CentralLaurentWord: Centrality is checked in the actual lower algebra, not just in a possibly collapsed upper image; Lemma 4.21, PDF p.17.
  • ncGeometric: Exact geometric expansion (1-v t) inverse in a possibly noncommutative coefficient ring. This is a complete formal series, not a truncation.
  • linearFactor: The factor 1-v t in the formal variable t=y inverse.
  • transitionNumerator: The numerator of (4.22) after normalizing every y-c to 1-c t, PDF p.17. Every X_k superscript -1 is inversion, never k-1.
  • transitionDenominator: The denominator of (4.22), with unit constant coefficient 1, p.17.
  • transitionSeries: The entire ratio of (4.22), expanded constructively using geometric series. No division in a noncommutative fraction field is used, PDF p.17.
  • centralParitySeries: G(t)=1/(1-t^2)=y^2/(y^2-1), in the actual algebra coefficient ring.
  • shiftedMomentBase: The base shifted series Wtilde_1+delta inverse rho-G, with coefficients mapped from the prescribed moments; (4.28), PDF p.21.
  • shiftedMomentProduct: Ordered constructive product in (4.28). j counts factors, so j=0 is the prescribed scalar base and j=k-1 gives level k; PDF p.21.
  • centralMomentSeries: Canonically constructed Wtilde_k, obtained from the base and the complete product (4.28); not an arbitrary sequence satisfying the theorem.
  • ruiXuCentralMoment: The constructed coefficient omega_k^(a) in the ambient algebra, p.17.
  • signedT: The two generator choices T_i and T_i inverse used in Corollary 4.27.
  • ruiXuAdjacentPerm: One-based adjacent transposition s_i in S_n. The identity helper value outside 1<=i<n is never used as a source generator. PDF p.15.
  • intervalPerm: Source ordered s_(a,b), PDF p.35. Permutations act on tableau labels on the RIGHT, so the list is reversed before Mathlib's function-composition product. This convention is also used in representativePerm below.
  • pairPerm: Source s_(m-1,i) s_(m,j), interpreted as a right action, PDF p.35.
  • permEntry: One-based label at a zero-based cell position after the right action; the out-of-range helper is unused in a valid row condition.
  • sourceTransversal: The actual row-standard transversal in PDF p.35: an increasing first row of n-2f entries, then f increasing pairs whose first column increases. This definition uses tableau conditions, independently of (5.6).
  • RepresentativeIndices: Exactly the inequalities of (5.6), with Fin f coordinate j meaning source k=j+1: 1<=i_f<...<i_1 and 1<=i_k<j_k<=n-2k+2.
  • representativePerm: The exact ordered representative s_(n-2f+1,i_f) s_(n-2f+2,j_f) ... s_(n-1,i_1) s_(n,j_1), as a permutation, PDF p.35. The Mathlib product is in reverse source order because the action is right.
  • representativeSet: The right side of (5.6) is a SET of actual permutations, not words.
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Papers_Independent_Support21_P12

/-!
Rui--Xu, arXiv:0801.0465v2. Paper-local definitions use the exact presentation
of Definition 2.1, including arbitrary integer moments and possibly zero omega_0.
No prior BMW admissibility predicate is substituted for Definition 3.15.
The accepted generic two-sided contraction span is reused through a guarded
source-level wrapper. Other similarly named frozen objects have different
parameter types or meanings; RuiXu names distinguish the source constructions.
Constructor operands are explicit so their level is the inductive binder n.
Compilation is pending the batch mechanical check.
-/

noncomputable section

open scoped BigOperators Classical

namespace QAlgorithms.Papers.Independent.Intakenext100.P51

/-- Unit ground data before choosing moments, Definition 2.1, PDF p.2. -/
structure RuiXuUnitParameters (R : Type*) [CommRing R] (r : ℕ) where
  positive : 0 < r
  q : Rˣ
  delta : Rˣ
  rho : Rˣ
  u : Fin r → Rˣ
  delta_eq : (delta : R) = (q : R) - ↑q⁻¹

/-- Full ground data, PDF p.2. No nonzero or unit condition on omega_0. -/
structure Ground (R : Type*) [CommRing R] (r : ℕ) extends RuiXuUnitParameters R r where
  omega : ℤ → R
  omega_zero : omega 0 = 1 - (↑delta⁻¹ : R) * ((rho : R) - ↑rho⁻¹)

/-- Source one-based generator labels. No out-of-range generators are present. -/
inductive RuiXuLetter (n : ℕ)
  | t : Fin (n - 1) → RuiXuLetter n
  | e : Fin (n - 1) → RuiXuLetter n
  | x : Fin n → Bool → RuiXuLetter n

/-- Free T_i, with zero outside 1 <= i < n; Definition 2.1, PDF p.2. -/
def ruiXuFreeT (R : Type*) [CommRing R] (n i : ℕ) : FreeAlgebra R (RuiXuLetter n) :=
  if h : 1 ≤ i ∧ i < n then FreeAlgebra.ι R (.t ⟨i - 1, by omega⟩) else 0

/-- Free E_i, with zero outside 1 <= i < n; Definition 2.1, PDF p.2. -/
def ruiXuFreeE (R : Type*) [CommRing R] (n i : ℕ) : FreeAlgebra R (RuiXuLetter n) :=
  if h : 1 ≤ i ∧ i < n then FreeAlgebra.ι R (.e ⟨i - 1, by omega⟩) else 0

/-- Free X_j or X_j inverse (true), with zero outside 1 <= j <= n. -/
def ruiXuFreeX (R : Type*) [CommRing R] (n j : ℕ) (inverse : Bool) :
    FreeAlgebra R (RuiXuLetter n) :=
  if h : 1 ≤ j ∧ j ≤ n then FreeAlgebra.ι R (.x ⟨j - 1, by omega⟩ inverse) else 0

/-- Integer powers in an algebra with specified inverse. All subtraction occurs
in Z; nonnegative exponents include the zeroth power. -/
def signedPower {A : Type*} [Monoid A] (x xi : A) (a : ℤ) : A :=
  if 0 ≤ a then x ^ a.toNat else xi ^ (-a).toNat

/-- The negative first power uses the inverse generator, not truncated subtraction. -/
example {A : Type*} [Monoid A] (x xi : A) : signedPower x xi (-1) = xi := by
  simp [signedPower]

section Presentation

variable {R : Type*} [CommRing R] {r : ℕ} (P : Ground R r) (n : ℕ)

local notation "t" => ruiXuFreeT R n
local notation "e" => ruiXuFreeE R n
local notation "x" => ruiXuFreeX R n
local notation "c" => algebraMap R (FreeAlgebra R (RuiXuLetter n))

/-- ALL relations (a)--(k) of Definition 2.1, PDF p.2. Both skein,
both untwisting and both tangle equalities are imposed. -/
inductive RuiXuBMWRelations (P : Ground R r) (n : ℕ) : FreeAlgebra R (RuiXuLetter n) → FreeAlgebra R (RuiXuLetter n) → Prop
  | inverseL (j : ℕ) (hj : 1 ≤ j ∧ j ≤ n) : RuiXuBMWRelations P n ((ruiXuFreeX R n) j false * (ruiXuFreeX R n) j true) 1
  | inverseR (j : ℕ) (hj : 1 ≤ j ∧ j ≤ n) : RuiXuBMWRelations P n ((ruiXuFreeX R n) j true * (ruiXuFreeX R n) j false) 1
  | kauffman (i : ℕ) (hi : 1 ≤ i ∧ i < n) :
      RuiXuBMWRelations P n ((ruiXuFreeT R n) i ^ 2 - (algebraMap R (FreeAlgebra R (RuiXuLetter n))) (P.delta : R) * (ruiXuFreeT R n) i + (algebraMap R (FreeAlgebra R (RuiXuLetter n))) ((P.delta : R) * ↑P.rho) * (ruiXuFreeE R n) i) 1
  | far (i j : ℕ) (hi : 1 ≤ i ∧ i < n) (hj : 1 ≤ j ∧ j < n)
      (hd : i + 1 < j ∨ j + 1 < i) : RuiXuBMWRelations P n ((ruiXuFreeT R n) i * (ruiXuFreeT R n) j) ((ruiXuFreeT R n) j * (ruiXuFreeT R n) i)
  | braid (i : ℕ) (hi : 1 ≤ i ∧ i + 1 < n) :
      RuiXuBMWRelations P n ((ruiXuFreeT R n) i * (ruiXuFreeT R n) (i+1) * (ruiXuFreeT R n) i) ((ruiXuFreeT R n) (i+1) * (ruiXuFreeT R n) i * (ruiXuFreeT R n) (i+1))
  | txFar (i j : ℕ) (hi : 1 ≤ i ∧ i < n) (hj : 1 ≤ j ∧ j ≤ n)
      (hd : j ≠ i ∧ j ≠ i+1) : RuiXuBMWRelations P n ((ruiXuFreeT R n) i * (ruiXuFreeX R n) j false) ((ruiXuFreeX R n) j false * (ruiXuFreeT R n) i)
  | idempotent (i : ℕ) (hi : 1 ≤ i ∧ i < n) :
      RuiXuBMWRelations P n ((ruiXuFreeE R n) i ^ 2) ((algebraMap R (FreeAlgebra R (RuiXuLetter n))) (P.omega 0) * (ruiXuFreeE R n) i)
  | xx (i j : ℕ) (hi : 1 ≤ i ∧ i ≤ n) (hj : 1 ≤ j ∧ j ≤ n) :
      RuiXuBMWRelations P n ((ruiXuFreeX R n) i false * (ruiXuFreeX R n) j false) ((ruiXuFreeX R n) j false * (ruiXuFreeX R n) i false)
  | skeinL (i : ℕ) (hi : 1 ≤ i ∧ i < n) :
      RuiXuBMWRelations P n ((ruiXuFreeT R n) i * (ruiXuFreeX R n) i false - (ruiXuFreeX R n) (i+1) false * (ruiXuFreeT R n) i)
        ((algebraMap R (FreeAlgebra R (RuiXuLetter n))) (P.delta : R) * (ruiXuFreeX R n) (i+1) false * ((ruiXuFreeE R n) i - 1))
  | skeinR (i : ℕ) (hi : 1 ≤ i ∧ i < n) :
      RuiXuBMWRelations P n ((ruiXuFreeX R n) i false * (ruiXuFreeT R n) i - (ruiXuFreeT R n) i * (ruiXuFreeX R n) (i+1) false)
        ((algebraMap R (FreeAlgebra R (RuiXuLetter n))) (P.delta : R) * ((ruiXuFreeE R n) i - 1) * (ruiXuFreeX R n) (i+1) false)
  | unwrap (a : ℤ) (hn : 2 ≤ n) :
      RuiXuBMWRelations P n ((ruiXuFreeE R n) 1 * signedPower ((ruiXuFreeX R n) 1 false) ((ruiXuFreeX R n) 1 true) a * (ruiXuFreeE R n) 1) ((algebraMap R (FreeAlgebra R (RuiXuLetter n))) (P.omega a) * (ruiXuFreeE R n) 1)
  | untwistL (i : ℕ) (hi : 1 ≤ i ∧ i < n) : RuiXuBMWRelations P n ((ruiXuFreeE R n) i * (ruiXuFreeT R n) i) ((algebraMap R (FreeAlgebra R (RuiXuLetter n))) (P.rho : R) * (ruiXuFreeE R n) i)
  | untwistR (i : ℕ) (hi : 1 ≤ i ∧ i < n) : RuiXuBMWRelations P n ((ruiXuFreeT R n) i * (ruiXuFreeE R n) i) ((algebraMap R (FreeAlgebra R (RuiXuLetter n))) (P.rho : R) * (ruiXuFreeE R n) i)
  | tangleL (i : ℕ) (hi : 1 ≤ i ∧ i + 1 < n) :
      RuiXuBMWRelations P n ((ruiXuFreeE R n) (i+1) * (ruiXuFreeE R n) i) ((ruiXuFreeE R n) (i+1) * (ruiXuFreeT R n) i * (ruiXuFreeT R n) (i+1))
  | tangleR (i : ℕ) (hi : 1 ≤ i ∧ i + 1 < n) :
      RuiXuBMWRelations P n ((ruiXuFreeE R n) (i+1) * (ruiXuFreeE R n) i) ((ruiXuFreeT R n) i * (ruiXuFreeT R n) (i+1) * (ruiXuFreeE R n) i)
  | tripleL (i : ℕ) (hi : 1 ≤ i ∧ i + 1 < n) : RuiXuBMWRelations P n ((ruiXuFreeE R n) (i+1) * (ruiXuFreeE R n) i * (ruiXuFreeE R n) (i+1)) ((ruiXuFreeE R n) (i+1))
  | tripleR (i : ℕ) (hi : 1 ≤ i ∧ i + 1 < n) : RuiXuBMWRelations P n ((ruiXuFreeE R n) i * (ruiXuFreeE R n) (i+1) * (ruiXuFreeE R n) i) ((ruiXuFreeE R n) i)
  | antisymL (i : ℕ) (hi : 1 ≤ i ∧ i < n) : RuiXuBMWRelations P n ((ruiXuFreeE R n) i * (ruiXuFreeX R n) i false * (ruiXuFreeX R n) (i+1) false) ((ruiXuFreeE R n) i)
  | antisymR (i : ℕ) (hi : 1 ≤ i ∧ i < n) : RuiXuBMWRelations P n ((ruiXuFreeX R n) i false * (ruiXuFreeX R n) (i+1) false * (ruiXuFreeE R n) i) ((ruiXuFreeE R n) i)
  | cyclotomic (hn : 1 ≤ n) :
      RuiXuBMWRelations P n ((List.ofFn fun j : Fin r => (ruiXuFreeX R n) 1 false - (algebraMap R (FreeAlgebra R (RuiXuLetter n))) (P.u j : R)).prod) 0

/-- Actual presented algebra, not an arbitrary algebra with chosen generators. -/
abbrev RuiXuBMW := RingQuot (RuiXuBMWRelations P n)

/-- Canonical free-algebra projection, Definition 2.1, PDF p.2. -/
def ruiXuBMWMap : FreeAlgebra R (RuiXuLetter n) →ₐ[R] RuiXuBMW P n := RingQuot.mkAlgHom R (RuiXuBMWRelations P n)

/-- T_i in the source presentation. -/
def T (i : ℕ) : RuiXuBMW P n := ruiXuBMWMap P n (t i)

/-- E_i in the source presentation. -/
def ruiXuE (i : ℕ) : RuiXuBMW P n := ruiXuBMWMap P n (e i)

/-- X_j or its inverse in the source presentation. -/
def ruiXuX (j : ℕ) (inverse : Bool := false) : RuiXuBMW P n := ruiXuBMWMap P n (x j inverse)

/-- Integer power of the actual invertible X_j, PDF pp.2--3. -/
def XPow (j : ℕ) (a : ℤ) : RuiXuBMW P n := signedPower (ruiXuX P n j false) (ruiXuX P n j true) a

/-- T_i inverse expressed by the Kauffman relation, PDF p.3. -/
def TInv (i : ℕ) : RuiXuBMW P n :=
  T P n i - algebraMap R (RuiXuBMW P n) (P.delta : R) +
    algebraMap R (RuiXuBMW P n) (P.delta : R) * ruiXuE P n i

/-- The zeroth X power is the unit even before any relations are used. -/
example (j : ℕ) : XPow P n j 0 = 1 := by simp [XPow, signedPower]

end Presentation

section Moments

variable {R : Type*} [CommRing R] {r : ℕ}

/-- The integer parity indicator (1+(-1)^a)/2, without requiring 2 invertible. -/
def evenIndicator (R : Type*) [CommRing R] (a : ℕ) : R := if Even a then 1 else 0

/-- The exact geometric expansion 1/(1-v t) in a formal variable t. -/
def geometric (v : R) : PowerSeries R := PowerSeries.mk fun a => v ^ a

/-- Q-series of (3.10), PDF p.10: product (u_i-t)/(1-u_i t). -/
def qSeries (u : Fin r → R) : PowerSeries R :=
  ∏ i, (PowerSeries.C (u i) - PowerSeries.X) * geometric (u i)

/-- Q_a(u), Definition 3.9, PDF p.10. -/
def qCoeff (u : Fin r → R) (a : ℕ) : R := PowerSeries.coeff a (qSeries u)

/-- The empty Q-product is 1, pinning the series normalization. -/
example : qSeries (fun i : Fin 0 => (Fin.elim0 i : R)) = 1 := by
  simp [qSeries]

/-- The parity-dependent rho alternatives, Proposition 3.2(2), PDF p.5. -/
def RhoChoice (P : RuiXuUnitParameters R r) : Prop :=
  if Odd r then (↑P.rho⁻¹ : R) = ∏ i, (P.u i : R) ∨
    (↑P.rho⁻¹ : R) = -(∏ i, (P.u i : R))
  else (↑P.rho⁻¹ : R) = (↑P.q⁻¹ : R) * ∏ i, (P.u i : R) ∨
    (↑P.rho⁻¹ : R) = -(P.q : R) * ∏ i, (P.u i : R)

/-- Right side of (3.12), PDF p.10, for every a>=0. -/
def positiveMoment (P : RuiXuUnitParameters R r) (a : ℕ) : R :=
  let u : Fin r → R := fun i => P.u i
  let base := evenIndicator R a + (↑P.delta⁻¹ : R) * ↑P.rho * qCoeff u a * ∏ i, u i
  (if Odd r then base + ∑ k ∈ Finset.range a, evenIndicator R k * qCoeff u (a-1-k)
   else base - ∑ k ∈ Finset.range (a+1), evenIndicator R k * qCoeff u (a-k)) -
    if a = 0 then (↑P.delta⁻¹ : R) * ↑P.rho else 0

/-- Right side of (3.13), PDF p.10, used only for a>0. In the even case
a=1, range (a-1) is empty, exactly the printed sum through -1. -/
def negativeMoment (P : RuiXuUnitParameters R r) (a : ℕ) : R :=
  let u : Fin r → R := fun i => P.u i
  let ui : Fin r → R := fun i => ↑(P.u i)⁻¹
  let base := evenIndicator R a - (↑P.delta⁻¹ : R) * ↑P.rho * qCoeff ui a * ∏ i, u i
  if Odd r then base + ∑ k ∈ Finset.range a, evenIndicator R k * qCoeff ui (a-1-k)
  else base - ∑ k ∈ Finset.range (a-1), evenIndicator R k * qCoeff ui (a-2-k)

/-- Definition 3.15, PDF p.11, over an arbitrary commutative unital ring. -/
def RuiXuUAdmissible (P : Ground R r) : Prop :=
  RhoChoice P.toRuiXuUnitParameters ∧
  (∀ a : ℕ, P.omega (a : ℤ) = positiveMoment P.toRuiXuUnitParameters a) ∧
  (∀ a : ℕ, 0 < a → P.omega (-(a : ℤ)) = negativeMoment P.toRuiXuUnitParameters a)

/-- Positive moment series, with t=y inverse and constant omega_0, PDF p.11. -/
def positiveSeries (P : Ground R r) : PowerSeries R := PowerSeries.mk fun a => P.omega (a : ℤ)

/-- Negative moment series starts at a=1; its constant is zero, PDF p.11. -/
def negativeSeries (P : Ground R r) : PowerSeries R :=
  PowerSeries.mk fun a => if a = 0 then 0 else P.omega (-(a : ℤ))

/-- Exact expansion y^2/(y^2-1)=1/(1-t^2) at infinity. -/
def paritySeries (R : Type*) [CommRing R] : PowerSeries R := PowerSeries.mk (evenIndicator R)

/-- Positive displayed rational function in Lemma 3.16, PDF p.11, expanded
at infinity. Q(u;t)=product u_i product (y-u_i inverse)/(y-u_i).
The gamma term y gamma_r(y)/(y^2-1) expands to tG for odd r and -G for even r. -/
def positiveRHS (P : RuiXuUnitParameters R r) : PowerSeries R :=
  let U := ∏ i, (P.u i : R)
  let D := (↑P.delta⁻¹ : R) * ↑P.rho
  let G := paritySeries R
  G - PowerSeries.C D +
    (PowerSeries.C (D * U) + if Odd r then PowerSeries.X * G else -G) *
      qSeries (fun i => (P.u i : R))

/-- Negative displayed rational function in Lemma 3.16, PDF p.11, expanded
at infinity. Q(u inverse;t)=product u_i inverse product (y-u_i)/(y-u_i inverse).
The term y/(gamma_r(y)(y^2-1)) expands to tG or -t^2G. -/
def negativeRHS (P : RuiXuUnitParameters R r) : PowerSeries R :=
  let U := ∏ i, (P.u i : R)
  let D := (↑P.delta⁻¹ : R) * ↑P.rho
  let G := paritySeries R
  PowerSeries.X ^ 2 * G + PowerSeries.C D -
    (PowerSeries.C (D * U) - if Odd r then PowerSeries.X * G else -(PowerSeries.X ^ 2 * G)) *
      qSeries (fun i => (↑(P.u i)⁻¹ : R))

/-- The negative series has no constant moment. -/
example (P : Ground R r) : PowerSeries.coeff 0 (negativeSeries P) = 0 := by
  simp [negativeSeries]

/-- Cyclotomic coefficients (-1)^(r-s) sigma_(r-s)(u), Definition 2.6, p.3. -/
def cyclotomicCoeff (P : RuiXuUnitParameters R r) (s : ℕ) : R :=
  (∏ i : Fin r, (Polynomial.X - Polynomial.C (P.u i : R))).coeff s

/-- BOTH admissibility identities (2.5), PDF p.3, with all integer shifts b. -/
def RuiXuAdmissible (P : Ground R r) : Prop :=
  (∀ b : ℤ, ∑ s : Fin (r+1), cyclotomicCoeff P.toRuiXuUnitParameters s.val *
    P.omega ((s.val : ℤ) + b) = 0) ∧
  (∀ a : ℕ, 0 < a → P.omega (a : ℤ) = P.omega (-(a : ℤ)) +
    ∑ i ∈ Finset.Icc 1 a, (↑P.rho⁻¹ : R) * ↑P.delta *
      (P.omega ((a : ℤ) - i) * P.omega (-(i : ℤ)) - P.omega ((a : ℤ) - 2*i)))

end Moments

section SpectralMoments

variable {R : Type*} [CommRing R] {r : ℕ}

/-- gamma_r(z) in Proposition 3.2(1), PDF p.5. -/
def gammaParity {K : Type*} [Ring K] (r : ℕ) (z : K) : K := if Odd r then 1 else -z

/-- The rational gamma_i weight in Proposition 3.2(1), PDF p.5, mapped into
an actual field. Products omit i and all exponents below are integer exponents. -/
def ruiXuSpectralWeight {K : Type*} [Field K] [Algebra R K] (P : RuiXuUnitParameters R r) (i : Fin r) : K :=
  let u : Fin r → K := fun j => algebraMap R K (P.u j : R)
  (gammaParity r (u i) + algebraMap R K ((↑P.delta⁻¹ : R) * ↑P.rho) *
      ((u i)^2 - 1) * ∏ j ∈ Finset.univ.erase i, u j) *
    ∏ j ∈ Finset.univ.erase i, (u i * u j - 1) / (u i - u j)

/-- The computed integer moment, not a freely chosen variable, PDF pp.5,10. -/
def spectralMoment {K : Type*} [Field K] [Algebra R K] (P : RuiXuUnitParameters R r) (a : ℤ) : K :=
  ∑ i : Fin r, (algebraMap R K (P.u i : R)) ^ a * ruiXuSpectralWeight (K := K) P i

end SpectralMoments

section GenericTwoStrand

variable {K : Type*} [Field K] [Algebra ℚ K] {r : ℕ}

/-- The displayed r+1 transcendental generators, section 3, PDF p.4. -/
def genericGenerators (P : RuiXuUnitParameters K r) : Fin r ⊕ Unit → K :=
  Sum.elim (fun i => (P.u i : K)) (fun _ => (P.q : K))

/-- K is precisely Q(u_1,...,u_r,q), not an arbitrary field extension, p.4. -/
def IsGenericField (P : RuiXuUnitParameters K r) : Prop :=
  AlgebraicIndependent ℚ (genericGenerators P) ∧
    IntermediateField.adjoin ℚ (Set.range (genericGenerators P)) = ⊤

/-- The SPECIFIED 3r^2 indexed monomials in Theorem 3.8, PDF p.9. -/
def twoStrandMonomial (P : Ground K r) (i : Fin 3 × Fin r × Fin r) : RuiXuBMW P 2 :=
  let a := i.2.1.val
  let b := i.2.2.val
  if i.1.val = 0 then ruiXuX P 2 1 false ^ a * ruiXuX P 2 2 false ^ b
  else if i.1.val = 1 then ruiXuX P 2 1 false ^ a * ruiXuX P 2 2 false ^ b * T P 2 1
  else ruiXuX P 2 1 false ^ a * ruiXuE P 2 1 * ruiXuX P 2 1 false ^ b

end GenericTwoStrand

section TrivialContractionSimples

variable {K : Type*} [Field K] [Algebra ℚ K] {r : ℕ}

/-- Nonzero unital simple left representation. Invariant subspaces are
quantified explicitly; no action or simplicity is inferred from dimensions. -/
def SimpleAction {A V : Type*} [Ring A] [Algebra K A]
    [AddCommGroup V] [Module K V] (act : A →ₐ[K] Module.End K V) : Prop :=
  Nontrivial V ∧ ∀ W : Submodule K V,
    (∀ a v, v ∈ W → act a v ∈ W) → W = ⊥ ∨ W = ⊤

/-- Actual intertwining linear isomorphism of the whole left action. -/
def EquivalentActions {A V W : Type*} [Ring A] [Algebra K A]
    [AddCommGroup V] [Module K V] [AddCommGroup W] [Module K W]
    (a : A →ₐ[K] Module.End K V) (b : A →ₐ[K] Module.End K W) : Prop :=
  ∃ e : V ≃ₗ[K] W, ∀ x v, e (a x v) = b x (e v)

/-- The 2r one-dimensional labels, Proposition 3.1(a), PDF p.4. -/
abbrev OneLabel (r : ℕ) := Fin r × Bool

/-- Unordered distinct parameter pairs, with a canonical increasing order,
Proposition 3.1(b), PDF p.4. The cardinality is binomial(r,2). -/
abbrev TwoLabel (r : ℕ) := {ij : Fin r × Fin r // ij.1 < ij.2}

/-- The two allowed eigenvalues q and -q inverse, PDF p.4. -/
def heckeEigenvalue (P : RuiXuUnitParameters K r) (b : Bool) : K :=
  if b then -(↑P.q⁻¹ : K) else (P.q : K)

/-- Exactly the 2x2 T matrix in Proposition 3.1(b), PDF p.4, including
the common factor u_j/(u_j-u_i). Columns give images of basis vectors. -/
def twoTMatrix (P : RuiXuUnitParameters K r) (l : TwoLabel r) : Matrix (Fin 2) (Fin 2) K :=
  let u := (P.u l.val.1 : K)
  let v := (P.u l.val.2 : K)
  (v / (v-u)) • ![![(P.delta : K), (P.q : K) - u * (↑P.q⁻¹ : K) * v⁻¹],
    ![(↑P.q⁻¹ : K) - (P.q : K) * u * v⁻¹, -(P.delta : K) * u * v⁻¹]]

/-- X_1 or X_2 diagonal matrix of Proposition 3.1(b), PDF p.4. -/
def twoXMatrix (P : RuiXuUnitParameters K r) (l : TwoLabel r) (second : Bool) :
    Matrix (Fin 2) (Fin 2) K :=
  let u := (P.u l.val.1 : K)
  let v := (P.u l.val.2 : K)
  if second then ![![v, 0], ![0, u]] else ![![u, 0], ![0, v]]

/-- Lemma-free sanity check of the two one-dimensional eigenvalue choices. -/
example (P : RuiXuUnitParameters K r) : heckeEigenvalue P false = (P.q : K) := by
  simp [heckeEigenvalue]

end TrivialContractionSimples

section RuiXuHecke

variable {R : Type*} [CommRing R] {r : ℕ}

/-- Exact Hecke generator alphabet from PDF p.3, with one-based helpers. -/
inductive HeckeLetter (n : ℕ)
  | g : Fin (n-1) → HeckeLetter n
  | y : Fin n → HeckeLetter n

/-- Free normalized Hecke generator g_i. -/
def ruiXuFreeG (R : Type*) [CommRing R] (n i : ℕ) : FreeAlgebra R (HeckeLetter n) :=
  if h : 1 ≤ i ∧ i < n then FreeAlgebra.ι R (.g ⟨i-1, by omega⟩) else 0

/-- Free Hecke generator y_j; no inverse letters or extra contractions. -/
def ruiXuFreeY (R : Type*) [CommRing R] (n j : ℕ) : FreeAlgebra R (HeckeLetter n) :=
  if h : 1 ≤ j ∧ j ≤ n then FreeAlgebra.ι R (.y ⟨j-1, by omega⟩) else 0

variable (P : Ground R r) (n : ℕ)

local notation "g" => ruiXuFreeG R n
local notation "y" => ruiXuFreeY R n
local notation "c" => algebraMap R (FreeAlgebra R (HeckeLetter n))

/-- All seven normalized Hecke relation groups (a)--(g), PDF p.3. -/
inductive RuiXuHeckeRelations (P : Ground R r) (n : ℕ) : FreeAlgebra R (HeckeLetter n) → FreeAlgebra R (HeckeLetter n) → Prop
  | quadratic (i : ℕ) (hi : 1 ≤ i ∧ i < n) :
      RuiXuHeckeRelations P n (((ruiXuFreeG R n) i - (algebraMap R (FreeAlgebra R (HeckeLetter n))) (P.q : R)) * ((ruiXuFreeG R n) i + (algebraMap R (FreeAlgebra R (HeckeLetter n))) (↑P.q⁻¹ : R))) 0
  | far (i j : ℕ) (hi : 1 ≤ i ∧ i < n) (hj : 1 ≤ j ∧ j < n)
      (hd : i+1 < j ∨ j+1 < i) : RuiXuHeckeRelations P n ((ruiXuFreeG R n) i * (ruiXuFreeG R n) j) ((ruiXuFreeG R n) j * (ruiXuFreeG R n) i)
  | braid (i : ℕ) (hi : 1 ≤ i ∧ i+1 < n) :
      RuiXuHeckeRelations P n ((ruiXuFreeG R n) i * (ruiXuFreeG R n) (i+1) * (ruiXuFreeG R n) i) ((ruiXuFreeG R n) (i+1) * (ruiXuFreeG R n) i * (ruiXuFreeG R n) (i+1))
  | gyFar (i j : ℕ) (hi : 1 ≤ i ∧ i < n) (hj : 1 ≤ j ∧ j ≤ n)
      (hd : j ≠ i ∧ j ≠ i+1) : RuiXuHeckeRelations P n ((ruiXuFreeG R n) i * (ruiXuFreeY R n) j) ((ruiXuFreeY R n) j * (ruiXuFreeG R n) i)
  | yy (i j : ℕ) (hi : 1 ≤ i ∧ i ≤ n) (hj : 1 ≤ j ∧ j ≤ n) :
      RuiXuHeckeRelations P n ((ruiXuFreeY R n) i * (ruiXuFreeY R n) j) ((ruiXuFreeY R n) j * (ruiXuFreeY R n) i)
  | affine (i : ℕ) (hi : 1 ≤ i ∧ i < n) : RuiXuHeckeRelations P n ((ruiXuFreeY R n) (i+1)) ((ruiXuFreeG R n) i * (ruiXuFreeY R n) i * (ruiXuFreeG R n) i)
  | cyclotomic (hn : 1 ≤ n) :
      RuiXuHeckeRelations P n ((List.ofFn fun i : Fin r => (ruiXuFreeY R n) 1 - (algebraMap R (FreeAlgebra R (HeckeLetter n))) (P.u i : R)).prod) 0

/-- The exact normalized Ariki--Koike algebra, PDF p.3. -/
abbrev RuiXuHecke := RingQuot (RuiXuHeckeRelations P n)

/-- Canonical Hecke quotient map. -/
def heckeMap : FreeAlgebra R (HeckeLetter n) →ₐ[R] RuiXuHecke P n :=
  RingQuot.mkAlgHom R (RuiXuHeckeRelations P n)

/-- g_i in the normalized Hecke presentation. -/
def HG (i : ℕ) : RuiXuHecke P n := heckeMap P n (g i)

/-- y_j in the normalized Hecke presentation. -/
def HY (j : ℕ) : RuiXuHecke P n := heckeMap P n (y j)

/-- Actual two-sided ideal B E_1 B, as the R-span of all products a E_1 b,
PDF p.34. It is zero at levels 0 and 1. -/
def ruiXuContractionIdeal : Submodule R (RuiXuBMW P n) :=
  if 2 ≤ n then
    QAlgorithms.Papers.Independent.Support21.P12.contractionIdeal (S := R) (ruiXuE P n 1)
  else ⊥

/-- Quotient by the actual contraction ideal, Proposition 5.2, PDF p.34. -/
abbrev RuiXuHeckeQuotient := RingQuot (fun a b : RuiXuBMW P n => a - b ∈ ruiXuContractionIdeal P n)

/-- Actual quotient projection used in Proposition 5.2, PDF p.34. -/
def toHeckeQuotient : RuiXuBMW P n →ₐ[R] RuiXuHeckeQuotient P n :=
  RingQuot.mkAlgHom R (fun a b : RuiXuBMW P n => a - b ∈ ruiXuContractionIdeal P n)

/-- The scalar and one-strand contraction ideals are zero (no E_0). -/
example : ruiXuContractionIdeal P 1 = ⊥ := by simp [ruiXuContractionIdeal]

end RuiXuHecke

section IdealFiltration

variable {R : Type*} [CommRing R] {r : ℕ} (P : Ground R r) (n : ℕ)

/-- Canonical lower-level image, PDF p.34. Adjoining generators describes
the image without assuming injectivity of the strand homomorphism. At m=0
this is the scalar subalgebra. -/
def lowerImage (m : ℕ) : Subalgebra R (RuiXuBMW P n) :=
  Algebra.adjoin R {z | (∃ i, 1 ≤ i ∧ i < m ∧ (z = T P n i ∨ z = ruiXuE P n i)) ∨
    ∃ j, 1 ≤ j ∧ j ≤ m ∧ (z = ruiXuX P n j false ∨ z = ruiXuX P n j true)}

/-- Image of the lower contraction ideal, zero at m=0,1; PDF pp.34--35. -/
def lowerContraction (m : ℕ) : Submodule R (RuiXuBMW P n) :=
  if 2 ≤ m then Submodule.span R {z | ∃ a ∈ lowerImage P n m, ∃ b ∈ lowerImage P n m,
    z = a * ruiXuE P n 1 * b} else ⊥

/-- E^f = E_(n-1) E_(n-3) ... E_(n-2f+1), in the printed order, p.35. -/
def contractionChain (f : ℕ) : RuiXuBMW P n :=
  (List.ofFn fun j : Fin f => ruiXuE P n (n - (2*j.val+1))).prod

/-- The actual two-sided contraction layer, with the terminal layer set to
zero as in Definition 5.3, PDF p.35. -/
def idealLayer (f : ℕ) : Submodule R (RuiXuBMW P n) :=
  if 2*f ≤ n then Submodule.span R {z | ∃ a b : RuiXuBMW P n, z = a * contractionChain P n f * b}
  else ⊥

/-- Exactly the active coordinates of kappa in N_r^(f,n), PDF p.35.
They correspond to the distinct positions n-1,n-3,...,n-2f+1. -/
def exponentWord (f : ℕ) (kappa : Fin f → ℤ) : RuiXuBMW P n :=
  (List.ofFn fun j : Fin f => XPow P n (n - (2*j.val+1)) (kappa j)).prod

/-- E^0 is the identity, including the maximal-f boundary convention. -/
example : contractionChain P n 0 = 1 := by simp [contractionChain]

end IdealFiltration

section ExplicitSpans

variable {R : Type*} [CommRing R] {r : ℕ} (P : Ground R r) (n : ℕ)

/-- T_(a,b) in the exact ordered word for s_(a,b), PDF p.35.
The downward branch is T_(a-1)...T_b and the upward branch is T_a...T_(b-1). -/
def intervalWord (a b : ℕ) : RuiXuBMW P n :=
  if b ≤ a then (List.ofFn fun j : Fin (a-b) => T P n (a-1-j.val)).prod
  else (List.ofFn fun j : Fin (b-a) => T P n (a+j.val)).prod

/-- The prescribed D_(1,m) representative s_(m-1,i) s_(m,j),
with 1<=i<j<=m, evaluated in the ambient algebra. Formula (5.6), PDF p.35. -/
def pairWord (m i j : ℕ) : RuiXuBMW P n := intervalWord P n (m-1) i * intervalWord P n m j

/-- The named D_(1,m) indices; the identity pair is (m-1,m), p.35. -/
def ValidPair (m i j : ℕ) : Prop := 1 ≤ i ∧ i < j ∧ j ≤ m

/-- N_1 is the actual span in Lemma 5.11, PDF p.36. Its D_1 indexing is
expanded using the ordered representative formula (5.6); no abstract right
module is substituted for this submodule of the actual presented algebra. -/
def nOne (p : ℕ) : Submodule R (RuiXuBMW P n) :=
  Submodule.span R {z | ∃ b ∈ lowerImage P n (n-2), ∃ a : ℤ, |a| ≤ (p : ℤ) ∧
    ∃ i j, ValidPair n i j ∧
      z = b * ruiXuE P n (n-1) * XPow P n (n-1) a * pairWord P n n i j}

/-- Lower-image product submodule B'_(n-2) h, PDF p.38. -/
def lowerProduct (h : RuiXuBMW P n) : Submodule R (RuiXuBMW P n) :=
  Submodule.span R {z | ∃ b ∈ lowerImage P n (n-2), z = b * h}

/-- BOTH generating families of N_3, Lemma 5.14, PDF p.38. The second
family has the exact nonidentity d_1 s_(n-1,n-3) s_(n,n-2) word. -/
def nThree (p : ℕ) : Submodule R (RuiXuBMW P n) :=
  Submodule.span R {z | ∃ b ∈ lowerImage P n (n-4), ∃ l : ℤ, |l| ≤ (p : ℤ) ∧
    (z = b * ruiXuE P n (n-1) * XPow P n (n-1) l * ruiXuE P n (n-3) ∨
      ∃ i j, ValidPair (n-2) i j ∧ (i ≠ n-3 ∨ j ≠ n-2) ∧
        z = b * ruiXuE P n (n-3) * XPow P n (n-3) l * ruiXuE P n (n-1) *
          (pairWord P n (n-2) i j * intervalWord P n (n-1) (n-3) *
            intervalWord P n n (n-2)))}

/-- The three d_2 words in Lemmas 5.15 and 5.17, PDF pp.38--39. -/
def LastWords (h : RuiXuBMW P n) : Prop :=
  h = 1 ∨ h = T P n (n-2) ∨ h = T P n (n-2) * T P n (n-1)

/-- N_(4,k), with |l_1|<=p and |k_1|<=bound. Lemma 5.15, PDF p.38. -/
def nFourBound (p : ℕ) (bound : ℤ) : Submodule R (RuiXuBMW P n) :=
  Submodule.span R {z | ∃ b ∈ lowerImage P n (n-4), ∃ l k : ℤ,
    |l| ≤ (p : ℤ) ∧ |k| ≤ bound ∧ ∃ i j, ValidPair (n-2) i j ∧
      ∃ h, LastWords P n h ∧ z = b * ruiXuE P n (n-3) * XPow P n (n-3) l *
        ruiXuE P n (n-1) * XPow P n (n-1) k * pairWord P n (n-2) i j * h}

/-- The actual N_4 of Lemma 5.17, with BOTH exponents bounded, PDF p.39. -/
def nFour (p : ℕ) : Submodule R (RuiXuBMW P n) := nFourBound P n p (p : ℤ)

/-- M_l of Lemma 5.18, PDF p.39. The first integer exponent k is UNBOUNDED. -/
def mSpan (l : ℤ) : Submodule R (RuiXuBMW P n) :=
  Submodule.span R {z | ∃ b ∈ lowerImage P n (n-4), ∃ k i : ℤ, |i| ≤ |l| ∧
    z = b * ruiXuE P n (n-1) * XPow P n (n-1) k * ruiXuE P n (n-3) * XPow P n (n-3) i}

/-- Full induction hypothesis shared by 5.18 and 5.22, PDF pp.39--40.
At l=0 the strict absolute-value condition admits no l_prime. -/
def LowerInduction (p : ℕ) (l : ℤ) : Prop :=
  ∀ lprime m : ℤ, |lprime| < |l| → |m| ≤ (p : ℤ) →
    ruiXuE P n (n-1) * XPow P n (n-1) lprime * ruiXuE P n (n-3) * XPow P n (n-3) m *
      T P n (n-2) * T P n (n-3) ∈ nFour P n p

/-- Actual N_2 of Proposition 5.27, PDF p.41. D_(2,n) is expanded by
(5.6) in the order s_(n-3,i_2) s_(n-2,j_2) s_(n-1,i_1) s_(n,j_1),
with i_2<i_1 and both pairs in their specified ranges. -/
def nTwo (p : ℕ) : Submodule R (RuiXuBMW P n) :=
  Submodule.span R {z | ∃ b ∈ lowerImage P n (n-4), ∃ k l : ℤ,
    |k| ≤ (p : ℤ) ∧ |l| ≤ (p : ℤ) ∧ ∃ i2 j2 i1 j1,
      ValidPair (n-2) i2 j2 ∧ ValidPair n i1 j1 ∧ i2 < i1 ∧
      z = b * ruiXuE P n (n-3) * XPow P n (n-3) k * ruiXuE P n (n-1) * XPow P n (n-1) l *
        (pairWord P n (n-2) i2 j2 * pairWord P n n i1 j1)}

/-- An empty interval is the identity, pinning the orientation at a=b. -/
example (a : ℕ) : intervalWord P n a a = 1 := by simp [intervalWord]

/-- The identity D_1 representative is the last valid pair. -/
example (m : ℕ) : pairWord P n m (m-1) m = 1 := by
  simp [pairWord, intervalWord]

end ExplicitSpans

section CentralSeries

variable {R : Type*} [CommRing R] {r : ℕ} (P : Ground R r)

/-- Evaluation of a Laurent word in the first m variables in an ambient
BMW algebra. Both signs are letters, as in Definition 2.1, PDF p.2.
Only m<=n is used as an inclusion; no injectivity is assumed. -/
def laurentEval (n m : ℕ) : FreeAlgebra R (Fin m × Bool) →ₐ[R] RuiXuBMW P n :=
  FreeAlgebra.lift R (fun j => ruiXuX P n (j.1.val+1) j.2)

/-- The actual Laurent coefficient subalgebra R[X_1^{+-1},...,X_m^{+-1}]
in the ambient algebra, Lemma 4.21, PDF p.17. -/
def laurentImage (n m : ℕ) : Subalgebra R (RuiXuBMW P n) := (laurentEval P n m).range

/-- Centrality is checked in the actual lower algebra, not just in a
possibly collapsed upper image; Lemma 4.21, PDF p.17. -/
def CentralLaurentWord (m : ℕ) (f : FreeAlgebra R (Fin m × Bool)) : Prop :=
  ∀ b : RuiXuBMW P m, laurentEval P m m f * b = b * laurentEval P m m f

/-- Exact geometric expansion (1-v t) inverse in a possibly noncommutative
coefficient ring. This is a complete formal series, not a truncation. -/
def ncGeometric {A : Type*} [Ring A] (v : A) : PowerSeries A :=
  PowerSeries.mk fun a => v ^ a

/-- The factor 1-v t in the formal variable t=y inverse. -/
def linearFactor {A : Type*} [Ring A] (v : A) : PowerSeries A :=
  1 - PowerSeries.C v * PowerSeries.X

/-- The numerator of (4.22) after normalizing every y-c to 1-c t,
PDF p.17. Every X_k superscript -1 is inversion, never k-1. -/
def transitionNumerator (n k : ℕ) : PowerSeries (RuiXuBMW P n) :=
  let q := algebraMap R (RuiXuBMW P n) ((P.q : R)^2)
  let qi := algebraMap R (RuiXuBMW P n) ((↑P.q⁻¹ : R)^2)
  linearFactor (ruiXuX P n k false)^2 * linearFactor (qi * ruiXuX P n k true) *
    linearFactor (q * ruiXuX P n k true)

/-- The denominator of (4.22), with unit constant coefficient 1, p.17. -/
def transitionDenominator (n k : ℕ) : PowerSeries (RuiXuBMW P n) :=
  let q := algebraMap R (RuiXuBMW P n) ((P.q : R)^2)
  let qi := algebraMap R (RuiXuBMW P n) ((↑P.q⁻¹ : R)^2)
  linearFactor (ruiXuX P n k true)^2 * linearFactor (qi * ruiXuX P n k false) *
    linearFactor (q * ruiXuX P n k false)

/-- The entire ratio of (4.22), expanded constructively using geometric
series. No division in a noncommutative fraction field is used, PDF p.17. -/
def transitionSeries (n k : ℕ) : PowerSeries (RuiXuBMW P n) :=
  let q := algebraMap R (RuiXuBMW P n) ((P.q : R)^2)
  let qi := algebraMap R (RuiXuBMW P n) ((↑P.q⁻¹ : R)^2)
  linearFactor (ruiXuX P n k false)^2 * ncGeometric (ruiXuX P n k true)^2 *
    linearFactor (qi * ruiXuX P n k true) * ncGeometric (qi * ruiXuX P n k false) *
    linearFactor (q * ruiXuX P n k true) * ncGeometric (q * ruiXuX P n k false)

/-- G(t)=1/(1-t^2)=y^2/(y^2-1), in the actual algebra coefficient ring. -/
def centralParitySeries (n : ℕ) : PowerSeries (RuiXuBMW P n) :=
  PowerSeries.mk fun a => if Even a then 1 else 0

/-- The base shifted series Wtilde_1+delta inverse rho-G, with coefficients
mapped from the prescribed moments; (4.28), PDF p.21. -/
def shiftedMomentBase (n : ℕ) : PowerSeries (RuiXuBMW P n) :=
  (PowerSeries.mk fun a => algebraMap R (RuiXuBMW P n) (P.omega (a : ℤ))) +
    PowerSeries.C (algebraMap R (RuiXuBMW P n) ((↑P.delta⁻¹ : R) * ↑P.rho)) -
    centralParitySeries P n

/-- Ordered constructive product in (4.28). j counts factors, so j=0
is the prescribed scalar base and j=k-1 gives level k; PDF p.21. -/
def shiftedMomentProduct (n j : ℕ) : PowerSeries (RuiXuBMW P n) :=
  shiftedMomentBase P n *
    (List.ofFn fun i : Fin j => transitionSeries P n (i.val+1)).prod

/-- Canonically constructed Wtilde_k, obtained from the base and the
complete product (4.28); not an arbitrary sequence satisfying the theorem. -/
def centralMomentSeries (n k : ℕ) : PowerSeries (RuiXuBMW P n) :=
  shiftedMomentProduct P n (k-1) + centralParitySeries P n -
    PowerSeries.C (algebraMap R (RuiXuBMW P n) ((↑P.delta⁻¹ : R) * ↑P.rho))

/-- The constructed coefficient omega_k^(a) in the ambient algebra, p.17. -/
def ruiXuCentralMoment (n k a : ℕ) : RuiXuBMW P n :=
  PowerSeries.coeff a (centralMomentSeries P n k)

/-- Laurent-word evaluation preserves the scalar unit, including m=0. -/
example (n m : ℕ) : laurentEval P n m 1 = 1 := map_one _

/-- The initial product has no factors; the level convention is pinned. -/
example (n : ℕ) : shiftedMomentProduct P n 0 = shiftedMomentBase P n := by
  simp [shiftedMomentProduct]

/-- Denominators have constant 1, so no nonunit series inversion is hidden. -/
example (n k : ℕ) : PowerSeries.coeff 0 (transitionDenominator P n k) = 1 := by
  simp [transitionDenominator, linearFactor]

/-- The two generator choices T_i and T_i inverse used in Corollary 4.27. -/
def signedT (n i : ℕ) (inverse : Bool) : RuiXuBMW P n :=
  if inverse then TInv P n i else T P n i

end CentralSeries

section PermutationTransversal

/-- One-based adjacent transposition s_i in S_n. The identity helper value
outside 1<=i<n is never used as a source generator. PDF p.15. -/
def ruiXuAdjacentPerm (n i : ℕ) : Equiv.Perm (Fin n) :=
  if h : 1 ≤ i ∧ i < n then Equiv.swap ⟨i-1, by omega⟩ ⟨i, h.2⟩ else 1

/-- Source ordered s_(a,b), PDF p.35. Permutations act on tableau labels
on the RIGHT, so the list is reversed before Mathlib's function-composition
product. This convention is also used in representativePerm below. -/
def intervalPerm (n a b : ℕ) : Equiv.Perm (Fin n) :=
  if b ≤ a then ((List.ofFn fun j : Fin (a-b) => ruiXuAdjacentPerm n (a-1-j.val)).reverse).prod
  else ((List.ofFn fun j : Fin (b-a) => ruiXuAdjacentPerm n (a+j.val)).reverse).prod

/-- Source s_(m-1,i) s_(m,j), interpreted as a right action, PDF p.35. -/
def pairPerm (n m i j : ℕ) : Equiv.Perm (Fin n) :=
  intervalPerm n m j * intervalPerm n (m-1) i

/-- One-based label at a zero-based cell position after the right action;
the out-of-range helper is unused in a valid row condition. -/
def permEntry (n : ℕ) (w : Equiv.Perm (Fin n)) (a : ℕ) : ℕ :=
  if h : a < n then (w ⟨a, h⟩).val+1 else 0

/-- The actual row-standard transversal in PDF p.35: an increasing first
row of n-2f entries, then f increasing pairs whose first column increases.
This definition uses tableau conditions, independently of (5.6). -/
def sourceTransversal (n f : ℕ) : Set (Equiv.Perm (Fin n)) :=
  {w | (∀ i j, i < j → j < n-2*f → permEntry n w i < permEntry n w j) ∧
    (∀ k, k < f → permEntry n w (n-2*f+2*k) < permEntry n w (n-2*f+2*k+1)) ∧
    (∀ k l, k < l → l < f →
      permEntry n w (n-2*f+2*k) < permEntry n w (n-2*f+2*l))}

/-- Exactly the inequalities of (5.6), with Fin f coordinate j meaning
source k=j+1: 1<=i_f<...<i_1 and 1<=i_k<j_k<=n-2k+2. -/
def RepresentativeIndices (n f : ℕ) (i j : Fin f → ℕ) : Prop :=
  (∀ k, 1 ≤ i k ∧ i k < j k ∧ j k ≤ n-2*k.val) ∧
    (∀ k l, k < l → i l < i k)

/-- The exact ordered representative s_(n-2f+1,i_f) s_(n-2f+2,j_f)
... s_(n-1,i_1) s_(n,j_1), as a permutation, PDF p.35.
The Mathlib product is in reverse source order because the action is right. -/
def representativePerm (n f : ℕ) (i j : Fin f → ℕ) : Equiv.Perm (Fin n) :=
  (List.ofFn fun k : Fin f => pairPerm n (n-2*k.val) (i k) (j k)).prod

/-- The right side of (5.6) is a SET of actual permutations, not words. -/
def representativeSet (n f : ℕ) : Set (Equiv.Perm (Fin n)) :=
  {w | ∃ i j : Fin f → ℕ, RepresentativeIndices n f i j ∧ w = representativePerm n f i j}

/-- An empty representative product is the identity, including f=0. -/
example (n : ℕ) (i j : Fin 0 → ℕ) : representativePerm n 0 i j = 1 := by
  simp [representativePerm]

/-- The interval s_(a,a) is the identity, fixing its endpoint convention. -/
example (n a : ℕ) : intervalPerm n a a = 1 := by simp [intervalPerm]

end PermutationTransversal

end QAlgorithms.Papers.Independent.Intakenext100.P51
Source
The representations of cyclotomic BMW algebras, arXiv:0801.0465v2, https://arxiv.org/abs/0801.0465v2
Read-back

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

QAlgorithms.Papers.Independent.Intakenext100.P51.CentralLaurentWord

Let RRR be a commutative ring, let r>0r>0r>0, and let PPP consist of units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​ and a function ω:Z→R\omega:\mathbb Z\to Rω:Z→R, satisfying δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). For m∈Nm\in\mathbb Nm∈N, let BmB_mBm​ be the quotient of the free associative unital RRR-algebra on Ti,EiT_i,E_iTi​,Ei​, 1≤i<m1\le i<m1≤i<m, and Xj±X_j^\pmXj±​, 1≤j≤m1\le j\le m1≤j≤m, imposing, whenever the indices are valid,

Xj+Xj−=Xj−Xj+=1,Ti2−δTi+δρEi=1,Ei2=ω(0)Ei,TiTj=TjTi (∣i−j∣>1),TiTi+1Ti=Ti+1TiTi+1,TiXj+=Xj+Ti (j≠i,i+1),Xi+Xj+=Xj+Xi+,TiXi+−Xi+1+Ti=δXi+1+(Ei−1),Xi+Ti−TiXi+1+=δ(Ei−1)Xi+1+,EiTi=TiEi=ρEi,Ei+1Ei=Ei+1TiTi+1=TiTi+1Ei,Ei+1EiEi+1=Ei+1,EiEi+1Ei=Ei,EiXi+Xi+1+=Ei=Xi+Xi+1+Ei.\begin{gathered} X_j^+X_j^-=X_j^-X_j^+=1,\quad T_i^2-\delta T_i+\delta\rho E_i=1,\quad E_i^2=\omega(0)E_i,\\ T_iT_j=T_jT_i\ (|i-j|>1),\quad T_iT_{i+1}T_i=T_{i+1}T_iT_{i+1},\\ T_iX_j^+=X_j^+T_i\ (j\ne i,i+1),\quad X_i^+X_j^+=X_j^+X_i^+,\\ T_iX_i^+-X_{i+1}^+T_i=\delta X_{i+1}^+(E_i-1),\quad X_i^+T_i-T_iX_{i+1}^+=\delta(E_i-1)X_{i+1}^+,\\ E_iT_i=T_iE_i=\rho E_i,\quad E_{i+1}E_i=E_{i+1}T_iT_{i+1}=T_iT_{i+1}E_i,\\ E_{i+1}E_iE_{i+1}=E_{i+1},\quad E_iE_{i+1}E_i=E_i,\quad E_iX_i^+X_{i+1}^+=E_i=X_i^+X_{i+1}^+E_i. \end{gathered}Xj+​Xj−​=Xj−​Xj+​=1,Ti2​−δTi​+δρEi​=1,Ei2​=ω(0)Ei​,Ti​Tj​=Tj​Ti​ (∣i−j∣>1),Ti​Ti+1​Ti​=Ti+1​Ti​Ti+1​,Ti​Xj+​=Xj+​Ti​ (j=i,i+1),Xi+​Xj+​=Xj+​Xi+​,Ti​Xi+​−Xi+1+​Ti​=δXi+1+​(Ei​−1),Xi+​Ti​−Ti​Xi+1+​=δ(Ei​−1)Xi+1+​,Ei​Ti​=Ti​Ei​=ρEi​,Ei+1​Ei​=Ei+1​Ti​Ti+1​=Ti​Ti+1​Ei​,Ei+1​Ei​Ei+1​=Ei+1​,Ei​Ei+1​Ei​=Ei​,Ei​Xi+​Xi+1+​=Ei​=Xi+​Xi+1+​Ei​.​

For m≥2m\ge2m≥2, also impose E1X1[a]E1=ω(a)E1E_1X_1^{[a]}E_1=\omega(a)E_1E1​X1[a]​E1​=ω(a)E1​ for all integers aaa, where X1[a]=(X1+)aX_1^{[a]}=(X_1^+)^aX1[a]​=(X1+​)a for a≥0a\ge0a≥0 and (X1−)−a(X_1^-)^{-a}(X1−​)−a for a<0a<0a<0; for m≥1m\ge1m≥1, impose ∏j=0r−1(X1+−uj)=0\prod_{j=0}^{r-1}(X_1^+-u_j)=0∏j=0r−1​(X1+​−uj​)=0. Scalars mean their algebra images. Given any element fff of the free associative RRR-algebra on symbols za,βz_{a,\beta}za,β​, 0≤a<m0\le a<m0≤a<m and β∈{false,true}\beta\in\{\mathrm{false},\mathrm{true}\}β∈{false,true}, evaluate fff by the RRR-algebra homomorphism sending za,falsez_{a,\mathrm{false}}za,false​ to Xa+1+X_{a+1}^+Xa+1+​ and za,truez_{a,\mathrm{true}}za,true​ to Xa+1−X_{a+1}^-Xa+1−​. The declaration defines the proposition that this evaluated element commutes with every element of BmB_mBm​:

f(X1+,X1−,…,Xm+,Xm−) b=b f(X1+,X1−,…,Xm+,Xm−)for every b∈Bm.f(X_1^+,X_1^-,\ldots,X_m^+,X_m^-)\,b = b\,f(X_1^+,X_1^-,\ldots,X_m^+,X_m^-) \qquad\text{for every }b\in B_m.f(X1+​,X1−​,…,Xm+​,Xm−​)b=bf(X1+​,X1−​,…,Xm+​,Xm−​)for every b∈Bm​.

The case m=0m=0m=0 is included: the source has no generators, B0=RB_0=RB0​=R, and the proposition holds for every such fff.

QAlgorithms.Papers.Independent.Intakenext100.P51.EquivalentActions

Let KKK be the coefficient field, AAA a unital ring with a KKK-algebra structure, and V,WV,WV,W additive commutative groups with KKK-module structures. For KKK-algebra homomorphisms α:A→End⁡K(V)\alpha:A\to\operatorname{End}_K(V)α:A→EndK​(V) and β:A→End⁡K(W)\beta:A\to\operatorname{End}_K(W)β:A→EndK​(W), the predicate says that there exists a KKK-linear isomorphism e:V→We:V\to We:V→W such that

e(α(x)(v))=β(x)(e(v))for every x∈A and v∈V.e\bigl(\alpha(x)(v)\bigr)=\beta(x)\bigl(e(v)\bigr) \quad\text{for every }x\in A\text{ and }v\in V.e(α(x)(v))=β(x)(e(v))for every x∈A and v∈V.

There is no nontriviality or simplicity assumption on either module.

QAlgorithms.Papers.Independent.Intakenext100.P51.Ground

For a commutative ring RRR and a natural number rrr, this structure consists of a proof that r>0r>0r>0, units q,δ,ρ∈R×q,\delta,\rho\in R^\timesq,δ,ρ∈R×, units uj∈R×u_j\in R^\timesuj​∈R× for every 0≤j<r0\le j<r0≤j<r, the identity δ=q−q−1\delta=q-q^{-1}δ=q−q−1 in RRR, and a function ω:Z→R\omega:\mathbb Z\to Rω:Z→R satisfying

ω(0)=1−δ−1(ρ−ρ−1).\omega(0)=1-\delta^{-1}(\rho-\rho^{-1}).ω(0)=1−δ−1(ρ−ρ−1).

All units in this formula are interpreted in RRR. The function ω\omegaω is defined at every integer, including negative integers; this structure places no further conditions on its values. There are no such records when r=0r=0r=0.

QAlgorithms.Papers.Independent.Intakenext100.P51.HG

Let RRR be a commutative ring, n,in,in,i natural numbers, and PPP consist of r>0r>0r>0, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​ in RRR, and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, with δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). Form the quotient HHH of the free associative RRR-algebra on GaG_aGa​, 1≤a<n1\le a<n1≤a<n, and YbY_bYb​, 1≤b≤n1\le b\le n1≤b≤n, by the relations

(Ga−q)(Ga+q−1)=0(1≤a<n),GaGb=GbGa(1≤a,b<n, a+1<b or b+1<a),GaGa+1Ga=Ga+1GaGa+1(1≤a, a+1<n),GaYb=YbGa(1≤a<n, 1≤b≤n, b≠a, b≠a+1),YaYb=YbYa(1≤a,b≤n),Ya+1=GaYaGa(1≤a<n),∏k=0r−1(Y1−uk)=0(n≥1),\begin{gathered} (G_a-q)(G_a+q^{-1})=0\quad(1\le a<n),\\ G_aG_b=G_bG_a\quad(1\le a,b<n,\ a+1<b\ \text{or}\ b+1<a),\\ G_aG_{a+1}G_a=G_{a+1}G_aG_{a+1}\quad(1\le a,\ a+1<n),\\ G_aY_b=Y_bG_a\quad(1\le a<n,\ 1\le b\le n,\ b\ne a,\ b\ne a+1),\\ Y_aY_b=Y_bY_a\quad(1\le a,b\le n),\qquad Y_{a+1}=G_aY_aG_a\quad(1\le a<n),\\ \prod_{k=0}^{r-1}(Y_1-u_k)=0\quad(n\ge1), \end{gathered}(Ga​−q)(Ga​+q−1)=0(1≤a<n),Ga​Gb​=Gb​Ga​(1≤a,b<n, a+1<b or b+1<a),Ga​Ga+1​Ga​=Ga+1​Ga​Ga+1​(1≤a, a+1<n),Ga​Yb​=Yb​Ga​(1≤a<n, 1≤b≤n, b=a, b=a+1),Ya​Yb​=Yb​Ya​(1≤a,b≤n),Ya+1​=Ga​Ya​Ga​(1≤a<n),k=0∏r−1​(Y1​−uk​)=0(n≥1),​

where scalars use the structural map and the product is in increasing index order. This definition gives the class of the free generator GiG_iGi​ in HHH when 1≤i<n1\le i<n1≤i<n, and gives zero otherwise. Thus it is zero at i=0i=0i=0, at every i≥ni\ge ni≥n, and at every index when n≤1n\le1n≤1.

QAlgorithms.Papers.Independent.Intakenext100.P51.HY

Let RRR be a commutative ring, n,jn,jn,j natural numbers, and PPP consist of r>0r>0r>0, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​ in RRR, and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, with δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). Form the quotient HHH of the free associative RRR-algebra on GaG_aGa​, 1≤a<n1\le a<n1≤a<n, and YbY_bYb​, 1≤b≤n1\le b\le n1≤b≤n, by the relations

(Ga−q)(Ga+q−1)=0(1≤a<n),GaGb=GbGa(1≤a,b<n, a+1<b or b+1<a),GaGa+1Ga=Ga+1GaGa+1(1≤a, a+1<n),GaYb=YbGa(1≤a<n, 1≤b≤n, b≠a, b≠a+1),YaYb=YbYa(1≤a,b≤n),Ya+1=GaYaGa(1≤a<n),∏k=0r−1(Y1−uk)=0(n≥1),\begin{gathered} (G_a-q)(G_a+q^{-1})=0\quad(1\le a<n),\\ G_aG_b=G_bG_a\quad(1\le a,b<n,\ a+1<b\ \text{or}\ b+1<a),\\ G_aG_{a+1}G_a=G_{a+1}G_aG_{a+1}\quad(1\le a,\ a+1<n),\\ G_aY_b=Y_bG_a\quad(1\le a<n,\ 1\le b\le n,\ b\ne a,\ b\ne a+1),\\ Y_aY_b=Y_bY_a\quad(1\le a,b\le n),\qquad Y_{a+1}=G_aY_aG_a\quad(1\le a<n),\\ \prod_{k=0}^{r-1}(Y_1-u_k)=0\quad(n\ge1), \end{gathered}(Ga​−q)(Ga​+q−1)=0(1≤a<n),Ga​Gb​=Gb​Ga​(1≤a,b<n, a+1<b or b+1<a),Ga​Ga+1​Ga​=Ga+1​Ga​Ga+1​(1≤a, a+1<n),Ga​Yb​=Yb​Ga​(1≤a<n, 1≤b≤n, b=a, b=a+1),Ya​Yb​=Yb​Ya​(1≤a,b≤n),Ya+1​=Ga​Ya​Ga​(1≤a<n),k=0∏r−1​(Y1​−uk​)=0(n≥1),​

where scalars use the structural map and the product is in increasing index order. This definition gives the class of the free generator YjY_jYj​ in HHH when 1≤j≤n1\le j\le n1≤j≤n, and gives zero otherwise. Thus it is zero at j=0j=0j=0, at every j>nj>nj>n, and at every index when n=0n=0n=0.

QAlgorithms.Papers.Independent.Intakenext100.P51.HeckeLetter

For every natural number nnn, this defines a type of formal letters consisting of a letter gkg_kgk​ for each 0≤k<n−10\le k<n-10≤k<n−1 and a letter yky_kyk​ for each 0≤k<n0\le k<n0≤k<n, with the two kinds of letters distinct and each kind indexed injectively. The subtraction n−1n-1n−1 is natural-number subtraction, so it is 000 when n=0n=0n=0. Thus there are no letters when n=0n=0n=0, and when n=1n=1n=1 there is just the letter y0y_0y0​.

QAlgorithms.Papers.Independent.Intakenext100.P51.IsGenericField

Let KKK be a field equipped with a Q\mathbb QQ-algebra structure, and let PPP consist of a positive integer rrr, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​ of KKK, and δ=q−q−1\delta=q-q^{-1}δ=q−q−1. The predicate says that the family consisting of the rrr values uiu_iui​ and one additional value qqq, with distinct tagged indices, is algebraically independent over Q\mathbb QQ, and that the smallest intermediate field of K/QK/\mathbb QK/Q containing all these values is all of KKK. Equivalently, no nonzero polynomial over Q\mathbb QQ in these r+1r+1r+1 indexed variables vanishes at this family, and K=Q(u0,…,ur−1,q)K=\mathbb Q(u_0,\ldots,u_{r-1},q)K=Q(u0​,…,ur−1​,q).

QAlgorithms.Papers.Independent.Intakenext100.P51.LastWords

Let RRR be a commutative ring, r,n∈Nr,n\in\mathbb Nr,n∈N, and PPP consist of r>0r>0r>0, units q,δ,ρ,u0,…,ur−1∈R×q,\delta,\rho,u_0,\ldots,u_{r-1}\in R^\timesq,δ,ρ,u0​,…,ur−1​∈R×, and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, with δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). Let AAA be the associative unital RRR-algebra generated by Ti,EiT_i,E_iTi​,Ei​ for 1≤i<n1\le i<n1≤i<n and Xj,XˉjX_j,\bar X_jXj​,Xˉj​ for 1≤j≤n1\le j\le n1≤j≤n, with these relations at valid indices:

XjXˉj=XˉjXj=1,Ti2−δTi+δρEi=1,Ei2=ω(0)Ei,XjXk=XkXj,TiTh=ThTi (∣i−h∣>1),TiTi+1Ti=Ti+1TiTi+1,TiXj=XjTi (j≠i,i+1),TiXi−Xi+1Ti=δXi+1(Ei−1),XiTi−TiXi+1=δ(Ei−1)Xi+1,EiTi=TiEi=ρEi,Ei+1Ei=Ei+1TiTi+1=TiTi+1Ei,Ei+1EiEi+1=Ei+1,EiEi+1Ei=Ei,EiXiXi+1=XiXi+1Ei=Ei.\begin{gathered} X_j\bar X_j=\bar X_jX_j=1,\quad T_i^2-\delta T_i+\delta\rho E_i=1,\quad E_i^2=\omega(0)E_i,\quad X_jX_k=X_kX_j,\\ T_iT_h=T_hT_i\ (|i-h|>1),\quad T_iT_{i+1}T_i=T_{i+1}T_iT_{i+1},\quad T_iX_j=X_jT_i\ (j\ne i,i+1),\\ T_iX_i-X_{i+1}T_i=\delta X_{i+1}(E_i-1),\quad X_iT_i-T_iX_{i+1}=\delta(E_i-1)X_{i+1},\\ E_iT_i=T_iE_i=\rho E_i,\quad E_{i+1}E_i=E_{i+1}T_iT_{i+1}=T_iT_{i+1}E_i,\\ E_{i+1}E_iE_{i+1}=E_{i+1},\quad E_iE_{i+1}E_i=E_i,\quad E_iX_iX_{i+1}=X_iX_{i+1}E_i=E_i. \end{gathered}Xj​Xˉj​=Xˉj​Xj​=1,Ti2​−δTi​+δρEi​=1,Ei2​=ω(0)Ei​,Xj​Xk​=Xk​Xj​,Ti​Th​=Th​Ti​ (∣i−h∣>1),Ti​Ti+1​Ti​=Ti+1​Ti​Ti+1​,Ti​Xj​=Xj​Ti​ (j=i,i+1),Ti​Xi​−Xi+1​Ti​=δXi+1​(Ei​−1),Xi​Ti​−Ti​Xi+1​=δ(Ei​−1)Xi+1​,Ei​Ti​=Ti​Ei​=ρEi​,Ei+1​Ei​=Ei+1​Ti​Ti+1​=Ti​Ti+1​Ei​,Ei+1​Ei​Ei+1​=Ei+1​,Ei​Ei+1​Ei​=Ei​,Ei​Xi​Xi+1​=Xi​Xi+1​Ei​=Ei​.​

For n≥2n\ge2n≥2, also impose E1X1aE1=ω(a)E1E_1X_1^aE_1=\omega(a)E_1E1​X1a​E1​=ω(a)E1​ for every integer aaa, interpreting negative powers through Xˉ1\bar X_1Xˉ1​; for n≥1n\ge1n≥1, impose ∏j=0r−1(X1−uj)=0\prod_{j=0}^{r-1}(X_1-u_j)=0∏j=0r−1​(X1​−uj​)=0. Indexed generators outside their specified ranges are zero. For h∈Ah\in Ah∈A, the proposition LastWords⁡(h)\operatorname{LastWords}(h)LastWords(h) means exactly

h=1orh=Tn−2orh=Tn−2Tn−1.h=1\quad\text{or}\quad h=T_{n-2}\quad\text{or}\quad h=T_{n-2}T_{n-1}.h=1orh=Tn−2​orh=Tn−2​Tn−1​.

Natural-number subtraction is truncated at zero, and there is no lower bound on nnn. Consequently, when n≤2n\le2n≤2, the proposition is h=1h=1h=1 or h=0h=0h=0. The alternatives are not required to be distinct or mutually exclusive.

QAlgorithms.Papers.Independent.Intakenext100.P51.LowerInduction

Let RRR be a commutative ring, r,n,p∈Nr,n,p\in\mathbb Nr,n,p∈N, ℓ∈Z\ell\in\mathbb Zℓ∈Z, and PPP consist of r>0r>0r>0, units q,δ,ρ,u0,…,ur−1∈R×q,\delta,\rho,u_0,\ldots,u_{r-1}\in R^\timesq,δ,ρ,u0​,…,ur−1​∈R×, and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, satisfying δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). Let AAA be the associative unital RRR-algebra generated by Ti,EiT_i,E_iTi​,Ei​ for 1≤i<n1\le i<n1≤i<n and Xj,XˉjX_j,\bar X_jXj​,Xˉj​ for 1≤j≤n1\le j\le n1≤j≤n, with these relations at valid indices:

XjXˉj=XˉjXj=1,Ti2−δTi+δρEi=1,Ei2=ω(0)Ei,XjXk=XkXj,TiTh=ThTi (∣i−h∣>1),TiTi+1Ti=Ti+1TiTi+1,TiXj=XjTi (j≠i,i+1),TiXi−Xi+1Ti=δXi+1(Ei−1),XiTi−TiXi+1=δ(Ei−1)Xi+1,EiTi=TiEi=ρEi,Ei+1Ei=Ei+1TiTi+1=TiTi+1Ei,Ei+1EiEi+1=Ei+1,EiEi+1Ei=Ei,EiXiXi+1=XiXi+1Ei=Ei.\begin{gathered} X_j\bar X_j=\bar X_jX_j=1,\quad T_i^2-\delta T_i+\delta\rho E_i=1,\quad E_i^2=\omega(0)E_i,\quad X_jX_k=X_kX_j,\\ T_iT_h=T_hT_i\ (|i-h|>1),\quad T_iT_{i+1}T_i=T_{i+1}T_iT_{i+1},\quad T_iX_j=X_jT_i\ (j\ne i,i+1),\\ T_iX_i-X_{i+1}T_i=\delta X_{i+1}(E_i-1),\quad X_iT_i-T_iX_{i+1}=\delta(E_i-1)X_{i+1},\\ E_iT_i=T_iE_i=\rho E_i,\quad E_{i+1}E_i=E_{i+1}T_iT_{i+1}=T_iT_{i+1}E_i,\\ E_{i+1}E_iE_{i+1}=E_{i+1},\quad E_iE_{i+1}E_i=E_i,\quad E_iX_iX_{i+1}=X_iX_{i+1}E_i=E_i. \end{gathered}Xj​Xˉj​=Xˉj​Xj​=1,Ti2​−δTi​+δρEi​=1,Ei2​=ω(0)Ei​,Xj​Xk​=Xk​Xj​,Ti​Th​=Th​Ti​ (∣i−h∣>1),Ti​Ti+1​Ti​=Ti+1​Ti​Ti+1​,Ti​Xj​=Xj​Ti​ (j=i,i+1),Ti​Xi​−Xi+1​Ti​=δXi+1​(Ei​−1),Xi​Ti​−Ti​Xi+1​=δ(Ei​−1)Xi+1​,Ei​Ti​=Ti​Ei​=ρEi​,Ei+1​Ei​=Ei+1​Ti​Ti+1​=Ti​Ti+1​Ei​,Ei+1​Ei​Ei+1​=Ei+1​,Ei​Ei+1​Ei​=Ei​,Ei​Xi​Xi+1​=Xi​Xi+1​Ei​=Ei​.​

For n≥2n\ge2n≥2, also impose E1X1aE1=ω(a)E1E_1X_1^aE_1=\omega(a)E_1E1​X1a​E1​=ω(a)E1​ for all a∈Za\in\mathbb Za∈Z, using Xˉ1\bar X_1Xˉ1​ for negative powers; for n≥1n\ge1n≥1, impose ∏j=0r−1(X1−uj)=0\prod_{j=0}^{r-1}(X_1-u_j)=0∏j=0r−1​(X1​−uj​)=0. All out-of-range indexed generators are zero. Write Xj[a]=XjaX_j^{[a]}=X_j^aXj[a]​=Xja​ for a≥0a\ge0a≥0 and Xj[a]=Xˉj−aX_j^{[a]}=\bar X_j^{-a}Xj[a]​=Xˉj−a​ for a<0a<0a<0; at an out-of-range index this is 111 for a=0a=0a=0 and zero otherwise. Let LmL_mLm​ be the RRR-subalgebra generated by Ti,EiT_i,E_iTi​,Ei​ for 1≤i<m1\le i<m1≤i<m and Xj,XˉjX_j,\bar X_jXj​,Xˉj​ for 1≤j≤m1\le j\le m1≤j≤m. Define I(a,b)=Ta−1⋯TbI(a,b)=T_{a-1}\cdots T_bI(a,b)=Ta−1​⋯Tb​ for b≤ab\le ab≤a, I(a,b)=Ta⋯Tb−1I(a,b)=T_a\cdots T_{b-1}I(a,b)=Ta​⋯Tb−1​ for a<ba<ba<b, and I(a,a)=1I(a,a)=1I(a,a)=1, and put Qm(i,j)=I(m−1,i)I(m,j)Q_m(i,j)=I(m-1,i)I(m,j)Qm​(i,j)=I(m−1,i)I(m,j). Let

Vp=span⁡R{bEn−3Xn−3[α]En−1Xn−1[β]Qn−2(i,j)h | b∈Ln−4,α,β∈Z,∣α∣,∣β∣≤p,i,j∈N,1≤i<j≤n−2,h∈{1,Tn−2,Tn−2Tn−1}}.V_p=\operatorname{span}_R \left\{ bE_{n-3}X_{n-3}^{[\alpha]}E_{n-1}X_{n-1}^{[\beta]}Q_{n-2}(i,j)h \ \middle|\ \begin{array}{l} b\in L_{n-4},\quad \alpha,\beta\in\mathbb Z,\quad |\alpha|,|\beta|\le p,\\ i,j\in\mathbb N,\quad 1\le i<j\le n-2,\\ h\in\{1,T_{n-2},T_{n-2}T_{n-1}\} \end{array} \right\}.Vp​=spanR​⎩⎨⎧​bEn−3​Xn−3[α]​En−1​Xn−1[β]​Qn−2​(i,j)h ​ b∈Ln−4​,α,β∈Z,∣α∣,∣β∣≤p,i,j∈N,1≤i<j≤n−2,h∈{1,Tn−2​,Tn−2​Tn−1​}​⎭⎬⎫​.

The proposition LowerInduction⁡(p,ℓ)\operatorname{LowerInduction}(p,\ell)LowerInduction(p,ℓ) says that for every ℓ′,m∈Z\ell',m\in\mathbb Zℓ′,m∈Z, if ∣ℓ′∣<∣ℓ∣|\ell'|<|\ell|∣ℓ′∣<∣ℓ∣ and ∣m∣≤p|m|\le p∣m∣≤p, then

En−1Xn−1[ℓ′]En−3Xn−3[m]Tn−2Tn−3∈Vp.E_{n-1}X_{n-1}^{[\ell']}E_{n-3}X_{n-3}^{[m]}T_{n-2}T_{n-3}\in V_p.En−1​Xn−1[ℓ′]​En−3​Xn−3[m]​Tn−2​Tn−3​∈Vp​.

All natural-number subtractions are truncated at zero. There is no lower bound on nnn. The proposition is vacuously true when ℓ=0\ell=0ℓ=0, because no integer satisfies ∣ℓ′∣<0|\ell'|<0∣ℓ′∣<0; it is also true when n<4n<4n<4, since then the displayed element is zero and VpV_pVp​ is the zero submodule. For p=0p=0p=0, the condition on mmm forces m=0m=0m=0.

QAlgorithms.Papers.Independent.Intakenext100.P51.OneLabel

For every natural number rrr, this is the set of pairs (i,b)(i,b)(i,b) where i∈{0,…,r−1}i\in\{0,\ldots,r-1\}i∈{0,…,r−1} and bbb is either false or true. It has 2r2r2r elements and is empty when r=0r=0r=0.

QAlgorithms.Papers.Independent.Intakenext100.P51.RepresentativeIndices

For all natural numbers n,fn,fn,f and all functions i,j:{0,…,f−1}→Ni,j:\{0,\ldots,f-1\}\to\mathbb Ni,j:{0,…,f−1}→N, the proposition RepresentativeIndices⁡(n,f,i,j)\operatorname{RepresentativeIndices}(n,f,i,j)RepresentativeIndices(n,f,i,j) means that

1≤i(k)<j(k)≤max⁡(n−2k,0)for every 0≤k<f,1\le i(k)<j(k)\le \max(n-2k,0) \quad\text{for every }0\le k<f,1≤i(k)<j(k)≤max(n−2k,0)for every 0≤k<f,

and

i(l)<i(k)whenever 0≤k<l<f.i(l)<i(k) \quad\text{whenever }0\le k<l<f.i(l)<i(k)whenever 0≤k<l<f.

Thus the values of iii strictly decrease as their indices increase; no additional ordering condition on the values of jjj is imposed. All subtraction is natural-number subtraction, truncated at 000. When f=0f=0f=0, both conditions are vacuous and the proposition holds for the unique pair of functions with empty domain; when 2f>n2f>n2f>n, no such pair of functions satisfies it.

QAlgorithms.Papers.Independent.Intakenext100.P51.RhoChoice

Let RRR be a commutative ring and let PPP consist of a natural number r>0r>0r>0, units q,δ,ρ∈R×q,\delta,\rho\in R^\timesq,δ,ρ∈R×, and units ui∈R×u_i\in R^\timesui​∈R× indexed by 0≤i<r0\le i<r0≤i<r, satisfying δ=q−q−1\delta=q-q^{-1}δ=q−q−1 in RRR. Write U=∏i=0r−1uiU=\prod_{i=0}^{r-1}u_iU=∏i=0r−1​ui​, with all units interpreted as elements of RRR. This definition is the proposition

{ρ−1=U or ρ−1=−U,r odd,ρ−1=q−1U or ρ−1=−qU,r even.\begin{cases} \rho^{-1}=U\ \text{or}\ \rho^{-1}=-U,&r\text{ odd},\\ \rho^{-1}=q^{-1}U\ \text{or}\ \rho^{-1}=-qU,&r\text{ even}. \end{cases}{ρ−1=U or ρ−1=−U,ρ−1=q−1U or ρ−1=−qU,​r odd,r even.​

Each “or” is an inclusive disjunction; the definition does not require the alternatives to be distinct.

QAlgorithms.Papers.Independent.Intakenext100.P51.RuiXuAdmissible

Let RRR be a commutative ring, r∈Nr\in\mathbb Nr∈N, and PPP comprise r>0r>0r>0, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​ satisfying δ=q−q−1\delta=q-q^{-1}δ=q−q−1, and a function ω:Z→R\omega:\mathbb Z\to Rω:Z→R satisfying ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). Write ∏i=0r−1(x−ui)=∑s=0rcsxs\prod_{i=0}^{r-1}(x-u_i)=\sum_{s=0}^{r}c_sx^s∏i=0r−1​(x−ui​)=∑s=0r​cs​xs, viewing all units as elements of RRR. The property defined here is the conjunction

∀b∈Z,∑s=0rcs ω(s+b)=0\forall b\in\mathbb Z,\qquad \sum_{s=0}^{r}c_s\,\omega(s+b)=0∀b∈Z,s=0∑r​cs​ω(s+b)=0

and

∀a∈N, a>0,ω(a)=ω(−a)+∑i=1aρ−1δ(ω(a−i)ω(−i)−ω(a−2i)).\forall a\in\mathbb N,\ a>0,\qquad \omega(a)=\omega(-a)+ \sum_{i=1}^{a}\rho^{-1}\delta \bigl(\omega(a-i)\omega(-i)-\omega(a-2i)\bigr).∀a∈N, a>0,ω(a)=ω(−a)+i=1∑a​ρ−1δ(ω(a−i)ω(−i)−ω(a−2i)).

The first condition includes every negative, zero, and positive integer shift bbb; the second excludes a=0a=0a=0, and all arguments of ω\omegaω, including a−2ia-2ia−2i, are computed in Z\mathbb ZZ. No distinctness, domain, or nonzero-ring hypothesis is imposed.

QAlgorithms.Papers.Independent.Intakenext100.P51.RuiXuBMW

Let RRR be a commutative ring, r,n∈Nr,n\in\mathbb Nr,n∈N, and PPP comprise r>0r>0r>0, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​, a function ω:Z→R\omega:\mathbb Z\to Rω:Z→R, and identities δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). Define I={i:1≤i<n}I=\{i:1\le i<n\}I={i:1≤i<n}, J={j:1≤j≤n}J=\{j:1\le j\le n\}J={j:1≤j≤n}, and H={i:1≤i, i+1<n}H=\{i:1\le i,\ i+1<n\}H={i:1≤i, i+1<n}, all with natural-number indices. This abbreviation denotes the quotient of the free associative unital RRR-algebra on Ti,EiT_i,E_iTi​,Ei​ for i∈Ii\in Ii∈I and two distinct formal generators Xj+,Xj−X_j^+,X_j^-Xj+​,Xj−​ for j∈Jj\in Jj∈J, by the smallest ring congruence imposing the following identities, with all scalar coefficients interpreted through the canonical map from RRR:

Xj+Xj−=1,Xj−Xj+=1(j∈J),Ti2−δTi+δρEi=1(i∈I),TiTj=TjTi(i,j∈I, i+1<j or j+1<i),TiTi+1Ti=Ti+1TiTi+1(i∈H),TiXj+=Xj+Ti(i∈I, j∈J, j≠i, j≠i+1),Ei2=ω(0)Ei(i∈I),Xi+Xj+=Xj+Xi+(i,j∈J),TiXi+−Xi+1+Ti=δXi+1+(Ei−1)(i∈I),Xi+Ti−TiXi+1+=δ(Ei−1)Xi+1+(i∈I),E1ZaE1=ω(a)E1(a∈Z, n≥2),EiTi=TiEi=ρEi(i∈I),Ei+1Ei=Ei+1TiTi+1=TiTi+1Ei(i∈H),Ei+1EiEi+1=Ei+1,EiEi+1Ei=Ei(i∈H),EiXi+Xi+1+=Ei,Xi+Xi+1+Ei=Ei(i∈I),∏j=0r−1(X1+−uj)=0(n≥1).\begin{aligned} X_j^+X_j^-&=1,\qquad X_j^-X_j^+=1 && (j\in J),\\ T_i^2-\delta T_i+\delta\rho E_i&=1 && (i\in I),\\ T_iT_j&=T_jT_i && (i,j\in I,\ i+1<j\ \text{or}\ j+1<i),\\ T_iT_{i+1}T_i&=T_{i+1}T_iT_{i+1} && (i\in H),\\ T_iX_j^+&=X_j^+T_i && (i\in I,\ j\in J,\ j\ne i,\ j\ne i+1),\\ E_i^2&=\omega(0)E_i && (i\in I),\\ X_i^+X_j^+&=X_j^+X_i^+ && (i,j\in J),\\ T_iX_i^+-X_{i+1}^+T_i&=\delta X_{i+1}^+(E_i-1) && (i\in I),\\ X_i^+T_i-T_iX_{i+1}^+&=\delta(E_i-1)X_{i+1}^+ && (i\in I),\\ E_1Z_aE_1&=\omega(a)E_1 && (a\in\mathbb Z,\ n\ge2),\\ E_iT_i&=T_iE_i=\rho E_i && (i\in I),\\ E_{i+1}E_i&=E_{i+1}T_iT_{i+1}=T_iT_{i+1}E_i && (i\in H),\\ E_{i+1}E_iE_{i+1}&=E_{i+1},\qquad E_iE_{i+1}E_i=E_i && (i\in H),\\ E_iX_i^+X_{i+1}^+&=E_i,\qquad X_i^+X_{i+1}^+E_i=E_i && (i\in I),\\ \prod_{j=0}^{r-1}(X_1^+-u_j)&=0 && (n\ge1). \end{aligned}Xj+​Xj−​Ti2​−δTi​+δρEi​Ti​Tj​Ti​Ti+1​Ti​Ti​Xj+​Ei2​Xi+​Xj+​Ti​Xi+​−Xi+1+​Ti​Xi+​Ti​−Ti​Xi+1+​E1​Za​E1​Ei​Ti​Ei+1​Ei​Ei+1​Ei​Ei+1​Ei​Xi+​Xi+1+​j=0∏r−1​(X1+​−uj​)​=1,Xj−​Xj+​=1=1=Tj​Ti​=Ti+1​Ti​Ti+1​=Xj+​Ti​=ω(0)Ei​=Xj+​Xi+​=δXi+1+​(Ei​−1)=δ(Ei​−1)Xi+1+​=ω(a)E1​=Ti​Ei​=ρEi​=Ei+1​Ti​Ti+1​=Ti​Ti+1​Ei​=Ei+1​,Ei​Ei+1​Ei​=Ei​=Ei​,Xi+​Xi+1+​Ei​=Ei​=0​​(j∈J),(i∈I),(i,j∈I, i+1<j or j+1<i),(i∈H),(i∈I, j∈J, j=i, j=i+1),(i∈I),(i,j∈J),(i∈I),(i∈I),(a∈Z, n≥2),(i∈I),(i∈H),(i∈H),(i∈I),(n≥1).​

Here Za=(X1+)aZ_a=(X_1^+)^aZa​=(X1+​)a for a≥0a\ge0a≥0 and Za=(X1−)−aZ_a=(X_1^-)^{-a}Za​=(X1−​)−a for a<0a<0a<0, using ordinary nonnegative powers, so Z0=1Z_0=1Z0​=1; the product is ordered by increasing jjj. For n=0n=0n=0, the free algebra has no generators and no relations are imposed, so this quotient is canonically isomorphic to RRR. No nontriviality of the quotient is required.

QAlgorithms.Papers.Independent.Intakenext100.P51.RuiXuBMWRelations

Let RRR be a commutative ring, r,n∈Nr,n\in\mathbb Nr,n∈N, and let PPP consist of r>0r>0r>0, units q,δ,ρ,u0,…,ur−1∈R×q,\delta,\rho,u_0,\ldots,u_{r-1}\in R^\timesq,δ,ρ,u0​,…,ur−1​∈R×, an integer-indexed function ω:Z→R\omega:\mathbb Z\to Rω:Z→R, and identities δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). Set I={i∈N:1≤i<n}I=\{i\in\mathbb N:1\le i<n\}I={i∈N:1≤i<n}, J={j∈N:1≤j≤n}J=\{j\in\mathbb N:1\le j\le n\}J={j∈N:1≤j≤n}, and H={i∈N:1≤i, i+1<n}H=\{i\in\mathbb N:1\le i,\ i+1<n\}H={i∈N:1≤i, i+1<n}. In the free associative unital RRR-algebra FFF on distinct letters ti−1,ei−1t_{i-1},e_{i-1}ti−1​,ei−1​ for i∈Ii\in Ii∈I and xj−1,false,xj−1,truex_{j-1,\mathrm{false}},x_{j-1,\mathrm{true}}xj−1,false​,xj−1,true​ for j∈Jj\in Jj∈J, write Ti,Ei,Xj+,Xj−T_i,E_i,X_j^+,X_j^-Ti​,Ei​,Xj+​,Xj−​ for their canonical images; their total definitions give zero outside these respective index ranges. Scalars below mean their images under the canonical map R→FR\to FR→F, and put Za=(X1+)aZ_a=(X_1^+)^aZa​=(X1+​)a for integers a≥0a\ge0a≥0 and Za=(X1−)−aZ_a=(X_1^-)^{-a}Za​=(X1−​)−a for a<0a<0a<0, using nonnegative exponents in each case. This defines a binary relation R\mathcal RR on FFF consisting exactly of the following ordered pairs, written A⇝BA\rightsquigarrow BA⇝B for R(A,B)\mathcal R(A,B)R(A,B):

Xj+Xj−⇝1,Xj−Xj+⇝1(j∈J),Ti2−δTi+δρEi⇝1(i∈I),TiTj⇝TjTi(i,j∈I, i+1<j or j+1<i),TiTi+1Ti⇝Ti+1TiTi+1(i∈H),TiXj+⇝Xj+Ti(i∈I, j∈J, j≠i, j≠i+1),Ei2⇝ω(0)Ei(i∈I),Xi+Xj+⇝Xj+Xi+(i,j∈J),TiXi+−Xi+1+Ti⇝δXi+1+(Ei−1)(i∈I),Xi+Ti−TiXi+1+⇝δ(Ei−1)Xi+1+(i∈I),E1ZaE1⇝ω(a)E1(a∈Z, n≥2),EiTi⇝ρEi,TiEi⇝ρEi(i∈I),Ei+1Ei⇝Ei+1TiTi+1,Ei+1Ei⇝TiTi+1Ei(i∈H),Ei+1EiEi+1⇝Ei+1,EiEi+1Ei⇝Ei(i∈H),EiXi+Xi+1+⇝Ei,Xi+Xi+1+Ei⇝Ei(i∈I),∏j=0r−1(X1+−uj)⇝0(n≥1).\begin{aligned} X_j^+X_j^-&\rightsquigarrow1,& X_j^-X_j^+&\rightsquigarrow1 && (j\in J),\\ T_i^2-\delta T_i+\delta\rho E_i&\rightsquigarrow1 &&&&(i\in I),\\ T_iT_j&\rightsquigarrow T_jT_i &&&&(i,j\in I,\ i+1<j\ \text{or}\ j+1<i),\\ T_iT_{i+1}T_i&\rightsquigarrow T_{i+1}T_iT_{i+1} &&&&(i\in H),\\ T_iX_j^+&\rightsquigarrow X_j^+T_i &&&&(i\in I,\ j\in J,\ j\ne i,\ j\ne i+1),\\ E_i^2&\rightsquigarrow\omega(0)E_i &&&&(i\in I),\\ X_i^+X_j^+&\rightsquigarrow X_j^+X_i^+ &&&&(i,j\in J),\\ T_iX_i^+-X_{i+1}^+T_i&\rightsquigarrow \delta X_{i+1}^+(E_i-1) &&&&(i\in I),\\ X_i^+T_i-T_iX_{i+1}^+&\rightsquigarrow \delta(E_i-1)X_{i+1}^+ &&&&(i\in I),\\ E_1Z_aE_1&\rightsquigarrow\omega(a)E_1 &&&&(a\in\mathbb Z,\ n\ge2),\\ E_iT_i&\rightsquigarrow\rho E_i,& T_iE_i&\rightsquigarrow\rho E_i && (i\in I),\\ E_{i+1}E_i&\rightsquigarrow E_{i+1}T_iT_{i+1},& E_{i+1}E_i&\rightsquigarrow T_iT_{i+1}E_i && (i\in H),\\ E_{i+1}E_iE_{i+1}&\rightsquigarrow E_{i+1},& E_iE_{i+1}E_i&\rightsquigarrow E_i && (i\in H),\\ E_iX_i^+X_{i+1}^+&\rightsquigarrow E_i,& X_i^+X_{i+1}^+E_i&\rightsquigarrow E_i && (i\in I),\\ \prod_{j=0}^{r-1}(X_1^+-u_j)&\rightsquigarrow0 &&&&(n\ge1). \end{aligned}Xj+​Xj−​Ti2​−δTi​+δρEi​Ti​Tj​Ti​Ti+1​Ti​Ti​Xj+​Ei2​Xi+​Xj+​Ti​Xi+​−Xi+1+​Ti​Xi+​Ti​−Ti​Xi+1+​E1​Za​E1​Ei​Ti​Ei+1​Ei​Ei+1​Ei​Ei+1​Ei​Xi+​Xi+1+​j=0∏r−1​(X1+​−uj​)​⇝1,⇝1⇝Tj​Ti​⇝Ti+1​Ti​Ti+1​⇝Xj+​Ti​⇝ω(0)Ei​⇝Xj+​Xi+​⇝δXi+1+​(Ei​−1)⇝δ(Ei​−1)Xi+1+​⇝ω(a)E1​⇝ρEi​,⇝Ei+1​Ti​Ti+1​,⇝Ei+1​,⇝Ei​,⇝0​Xj−​Xj+​Ti​Ei​Ei+1​Ei​Ei​Ei+1​Ei​Xi+​Xi+1+​Ei​​⇝1⇝ρEi​⇝Ti​Ti+1​Ei​⇝Ei​⇝Ei​​​(j∈J),(i∈I),(i,j∈I, i+1<j or j+1<i),(i∈H),(i∈I, j∈J, j=i, j=i+1),(i∈I),(i,j∈J),(i∈I),(i∈I),(a∈Z, n≥2),(i∈I),(i∈H),(i∈H),(i∈I),(n≥1).​

The last product is taken in increasing order of jjj. The relation itself includes no additional reflexive, symmetric, transitive, or ring-congruence closure. When n=0n=0n=0 it has no related pairs; when n=1n=1n=1, only the inverse pairs, the X+X^+X+-commutation pairs, and the cyclotomic pair occur. The integer a=0a=0a=0 is included in the unwrap pairs, with Z0=1Z_0=1Z0​=1; the commutation pairs allow i=ji=ji=j.

QAlgorithms.Papers.Independent.Intakenext100.P51.RuiXuHecke

Let RRR be a commutative ring, nnn a natural number, and PPP consist of r>0r>0r>0, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​ in RRR, and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, satisfying δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). This abbreviation denotes the ring quotient of the free associative RRR-algebra on generators GiG_iGi​, 1≤i<n1\le i<n1≤i<n, and YjY_jYj​, 1≤j≤n1\le j\le n1≤j≤n, by the smallest ring congruence imposing exactly the following generating relations, with scalars interpreted through the structural map:

(Gi−q)(Gi+q−1)=0(1≤i<n),GiGj=GjGi(1≤i,j<n, i+1<j or j+1<i),GiGi+1Gi=Gi+1GiGi+1(1≤i, i+1<n),GiYj=YjGi(1≤i<n, 1≤j≤n, j≠i, j≠i+1),YiYj=YjYi(1≤i,j≤n),Yi+1=GiYiGi(1≤i<n),∏k=0r−1(Y1−uk)=0(n≥1).\begin{gathered} (G_i-q)(G_i+q^{-1})=0\quad(1\le i<n),\\ G_iG_j=G_jG_i\quad(1\le i,j<n,\ i+1<j\ \text{or}\ j+1<i),\\ G_iG_{i+1}G_i=G_{i+1}G_iG_{i+1}\quad(1\le i,\ i+1<n),\\ G_iY_j=Y_jG_i\quad(1\le i<n,\ 1\le j\le n,\ j\ne i,\ j\ne i+1),\\ Y_iY_j=Y_jY_i\quad(1\le i,j\le n),\qquad Y_{i+1}=G_iY_iG_i\quad(1\le i<n),\\ \prod_{k=0}^{r-1}(Y_1-u_k)=0\quad(n\ge1). \end{gathered}(Gi​−q)(Gi​+q−1)=0(1≤i<n),Gi​Gj​=Gj​Gi​(1≤i,j<n, i+1<j or j+1<i),Gi​Gi+1​Gi​=Gi+1​Gi​Gi+1​(1≤i, i+1<n),Gi​Yj​=Yj​Gi​(1≤i<n, 1≤j≤n, j=i, j=i+1),Yi​Yj​=Yj​Yi​(1≤i,j≤n),Yi+1​=Gi​Yi​Gi​(1≤i<n),k=0∏r−1​(Y1​−uk​)=0(n≥1).​

The last product uses increasing index order. When n=0n=0n=0, there are no generators and no generating relations.

QAlgorithms.Papers.Independent.Intakenext100.P51.RuiXuHeckeQuotient

Let RRR be a commutative ring, nnn a natural number, and PPP consist of r>0r>0r>0, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​ in RRR, and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, with δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). Let AAA be the quotient of the free associative RRR-algebra on ti,eit_i,e_iti​,ei​, 1≤i<n1\le i<n1≤i<n, and xj,xj−1x_j,x_j^{-1}xj​,xj−1​, 1≤j≤n1\le j\le n1≤j≤n, by these relations, interpreting scalars through the structural map:

xjxj−1=xj−1xj=1(1≤j≤n),ti2−δti+δρei=1,ei2=ω(0)ei(1≤i<n),titj=tjti(1≤i,j<n, i+1<j or j+1<i),titi+1ti=ti+1titi+1(1≤i, i+1<n),tixj=xjti(1≤i<n, 1≤j≤n, j≠i, j≠i+1),xixj=xjxi(1≤i,j≤n),tixi−xi+1ti=δxi+1(ei−1),xiti−tixi+1=δ(ei−1)xi+1(1≤i<n),e1x1ae1=ω(a)e1(a∈Z, n≥2),eiti=tiei=ρei(1≤i<n),ei+1ei=ei+1titi+1=titi+1ei(1≤i, i+1<n),ei+1eiei+1=ei+1,eiei+1ei=ei(1≤i, i+1<n),eixixi+1=ei=xixi+1ei(1≤i<n),∏k=0r−1(x1−uk)=0(n≥1).\begin{gathered} x_jx_j^{-1}=x_j^{-1}x_j=1\quad(1\le j\le n),\\ t_i^2-\delta t_i+\delta\rho e_i=1,\qquad e_i^2=\omega(0)e_i \quad(1\le i<n),\\ t_it_j=t_jt_i \quad(1\le i,j<n,\ i+1<j\ \text{or}\ j+1<i),\\ t_it_{i+1}t_i=t_{i+1}t_it_{i+1}\quad(1\le i,\ i+1<n),\\ t_ix_j=x_jt_i \quad(1\le i<n,\ 1\le j\le n,\ j\ne i,\ j\ne i+1),\\ x_ix_j=x_jx_i\quad(1\le i,j\le n),\\ t_ix_i-x_{i+1}t_i=\delta x_{i+1}(e_i-1),\qquad x_it_i-t_ix_{i+1}=\delta(e_i-1)x_{i+1} \quad(1\le i<n),\\ e_1x_1^ae_1=\omega(a)e_1\quad(a\in\mathbb Z,\ n\ge2),\qquad e_it_i=t_ie_i=\rho e_i\quad(1\le i<n),\\ e_{i+1}e_i=e_{i+1}t_it_{i+1}=t_it_{i+1}e_i \quad(1\le i,\ i+1<n),\\ e_{i+1}e_ie_{i+1}=e_{i+1},\qquad e_ie_{i+1}e_i=e_i \quad(1\le i,\ i+1<n),\\ e_ix_ix_{i+1}=e_i=x_ix_{i+1}e_i\quad(1\le i<n),\qquad \prod_{k=0}^{r-1}(x_1-u_k)=0\quad(n\ge1). \end{gathered}xj​xj−1​=xj−1​xj​=1(1≤j≤n),ti2​−δti​+δρei​=1,ei2​=ω(0)ei​(1≤i<n),ti​tj​=tj​ti​(1≤i,j<n, i+1<j or j+1<i),ti​ti+1​ti​=ti+1​ti​ti+1​(1≤i, i+1<n),ti​xj​=xj​ti​(1≤i<n, 1≤j≤n, j=i, j=i+1),xi​xj​=xj​xi​(1≤i,j≤n),ti​xi​−xi+1​ti​=δxi+1​(ei​−1),xi​ti​−ti​xi+1​=δ(ei​−1)xi+1​(1≤i<n),e1​x1a​e1​=ω(a)e1​(a∈Z, n≥2),ei​ti​=ti​ei​=ρei​(1≤i<n),ei+1​ei​=ei+1​ti​ti+1​=ti​ti+1​ei​(1≤i, i+1<n),ei+1​ei​ei+1​=ei+1​,ei​ei+1​ei​=ei​(1≤i, i+1<n),ei​xi​xi+1​=ei​=xi​xi+1​ei​(1≤i<n),k=0∏r−1​(x1​−uk​)=0(n≥1).​

Negative powers in the compression relation use the inverse generator, and the last product is ordered by increasing kkk. Put I=span⁡R{ae1b:a,b∈A}I=\operatorname{span}_R\{a e_1 b:a,b\in A\}I=spanR​{ae1​b:a,b∈A} when n≥2n\ge2n≥2, and put I={0}I=\{0\}I={0} when n<2n<2n<2. This abbreviation denotes the ring quotient of AAA by the smallest ring congruence identifying every pair a,b∈Aa,b\in Aa,b∈A for which a−b∈Ia-b\in Ia−b∈I. For n=0n=0n=0 or n=1n=1n=1, the generating pairs for this further quotient are precisely pairs of already equal elements.

QAlgorithms.Papers.Independent.Intakenext100.P51.RuiXuHeckeRelations

Let RRR be a commutative ring, let r,nr,nr,n be natural numbers, and let PPP supply r>0r>0r>0, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​ in RRR, and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, with δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). In the free associative RRR-algebra on letters gkg_kgk​, 0≤k<n−10\le k<n-10≤k<n−1, and yky_kyk​, 0≤k<n0\le k<n0≤k<n, write GiG_iGi​ for the free generator gi−1g_{i-1}gi−1​ when 1≤i<n1\le i<n1≤i<n, and 000 otherwise; write YjY_jYj​ for the free generator yj−1y_{j-1}yj−1​ when 1≤j≤n1\le j\le n1≤j≤n, and 000 otherwise. Scalars below mean their images in this free algebra. This definition is the binary relation consisting of the following ordered pairs:

((Gi−q)(Gi+q−1), 0)1≤i<n,(GiGj, GjGi)1≤i,j<n,i+1<j or j+1<i,(GiGi+1Gi, Gi+1GiGi+1)1≤i,i+1<n,(GiYj, YjGi)1≤i<n,1≤j≤n,j≠i,j≠i+1,(YiYj, YjYi)1≤i,j≤n,(Yi+1, GiYiGi)1≤i<n,(∏k=0r−1(Y1−uk), 0)1≤n.\begin{array}{ll} \bigl((G_i-q)(G_i+q^{-1}),\,0\bigr) &1\le i<n,\\ (G_iG_j,\,G_jG_i) &1\le i,j<n,\quad i+1<j\ \text{or}\ j+1<i,\\ (G_iG_{i+1}G_i,\,G_{i+1}G_iG_{i+1}) &1\le i,\quad i+1<n,\\ (G_iY_j,\,Y_jG_i) &1\le i<n,\quad1\le j\le n,\quad j\ne i,\quad j\ne i+1,\\ (Y_iY_j,\,Y_jY_i) &1\le i,j\le n,\\ (Y_{i+1},\,G_iY_iG_i) &1\le i<n,\\ \left(\displaystyle\prod_{k=0}^{r-1}(Y_1-u_k),\,0\right) &1\le n. \end{array}((Gi​−q)(Gi​+q−1),0)(Gi​Gj​,Gj​Gi​)(Gi​Gi+1​Gi​,Gi+1​Gi​Gi+1​)(Gi​Yj​,Yj​Gi​)(Yi​Yj​,Yj​Yi​)(Yi+1​,Gi​Yi​Gi​)(k=0∏r−1​(Y1​−uk​),0)​1≤i<n,1≤i,j<n,i+1<j or j+1<i,1≤i,i+1<n,1≤i<n,1≤j≤n,j=i,j=i+1,1≤i,j≤n,1≤i<n,1≤n.​

The product in the last pair is taken in increasing index order. This is a relation on free-algebra elements, without an additional reflexive, symmetric, transitive, or ring-compatible closure built into this definition. For n=0n=0n=0, none of the listed pairs occur.

QAlgorithms.Papers.Independent.Intakenext100.P51.RuiXuLetter

For each natural number nnn, this defines a type of formal letters consisting of three disjoint families: tkt_ktk​ and eke_kek​, each indexed by 0≤k<n−10\le k<n-10≤k<n−1, and xk,bx_{k,b}xk,b​, indexed by 0≤k<n0\le k<n0≤k<n and a Boolean b∈{false,true}b\in\{\mathrm{false},\mathrm{true}\}b∈{false,true}. Here n−1n-1n−1 is natural-number subtraction, so it is 000 when n=0n=0n=0. Within each family, different indices give different letters, and letters from different families are distinct. The Boolean distinguishes two formal letters and imposes no inverse relation. For n=0n=0n=0 there are no letters; for n=1n=1n=1 there are exactly the two letters x0,falsex_{0,\mathrm{false}}x0,false​ and x0,truex_{0,\mathrm{true}}x0,true​.

QAlgorithms.Papers.Independent.Intakenext100.P51.RuiXuUAdmissible

Let RRR be a commutative ring, let r∈Nr\in\mathbb Nr∈N, and let PPP consist of r>0r>0r>0, units q,δ,ρ,u0,…,ur−1∈R×q,\delta,\rho,u_0,\ldots,u_{r-1}\in R^\timesq,δ,ρ,u0​,…,ur−1​∈R×, and a function ω:Z→R\omega:\mathbb Z\to Rω:Z→R, satisfying δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). All units below are viewed as elements of RRR. Put U=∏i=0r−1uiU=\prod_{i=0}^{r-1}u_iU=∏i=0r−1​ui​, D=δ−1ρD=\delta^{-1}\rhoD=δ−1ρ, and εa=1\varepsilon_a=1εa​=1 when aaa is even and 000 otherwise. For any rrr-tuple vvv in RRR, define ca(v)c_a(v)ca​(v) by ca(v)=[ta]∏i=0r−1((vi−t)∑m=0∞vimtm)\displaystyle c_a(v)=[t^a]\prod_{i=0}^{r-1}\left((v_i-t)\sum_{m=0}^{\infty}v_i^m t^m\right)ca​(v)=[ta]i=0∏r−1​((vi​−t)m=0∑∞​vim​tm). The property defined here is the conjunction of the following conditions: if rrr is odd, then ρ−1=U\rho^{-1}=Uρ−1=U or ρ−1=−U\rho^{-1}=-Uρ−1=−U; if rrr is even, then ρ−1=q−1U\rho^{-1}=q^{-1}Uρ−1=q−1U or ρ−1=−qU\rho^{-1}=-qUρ−1=−qU; and the moments satisfy

ω(a)=εa+DUca(u)+{∑k=0a−1εkca−1−k(u),r odd,−∑k=0aεkca−k(u),r even−{D,a=0,0,a>0(a∈N),\omega(a)=\varepsilon_a+DUc_a(u)+ \begin{cases} \displaystyle\sum_{k=0}^{a-1}\varepsilon_k c_{a-1-k}(u),&r\text{ odd},\\ \displaystyle-\sum_{k=0}^{a}\varepsilon_k c_{a-k}(u),&r\text{ even} \end{cases} - \begin{cases}D,&a=0,\\0,&a>0\end{cases} \qquad(a\in\mathbb N),ω(a)=εa​+DUca​(u)+⎩⎨⎧​k=0∑a−1​εk​ca−1−k​(u),−k=0∑a​εk​ca−k​(u),​r odd,r even​−{D,0,​a=0,a>0​(a∈N),

and

ω(−a)=εa−DUca(u−1)+{∑k=0a−1εkca−1−k(u−1),r odd,−∑k=0a−2εkca−2−k(u−1),r even(a∈N, a>0).\omega(-a)=\varepsilon_a-DUc_a(u^{-1})+ \begin{cases} \displaystyle\sum_{k=0}^{a-1}\varepsilon_k c_{a-1-k}(u^{-1}),&r\text{ odd},\\ \displaystyle-\sum_{k=0}^{a-2}\varepsilon_k c_{a-2-k}(u^{-1}),&r\text{ even} \end{cases} \qquad(a\in\mathbb N,\ a>0).ω(−a)=εa​−DUca​(u−1)+⎩⎨⎧​k=0∑a−1​εk​ca−1−k​(u−1),−k=0∑a−2​εk​ca−2−k​(u−1),​r odd,r even​(a∈N, a>0).

Here u−1=(ui−1)iu^{-1}=(u_i^{-1})_iu−1=(ui−1​)i​, and a sum with upper endpoint below 000 is empty. Thus the first identity includes a=0a=0a=0, whereas the second imposes no condition at a=0a=0a=0; repeated roots are allowed, and no assumption that RRR is a domain or nonzero is imposed.

QAlgorithms.Papers.Independent.Intakenext100.P51.RuiXuUnitParameters

For a commutative ring RRR and a natural number rrr, this structure consists of a proof that r>0r>0r>0, three units q,δ,ρ∈R×q,\delta,\rho\in R^\timesq,δ,ρ∈R×, an indexed family of units u0,…,ur−1∈R×u_0,\ldots,u_{r-1}\in R^\timesu0​,…,ur−1​∈R×, and the identity

δ=q−q−1\delta=q-q^{-1}δ=q−q−1

in RRR, where units and their inverses are viewed as elements of RRR. Thus there are no such parameter records when r=0r=0r=0. No assumption that RRR is nontrivial or an integral domain is included.

QAlgorithms.Papers.Independent.Intakenext100.P51.SimpleAction

Let KKK be the coefficient field, AAA a unital ring with a KKK-algebra structure, and VVV an additive commutative group with a KKK-module structure. For a KKK-algebra homomorphism α:A→End⁡K(V)\alpha:A\to\operatorname{End}_K(V)α:A→EndK​(V), the predicate says that VVV is nontrivial and that every KKK-submodule W⊆VW\subseteq VW⊆V satisfying α(a)(v)∈W\alpha(a)(v)\in Wα(a)(v)∈W for all a∈Aa\in Aa∈A and all v∈Wv\in Wv∈W is either the zero submodule or all of VVV.

QAlgorithms.Papers.Independent.Intakenext100.P51.T

For every commutative ring RRR, natural numbers r,n,ir,n,ir,n,i, and data PPP consisting of r>0r>0r>0, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​, a function ω:Z→R\omega:\mathbb Z\to Rω:Z→R, and identities δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1), this defines an element of the following quotient algebra BBB. Put I={k∈N:1≤k<n}I=\{k\in\mathbb N:1\le k<n\}I={k∈N:1≤k<n}, J={j∈N:1≤j≤n}J=\{j\in\mathbb N:1\le j\le n\}J={j∈N:1≤j≤n}, and H={k∈N:1≤k, k+1<n}H=\{k\in\mathbb N:1\le k,\ k+1<n\}H={k∈N:1≤k, k+1<n}. Start with the free associative unital RRR-algebra on generators τk,εk\tau_k,\varepsilon_kτk​,εk​ for k∈Ik\in Ik∈I and distinct xj+,xj−x_j^+,x_j^-xj+​,xj−​ for j∈Jj\in Jj∈J, and take its quotient by the smallest ring congruence imposing, with scalars interpreted through the canonical map from RRR,

xj+xj−=1,xj−xj+=1(j∈J),τk2−δτk+δρεk=1(k∈I),τkτl=τlτk(k,l∈I, k+1<l or l+1<k),τkτk+1τk=τk+1τkτk+1(k∈H),τkxj+=xj+τk(k∈I, j∈J, j≠k, j≠k+1),εk2=ω(0)εk(k∈I),xj+xl+=xl+xj+(j,l∈J),τkxk+−xk+1+τk=δxk+1+(εk−1)(k∈I),xk+τk−τkxk+1+=δ(εk−1)xk+1+(k∈I),ε1zaε1=ω(a)ε1(a∈Z, n≥2),εkτk=τkεk=ρεk(k∈I),εk+1εk=εk+1τkτk+1=τkτk+1εk(k∈H),εk+1εkεk+1=εk+1,εkεk+1εk=εk(k∈H),εkxk+xk+1+=εk,xk+xk+1+εk=εk(k∈I),∏j=0r−1(x1+−uj)=0(n≥1).\begin{aligned} x_j^+x_j^-&=1,\qquad x_j^-x_j^+=1 && (j\in J),\\ \tau_k^2-\delta\tau_k+\delta\rho\varepsilon_k&=1 && (k\in I),\\ \tau_k\tau_l&=\tau_l\tau_k && (k,l\in I,\ k+1<l\ \text{or}\ l+1<k),\\ \tau_k\tau_{k+1}\tau_k&=\tau_{k+1}\tau_k\tau_{k+1} && (k\in H),\\ \tau_kx_j^+&=x_j^+\tau_k && (k\in I,\ j\in J,\ j\ne k,\ j\ne k+1),\\ \varepsilon_k^2&=\omega(0)\varepsilon_k && (k\in I),\\ x_j^+x_l^+&=x_l^+x_j^+ && (j,l\in J),\\ \tau_kx_k^+-x_{k+1}^+\tau_k&=\delta x_{k+1}^+(\varepsilon_k-1) && (k\in I),\\ x_k^+\tau_k-\tau_kx_{k+1}^+&=\delta(\varepsilon_k-1)x_{k+1}^+ && (k\in I),\\ \varepsilon_1z_a\varepsilon_1&=\omega(a)\varepsilon_1 && (a\in\mathbb Z,\ n\ge2),\\ \varepsilon_k\tau_k&=\tau_k\varepsilon_k=\rho\varepsilon_k && (k\in I),\\ \varepsilon_{k+1}\varepsilon_k &=\varepsilon_{k+1}\tau_k\tau_{k+1} =\tau_k\tau_{k+1}\varepsilon_k && (k\in H),\\ \varepsilon_{k+1}\varepsilon_k\varepsilon_{k+1}&=\varepsilon_{k+1}, \qquad\varepsilon_k\varepsilon_{k+1}\varepsilon_k=\varepsilon_k && (k\in H),\\ \varepsilon_kx_k^+x_{k+1}^+&=\varepsilon_k, \qquad x_k^+x_{k+1}^+\varepsilon_k=\varepsilon_k && (k\in I),\\ \prod_{j=0}^{r-1}(x_1^+-u_j)&=0 && (n\ge1). \end{aligned}xj+​xj−​τk2​−δτk​+δρεk​τk​τl​τk​τk+1​τk​τk​xj+​εk2​xj+​xl+​τk​xk+​−xk+1+​τk​xk+​τk​−τk​xk+1+​ε1​za​ε1​εk​τk​εk+1​εk​εk+1​εk​εk+1​εk​xk+​xk+1+​j=0∏r−1​(x1+​−uj​)​=1,xj−​xj+​=1=1=τl​τk​=τk+1​τk​τk+1​=xj+​τk​=ω(0)εk​=xl+​xj+​=δxk+1+​(εk​−1)=δ(εk​−1)xk+1+​=ω(a)ε1​=τk​εk​=ρεk​=εk+1​τk​τk+1​=τk​τk+1​εk​=εk+1​,εk​εk+1​εk​=εk​=εk​,xk+​xk+1+​εk​=εk​=0​​(j∈J),(k∈I),(k,l∈I, k+1<l or l+1<k),(k∈H),(k∈I, j∈J, j=k, j=k+1),(k∈I),(j,l∈J),(k∈I),(k∈I),(a∈Z, n≥2),(k∈I),(k∈H),(k∈H),(k∈I),(n≥1).​

Here za=(x1+)az_a=(x_1^+)^aza​=(x1+​)a for a≥0a\ge0a≥0 and za=(x1−)−az_a=(x_1^-)^{-a}za​=(x1−​)−a for a<0a<0a<0, with ordinary nonnegative powers, and the product is ordered by increasing jjj. The defined element T(P,n,i)T(P,n,i)T(P,n,i) is the class of τi\tau_iτi​, whose underlying letter has index i−1i-1i−1, when 1≤i<n1\le i<n1≤i<n, and is 0∈B0\in B0∈B otherwise. Consequently 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.

QAlgorithms.Papers.Independent.Intakenext100.P51.TInv

Let RRR be a commutative ring, r,n∈Nr,n\in\mathbb Nr,n∈N, and PPP comprise r>0r>0r>0, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​, and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, satisfying δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). Let AAA be the quotient of the free associative RRR-algebra on ti,eit_i,e_iti​,ei​, 1≤i<n1\le i<n1≤i<n, and xj,xj−1x_j,x_j^{-1}xj​,xj−1​, 1≤j≤n1\le j\le n1≤j≤n, by

xjxj−1=xj−1xj=1,ti2−δti+δρei=1,ei2=ω(0)ei,titj=tjti (i+1<j or j+1<i),titi+1ti=ti+1titi+1,tixj=xjti (j≠i,i+1),xjxℓ=xℓxj,tixi−xi+1ti=δxi+1(ei−1),xiti−tixi+1=δ(ei−1)xi+1,e1x1be1=ω(b)e1 (b∈Z, n≥2),eiti=tiei=ρei,ei+1ei=ei+1titi+1=titi+1ei,ei+1eiei+1=ei+1,eiei+1ei=ei,eixixi+1=ei=xixi+1ei,∏ℓ=0r−1(x1−uℓ)=0 (n≥1).\begin{gathered} x_jx_j^{-1}=x_j^{-1}x_j=1,\quad t_i^2-\delta t_i+\delta\rho e_i=1,\quad e_i^2=\omega(0)e_i,\\ t_it_j=t_jt_i\ (i+1<j\text{ or }j+1<i),\quad t_it_{i+1}t_i=t_{i+1}t_it_{i+1},\\ t_ix_j=x_jt_i\ (j\ne i,i+1),\quad x_jx_\ell=x_\ell x_j,\\ t_ix_i-x_{i+1}t_i=\delta x_{i+1}(e_i-1),\quad x_it_i-t_ix_{i+1}=\delta(e_i-1)x_{i+1},\\ e_1x_1^b e_1=\omega(b)e_1\ (b\in\mathbb Z,\ n\ge2),\quad e_it_i=t_ie_i=\rho e_i,\\ e_{i+1}e_i=e_{i+1}t_it_{i+1}=t_it_{i+1}e_i,\quad e_{i+1}e_ie_{i+1}=e_{i+1},\quad e_ie_{i+1}e_i=e_i,\\ e_ix_ix_{i+1}=e_i=x_ix_{i+1}e_i,\quad \prod_{\ell=0}^{r-1}(x_1-u_\ell)=0\ (n\ge1). \end{gathered}xj​xj−1​=xj−1​xj​=1,ti2​−δti​+δρei​=1,ei2​=ω(0)ei​,ti​tj​=tj​ti​ (i+1<j or j+1<i),ti​ti+1​ti​=ti+1​ti​ti+1​,ti​xj​=xj​ti​ (j=i,i+1),xj​xℓ​=xℓ​xj​,ti​xi​−xi+1​ti​=δxi+1​(ei​−1),xi​ti​−ti​xi+1​=δ(ei​−1)xi+1​,e1​x1b​e1​=ω(b)e1​ (b∈Z, n≥2),ei​ti​=ti​ei​=ρei​,ei+1​ei​=ei+1​ti​ti+1​=ti​ti+1​ei​,ei+1​ei​ei+1​=ei+1​,ei​ei+1​ei​=ei​,ei​xi​xi+1​=ei​=xi​xi+1​ei​,ℓ=0∏r−1​(x1​−uℓ​)=0 (n≥1).​

Coefficients mean canonical scalar images, every index must name an existing generator, and adjacent ttt- or eee-relations require 1≤i1\le i1≤i and i+1<ni+1<ni+1<n. For every i∈Ni\in\mathbb Ni∈N, put ti=ei=0t_i=e_i=0ti​=ei​=0 outside 1≤i<n1\le i<n1≤i<n, and write δˉ\bar\deltaδˉ for the image of δ\deltaδ under R→AR\to AR→A. The definition assigns

TInv⁡(i)=ti−δˉ+δˉei.\operatorname{TInv}(i)=t_i-\bar\delta+\bar\delta e_i.TInv(i)=ti​−δˉ+δˉei​.

Thus an invalid index gives −δˉ-\bar\delta−δˉ; this also describes every index when n=0n=0n=0 or n=1n=1n=1.

QAlgorithms.Papers.Independent.Intakenext100.P51.TwoLabel

For every natural number rrr, this is the set of ordered pairs (i,j)(i,j)(i,j) of indices in {0,…,r−1}\{0,\ldots,r-1\}{0,…,r−1} satisfying i<ji<ji<j. It is empty for r=0r=0r=0 and r=1r=1r=1.

QAlgorithms.Papers.Independent.Intakenext100.P51.ValidPair

For arbitrary natural numbers m,i,jm,i,jm,i,j, the declaration defines the predicate that holds exactly when

1≤i<j≤m.1\le i<j\le m.1≤i<j≤m.

In particular, it holds for no pair when m=0m=0m=0 or m=1m=1m=1, and it never holds when either index is zero.

QAlgorithms.Papers.Independent.Intakenext100.P51.XPow

Let RRR be a commutative ring, r,n∈Nr,n\in\mathbb Nr,n∈N, and PPP comprise r>0r>0r>0, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​, and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, with δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). Let AAA be the quotient of the free associative RRR-algebra on ti,eit_i,e_iti​,ei​, 1≤i<n1\le i<n1≤i<n, and xj,xj−1x_j,x_j^{-1}xj​,xj−1​, 1≤j≤n1\le j\le n1≤j≤n, imposing

xjxj−1=xj−1xj=1,ti2−δti+δρei=1,ei2=ω(0)ei,titj=tjti (i+1<j or j+1<i),titi+1ti=ti+1titi+1,tixj=xjti (j≠i,i+1),xjxℓ=xℓxj,tixi−xi+1ti=δxi+1(ei−1),xiti−tixi+1=δ(ei−1)xi+1,e1x1be1=ω(b)e1 (b∈Z, n≥2),eiti=tiei=ρei,ei+1ei=ei+1titi+1=titi+1ei,ei+1eiei+1=ei+1,eiei+1ei=ei,eixixi+1=ei=xixi+1ei,∏ℓ=0r−1(x1−uℓ)=0 (n≥1).\begin{gathered} x_jx_j^{-1}=x_j^{-1}x_j=1,\quad t_i^2-\delta t_i+\delta\rho e_i=1,\quad e_i^2=\omega(0)e_i,\\ t_it_j=t_jt_i\ (i+1<j\text{ or }j+1<i),\quad t_it_{i+1}t_i=t_{i+1}t_it_{i+1},\\ t_ix_j=x_jt_i\ (j\ne i,i+1),\quad x_jx_\ell=x_\ell x_j,\\ t_ix_i-x_{i+1}t_i=\delta x_{i+1}(e_i-1),\quad x_it_i-t_ix_{i+1}=\delta(e_i-1)x_{i+1},\\ e_1x_1^b e_1=\omega(b)e_1\ (b\in\mathbb Z,\ n\ge2),\quad e_it_i=t_ie_i=\rho e_i,\\ e_{i+1}e_i=e_{i+1}t_it_{i+1}=t_it_{i+1}e_i,\quad e_{i+1}e_ie_{i+1}=e_{i+1},\quad e_ie_{i+1}e_i=e_i,\\ e_ix_ix_{i+1}=e_i=x_ix_{i+1}e_i,\quad \prod_{\ell=0}^{r-1}(x_1-u_\ell)=0\ (n\ge1). \end{gathered}xj​xj−1​=xj−1​xj​=1,ti2​−δti​+δρei​=1,ei2​=ω(0)ei​,ti​tj​=tj​ti​ (i+1<j or j+1<i),ti​ti+1​ti​=ti+1​ti​ti+1​,ti​xj​=xj​ti​ (j=i,i+1),xj​xℓ​=xℓ​xj​,ti​xi​−xi+1​ti​=δxi+1​(ei​−1),xi​ti​−ti​xi+1​=δ(ei​−1)xi+1​,e1​x1b​e1​=ω(b)e1​ (b∈Z, n≥2),ei​ti​=ti​ei​=ρei​,ei+1​ei​=ei+1​ti​ti+1​=ti​ti+1​ei​,ei+1​ei​ei+1​=ei+1​,ei​ei+1​ei​=ei​,ei​xi​xi+1​=ei​=xi​xi+1​ei​,ℓ=0∏r−1​(x1​−uℓ​)=0 (n≥1).​

Scalars mean their canonical images; indices range over existing generators, and adjacent ttt- or eee-relations require 1≤i1\le i1≤i and i+1<ni+1<ni+1<n. Extend both xjx_jxj​ and the designated inverse generator xj−1x_j^{-1}xj−1​ by zero outside 1≤j≤n1\le j\le n1≤j≤n. For every j∈Nj\in\mathbb Nj∈N and a∈Za\in\mathbb Za∈Z, the definition is

XPow⁡(j,a)={xj a,a≥0,(xj−1)−a,a<0,\operatorname{XPow}(j,a)= \begin{cases} x_j^{\,a},&a\ge0,\\ (x_j^{-1})^{-a},&a<0, \end{cases}XPow(j,a)={xja​,(xj−1​)−a,​a≥0,a<0,​

where the exponents on the right are nonnegative integer powers. In particular, XPow⁡(j,0)=1A\operatorname{XPow}(j,0)=1_AXPow(j,0)=1A​ for every jjj, including invalid indices, while for an invalid index every nonzero exponent gives 0A0_A0A​. This includes n=0n=0n=0, when AAA is canonically RRR.

QAlgorithms.Papers.Independent.Intakenext100.P51.centralMomentSeries

Let RRR be a commutative ring and let PPP supply r>0r>0r>0, units q,δ,ρ,uh∈R×q,\delta,\rho,u_h\in R^\timesq,δ,ρ,uh​∈R× for h<rh<rh<r, and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, with δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω0=1−δ−1(ρ−ρ−1)\omega_0=1-\delta^{-1}(\rho-\rho^{-1})ω0​=1−δ−1(ρ−ρ−1). Let AnA_nAn​ be the quotient of the free associative RRR-algebra on ti,eit_i,e_iti​,ei​ (1≤i<n1\le i<n1≤i<n) and xs,xs−x_s,x_s^-xs​,xs−​ (1≤s≤n1\le s\le n1≤s≤n) by

xsxs−=xs−xs=1,xsxℓ=xℓxs,ti2−δti+δρei=1,ei2=ω0ei,titℓ=tℓti (∣i−ℓ∣>1),titi+1ti=ti+1titi+1,tixs=xsti (s≠i,i+1),tixi−xi+1ti=δxi+1(ei−1),xiti−tixi+1=δ(ei−1)xi+1,eiti=tiei=ρei,ei+1ei=ei+1titi+1=titi+1ei,ei+1eiei+1=ei+1,eiei+1ei=ei,eixixi+1=xixi+1ei=ei,e1x1[b]e1=ωbe1 (b∈Z, n≥2),∏h=0r−1(x1−uh)=0 (n≥1).\begin{gathered} x_sx_s^-=x_s^-x_s=1,\quad x_sx_\ell=x_\ell x_s,\quad t_i^2-\delta t_i+\delta\rho e_i=1,\quad e_i^2=\omega_0e_i,\\ t_it_\ell=t_\ell t_i\ (|i-\ell|>1),\quad t_it_{i+1}t_i=t_{i+1}t_it_{i+1},\quad t_ix_s=x_st_i\ (s\ne i,i+1),\\ t_ix_i-x_{i+1}t_i=\delta x_{i+1}(e_i-1),\quad x_it_i-t_ix_{i+1}=\delta(e_i-1)x_{i+1},\quad e_it_i=t_ie_i=\rho e_i,\\ e_{i+1}e_i=e_{i+1}t_it_{i+1}=t_it_{i+1}e_i,\quad e_{i+1}e_ie_{i+1}=e_{i+1},\quad e_ie_{i+1}e_i=e_i,\quad e_ix_ix_{i+1}=x_ix_{i+1}e_i=e_i,\\ e_1x_1^{[b]}e_1=\omega_b e_1\ (b\in\mathbb Z,\ n\ge2),\qquad \prod_{h=0}^{r-1}(x_1-u_h)=0\ (n\ge1). \end{gathered}xs​xs−​=xs−​xs​=1,xs​xℓ​=xℓ​xs​,ti2​−δti​+δρei​=1,ei2​=ω0​ei​,ti​tℓ​=tℓ​ti​ (∣i−ℓ∣>1),ti​ti+1​ti​=ti+1​ti​ti+1​,ti​xs​=xs​ti​ (s=i,i+1),ti​xi​−xi+1​ti​=δxi+1​(ei​−1),xi​ti​−ti​xi+1​=δ(ei​−1)xi+1​,ei​ti​=ti​ei​=ρei​,ei+1​ei​=ei+1​ti​ti+1​=ti​ti+1​ei​,ei+1​ei​ei+1​=ei+1​,ei​ei+1​ei​=ei​,ei​xi​xi+1​=xi​xi+1​ei​=ei​,e1​x1[b]​e1​=ωb​e1​ (b∈Z, n≥2),h=0∏r−1​(x1​−uh​)=0 (n≥1).​

All relations use valid generator indices, xs[b]=xsbx_s^{[b]}=x_s^bxs[b]​=xsb​ for b≥0b\ge0b≥0 and (xs−)−b(x_s^-)^{-b}(xs−​)−b otherwise, and ιn:R→An\iota_n:R\to A_nιn​:R→An​ is the scalar map. Set out-of-range generators to zero, and define

Gn(z)=∑b≥0z2b,Mn(z)=∑a≥0ιn(ωa)za,Dn=ιn(δ−1ρ),L(v)=1−vz,V(v)=∑b≥0vbzb,τn,s=L(xs)2V(xs−)2L(q−2xs−)V(q−2xs)L(q2xs−)V(q2xs).\begin{gathered} G_n(z)=\sum_{b\ge0}z^{2b},\qquad M_n(z)=\sum_{a\ge0}\iota_n(\omega_a)z^a,\qquad D_n=\iota_n(\delta^{-1}\rho),\\ L(v)=1-vz,\qquad V(v)=\sum_{b\ge0}v^bz^b,\\ \tau_{n,s}=L(x_s)^2V(x_s^-)^2 L(q^{-2}x_s^-)V(q^{-2}x_s) L(q^2x_s^-)V(q^2x_s). \end{gathered}Gn​(z)=b≥0∑​z2b,Mn​(z)=a≥0∑​ιn​(ωa​)za,Dn​=ιn​(δ−1ρ),L(v)=1−vz,V(v)=b≥0∑​vbzb,τn,s​=L(xs​)2V(xs−​)2L(q−2xs−​)V(q−2xs​)L(q2xs−​)V(q2xs​).​

For every n,k∈Nn,k\in\mathbb Nn,k∈N, the declaration defines the formal power series

Cn,k(z)=(Mn(z)+Dn−Gn(z))(∏s=1 max⁡(k−1,0)τn,s(z))+Gn(z)−Dn,C_{n,k}(z)= \bigl(M_n(z)+D_n-G_n(z)\bigr) \left(\prod_{s=1}^{\,\max(k-1,0)}\tau_{n,s}(z)\right) +G_n(z)-D_n,Cn,k​(z)=(Mn​(z)+Dn​−Gn​(z))​s=1∏max(k−1,0)​τn,s​(z)​+Gn​(z)−Dn​,

where the product is in increasing order. Natural-number subtraction is truncated at zero: both k=0k=0k=0 and k=1k=1k=1 give an empty product and hence Cn,k=MnC_{n,k}=M_nCn,k​=Mn​. There is no upper bound on kkk; factors indexed beyond nnn equal 111.

QAlgorithms.Papers.Independent.Intakenext100.P51.centralParitySeries

Let RRR be a commutative ring, and let PPP consist of r>0r>0r>0, units q,δ,ρ,uh∈R×q,\delta,\rho,u_h\in R^\timesq,δ,ρ,uh​∈R× for 0≤h<r0\le h<r0≤h<r, and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, satisfying δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω0=1−δ−1(ρ−ρ−1)\omega_0=1-\delta^{-1}(\rho-\rho^{-1})ω0​=1−δ−1(ρ−ρ−1). For n∈Nn\in\mathbb Nn∈N, let AnA_nAn​ be the quotient of the free associative RRR-algebra on ti,eit_i,e_iti​,ei​ (1≤i<n1\le i<n1≤i<n) and xj,xj−x_j,x_j^-xj​,xj−​ (1≤j≤n1\le j\le n1≤j≤n) by the equations

xjxj−=xj−xj=1,xjxℓ=xℓxj,ti2−δti+δρei=1,ei2=ω0ei,titℓ=tℓti (∣i−ℓ∣>1),titi+1ti=ti+1titi+1,tixj=xjti (j≠i,i+1),tixi−xi+1ti=δxi+1(ei−1),xiti−tixi+1=δ(ei−1)xi+1,eiti=tiei=ρei,ei+1ei=ei+1titi+1=titi+1ei,ei+1eiei+1=ei+1,eiei+1ei=ei,eixixi+1=xixi+1ei=ei,e1x1[b]e1=ωbe1 (b∈Z, n≥2),∏h=0r−1(x1−uh)=0 (n≥1).\begin{gathered} x_jx_j^-=x_j^-x_j=1,\quad x_jx_\ell=x_\ell x_j,\quad t_i^2-\delta t_i+\delta\rho e_i=1,\quad e_i^2=\omega_0e_i,\\ t_it_\ell=t_\ell t_i\ (|i-\ell|>1),\quad t_it_{i+1}t_i=t_{i+1}t_it_{i+1},\quad t_ix_j=x_jt_i\ (j\ne i,i+1),\\ t_ix_i-x_{i+1}t_i=\delta x_{i+1}(e_i-1),\quad x_it_i-t_ix_{i+1}=\delta(e_i-1)x_{i+1},\quad e_it_i=t_ie_i=\rho e_i,\\ e_{i+1}e_i=e_{i+1}t_it_{i+1}=t_it_{i+1}e_i,\quad e_{i+1}e_ie_{i+1}=e_{i+1},\quad e_ie_{i+1}e_i=e_i,\quad e_ix_ix_{i+1}=x_ix_{i+1}e_i=e_i,\\ e_1x_1^{[b]}e_1=\omega_b e_1\ (b\in\mathbb Z,\ n\ge2),\qquad \prod_{h=0}^{r-1}(x_1-u_h)=0\ (n\ge1). \end{gathered}xj​xj−​=xj−​xj​=1,xj​xℓ​=xℓ​xj​,ti2​−δti​+δρei​=1,ei2​=ω0​ei​,ti​tℓ​=tℓ​ti​ (∣i−ℓ∣>1),ti​ti+1​ti​=ti+1​ti​ti+1​,ti​xj​=xj​ti​ (j=i,i+1),ti​xi​−xi+1​ti​=δxi+1​(ei​−1),xi​ti​−ti​xi+1​=δ(ei​−1)xi+1​,ei​ti​=ti​ei​=ρei​,ei+1​ei​=ei+1​ti​ti+1​=ti​ti+1​ei​,ei+1​ei​ei+1​=ei+1​,ei​ei+1​ei​=ei​,ei​xi​xi+1​=xi​xi+1​ei​=ei​,e1​x1[b]​e1​=ωb​e1​ (b∈Z, n≥2),h=0∏r−1​(x1​−uh​)=0 (n≥1).​

All indexed equations require their generators to be in range, scalars are mapped canonically into the quotient, and x1[b]x_1^{[b]}x1[b]​ means x1bx_1^bx1b​ for b≥0b\ge0b≥0 and (x1−)−b(x_1^-)^{-b}(x1−​)−b otherwise. The declaration defines, for every nnn, including n=0n=0n=0, the formal power series

Gn(z)=∑a≥0εaza=∑b≥0z2b∈An[[z]],εa={1An,a even,0An,a odd.G_n(z)=\sum_{a\ge0}\varepsilon_a z^a=\sum_{b\ge0}z^{2b}\in A_n[[z]], \qquad \varepsilon_a= \begin{cases} 1_{A_n},&a\text{ even},\\ 0_{A_n},&a\text{ odd}. \end{cases}Gn​(z)=a≥0∑​εa​za=b≥0∑​z2b∈An​[[z]],εa​={1An​​,0An​​,​a even,a odd.​

In particular, its constant coefficient is 1An1_{A_n}1An​​.

QAlgorithms.Papers.Independent.Intakenext100.P51.contractionChain

Let RRR be a commutative ring, r,n,f∈Nr,n,f\in\mathbb Nr,n,f∈N, and let PPP specify r>0r>0r>0, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​, and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, satisfying δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). Let BBB be the RRR-algebra generated by ti,eit_i,e_iti​,ei​ (1≤i<n1\le i<n1≤i<n) and mutually inverse xj,xj−1x_j,x_j^{-1}xj​,xj−1​ (1≤j≤n1\le j\le n1≤j≤n), with relations

ti2−δti+δρei=1,ei2=ω(0)ei,xjxk=xkxj,titk=tkti (∣i−k∣>1),titi+1ti=ti+1titi+1,tixj=xjti (j≠i,i+1),tixi−xi+1ti=δxi+1(ei−1),xiti−tixi+1=δ(ei−1)xi+1,eiti=tiei=ρei,ei+1ei=ei+1titi+1=titi+1ei,ei+1eiei+1=ei+1,eiei+1ei=ei,eixixi+1=ei=xixi+1ei,e1x1ae1=ω(a)e1 (a∈Z, n≥2),∏α=0r−1(x1−uα)=0 (n≥1).\begin{gathered} t_i^2-\delta t_i+\delta\rho e_i=1,\quad e_i^2=\omega(0)e_i,\quad x_jx_k=x_kx_j,\quad t_it_k=t_kt_i\ (|i-k|>1),\\ t_it_{i+1}t_i=t_{i+1}t_it_{i+1},\quad t_ix_j=x_jt_i\ (j\ne i,i+1),\\ t_ix_i-x_{i+1}t_i=\delta x_{i+1}(e_i-1),\quad x_it_i-t_ix_{i+1}=\delta(e_i-1)x_{i+1},\quad e_it_i=t_ie_i=\rho e_i,\\ e_{i+1}e_i=e_{i+1}t_it_{i+1}=t_it_{i+1}e_i,\quad e_{i+1}e_ie_{i+1}=e_{i+1},\quad e_ie_{i+1}e_i=e_i,\quad e_ix_ix_{i+1}=e_i=x_ix_{i+1}e_i,\\ e_1x_1^a e_1=\omega(a)e_1\ (a\in\mathbb Z,\ n\ge2),\qquad \prod_{\alpha=0}^{r-1}(x_1-u_\alpha)=0\ (n\ge1). \end{gathered}ti2​−δti​+δρei​=1,ei2​=ω(0)ei​,xj​xk​=xk​xj​,ti​tk​=tk​ti​ (∣i−k∣>1),ti​ti+1​ti​=ti+1​ti​ti+1​,ti​xj​=xj​ti​ (j=i,i+1),ti​xi​−xi+1​ti​=δxi+1​(ei​−1),xi​ti​−ti​xi+1​=δ(ei​−1)xi+1​,ei​ti​=ti​ei​=ρei​,ei+1​ei​=ei+1​ti​ti+1​=ti​ti+1​ei​,ei+1​ei​ei+1​=ei+1​,ei​ei+1​ei​=ei​,ei​xi​xi+1​=ei​=xi​xi+1​ei​,e1​x1a​e1​=ω(a)e1​ (a∈Z, n≥2),α=0∏r−1​(x1​−uα​)=0 (n≥1).​

Relations use valid indices, adjacent t,et,et,e relations require i+1<ni+1<ni+1<n, and generators outside their ranges are zero. The declaration defines the ordered product

Ef=∏j=0f−1emax⁡(n−(2j+1), 0),E_f=\prod_{j=0}^{f-1}e_{\max(n-(2j+1),\,0)},Ef​=j=0∏f−1​emax(n−(2j+1),0)​,

with factors multiplied from left to right in increasing order of jjj. Thus the indices begin n−1,n−3,n−5,…n-1,n-3,n-5,\ldotsn−1,n−3,n−5,…, with subtraction truncated at zero. No hypothesis 2f≤n2f\le n2f≤n is imposed. The empty product E0E_0E0​ is 111, and an index equal to zero contributes the zero element.

QAlgorithms.Papers.Independent.Intakenext100.P51.cyclotomicCoeff

For a commutative ring RRR, a natural number rrr, data PPP consisting of r>0r>0r>0 and units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​ satisfying δ=q−q−1\delta=q-q^{-1}δ=q−q−1, and any s∈Ns\in\mathbb Ns∈N, this definition gives the coefficient of xsx^sxs in the polynomial

∏i=0r−1(x−ui)∈R[x].\prod_{i=0}^{r-1}(x-u_i)\in R[x].i=0∏r−1​(x−ui​)∈R[x].

Thus the definition applies also to s=0s=0s=0 and to s>rs>rs>r; for s>rs>rs>r its value is 000. The roots may repeat.

QAlgorithms.Papers.Independent.Intakenext100.P51.evenIndicator

For every commutative ring RRR and every a∈Na\in\mathbb Na∈N, this definition gives the element

εR(a)={1R,a is even,0R,a is odd.\varepsilon_R(a)= \begin{cases} 1_R,&a\text{ is even},\\ 0_R,&a\text{ is odd}. \end{cases}εR​(a)={1R​,0R​,​a is even,a is odd.​

In particular, its value at a=0a=0a=0 is 1R1_R1R​; no nontriviality assumption on RRR is imposed.

QAlgorithms.Papers.Independent.Intakenext100.P51.exponentWord

Let RRR be a commutative ring, r,n,f∈Nr,n,f\in\mathbb Nr,n,f∈N, and let PPP specify r>0r>0r>0, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​, and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, satisfying δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). Let BBB be the RRR-algebra with generators ti,eit_i,e_iti​,ei​ (1≤i<n1\le i<n1≤i<n) and mutually inverse generators xj+,xj−x_j^+,x_j^-xj+​,xj−​ (1≤j≤n1\le j\le n1≤j≤n). Writing xj=xj+x_j=x_j^+xj​=xj+​, its other defining relations are

ti2−δti+δρei=1,ei2=ω(0)ei,xjxk=xkxj,titk=tkti (∣i−k∣>1),titi+1ti=ti+1titi+1,tixj=xjti (j≠i,i+1),tixi−xi+1ti=δxi+1(ei−1),xiti−tixi+1=δ(ei−1)xi+1,eiti=tiei=ρei,ei+1ei=ei+1titi+1=titi+1ei,ei+1eiei+1=ei+1,eiei+1ei=ei,eixixi+1=ei=xixi+1ei,e1x1ae1=ω(a)e1 (a∈Z, n≥2),∏α=0r−1(x1−uα)=0 (n≥1),\begin{gathered} t_i^2-\delta t_i+\delta\rho e_i=1,\quad e_i^2=\omega(0)e_i,\quad x_jx_k=x_kx_j,\quad t_it_k=t_kt_i\ (|i-k|>1),\\ t_it_{i+1}t_i=t_{i+1}t_it_{i+1},\quad t_ix_j=x_jt_i\ (j\ne i,i+1),\\ t_ix_i-x_{i+1}t_i=\delta x_{i+1}(e_i-1),\quad x_it_i-t_ix_{i+1}=\delta(e_i-1)x_{i+1},\quad e_it_i=t_ie_i=\rho e_i,\\ e_{i+1}e_i=e_{i+1}t_it_{i+1}=t_it_{i+1}e_i,\quad e_{i+1}e_ie_{i+1}=e_{i+1},\quad e_ie_{i+1}e_i=e_i,\quad e_ix_ix_{i+1}=e_i=x_ix_{i+1}e_i,\\ e_1x_1^a e_1=\omega(a)e_1\ (a\in\mathbb Z,\ n\ge2),\qquad \prod_{\alpha=0}^{r-1}(x_1-u_\alpha)=0\ (n\ge1), \end{gathered}ti2​−δti​+δρei​=1,ei2​=ω(0)ei​,xj​xk​=xk​xj​,ti​tk​=tk​ti​ (∣i−k∣>1),ti​ti+1​ti​=ti+1​ti​ti+1​,ti​xj​=xj​ti​ (j=i,i+1),ti​xi​−xi+1​ti​=δxi+1​(ei​−1),xi​ti​−ti​xi+1​=δ(ei​−1)xi+1​,ei​ti​=ti​ei​=ρei​,ei+1​ei​=ei+1​ti​ti+1​=ti​ti+1​ei​,ei+1​ei​ei+1​=ei+1​,ei​ei+1​ei​=ei​,ei​xi​xi+1​=ei​=xi​xi+1​ei​,e1​x1a​e1​=ω(a)e1​ (a∈Z, n≥2),α=0∏r−1​(x1​−uα​)=0 (n≥1),​

where the signed powers in the moment relation use x1−x_1^-x1−​ for negative exponents. Relations use valid indices, adjacent t,et,et,e relations require i+1<ni+1<ni+1<n, and all generator functions are zero outside their ranges. For every integer-valued function κ:{0,…,f−1}→Z\kappa:\{0,\ldots,f-1\}\to\mathbb Zκ:{0,…,f−1}→Z, the declaration defines

Wκ=∏j=0f−1xmax⁡(n−(2j+1), 0)[κ(j)],xs[a]={(xs+)a,a≥0,(xs−)−a,a<0,W_\kappa=\prod_{j=0}^{f-1} x_{\max(n-(2j+1),\,0)}^{[\kappa(j)]}, \qquad x_s^{[a]}= \begin{cases} (x_s^+)^a,&a\ge0,\\ (x_s^-)^{-a},&a<0, \end{cases}Wκ​=j=0∏f−1​xmax(n−(2j+1),0)[κ(j)]​,xs[a]​={(xs+​)a,(xs−​)−a,​a≥0,a<0,​

with factors ordered by increasing jjj. There is no bound on fff or on κ\kappaκ. Natural-number subtraction is truncated at zero, the empty product is 111, and a factor at an invalid index is 111 when its exponent is zero and 000 when its exponent is nonzero.

QAlgorithms.Papers.Independent.Intakenext100.P51.gammaParity

For any ring KKK, any natural number rrr, and any z∈Kz\in Kz∈K, this definition gives

γr(z)={1K,r odd,−z,r even.\gamma_r(z)= \begin{cases} 1_K,&r\text{ odd},\\ -z,&r\text{ even}. \end{cases}γr​(z)={1K​,−z,​r odd,r even.​

There is no positivity assumption on rrr; in particular, γ0(z)=−z\gamma_0(z)=-zγ0​(z)=−z. The ring need not be commutative or nonzero.

QAlgorithms.Papers.Independent.Intakenext100.P51.genericGenerators

Let KKK be the coefficient field and let PPP consist of a positive integer rrr, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​ of KKK, and δ=q−q−1\delta=q-q^{-1}δ=q−q−1. The definition gives a KKK-valued family indexed by the disjoint union of {0,…,r−1}\{0,\ldots,r-1\}{0,…,r−1} and a singleton: the value at the index tagged by i∈{0,…,r−1}i\in\{0,\ldots,r-1\}i∈{0,…,r−1} is uiu_iui​, and the value at the singleton index is qqq. Thus the index set has r+1r+1r+1 elements; the definition imposes no distinctness condition on their values.

QAlgorithms.Papers.Independent.Intakenext100.P51.geometric

For every commutative ring RRR and every v∈Rv\in Rv∈R, this definition gives the formal power series

Gv(z)=∑a=0∞vaza∈R[[z]].G_v(z)=\sum_{a=0}^{\infty}v^a z^a\in R[[z]].Gv​(z)=a=0∑∞​vaza∈R[[z]].

Its coefficient of degree aaa is vav^ava, including constant coefficient v0=1Rv^0=1_Rv0=1R​. There is no assumption that vvv is a unit and no convergence condition.

QAlgorithms.Papers.Independent.Intakenext100.P51.heckeEigenvalue

Let KKK be the coefficient field and let PPP consist of a positive integer rrr, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​ of KKK, and δ=q−q−1\delta=q-q^{-1}δ=q−q−1. For a Boolean value bbb, the definition returns −q−1-q^{-1}−q−1 when bbb is true and qqq when bbb is false.

QAlgorithms.Papers.Independent.Intakenext100.P51.heckeMap

Let RRR be a commutative ring, nnn a natural number, and PPP supply r>0r>0r>0, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​ in RRR, and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, with δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). Let FFF be the free associative RRR-algebra on GiG_iGi​, 1≤i<n1\le i<n1≤i<n, and YjY_jYj​, 1≤j≤n1\le j\le n1≤j≤n. This definition is the canonical unital RRR-algebra homomorphism from FFF to its ring quotient by the relations

(Gi−q)(Gi+q−1)=0(1≤i<n),GiGj=GjGi(1≤i,j<n, i+1<j or j+1<i),GiGi+1Gi=Gi+1GiGi+1(1≤i, i+1<n),GiYj=YjGi(1≤i<n, 1≤j≤n, j≠i, j≠i+1),YiYj=YjYi(1≤i,j≤n),Yi+1=GiYiGi(1≤i<n),∏k=0r−1(Y1−uk)=0(n≥1).\begin{gathered} (G_i-q)(G_i+q^{-1})=0\quad(1\le i<n),\\ G_iG_j=G_jG_i\quad(1\le i,j<n,\ i+1<j\ \text{or}\ j+1<i),\\ G_iG_{i+1}G_i=G_{i+1}G_iG_{i+1}\quad(1\le i,\ i+1<n),\\ G_iY_j=Y_jG_i\quad(1\le i<n,\ 1\le j\le n,\ j\ne i,\ j\ne i+1),\\ Y_iY_j=Y_jY_i\quad(1\le i,j\le n),\qquad Y_{i+1}=G_iY_iG_i\quad(1\le i<n),\\ \prod_{k=0}^{r-1}(Y_1-u_k)=0\quad(n\ge1). \end{gathered}(Gi​−q)(Gi​+q−1)=0(1≤i<n),Gi​Gj​=Gj​Gi​(1≤i,j<n, i+1<j or j+1<i),Gi​Gi+1​Gi​=Gi+1​Gi​Gi+1​(1≤i, i+1<n),Gi​Yj​=Yj​Gi​(1≤i<n, 1≤j≤n, j=i, j=i+1),Yi​Yj​=Yj​Yi​(1≤i,j≤n),Yi+1​=Gi​Yi​Gi​(1≤i<n),k=0∏r−1​(Y1​−uk​)=0(n≥1).​

The quotient uses the smallest ring congruence containing these identifications, and the map sends each free-algebra element to its class. The product is ordered by increasing kkk; when n=0n=0n=0, both the generator set and the set of generating identifications are empty.

QAlgorithms.Papers.Independent.Intakenext100.P51.idealLayer

Let RRR be a commutative ring, r,n,f∈Nr,n,f\in\mathbb Nr,n,f∈N, and let PPP specify r>0r>0r>0, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​, and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, satisfying δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). Let BBB be the RRR-algebra on ti,eit_i,e_iti​,ei​ (1≤i<n1\le i<n1≤i<n) and mutually inverse xj,xj−1x_j,x_j^{-1}xj​,xj−1​ (1≤j≤n1\le j\le n1≤j≤n), subject to

ti2−δti+δρei=1,ei2=ω(0)ei,xjxk=xkxj,titk=tkti (∣i−k∣>1),titi+1ti=ti+1titi+1,tixj=xjti (j≠i,i+1),tixi−xi+1ti=δxi+1(ei−1),xiti−tixi+1=δ(ei−1)xi+1,eiti=tiei=ρei,ei+1ei=ei+1titi+1=titi+1ei,ei+1eiei+1=ei+1,eiei+1ei=ei,eixixi+1=ei=xixi+1ei,e1x1ae1=ω(a)e1 (a∈Z, n≥2),∏α=0r−1(x1−uα)=0 (n≥1).\begin{gathered} t_i^2-\delta t_i+\delta\rho e_i=1,\quad e_i^2=\omega(0)e_i,\quad x_jx_k=x_kx_j,\quad t_it_k=t_kt_i\ (|i-k|>1),\\ t_it_{i+1}t_i=t_{i+1}t_it_{i+1},\quad t_ix_j=x_jt_i\ (j\ne i,i+1),\\ t_ix_i-x_{i+1}t_i=\delta x_{i+1}(e_i-1),\quad x_it_i-t_ix_{i+1}=\delta(e_i-1)x_{i+1},\quad e_it_i=t_ie_i=\rho e_i,\\ e_{i+1}e_i=e_{i+1}t_it_{i+1}=t_it_{i+1}e_i,\quad e_{i+1}e_ie_{i+1}=e_{i+1},\quad e_ie_{i+1}e_i=e_i,\quad e_ix_ix_{i+1}=e_i=x_ix_{i+1}e_i,\\ e_1x_1^a e_1=\omega(a)e_1\ (a\in\mathbb Z,\ n\ge2),\qquad \prod_{\alpha=0}^{r-1}(x_1-u_\alpha)=0\ (n\ge1). \end{gathered}ti2​−δti​+δρei​=1,ei2​=ω(0)ei​,xj​xk​=xk​xj​,ti​tk​=tk​ti​ (∣i−k∣>1),ti​ti+1​ti​=ti+1​ti​ti+1​,ti​xj​=xj​ti​ (j=i,i+1),ti​xi​−xi+1​ti​=δxi+1​(ei​−1),xi​ti​−ti​xi+1​=δ(ei​−1)xi+1​,ei​ti​=ti​ei​=ρei​,ei+1​ei​=ei+1​ti​ti+1​=ti​ti+1​ei​,ei+1​ei​ei+1​=ei+1​,ei​ei+1​ei​=ei​,ei​xi​xi+1​=ei​=xi​xi+1​ei​,e1​x1a​e1​=ω(a)e1​ (a∈Z, n≥2),α=0∏r−1​(x1​−uα​)=0 (n≥1).​

Relations use valid indices, adjacent t,et,et,e relations require i+1<ni+1<ni+1<n, and generator functions outside their ranges are zero. Define

Ef=∏j=0f−1emax⁡(n−(2j+1), 0)E_f=\prod_{j=0}^{f-1}e_{\max(n-(2j+1),\,0)}Ef​=j=0∏f−1​emax(n−(2j+1),0)​

in increasing order of jjj, with E0=1E_0=1E0​=1. The declaration defines

Jf={span⁡R{aEfb:a,b∈B},2f≤n,{0},2f>n.J_f= \begin{cases} \operatorname{span}_R\{aE_fb:a,b\in B\},&2f\le n,\\ \{0\},&2f>n. \end{cases}Jf​={spanR​{aEf​b:a,b∈B},{0},​2f≤n,2f>n.​

In particular, J0=BJ_0=BJ0​=B, including when n=0n=0n=0, while a layer with 2f>n2f>n2f>n is defined to be the zero submodule.

QAlgorithms.Papers.Independent.Intakenext100.P51.intervalPerm

For arbitrary n,a,b∈Nn,a,b\in\mathbb Nn,a,b∈N, let sn,hs_{n,h}sn,h​ be the permutation of {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1} exchanging h−1h-1h−1 and hhh when 1≤h<n1\le h<n1≤h<n, and the identity otherwise. The declaration defines

In(a,b)={sn,bsn,b+1⋯sn,a−1,b≤a,sn,b−1sn,b−2⋯sn,a,a<b.I_n(a,b)= \begin{cases} s_{n,b}s_{n,b+1}\cdots s_{n,a-1},&b\le a,\\ s_{n,b-1}s_{n,b-2}\cdots s_{n,a},&a<b. \end{cases}In​(a,b)={sn,b​sn,b+1​⋯sn,a−1​,sn,b−1​sn,b−2​⋯sn,a​,​b≤a,a<b.​

Products are permutation composition, with the rightmost factor acting first; these are the reversed-list products in the definition. When a=ba=ba=b, the product is empty and equals the identity. There are no bounds requiring aaa or bbb to lie in {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}; factors with index zero or at least nnn are identities. The subtractions in the defining lists are natural-number subtractions truncated at zero, and the definition also applies when n=0n=0n=0.

QAlgorithms.Papers.Independent.Intakenext100.P51.intervalWord

Let RRR be a commutative ring, let r,n,a,b∈Nr,n,a,b\in\mathbb Nr,n,a,b∈N, and let PPP consist of r>0r>0r>0, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​, and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, satisfying δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). Let BBB be the RRR-algebra on ti,eit_i,e_iti​,ei​ (1≤i<n1\le i<n1≤i<n) and mutually inverse xj,xj−1x_j,x_j^{-1}xj​,xj−1​ (1≤j≤n1\le j\le n1≤j≤n), with relations

ti2−δti+δρei=1,ei2=ω(0)ei,xjxk=xkxj,titk=tkti (∣i−k∣>1),titi+1ti=ti+1titi+1,tixj=xjti (j≠i,i+1),tixi−xi+1ti=δxi+1(ei−1),xiti−tixi+1=δ(ei−1)xi+1,eiti=tiei=ρei,ei+1ei=ei+1titi+1=titi+1ei,ei+1eiei+1=ei+1,eiei+1ei=ei,eixixi+1=ei=xixi+1ei,e1x1ce1=ω(c)e1 (c∈Z, n≥2),∏α=0r−1(x1−uα)=0 (n≥1).\begin{gathered} t_i^2-\delta t_i+\delta\rho e_i=1,\quad e_i^2=\omega(0)e_i,\quad x_jx_k=x_kx_j,\quad t_it_k=t_kt_i\ (|i-k|>1),\\ t_it_{i+1}t_i=t_{i+1}t_it_{i+1},\quad t_ix_j=x_jt_i\ (j\ne i,i+1),\\ t_ix_i-x_{i+1}t_i=\delta x_{i+1}(e_i-1),\quad x_it_i-t_ix_{i+1}=\delta(e_i-1)x_{i+1},\quad e_it_i=t_ie_i=\rho e_i,\\ e_{i+1}e_i=e_{i+1}t_it_{i+1}=t_it_{i+1}e_i,\quad e_{i+1}e_ie_{i+1}=e_{i+1},\quad e_ie_{i+1}e_i=e_i,\quad e_ix_ix_{i+1}=e_i=x_ix_{i+1}e_i,\\ e_1x_1^c e_1=\omega(c)e_1\ (c\in\mathbb Z,\ n\ge2),\qquad \prod_{\alpha=0}^{r-1}(x_1-u_\alpha)=0\ (n\ge1). \end{gathered}ti2​−δti​+δρei​=1,ei2​=ω(0)ei​,xj​xk​=xk​xj​,ti​tk​=tk​ti​ (∣i−k∣>1),ti​ti+1​ti​=ti+1​ti​ti+1​,ti​xj​=xj​ti​ (j=i,i+1),ti​xi​−xi+1​ti​=δxi+1​(ei​−1),xi​ti​−ti​xi+1​=δ(ei​−1)xi+1​,ei​ti​=ti​ei​=ρei​,ei+1​ei​=ei+1​ti​ti+1​=ti​ti+1​ei​,ei+1​ei​ei+1​=ei+1​,ei​ei+1​ei​=ei​,ei​xi​xi+1​=ei​=xi​xi+1​ei​,e1​x1c​e1​=ω(c)e1​ (c∈Z, n≥2),α=0∏r−1​(x1​−uα​)=0 (n≥1).​

Relations use valid indices, adjacent t,et,et,e relations require i+1<ni+1<ni+1<n, and generator functions outside their ranges are zero. The declaration defines

W(a,b)={∏j=0a−b−1tmax⁡(a−1−j, 0),b≤a,∏j=0b−a−1ta+j,a<b,W(a,b)= \begin{cases} \displaystyle\prod_{j=0}^{a-b-1}t_{\max(a-1-j,\,0)},&b\le a,\\[6pt] \displaystyle\prod_{j=0}^{b-a-1}t_{a+j},&a<b, \end{cases}W(a,b)=⎩⎨⎧​j=0∏a−b−1​tmax(a−1−j,0)​,j=0∏b−a−1​ta+j​,​b≤a,a<b,​

with factors multiplied from left to right in increasing order of jjj. Equivalently, for b<ab<ab<a the factors are ta−1,ta−2,…,tbt_{a-1},t_{a-2},\ldots,t_bta−1​,ta−2​,…,tb​, and for a<ba<ba<b they are ta,ta+1,…,tb−1t_a,t_{a+1},\ldots,t_{b-1}ta​,ta+1​,…,tb−1​. When a=ba=ba=b, the value is 111. No endpoint restrictions are imposed, so any factor whose index is outside 1,…,n−11,\ldots,n-11,…,n−1 is zero.

QAlgorithms.Papers.Independent.Intakenext100.P51.laurentEval

For every commutative ring RRR, natural number r>0r>0r>0, and parameter datum PPP consisting of units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​ and ω:Z→R\omega:\mathbb Z\to Rω:Z→R satisfying δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1), define BnB_nBn​, for each n∈Nn\in\mathbb Nn∈N, as the quotient of the free associative unital RRR-algebra on Ti,EiT_i,E_iTi​,Ei​, 1≤i<n1\le i<n1≤i<n, and Xj±X_j^\pmXj±​, 1≤j≤n1\le j\le n1≤j≤n, with relations

Xj+Xj−=Xj−Xj+=1,Ti2−δTi+δρEi=1,Ei2=ω(0)Ei,TiTj=TjTi (∣i−j∣>1),TiTi+1Ti=Ti+1TiTi+1,TiXj+=Xj+Ti (j≠i,i+1),Xi+Xj+=Xj+Xi+,TiXi+−Xi+1+Ti=δXi+1+(Ei−1),Xi+Ti−TiXi+1+=δ(Ei−1)Xi+1+,EiTi=TiEi=ρEi,Ei+1Ei=Ei+1TiTi+1=TiTi+1Ei,Ei+1EiEi+1=Ei+1,EiEi+1Ei=Ei,EiXi+Xi+1+=Ei=Xi+Xi+1+Ei.\begin{gathered} X_j^+X_j^-=X_j^-X_j^+=1,\quad T_i^2-\delta T_i+\delta\rho E_i=1,\quad E_i^2=\omega(0)E_i,\\ T_iT_j=T_jT_i\ (|i-j|>1),\quad T_iT_{i+1}T_i=T_{i+1}T_iT_{i+1},\\ T_iX_j^+=X_j^+T_i\ (j\ne i,i+1),\quad X_i^+X_j^+=X_j^+X_i^+,\\ T_iX_i^+-X_{i+1}^+T_i=\delta X_{i+1}^+(E_i-1),\quad X_i^+T_i-T_iX_{i+1}^+=\delta(E_i-1)X_{i+1}^+,\\ E_iT_i=T_iE_i=\rho E_i,\quad E_{i+1}E_i=E_{i+1}T_iT_{i+1}=T_iT_{i+1}E_i,\\ E_{i+1}E_iE_{i+1}=E_{i+1},\quad E_iE_{i+1}E_i=E_i,\quad E_iX_i^+X_{i+1}^+=E_i=X_i^+X_{i+1}^+E_i. \end{gathered}Xj+​Xj−​=Xj−​Xj+​=1,Ti2​−δTi​+δρEi​=1,Ei2​=ω(0)Ei​,Ti​Tj​=Tj​Ti​ (∣i−j∣>1),Ti​Ti+1​Ti​=Ti+1​Ti​Ti+1​,Ti​Xj+​=Xj+​Ti​ (j=i,i+1),Xi+​Xj+​=Xj+​Xi+​,Ti​Xi+​−Xi+1+​Ti​=δXi+1+​(Ei​−1),Xi+​Ti​−Ti​Xi+1+​=δ(Ei​−1)Xi+1+​,Ei​Ti​=Ti​Ei​=ρEi​,Ei+1​Ei​=Ei+1​Ti​Ti+1​=Ti​Ti+1​Ei​,Ei+1​Ei​Ei+1​=Ei+1​,Ei​Ei+1​Ei​=Ei​,Ei​Xi+​Xi+1+​=Ei​=Xi+​Xi+1+​Ei​.​

These relations use valid generator indices; additionally, when n≥2n\ge2n≥2, impose E1X1[a]E1=ω(a)E1E_1X_1^{[a]}E_1=\omega(a)E_1E1​X1[a]​E1​=ω(a)E1​ for every a∈Za\in\mathbb Za∈Z, where X1[a]=(X1+)aX_1^{[a]}=(X_1^+)^aX1[a]​=(X1+​)a for a≥0a\ge0a≥0 and (X1−)−a(X_1^-)^{-a}(X1−​)−a for a<0a<0a<0, and when n≥1n\ge1n≥1, impose ∏j=0r−1(X1+−uj)=0\prod_{j=0}^{r-1}(X_1^+-u_j)=0∏j=0r−1​(X1+​−uj​)=0. Scalars in these relations mean their algebra images. Extend Xj±X_j^\pmXj±​ to all natural indices by setting both to zero unless 1≤j≤n1\le j\le n1≤j≤n. For any n,m∈Nn,m\in\mathbb Nn,m∈N, the declaration defines the unique RRR-algebra homomorphism

Ln,m:R⟨za,β∣0≤a<m, β∈{false,true}⟩⟶Bn\mathcal L_{n,m}: R\langle z_{a,\beta}\mid 0\le a<m,\ \beta\in\{\mathrm{false},\mathrm{true}\}\rangle \longrightarrow B_nLn,m​:R⟨za,β​∣0≤a<m, β∈{false,true}⟩⟶Bn​

whose value on za,falsez_{a,\mathrm{false}}za,false​ is Xa+1+X_{a+1}^+Xa+1+​ and whose value on za,truez_{a,\mathrm{true}}za,true​ is Xa+1−X_{a+1}^-Xa+1−​. The source is a free associative algebra with no inverse relations imposed on its generators. No condition m≤nm\le nm≤n is required: generators with a+1>na+1>na+1>n map to zero. If m=0m=0m=0, the source has no generators and the map is the scalar structure map; if n=0n=0n=0, B0=RB_0=RB0​=R and every source generator maps to zero.

QAlgorithms.Papers.Independent.Intakenext100.P51.laurentImage

Let RRR be a commutative ring, let r>0r>0r>0 be a natural number, and let PPP supply units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​ and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, with δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). For n∈Nn\in\mathbb Nn∈N, let BnB_nBn​ be the associative unital RRR-algebra presented by Ti,EiT_i,E_iTi​,Ei​, 1≤i<n1\le i<n1≤i<n, and Xj±X_j^\pmXj±​, 1≤j≤n1\le j\le n1≤j≤n, with relations, at valid indices,

Xj+Xj−=Xj−Xj+=1,Ti2−δTi+δρEi=1,Ei2=ω(0)Ei,TiTj=TjTi (∣i−j∣>1),TiTi+1Ti=Ti+1TiTi+1,TiXj+=Xj+Ti (j≠i,i+1),Xi+Xj+=Xj+Xi+,TiXi+−Xi+1+Ti=δXi+1+(Ei−1),Xi+Ti−TiXi+1+=δ(Ei−1)Xi+1+,EiTi=TiEi=ρEi,Ei+1Ei=Ei+1TiTi+1=TiTi+1Ei,Ei+1EiEi+1=Ei+1,EiEi+1Ei=Ei,EiXi+Xi+1+=Ei=Xi+Xi+1+Ei.\begin{gathered} X_j^+X_j^-=X_j^-X_j^+=1,\quad T_i^2-\delta T_i+\delta\rho E_i=1,\quad E_i^2=\omega(0)E_i,\\ T_iT_j=T_jT_i\ (|i-j|>1),\quad T_iT_{i+1}T_i=T_{i+1}T_iT_{i+1},\\ T_iX_j^+=X_j^+T_i\ (j\ne i,i+1),\quad X_i^+X_j^+=X_j^+X_i^+,\\ T_iX_i^+-X_{i+1}^+T_i=\delta X_{i+1}^+(E_i-1),\quad X_i^+T_i-T_iX_{i+1}^+=\delta(E_i-1)X_{i+1}^+,\\ E_iT_i=T_iE_i=\rho E_i,\quad E_{i+1}E_i=E_{i+1}T_iT_{i+1}=T_iT_{i+1}E_i,\\ E_{i+1}E_iE_{i+1}=E_{i+1},\quad E_iE_{i+1}E_i=E_i,\quad E_iX_i^+X_{i+1}^+=E_i=X_i^+X_{i+1}^+E_i. \end{gathered}Xj+​Xj−​=Xj−​Xj+​=1,Ti2​−δTi​+δρEi​=1,Ei2​=ω(0)Ei​,Ti​Tj​=Tj​Ti​ (∣i−j∣>1),Ti​Ti+1​Ti​=Ti+1​Ti​Ti+1​,Ti​Xj+​=Xj+​Ti​ (j=i,i+1),Xi+​Xj+​=Xj+​Xi+​,Ti​Xi+​−Xi+1+​Ti​=δXi+1+​(Ei​−1),Xi+​Ti​−Ti​Xi+1+​=δ(Ei​−1)Xi+1+​,Ei​Ti​=Ti​Ei​=ρEi​,Ei+1​Ei​=Ei+1​Ti​Ti+1​=Ti​Ti+1​Ei​,Ei+1​Ei​Ei+1​=Ei+1​,Ei​Ei+1​Ei​=Ei​,Ei​Xi+​Xi+1+​=Ei​=Xi+​Xi+1+​Ei​.​

Also impose E1X1[a]E1=ω(a)E1E_1X_1^{[a]}E_1=\omega(a)E_1E1​X1[a]​E1​=ω(a)E1​ for every a∈Za\in\mathbb Za∈Z when n≥2n\ge2n≥2, using (X1+)a(X_1^+)^a(X1+​)a for a≥0a\ge0a≥0 and (X1−)−a(X_1^-)^{-a}(X1−​)−a for a<0a<0a<0, and impose ∏j=0r−1(X1+−uj)=0\prod_{j=0}^{r-1}(X_1^+-u_j)=0∏j=0r−1​(X1+​−uj​)=0 when n≥1n\ge1n≥1; scalars mean their algebra images. Set Xj±=0X_j^\pm=0Xj±​=0 outside 1≤j≤n1\le j\le n1≤j≤n. For arbitrary n,m∈Nn,m\in\mathbb Nn,m∈N, the declaration defines the RRR-subalgebra of BnB_nBn​ that is the range of the RRR-algebra homomorphism from the free associative algebra on za,βz_{a,\beta}za,β​, 0≤a<m0\le a<m0≤a<m and β∈{false,true}\beta\in\{\mathrm{false},\mathrm{true}\}β∈{false,true}, sending za,falsez_{a,\mathrm{false}}za,false​ to Xa+1+X_{a+1}^+Xa+1+​ and za,truez_{a,\mathrm{true}}za,true​ to Xa+1−X_{a+1}^-Xa+1−​. Thus its elements are exactly the finite RRR-linear combinations of finite words in those images, including the empty word 111. The definition permits m=0m=0m=0, when this is the scalar subalgebra, and m>nm>nm>n, when the extra generators have zero image; n=0n=0n=0 gives B0=RB_0=RB0​=R.

QAlgorithms.Papers.Independent.Intakenext100.P51.linearFactor

For every ring AAA, without a commutativity or nontriviality assumption, and every v∈Av\in Av∈A, the declaration defines the formal power series

Lv(t)=1−vt,L_v(t)=1-vt,Lv​(t)=1−vt,

where vvv is embedded as a constant series and ttt is the formal power-series variable. Its constant coefficient is 111, its degree-one coefficient is −v-v−v, and every coefficient of degree at least two is zero.

QAlgorithms.Papers.Independent.Intakenext100.P51.lowerContraction

Let RRR be a commutative ring, r,n,m∈Nr,n,m\in\mathbb Nr,n,m∈N, and let PPP specify r>0r>0r>0, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​, and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, satisfying δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). Let BBB be the RRR-algebra with generators ti,eit_i,e_iti​,ei​ for 1≤i<n1\le i<n1≤i<n, mutually inverse xj,xj−1x_j,x_j^{-1}xj​,xj−1​ for 1≤j≤n1\le j\le n1≤j≤n, and relations

ti2−δti+δρei=1,ei2=ω(0)ei,xjxk=xkxj,titk=tkti (∣i−k∣>1),titi+1ti=ti+1titi+1,tixj=xjti (j≠i,i+1),tixi−xi+1ti=δxi+1(ei−1),xiti−tixi+1=δ(ei−1)xi+1,eiti=tiei=ρei,ei+1ei=ei+1titi+1=titi+1ei,ei+1eiei+1=ei+1,eiei+1ei=ei,eixixi+1=ei=xixi+1ei,e1x1ae1=ω(a)e1 (a∈Z, n≥2),∏α=0r−1(x1−uα)=0 (n≥1).\begin{gathered} t_i^2-\delta t_i+\delta\rho e_i=1,\quad e_i^2=\omega(0)e_i,\quad x_jx_k=x_kx_j,\quad t_it_k=t_kt_i\ (|i-k|>1),\\ t_it_{i+1}t_i=t_{i+1}t_it_{i+1},\quad t_ix_j=x_jt_i\ (j\ne i,i+1),\\ t_ix_i-x_{i+1}t_i=\delta x_{i+1}(e_i-1),\quad x_it_i-t_ix_{i+1}=\delta(e_i-1)x_{i+1},\quad e_it_i=t_ie_i=\rho e_i,\\ e_{i+1}e_i=e_{i+1}t_it_{i+1}=t_it_{i+1}e_i,\quad e_{i+1}e_ie_{i+1}=e_{i+1},\quad e_ie_{i+1}e_i=e_i,\quad e_ix_ix_{i+1}=e_i=x_ix_{i+1}e_i,\\ e_1x_1^a e_1=\omega(a)e_1\ (a\in\mathbb Z,\ n\ge2),\qquad \prod_{\alpha=0}^{r-1}(x_1-u_\alpha)=0\ (n\ge1). \end{gathered}ti2​−δti​+δρei​=1,ei2​=ω(0)ei​,xj​xk​=xk​xj​,ti​tk​=tk​ti​ (∣i−k∣>1),ti​ti+1​ti​=ti+1​ti​ti+1​,ti​xj​=xj​ti​ (j=i,i+1),ti​xi​−xi+1​ti​=δxi+1​(ei​−1),xi​ti​−ti​xi+1​=δ(ei​−1)xi+1​,ei​ti​=ti​ei​=ρei​,ei+1​ei​=ei+1​ti​ti+1​=ti​ti+1​ei​,ei+1​ei​ei+1​=ei+1​,ei​ei+1​ei​=ei​,ei​xi​xi+1​=ei​=xi​xi+1​ei​,e1​x1a​e1​=ω(a)e1​ (a∈Z, n≥2),α=0∏r−1​(x1​−uα​)=0 (n≥1).​

All relations use valid indices, adjacent t,et,et,e relations require i+1<ni+1<ni+1<n, and generator functions outside their ranges are zero. Let LmL_mLm​ be the smallest RRR-subalgebra of BBB containing ti,eit_i,e_iti​,ei​ for 1≤i<m1\le i<m1≤i<m, and xj,xj−1x_j,x_j^{-1}xj​,xj−1​ for 1≤j≤m1\le j\le m1≤j≤m. The declaration defines the RRR-submodule

Cm={span⁡R{ae1b:a,b∈Lm},2≤m,{0},m<2.C_m= \begin{cases} \operatorname{span}_R\{ae_1b:a,b\in L_m\},&2\le m,\\ \{0\},&m<2. \end{cases}Cm​={spanR​{ae1​b:a,b∈Lm​},{0},​2≤m,m<2.​

The span consists of finite RRR-linear combinations of the indicated products. There is no restriction m≤nm\le nm≤n; in particular, if n<2n<2n<2, then e1=0e_1=0e1​=0 and Cm={0}C_m=\{0\}Cm​={0} for every mmm.

QAlgorithms.Papers.Independent.Intakenext100.P51.lowerImage

Let RRR be a commutative ring, r,n,m∈Nr,n,m\in\mathbb Nr,n,m∈N, and let PPP specify r>0r>0r>0, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​, and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, satisfying δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). Let BBB be the RRR-algebra on ti,eit_i,e_iti​,ei​ (1≤i<n1\le i<n1≤i<n) and mutually inverse xj,xj−1x_j,x_j^{-1}xj​,xj−1​ (1≤j≤n1\le j\le n1≤j≤n), with defining relations

ti2−δti+δρei=1,ei2=ω(0)ei,xjxk=xkxj,titk=tkti (∣i−k∣>1),titi+1ti=ti+1titi+1,tixj=xjti (j≠i,i+1),tixi−xi+1ti=δxi+1(ei−1),xiti−tixi+1=δ(ei−1)xi+1,eiti=tiei=ρei,ei+1ei=ei+1titi+1=titi+1ei,ei+1eiei+1=ei+1,eiei+1ei=ei,eixixi+1=ei=xixi+1ei,e1x1ae1=ω(a)e1 (a∈Z, n≥2),∏α=0r−1(x1−uα)=0 (n≥1).\begin{gathered} t_i^2-\delta t_i+\delta\rho e_i=1,\quad e_i^2=\omega(0)e_i,\quad x_jx_k=x_kx_j,\quad t_it_k=t_kt_i\ (|i-k|>1),\\ t_it_{i+1}t_i=t_{i+1}t_it_{i+1},\quad t_ix_j=x_jt_i\ (j\ne i,i+1),\\ t_ix_i-x_{i+1}t_i=\delta x_{i+1}(e_i-1),\quad x_it_i-t_ix_{i+1}=\delta(e_i-1)x_{i+1},\quad e_it_i=t_ie_i=\rho e_i,\\ e_{i+1}e_i=e_{i+1}t_it_{i+1}=t_it_{i+1}e_i,\quad e_{i+1}e_ie_{i+1}=e_{i+1},\quad e_ie_{i+1}e_i=e_i,\quad e_ix_ix_{i+1}=e_i=x_ix_{i+1}e_i,\\ e_1x_1^a e_1=\omega(a)e_1\ (a\in\mathbb Z,\ n\ge2),\qquad \prod_{\alpha=0}^{r-1}(x_1-u_\alpha)=0\ (n\ge1). \end{gathered}ti2​−δti​+δρei​=1,ei2​=ω(0)ei​,xj​xk​=xk​xj​,ti​tk​=tk​ti​ (∣i−k∣>1),ti​ti+1​ti​=ti+1​ti​ti+1​,ti​xj​=xj​ti​ (j=i,i+1),ti​xi​−xi+1​ti​=δxi+1​(ei​−1),xi​ti​−ti​xi+1​=δ(ei​−1)xi+1​,ei​ti​=ti​ei​=ρei​,ei+1​ei​=ei+1​ti​ti+1​=ti​ti+1​ei​,ei+1​ei​ei+1​=ei+1​,ei​ei+1​ei​=ei​,ei​xi​xi+1​=ei​=xi​xi+1​ei​,e1​x1a​e1​=ω(a)e1​ (a∈Z, n≥2),α=0∏r−1​(x1​−uα​)=0 (n≥1).​

Relations use valid generator indices, and adjacent t,et,et,e relations require i+1<ni+1<ni+1<n; every generator function is extended by zero outside its specified range. The declaration defines

Lm=Alg⁡R⟨{ti,ei:1≤i<m}∪{xj,xj−1:1≤j≤m}⟩⊆B,L_m=\operatorname{Alg}_R \left\langle \{t_i,e_i:1\le i<m\} \cup \{x_j,x_j^{-1}:1\le j\le m\} \right\rangle\subseteq B,Lm​=AlgR​⟨{ti​,ei​:1≤i<m}∪{xj​,xj−1​:1≤j≤m}⟩⊆B,

the smallest RRR-subalgebra containing these elements. There is no assumption m≤nm\le nm≤n, so indices beyond the ambient generator ranges contribute zero. When m=0m=0m=0, the generating set is empty and L0L_0L0​ is the image of the scalars in BBB.

QAlgorithms.Papers.Independent.Intakenext100.P51.lowerProduct

Let RRR be a commutative ring, let r,n∈Nr,n\in\mathbb Nr,n∈N, and let PPP consist of r>0r>0r>0, units q,δ,ρ,u0,…,ur−1∈R×q,\delta,\rho,u_0,\ldots,u_{r-1}\in R^\timesq,δ,ρ,u0​,…,ur−1​∈R×, and a sequence ω:Z→R\omega:\mathbb Z\to Rω:Z→R, satisfying δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). Write AAA for the associative unital RRR-algebra generated by Ti,EiT_i,E_iTi​,Ei​ for 1≤i<n1\le i<n1≤i<n and Xj,XˉjX_j,\bar X_jXj​,Xˉj​ for 1≤j≤n1\le j\le n1≤j≤n, with the following relations whenever their indices are in these ranges:

XjXˉj=XˉjXj=1,Ti2−δTi+δρEi=1,Ei2=ω(0)Ei,XjXk=XkXj,TiTh=ThTi(∣i−h∣>1),TiTi+1Ti=Ti+1TiTi+1,TiXj=XjTi(j≠i,i+1),TiXi−Xi+1Ti=δXi+1(Ei−1),XiTi−TiXi+1=δ(Ei−1)Xi+1,EiTi=TiEi=ρEi,Ei+1Ei=Ei+1TiTi+1=TiTi+1Ei,Ei+1EiEi+1=Ei+1,EiEi+1Ei=Ei,EiXiXi+1=XiXi+1Ei=Ei.\begin{gathered} X_j\bar X_j=\bar X_jX_j=1,\qquad T_i^2-\delta T_i+\delta\rho E_i=1,\qquad E_i^2=\omega(0)E_i,\qquad X_jX_k=X_kX_j,\\ T_iT_h=T_hT_i\quad(|i-h|>1),\qquad T_iT_{i+1}T_i=T_{i+1}T_iT_{i+1},\\ T_iX_j=X_jT_i\quad(j\ne i,i+1),\\ T_iX_i-X_{i+1}T_i=\delta X_{i+1}(E_i-1),\qquad X_iT_i-T_iX_{i+1}=\delta(E_i-1)X_{i+1},\\ E_iT_i=T_iE_i=\rho E_i,\qquad E_{i+1}E_i=E_{i+1}T_iT_{i+1}=T_iT_{i+1}E_i,\\ E_{i+1}E_iE_{i+1}=E_{i+1},\qquad E_iE_{i+1}E_i=E_i,\qquad E_iX_iX_{i+1}=X_iX_{i+1}E_i=E_i. \end{gathered}Xj​Xˉj​=Xˉj​Xj​=1,Ti2​−δTi​+δρEi​=1,Ei2​=ω(0)Ei​,Xj​Xk​=Xk​Xj​,Ti​Th​=Th​Ti​(∣i−h∣>1),Ti​Ti+1​Ti​=Ti+1​Ti​Ti+1​,Ti​Xj​=Xj​Ti​(j=i,i+1),Ti​Xi​−Xi+1​Ti​=δXi+1​(Ei​−1),Xi​Ti​−Ti​Xi+1​=δ(Ei​−1)Xi+1​,Ei​Ti​=Ti​Ei​=ρEi​,Ei+1​Ei​=Ei+1​Ti​Ti+1​=Ti​Ti+1​Ei​,Ei+1​Ei​Ei+1​=Ei+1​,Ei​Ei+1​Ei​=Ei​,Ei​Xi​Xi+1​=Xi​Xi+1​Ei​=Ei​.​

Additionally, for n≥2n\ge2n≥2, impose E1X1aE1=ω(a)E1E_1X_1^aE_1=\omega(a)E_1E1​X1a​E1​=ω(a)E1​ for every a∈Za\in\mathbb Za∈Z, interpreting negative powers using Xˉ1\bar X_1Xˉ1​; for n≥1n\ge1n≥1, impose ∏j=0r−1(X1−uj)=0\prod_{j=0}^{r-1}(X_1-u_j)=0∏j=0r−1​(X1​−uj​)=0. Every indexed generator outside its specified range is defined to be zero. For m∈Nm\in\mathbb Nm∈N, let Lm⊆AL_m\subseteq ALm​⊆A be the smallest RRR-subalgebra containing Ti,EiT_i,E_iTi​,Ei​ for 1≤i<m1\le i<m1≤i<m and Xj,XˉjX_j,\bar X_jXj​,Xˉj​ for 1≤j≤m1\le j\le m1≤j≤m, using those zero values for indices outside the ambient ranges. For every h∈Ah\in Ah∈A, the definition assigns the RRR-submodule

lowerProduct⁡(h)=span⁡R{bh:b∈Ln−2}.\operatorname{lowerProduct}(h) =\operatorname{span}_R\{bh:b\in L_{n-2}\}.lowerProduct(h)=spanR​{bh:b∈Ln−2​}.

Here and throughout this definition, subtraction in natural-number indices is truncated at zero. There is no lower bound on nnn; in particular, for n≤2n\le2n≤2, Ln−2=L0L_{n-2}=L_0Ln−2​=L0​ is the scalar subalgebra, and this submodule is RhRhRh.

QAlgorithms.Papers.Independent.Intakenext100.P51.mSpan

Let RRR be a commutative ring, r,n∈Nr,n\in\mathbb Nr,n∈N, ℓ∈Z\ell\in\mathbb Zℓ∈Z, and PPP consist of r>0r>0r>0, units q,δ,ρ,u0,…,ur−1∈R×q,\delta,\rho,u_0,\ldots,u_{r-1}\in R^\timesq,δ,ρ,u0​,…,ur−1​∈R×, and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, with δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). Let AAA be the associative unital RRR-algebra on Ti,EiT_i,E_iTi​,Ei​ for 1≤i<n1\le i<n1≤i<n and Xj,XˉjX_j,\bar X_jXj​,Xˉj​ for 1≤j≤n1\le j\le n1≤j≤n, with these relations at valid indices:

XjXˉj=XˉjXj=1,Ti2−δTi+δρEi=1,Ei2=ω(0)Ei,XjXk=XkXj,TiTh=ThTi (∣i−h∣>1),TiTi+1Ti=Ti+1TiTi+1,TiXj=XjTi (j≠i,i+1),TiXi−Xi+1Ti=δXi+1(Ei−1),XiTi−TiXi+1=δ(Ei−1)Xi+1,EiTi=TiEi=ρEi,Ei+1Ei=Ei+1TiTi+1=TiTi+1Ei,Ei+1EiEi+1=Ei+1,EiEi+1Ei=Ei,EiXiXi+1=XiXi+1Ei=Ei.\begin{gathered} X_j\bar X_j=\bar X_jX_j=1,\quad T_i^2-\delta T_i+\delta\rho E_i=1,\quad E_i^2=\omega(0)E_i,\quad X_jX_k=X_kX_j,\\ T_iT_h=T_hT_i\ (|i-h|>1),\quad T_iT_{i+1}T_i=T_{i+1}T_iT_{i+1},\quad T_iX_j=X_jT_i\ (j\ne i,i+1),\\ T_iX_i-X_{i+1}T_i=\delta X_{i+1}(E_i-1),\quad X_iT_i-T_iX_{i+1}=\delta(E_i-1)X_{i+1},\\ E_iT_i=T_iE_i=\rho E_i,\quad E_{i+1}E_i=E_{i+1}T_iT_{i+1}=T_iT_{i+1}E_i,\\ E_{i+1}E_iE_{i+1}=E_{i+1},\quad E_iE_{i+1}E_i=E_i,\quad E_iX_iX_{i+1}=X_iX_{i+1}E_i=E_i. \end{gathered}Xj​Xˉj​=Xˉj​Xj​=1,Ti2​−δTi​+δρEi​=1,Ei2​=ω(0)Ei​,Xj​Xk​=Xk​Xj​,Ti​Th​=Th​Ti​ (∣i−h∣>1),Ti​Ti+1​Ti​=Ti+1​Ti​Ti+1​,Ti​Xj​=Xj​Ti​ (j=i,i+1),Ti​Xi​−Xi+1​Ti​=δXi+1​(Ei​−1),Xi​Ti​−Ti​Xi+1​=δ(Ei​−1)Xi+1​,Ei​Ti​=Ti​Ei​=ρEi​,Ei+1​Ei​=Ei+1​Ti​Ti+1​=Ti​Ti+1​Ei​,Ei+1​Ei​Ei+1​=Ei+1​,Ei​Ei+1​Ei​=Ei​,Ei​Xi​Xi+1​=Xi​Xi+1​Ei​=Ei​.​

For n≥2n\ge2n≥2, additionally impose E1X1aE1=ω(a)E1E_1X_1^aE_1=\omega(a)E_1E1​X1a​E1​=ω(a)E1​ for every integer aaa, using Xˉ1\bar X_1Xˉ1​ for negative powers; for n≥1n\ge1n≥1, impose ∏j=0r−1(X1−uj)=0\prod_{j=0}^{r-1}(X_1-u_j)=0∏j=0r−1​(X1​−uj​)=0. Set out-of-range indexed generators to zero, and write Xj[a]=XjaX_j^{[a]}=X_j^aXj[a]​=Xja​ for a≥0a\ge0a≥0 and Xj[a]=Xˉj−aX_j^{[a]}=\bar X_j^{-a}Xj[a]​=Xˉj−a​ for a<0a<0a<0. Let LmL_mLm​ be the RRR-subalgebra generated by Ti,EiT_i,E_iTi​,Ei​ for 1≤i<m1\le i<m1≤i<m and Xj,XˉjX_j,\bar X_jXj​,Xˉj​ for 1≤j≤m1\le j\le m1≤j≤m. Then the definition assigns

mSpan⁡(ℓ)=span⁡R{bEn−1Xn−1[k]En−3Xn−3[i]: b∈Ln−4, k,i∈Z, ∣i∣≤∣ℓ∣}.\operatorname{mSpan}(\ell)= \operatorname{span}_R \left\{ bE_{n-1}X_{n-1}^{[k]}E_{n-3}X_{n-3}^{[i]} :\ b\in L_{n-4},\ k,i\in\mathbb Z,\ |i|\le|\ell| \right\}.mSpan(ℓ)=spanR​{bEn−1​Xn−1[k]​En−3​Xn−3[i]​: b∈Ln−4​, k,i∈Z, ∣i∣≤∣ℓ∣}.

There is no restriction on kkk. All natural-number subtractions are truncated at zero, and no lower bound on nnn is assumed; the submodule is zero when n<4n<4n<4. When ℓ=0\ell=0ℓ=0, the exponent iii must be zero. Signed powers at an out-of-range index equal 111 at exponent zero and zero otherwise.

QAlgorithms.Papers.Independent.Intakenext100.P51.nFour

Let RRR be a commutative ring, r,n,p∈Nr,n,p\in\mathbb Nr,n,p∈N, and PPP consist of r>0r>0r>0, units q,δ,ρ,u0,…,ur−1∈R×q,\delta,\rho,u_0,\ldots,u_{r-1}\in R^\timesq,δ,ρ,u0​,…,ur−1​∈R×, and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, satisfying δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). Let AAA be the associative unital RRR-algebra generated by Ti,EiT_i,E_iTi​,Ei​ for 1≤i<n1\le i<n1≤i<n and Xj,XˉjX_j,\bar X_jXj​,Xˉj​ for 1≤j≤n1\le j\le n1≤j≤n, subject to the following relations at valid indices:

XjXˉj=XˉjXj=1,Ti2−δTi+δρEi=1,Ei2=ω(0)Ei,XjXk=XkXj,TiTh=ThTi (∣i−h∣>1),TiTi+1Ti=Ti+1TiTi+1,TiXj=XjTi (j≠i,i+1),TiXi−Xi+1Ti=δXi+1(Ei−1),XiTi−TiXi+1=δ(Ei−1)Xi+1,EiTi=TiEi=ρEi,Ei+1Ei=Ei+1TiTi+1=TiTi+1Ei,Ei+1EiEi+1=Ei+1,EiEi+1Ei=Ei,EiXiXi+1=XiXi+1Ei=Ei.\begin{gathered} X_j\bar X_j=\bar X_jX_j=1,\quad T_i^2-\delta T_i+\delta\rho E_i=1,\quad E_i^2=\omega(0)E_i,\quad X_jX_k=X_kX_j,\\ T_iT_h=T_hT_i\ (|i-h|>1),\quad T_iT_{i+1}T_i=T_{i+1}T_iT_{i+1},\quad T_iX_j=X_jT_i\ (j\ne i,i+1),\\ T_iX_i-X_{i+1}T_i=\delta X_{i+1}(E_i-1),\quad X_iT_i-T_iX_{i+1}=\delta(E_i-1)X_{i+1},\\ E_iT_i=T_iE_i=\rho E_i,\quad E_{i+1}E_i=E_{i+1}T_iT_{i+1}=T_iT_{i+1}E_i,\\ E_{i+1}E_iE_{i+1}=E_{i+1},\quad E_iE_{i+1}E_i=E_i,\quad E_iX_iX_{i+1}=X_iX_{i+1}E_i=E_i. \end{gathered}Xj​Xˉj​=Xˉj​Xj​=1,Ti2​−δTi​+δρEi​=1,Ei2​=ω(0)Ei​,Xj​Xk​=Xk​Xj​,Ti​Th​=Th​Ti​ (∣i−h∣>1),Ti​Ti+1​Ti​=Ti+1​Ti​Ti+1​,Ti​Xj​=Xj​Ti​ (j=i,i+1),Ti​Xi​−Xi+1​Ti​=δXi+1​(Ei​−1),Xi​Ti​−Ti​Xi+1​=δ(Ei​−1)Xi+1​,Ei​Ti​=Ti​Ei​=ρEi​,Ei+1​Ei​=Ei+1​Ti​Ti+1​=Ti​Ti+1​Ei​,Ei+1​Ei​Ei+1​=Ei+1​,Ei​Ei+1​Ei​=Ei​,Ei​Xi​Xi+1​=Xi​Xi+1​Ei​=Ei​.​

For n≥2n\ge2n≥2, also impose E1X1aE1=ω(a)E1E_1X_1^aE_1=\omega(a)E_1E1​X1a​E1​=ω(a)E1​ for all integers aaa, interpreting negative powers through Xˉ1\bar X_1Xˉ1​; for n≥1n\ge1n≥1, impose ∏j=0r−1(X1−uj)=0\prod_{j=0}^{r-1}(X_1-u_j)=0∏j=0r−1​(X1​−uj​)=0. All out-of-range indexed generators are zero. Define Xj[a]=XjaX_j^{[a]}=X_j^aXj[a]​=Xja​ for a≥0a\ge0a≥0 and Xj[a]=Xˉj−aX_j^{[a]}=\bar X_j^{-a}Xj[a]​=Xˉj−a​ for a<0a<0a<0. Let LmL_mLm​ be the RRR-subalgebra generated by Ti,EiT_i,E_iTi​,Ei​ for 1≤i<m1\le i<m1≤i<m and Xj,XˉjX_j,\bar X_jXj​,Xˉj​ for 1≤j≤m1\le j\le m1≤j≤m. Define I(a,b)=Ta−1⋯TbI(a,b)=T_{a-1}\cdots T_bI(a,b)=Ta−1​⋯Tb​ if b≤ab\le ab≤a, and I(a,b)=Ta⋯Tb−1I(a,b)=T_a\cdots T_{b-1}I(a,b)=Ta​⋯Tb−1​ if a<ba<ba<b, taking I(a,a)=1I(a,a)=1I(a,a)=1, and put Qm(i,j)=I(m−1,i)I(m,j)Q_m(i,j)=I(m-1,i)I(m,j)Qm​(i,j)=I(m−1,i)I(m,j). Then nFour⁡(p)\operatorname{nFour}(p)nFour(p) is the submodule

span⁡R{bEn−3Xn−3[ℓ]En−1Xn−1[k]Qn−2(i,j)h | b∈Ln−4,ℓ,k∈Z,∣ℓ∣≤p,∣k∣≤p,i,j∈N,1≤i<j≤n−2,h∈{1,Tn−2,Tn−2Tn−1}}.\operatorname{span}_R \left\{ bE_{n-3}X_{n-3}^{[\ell]}E_{n-1}X_{n-1}^{[k]}Q_{n-2}(i,j)h \ \middle|\ \begin{array}{l} b\in L_{n-4},\quad \ell,k\in\mathbb Z,\quad |\ell|\le p,\quad |k|\le p,\\ i,j\in\mathbb N,\quad 1\le i<j\le n-2,\\ h\in\{1,T_{n-2},T_{n-2}T_{n-1}\} \end{array} \right\}.spanR​⎩⎨⎧​bEn−3​Xn−3[ℓ]​En−1​Xn−1[k]​Qn−2​(i,j)h ​ b∈Ln−4​,ℓ,k∈Z,∣ℓ∣≤p,∣k∣≤p,i,j∈N,1≤i<j≤n−2,h∈{1,Tn−2​,Tn−2​Tn−1​}​⎭⎬⎫​.

Natural-number subtraction is truncated at zero, and no lower bound on nnn is assumed. The submodule is zero for n<4n<4n<4; when p=0p=0p=0, both exponents must be zero. An out-of-range signed power at exponent zero is still 111.

QAlgorithms.Papers.Independent.Intakenext100.P51.nFourBound

Let RRR be a commutative ring, r,n,p∈Nr,n,p\in\mathbb Nr,n,p∈N, B∈ZB\in\mathbb ZB∈Z, and PPP consist of r>0r>0r>0, units q,δ,ρ,u0,…,ur−1∈R×q,\delta,\rho,u_0,\ldots,u_{r-1}\in R^\timesq,δ,ρ,u0​,…,ur−1​∈R×, and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, with δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). Let AAA be the associative unital RRR-algebra on Ti,EiT_i,E_iTi​,Ei​ for 1≤i<n1\le i<n1≤i<n and Xj,XˉjX_j,\bar X_jXj​,Xˉj​ for 1≤j≤n1\le j\le n1≤j≤n, with the following relations at valid indices:

XjXˉj=XˉjXj=1,Ti2−δTi+δρEi=1,Ei2=ω(0)Ei,XjXk=XkXj,TiTh=ThTi (∣i−h∣>1),TiTi+1Ti=Ti+1TiTi+1,TiXj=XjTi (j≠i,i+1),TiXi−Xi+1Ti=δXi+1(Ei−1),XiTi−TiXi+1=δ(Ei−1)Xi+1,EiTi=TiEi=ρEi,Ei+1Ei=Ei+1TiTi+1=TiTi+1Ei,Ei+1EiEi+1=Ei+1,EiEi+1Ei=Ei,EiXiXi+1=XiXi+1Ei=Ei.\begin{gathered} X_j\bar X_j=\bar X_jX_j=1,\quad T_i^2-\delta T_i+\delta\rho E_i=1,\quad E_i^2=\omega(0)E_i,\quad X_jX_k=X_kX_j,\\ T_iT_h=T_hT_i\ (|i-h|>1),\quad T_iT_{i+1}T_i=T_{i+1}T_iT_{i+1},\quad T_iX_j=X_jT_i\ (j\ne i,i+1),\\ T_iX_i-X_{i+1}T_i=\delta X_{i+1}(E_i-1),\quad X_iT_i-T_iX_{i+1}=\delta(E_i-1)X_{i+1},\\ E_iT_i=T_iE_i=\rho E_i,\quad E_{i+1}E_i=E_{i+1}T_iT_{i+1}=T_iT_{i+1}E_i,\\ E_{i+1}E_iE_{i+1}=E_{i+1},\quad E_iE_{i+1}E_i=E_i,\quad E_iX_iX_{i+1}=X_iX_{i+1}E_i=E_i. \end{gathered}Xj​Xˉj​=Xˉj​Xj​=1,Ti2​−δTi​+δρEi​=1,Ei2​=ω(0)Ei​,Xj​Xk​=Xk​Xj​,Ti​Th​=Th​Ti​ (∣i−h∣>1),Ti​Ti+1​Ti​=Ti+1​Ti​Ti+1​,Ti​Xj​=Xj​Ti​ (j=i,i+1),Ti​Xi​−Xi+1​Ti​=δXi+1​(Ei​−1),Xi​Ti​−Ti​Xi+1​=δ(Ei​−1)Xi+1​,Ei​Ti​=Ti​Ei​=ρEi​,Ei+1​Ei​=Ei+1​Ti​Ti+1​=Ti​Ti+1​Ei​,Ei+1​Ei​Ei+1​=Ei+1​,Ei​Ei+1​Ei​=Ei​,Ei​Xi​Xi+1​=Xi​Xi+1​Ei​=Ei​.​

Additionally, impose E1X1aE1=ω(a)E1E_1X_1^aE_1=\omega(a)E_1E1​X1a​E1​=ω(a)E1​ for all a∈Za\in\mathbb Za∈Z when n≥2n\ge2n≥2, using Xˉ1\bar X_1Xˉ1​ for negative powers, and ∏j=0r−1(X1−uj)=0\prod_{j=0}^{r-1}(X_1-u_j)=0∏j=0r−1​(X1​−uj​)=0 when n≥1n\ge1n≥1. Out-of-range indexed generators are zero. Write Xj[a]=XjaX_j^{[a]}=X_j^aXj[a]​=Xja​ for a≥0a\ge0a≥0 and Xj[a]=Xˉj−aX_j^{[a]}=\bar X_j^{-a}Xj[a]​=Xˉj−a​ for a<0a<0a<0. Let LmL_mLm​ be the RRR-subalgebra generated by Ti,EiT_i,E_iTi​,Ei​ for 1≤i<m1\le i<m1≤i<m and Xj,XˉjX_j,\bar X_jXj​,Xˉj​ for 1≤j≤m1\le j\le m1≤j≤m. Put I(a,b)=Ta−1⋯TbI(a,b)=T_{a-1}\cdots T_bI(a,b)=Ta−1​⋯Tb​ for b≤ab\le ab≤a, I(a,b)=Ta⋯Tb−1I(a,b)=T_a\cdots T_{b-1}I(a,b)=Ta​⋯Tb−1​ for a<ba<ba<b, and I(a,a)=1I(a,a)=1I(a,a)=1; let Qm(i,j)=I(m−1,i)I(m,j)Q_m(i,j)=I(m-1,i)I(m,j)Qm​(i,j)=I(m−1,i)I(m,j). The definition assigns

nFourBound⁡(p,B)=span⁡R{bEn−3Xn−3[ℓ]En−1Xn−1[k]Qn−2(i,j)h | b∈Ln−4,ℓ,k∈Z,∣ℓ∣≤p,∣k∣≤B,i,j∈N,1≤i<j≤n−2,h∈{1,Tn−2,Tn−2Tn−1}}.\operatorname{nFourBound}(p,B)= \operatorname{span}_R \left\{ bE_{n-3}X_{n-3}^{[\ell]}E_{n-1}X_{n-1}^{[k]}Q_{n-2}(i,j)h \ \middle|\ \begin{array}{l} b\in L_{n-4},\quad \ell,k\in\mathbb Z,\quad |\ell|\le p,\quad |k|\le B,\\ i,j\in\mathbb N,\quad 1\le i<j\le n-2,\\ h\in\{1,T_{n-2},T_{n-2}T_{n-1}\} \end{array} \right\}.nFourBound(p,B)=spanR​⎩⎨⎧​bEn−3​Xn−3[ℓ]​En−1​Xn−1[k]​Qn−2​(i,j)h ​ b∈Ln−4​,ℓ,k∈Z,∣ℓ∣≤p,∣k∣≤B,i,j∈N,1≤i<j≤n−2,h∈{1,Tn−2​,Tn−2​Tn−1​}​⎭⎬⎫​.

All natural-number subtractions are truncated at zero. The integer bound BBB need not be nonnegative; if B<0B<0B<0, there are no generators and the submodule is zero. It is also zero for n<4n<4n<4. At an out-of-range index, a signed power is 111 for exponent zero and zero otherwise; in particular, p=0p=0p=0 forces ℓ=0\ell=0ℓ=0, and B=0B=0B=0 forces k=0k=0k=0.

QAlgorithms.Papers.Independent.Intakenext100.P51.nOne

Let RRR be a commutative ring, let r,n,p∈Nr,n,p\in\mathbb Nr,n,p∈N, and let PPP consist of r>0r>0r>0, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​, and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, satisfying δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). Let BBB be the RRR-algebra on ti,eit_i,e_iti​,ei​ (1≤i<n1\le i<n1≤i<n) and mutually inverse xj,xj−1x_j,x_j^{-1}xj​,xj−1​ (1≤j≤n1\le j\le n1≤j≤n), with relations

ti2−δti+δρei=1,ei2=ω(0)ei,xjxk=xkxj,titk=tkti (∣i−k∣>1),titi+1ti=ti+1titi+1,tixj=xjti (j≠i,i+1),tixi−xi+1ti=δxi+1(ei−1),xiti−tixi+1=δ(ei−1)xi+1,eiti=tiei=ρei,ei+1ei=ei+1titi+1=titi+1ei,ei+1eiei+1=ei+1,eiei+1ei=ei,eixixi+1=ei=xixi+1ei,e1x1ce1=ω(c)e1 (c∈Z, n≥2),∏α=0r−1(x1−uα)=0 (n≥1).\begin{gathered} t_i^2-\delta t_i+\delta\rho e_i=1,\quad e_i^2=\omega(0)e_i,\quad x_jx_k=x_kx_j,\quad t_it_k=t_kt_i\ (|i-k|>1),\\ t_it_{i+1}t_i=t_{i+1}t_it_{i+1},\quad t_ix_j=x_jt_i\ (j\ne i,i+1),\\ t_ix_i-x_{i+1}t_i=\delta x_{i+1}(e_i-1),\quad x_it_i-t_ix_{i+1}=\delta(e_i-1)x_{i+1},\quad e_it_i=t_ie_i=\rho e_i,\\ e_{i+1}e_i=e_{i+1}t_it_{i+1}=t_it_{i+1}e_i,\quad e_{i+1}e_ie_{i+1}=e_{i+1},\quad e_ie_{i+1}e_i=e_i,\quad e_ix_ix_{i+1}=e_i=x_ix_{i+1}e_i,\\ e_1x_1^c e_1=\omega(c)e_1\ (c\in\mathbb Z,\ n\ge2),\qquad \prod_{\alpha=0}^{r-1}(x_1-u_\alpha)=0\ (n\ge1). \end{gathered}ti2​−δti​+δρei​=1,ei2​=ω(0)ei​,xj​xk​=xk​xj​,ti​tk​=tk​ti​ (∣i−k∣>1),ti​ti+1​ti​=ti+1​ti​ti+1​,ti​xj​=xj​ti​ (j=i,i+1),ti​xi​−xi+1​ti​=δxi+1​(ei​−1),xi​ti​−ti​xi+1​=δ(ei​−1)xi+1​,ei​ti​=ti​ei​=ρei​,ei+1​ei​=ei+1​ti​ti+1​=ti​ti+1​ei​,ei+1​ei​ei+1​=ei+1​,ei​ei+1​ei​=ei​,ei​xi​xi+1​=ei​=xi​xi+1​ei​,e1​x1c​e1​=ω(c)e1​ (c∈Z, n≥2),α=0∏r−1​(x1​−uα​)=0 (n≥1).​

Relations use valid indices, adjacent t,et,et,e relations require i+1<ni+1<ni+1<n, and generator functions outside their ranges are zero. Put m=max⁡(n−2,0)m=\max(n-2,0)m=max(n−2,0), and let LmL_mLm​ be the smallest RRR-subalgebra containing ti,eit_i,e_iti​,ei​ for 1≤i<m1\le i<m1≤i<m and xj,xj−1x_j,x_j^{-1}xj​,xj−1​ for 1≤j≤m1\le j\le m1≤j≤m. For natural numbers a,ba,ba,b, let W(a,b)W(a,b)W(a,b) be ta−1ta−2⋯tbt_{a-1}t_{a-2}\cdots t_bta−1​ta−2​⋯tb​ when b<ab<ab<a, 111 when b=ab=ab=a, and tata+1⋯tb−1t_at_{a+1}\cdots t_{b-1}ta​ta+1​⋯tb−1​ when a<ba<ba<b. Write xs[a]=(xs)ax_s^{[a]}=(x_s)^axs[a]​=(xs​)a for an integer a≥0a\ge0a≥0, and xs[a]=(xs−1)−ax_s^{[a]}=(x_s^{-1})^{-a}xs[a]​=(xs−1​)−a for a<0a<0a<0. The declaration defines the RRR-submodule

N1(p)=span⁡R{b emax⁡(n−1,0) xmax⁡(n−1,0)[a] W(max⁡(n−1,0),i) W(n,j):b∈Lm,a∈Z,∣a∣≤p,i,j∈N,1≤i<j≤n}.N_1(p)=\operatorname{span}_R \left\{ b\,e_{\max(n-1,0)}\,x_{\max(n-1,0)}^{[a]}\, W(\max(n-1,0),i)\,W(n,j): \begin{array}{l} b\in L_m,\quad a\in\mathbb Z,\quad |a|\le p,\\ i,j\in\mathbb N,\quad 1\le i<j\le n \end{array} \right\}.N1​(p)=spanR​{bemax(n−1,0)​xmax(n−1,0)[a]​W(max(n−1,0),i)W(n,j):b∈Lm​,a∈Z,∣a∣≤p,i,j∈N,1≤i<j≤n​}.

Thus its elements are finite RRR-linear combinations of precisely these products. All natural-number subtractions are truncated at zero. There is no assumption n≥2n\ge2n≥2; when n<2n<2n<2, no permitted pair i,ji,ji,j exists, so the submodule is zero. The value p=0p=0p=0 is included and permits only exponent a=0a=0a=0.

QAlgorithms.Papers.Independent.Intakenext100.P51.nThree

Let RRR be a commutative ring, r,n,p∈Nr,n,p\in\mathbb Nr,n,p∈N, and PPP consist of r>0r>0r>0, units q,δ,ρ,u0,…,ur−1∈R×q,\delta,\rho,u_0,\ldots,u_{r-1}\in R^\timesq,δ,ρ,u0​,…,ur−1​∈R×, and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, with δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). Let AAA be the associative unital RRR-algebra on Ti,EiT_i,E_iTi​,Ei​ for 1≤i<n1\le i<n1≤i<n and Xj,XˉjX_j,\bar X_jXj​,Xˉj​ for 1≤j≤n1\le j\le n1≤j≤n, subject to the following relations at valid indices:

XjXˉj=XˉjXj=1,Ti2−δTi+δρEi=1,Ei2=ω(0)Ei,XjXk=XkXj,TiTh=ThTi (∣i−h∣>1),TiTi+1Ti=Ti+1TiTi+1,TiXj=XjTi (j≠i,i+1),TiXi−Xi+1Ti=δXi+1(Ei−1),XiTi−TiXi+1=δ(Ei−1)Xi+1,EiTi=TiEi=ρEi,Ei+1Ei=Ei+1TiTi+1=TiTi+1Ei,Ei+1EiEi+1=Ei+1,EiEi+1Ei=Ei,EiXiXi+1=XiXi+1Ei=Ei.\begin{gathered} X_j\bar X_j=\bar X_jX_j=1,\quad T_i^2-\delta T_i+\delta\rho E_i=1,\quad E_i^2=\omega(0)E_i,\quad X_jX_k=X_kX_j,\\ T_iT_h=T_hT_i\ (|i-h|>1),\quad T_iT_{i+1}T_i=T_{i+1}T_iT_{i+1},\quad T_iX_j=X_jT_i\ (j\ne i,i+1),\\ T_iX_i-X_{i+1}T_i=\delta X_{i+1}(E_i-1),\quad X_iT_i-T_iX_{i+1}=\delta(E_i-1)X_{i+1},\\ E_iT_i=T_iE_i=\rho E_i,\quad E_{i+1}E_i=E_{i+1}T_iT_{i+1}=T_iT_{i+1}E_i,\\ E_{i+1}E_iE_{i+1}=E_{i+1},\quad E_iE_{i+1}E_i=E_i,\quad E_iX_iX_{i+1}=X_iX_{i+1}E_i=E_i. \end{gathered}Xj​Xˉj​=Xˉj​Xj​=1,Ti2​−δTi​+δρEi​=1,Ei2​=ω(0)Ei​,Xj​Xk​=Xk​Xj​,Ti​Th​=Th​Ti​ (∣i−h∣>1),Ti​Ti+1​Ti​=Ti+1​Ti​Ti+1​,Ti​Xj​=Xj​Ti​ (j=i,i+1),Ti​Xi​−Xi+1​Ti​=δXi+1​(Ei​−1),Xi​Ti​−Ti​Xi+1​=δ(Ei​−1)Xi+1​,Ei​Ti​=Ti​Ei​=ρEi​,Ei+1​Ei​=Ei+1​Ti​Ti+1​=Ti​Ti+1​Ei​,Ei+1​Ei​Ei+1​=Ei+1​,Ei​Ei+1​Ei​=Ei​,Ei​Xi​Xi+1​=Xi​Xi+1​Ei​=Ei​.​

For n≥2n\ge2n≥2, also impose E1X1aE1=ω(a)E1E_1X_1^aE_1=\omega(a)E_1E1​X1a​E1​=ω(a)E1​ for all a∈Za\in\mathbb Za∈Z, using Xˉ1\bar X_1Xˉ1​ for negative powers; for n≥1n\ge1n≥1, impose ∏j=0r−1(X1−uj)=0\prod_{j=0}^{r-1}(X_1-u_j)=0∏j=0r−1​(X1​−uj​)=0. Set all out-of-range indexed generators equal to zero, and define Xj[a]=XjaX_j^{[a]}=X_j^aXj[a]​=Xja​ for a≥0a\ge0a≥0 and Xj[a]=Xˉj−aX_j^{[a]}=\bar X_j^{-a}Xj[a]​=Xˉj−a​ for a<0a<0a<0. Thus an out-of-range signed power is 111 at exponent zero and zero at every other exponent. Let LmL_mLm​ be the RRR-subalgebra generated by Ti,EiT_i,E_iTi​,Ei​ for 1≤i<m1\le i<m1≤i<m and Xj,XˉjX_j,\bar X_jXj​,Xˉj​ for 1≤j≤m1\le j\le m1≤j≤m. Define I(a,b)=Ta−1Ta−2⋯TbI(a,b)=T_{a-1}T_{a-2}\cdots T_bI(a,b)=Ta−1​Ta−2​⋯Tb​ if b≤ab\le ab≤a, and I(a,b)=TaTa+1⋯Tb−1I(a,b)=T_aT_{a+1}\cdots T_{b-1}I(a,b)=Ta​Ta+1​⋯Tb−1​ if a<ba<ba<b, with I(a,a)=1I(a,a)=1I(a,a)=1; put Qm(i,j)=I(m−1,i)I(m,j)Q_m(i,j)=I(m-1,i)I(m,j)Qm​(i,j)=I(m−1,i)I(m,j). Then nThree⁡(p)\operatorname{nThree}(p)nThree(p) is the RRR-span of all elements of either form

bEn−1Xn−1[ℓ]En−3orbEn−3Xn−3[ℓ]En−1Qn−2(i,j)I(n−1,n−3)I(n,n−2),bE_{n-1}X_{n-1}^{[\ell]}E_{n-3} \quad\text{or}\quad bE_{n-3}X_{n-3}^{[\ell]}E_{n-1} Q_{n-2}(i,j)I(n-1,n-3)I(n,n-2),bEn−1​Xn−1[ℓ]​En−3​orbEn−3​Xn−3[ℓ]​En−1​Qn−2​(i,j)I(n−1,n−3)I(n,n−2),

where b∈Ln−4b\in L_{n-4}b∈Ln−4​, ℓ∈Z\ell\in\mathbb Zℓ∈Z, and ∣ℓ∣≤p|\ell|\le p∣ℓ∣≤p; the second form additionally requires natural numbers i,ji,ji,j with 1≤i<j≤n−21\le i<j\le n-21≤i<j≤n−2 and i≠n−3i\ne n-3i=n−3 or j≠n−2j\ne n-2j=n−2. All natural-number subtractions are truncated at zero. No lower bound on nnn is assumed; the submodule is zero when n<4n<4n<4. When n=4n=4n=4, the second family has no admissible pair, and when p=0p=0p=0, the only allowed ℓ\ellℓ is zero.

QAlgorithms.Papers.Independent.Intakenext100.P51.nTwo

Let RRR be a commutative ring, r,n,p∈Nr,n,p\in\mathbb Nr,n,p∈N, and PPP consist of r>0r>0r>0, units q,δ,ρ,u0,…,ur−1∈R×q,\delta,\rho,u_0,\ldots,u_{r-1}\in R^\timesq,δ,ρ,u0​,…,ur−1​∈R×, and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, with δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). Let AAA be the associative unital RRR-algebra on Ti,EiT_i,E_iTi​,Ei​ for 1≤i<n1\le i<n1≤i<n and Xj,XˉjX_j,\bar X_jXj​,Xˉj​ for 1≤j≤n1\le j\le n1≤j≤n, subject to these relations at valid indices:

XjXˉj=XˉjXj=1,Ti2−δTi+δρEi=1,Ei2=ω(0)Ei,XjXk=XkXj,TiTh=ThTi (∣i−h∣>1),TiTi+1Ti=Ti+1TiTi+1,TiXj=XjTi (j≠i,i+1),TiXi−Xi+1Ti=δXi+1(Ei−1),XiTi−TiXi+1=δ(Ei−1)Xi+1,EiTi=TiEi=ρEi,Ei+1Ei=Ei+1TiTi+1=TiTi+1Ei,Ei+1EiEi+1=Ei+1,EiEi+1Ei=Ei,EiXiXi+1=XiXi+1Ei=Ei.\begin{gathered} X_j\bar X_j=\bar X_jX_j=1,\quad T_i^2-\delta T_i+\delta\rho E_i=1,\quad E_i^2=\omega(0)E_i,\quad X_jX_k=X_kX_j,\\ T_iT_h=T_hT_i\ (|i-h|>1),\quad T_iT_{i+1}T_i=T_{i+1}T_iT_{i+1},\quad T_iX_j=X_jT_i\ (j\ne i,i+1),\\ T_iX_i-X_{i+1}T_i=\delta X_{i+1}(E_i-1),\quad X_iT_i-T_iX_{i+1}=\delta(E_i-1)X_{i+1},\\ E_iT_i=T_iE_i=\rho E_i,\quad E_{i+1}E_i=E_{i+1}T_iT_{i+1}=T_iT_{i+1}E_i,\\ E_{i+1}E_iE_{i+1}=E_{i+1},\quad E_iE_{i+1}E_i=E_i,\quad E_iX_iX_{i+1}=X_iX_{i+1}E_i=E_i. \end{gathered}Xj​Xˉj​=Xˉj​Xj​=1,Ti2​−δTi​+δρEi​=1,Ei2​=ω(0)Ei​,Xj​Xk​=Xk​Xj​,Ti​Th​=Th​Ti​ (∣i−h∣>1),Ti​Ti+1​Ti​=Ti+1​Ti​Ti+1​,Ti​Xj​=Xj​Ti​ (j=i,i+1),Ti​Xi​−Xi+1​Ti​=δXi+1​(Ei​−1),Xi​Ti​−Ti​Xi+1​=δ(Ei​−1)Xi+1​,Ei​Ti​=Ti​Ei​=ρEi​,Ei+1​Ei​=Ei+1​Ti​Ti+1​=Ti​Ti+1​Ei​,Ei+1​Ei​Ei+1​=Ei+1​,Ei​Ei+1​Ei​=Ei​,Ei​Xi​Xi+1​=Xi​Xi+1​Ei​=Ei​.​

For n≥2n\ge2n≥2, also impose E1X1aE1=ω(a)E1E_1X_1^aE_1=\omega(a)E_1E1​X1a​E1​=ω(a)E1​ for every integer aaa, interpreting negative powers with Xˉ1\bar X_1Xˉ1​; for n≥1n\ge1n≥1, impose ∏j=0r−1(X1−uj)=0\prod_{j=0}^{r-1}(X_1-u_j)=0∏j=0r−1​(X1​−uj​)=0. Set all out-of-range indexed generators equal to zero. Define Xj[a]=XjaX_j^{[a]}=X_j^aXj[a]​=Xja​ for a≥0a\ge0a≥0 and Xj[a]=Xˉj−aX_j^{[a]}=\bar X_j^{-a}Xj[a]​=Xˉj−a​ for a<0a<0a<0. Let LmL_mLm​ be the RRR-subalgebra generated by Ti,EiT_i,E_iTi​,Ei​ for 1≤i<m1\le i<m1≤i<m and Xj,XˉjX_j,\bar X_jXj​,Xˉj​ for 1≤j≤m1\le j\le m1≤j≤m. Put I(a,b)=Ta−1⋯TbI(a,b)=T_{a-1}\cdots T_bI(a,b)=Ta−1​⋯Tb​ if b≤ab\le ab≤a, and I(a,b)=Ta⋯Tb−1I(a,b)=T_a\cdots T_{b-1}I(a,b)=Ta​⋯Tb−1​ if a<ba<ba<b, with I(a,a)=1I(a,a)=1I(a,a)=1, and let Qm(i,j)=I(m−1,i)I(m,j)Q_m(i,j)=I(m-1,i)I(m,j)Qm​(i,j)=I(m−1,i)I(m,j). Then the definition assigns

nTwo⁡(p)=span⁡R{bEn−3Xn−3[k]En−1Xn−1[ℓ]Qn−2(i2,j2)Qn(i1,j1) | b∈Ln−4,k,ℓ∈Z,∣k∣,∣ℓ∣≤p,i2,j2,i1,j1∈N,1≤i2<j2≤n−2,1≤i1<j1≤n,i2<i1}.\operatorname{nTwo}(p)= \operatorname{span}_R \left\{ bE_{n-3}X_{n-3}^{[k]}E_{n-1}X_{n-1}^{[\ell]} Q_{n-2}(i_2,j_2)Q_n(i_1,j_1) \ \middle|\ \begin{array}{l} b\in L_{n-4},\quad k,\ell\in\mathbb Z,\quad |k|,|\ell|\le p,\\ i_2,j_2,i_1,j_1\in\mathbb N,\\ 1\le i_2<j_2\le n-2,\quad 1\le i_1<j_1\le n,\quad i_2<i_1 \end{array} \right\}.nTwo(p)=spanR​⎩⎨⎧​bEn−3​Xn−3[k]​En−1​Xn−1[ℓ]​Qn−2​(i2​,j2​)Qn​(i1​,j1​) ​ b∈Ln−4​,k,ℓ∈Z,∣k∣,∣ℓ∣≤p,i2​,j2​,i1​,j1​∈N,1≤i2​<j2​≤n−2,1≤i1​<j1​≤n,i2​<i1​​⎭⎬⎫​.

All natural-number subtraction is truncated at zero. No lower bound on nnn is assumed; for n<4n<4n<4, there is no admissible pair (i2,j2)(i_2,j_2)(i2​,j2​), so this is the zero submodule. For p=0p=0p=0, both exponents must be zero; a signed power at exponent zero equals 111, including at an out-of-range index.

QAlgorithms.Papers.Independent.Intakenext100.P51.ncGeometric

For every ring AAA, without a commutativity or nontriviality assumption, and every v∈Av\in Av∈A, the declaration defines the formal power series over AAA whose coefficient of degree aaa is vav^ava for every natural number aaa:

Gv(t)=∑a=0∞vata.G_v(t)=\sum_{a=0}^{\infty}v^at^a.Gv​(t)=a=0∑∞​vata.

In particular, its constant coefficient is v0=1v^0=1v0=1, including when v=0v=0v=0; the formal variable ttt is central in the power-series ring.

QAlgorithms.Papers.Independent.Intakenext100.P51.negativeMoment

Let RRR be a commutative ring, let r>0r>0r>0 be a natural number, and let PPP supply units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​, satisfying δ=q−q−1\delta=q-q^{-1}δ=q−q−1 in RRR. Regard units as elements of RRR, and put

vi=ui−1,U=∏i=0r−1ui,D=δ−1ρ,ε(a)={1R,a even,0R,a odd,v_i=u_i^{-1},\qquad U=\prod_{i=0}^{r-1}u_i,\qquad D=\delta^{-1}\rho,\qquad \varepsilon(a)= \begin{cases}1_R,&a\text{ even},\\0_R,&a\text{ odd},\end{cases}vi​=ui−1​,U=i=0∏r−1​ui​,D=δ−1ρ,ε(a)={1R​,0R​,​a even,a odd,​ qb(v)=[zb]∏i=0r−1((vi−z)∑c=0∞viczc).q_b(v)=[z^b]\prod_{i=0}^{r-1} \left((v_i-z)\sum_{c=0}^{\infty}v_i^c z^c\right).qb​(v)=[zb]i=0∏r−1​((vi​−z)c=0∑∞​vic​zc).

For every a∈Na\in\mathbb Na∈N, this definition gives

Ma−=ε(a)−Dqa(v)U+{∑0≤k<aε(k)qa−1−k(v),r odd,−∑0≤k<max⁡(a−1,0)ε(k)qmax⁡(a−2−k,0)(v),r even.M_a^-=\varepsilon(a)-Dq_a(v)U+ \begin{cases} \displaystyle\sum_{0\le k<a}\varepsilon(k)q_{a-1-k}(v),&r\text{ odd},\\[5pt] \displaystyle-\sum_{0\le k<\max(a-1,0)} \varepsilon(k)q_{\max(a-2-k,0)}(v),&r\text{ even}. \end{cases}Ma−​=ε(a)−Dqa​(v)U+⎩⎨⎧​0≤k<a∑​ε(k)qa−1−k​(v),−0≤k<max(a−1,0)∑​ε(k)qmax(a−2−k,0)​(v),​r odd,r even.​

The maxima express the natural-number subtraction used in the definition. The odd-case sum is empty for a=0a=0a=0; the even-case sum is empty for a=0a=0a=0 and a=1a=1a=1, and for a≥2a\ge2a≥2 runs from k=0k=0k=0 through k=a−2k=a-2k=a−2, with coefficient index a−2−ka-2-ka−2−k. The definition includes a=0a=0a=0, where its value is 1R−D1_R-D1R​−D. No additional condition on ρ\rhoρ or distinctness of the roots is assumed.

QAlgorithms.Papers.Independent.Intakenext100.P51.negativeRHS

Let RRR be a commutative ring, r∈Nr\in\mathbb Nr∈N, and PPP consist of r>0r>0r>0 and units q,δ,ρ,u0,…,ur−1∈R×q,\delta,\rho,u_0,\ldots,u_{r-1}\in R^\timesq,δ,ρ,u0​,…,ur−1​∈R× satisfying δ=q−q−1\delta=q-q^{-1}δ=q−q−1. Viewing these units in RRR, put U=∏i=0r−1uiU=\prod_{i=0}^{r-1}u_iU=∏i=0r−1​ui​, D=δ−1ρD=\delta^{-1}\rhoD=δ−1ρ, G(t)=∑m=0∞t2mG(t)=\sum_{m=0}^{\infty}t^{2m}G(t)=∑m=0∞​t2m, and

Qu−1(t)=∏i=0r−1((ui−1−t)∑a=0∞(ui−1)ata).Q_{u^{-1}}(t)=\prod_{i=0}^{r-1}\left((u_i^{-1}-t)\sum_{a=0}^{\infty}(u_i^{-1})^a t^a\right).Qu−1​(t)=i=0∏r−1​((ui−1​−t)a=0∑∞​(ui−1​)ata).

This definition gives the following formal power series, with elements of RRR interpreted as constant series:

t2G(t)+D−{(DU−tG(t))Qu−1(t),r odd,(DU+t2G(t))Qu−1(t),r even.t^2G(t)+D- \begin{cases} \bigl(DU-tG(t)\bigr)Q_{u^{-1}}(t),&r\text{ odd},\\ \bigl(DU+t^2G(t)\bigr)Q_{u^{-1}}(t),&r\text{ even}. \end{cases}t2G(t)+D−{(DU−tG(t))Qu−1​(t),(DU+t2G(t))Qu−1​(t),​r odd,r even.​

The product UUU uses the original units uiu_iui​, while the factors in Qu−1Q_{u^{-1}}Qu−1​ use their inverses; no distinctness assumption is imposed.

QAlgorithms.Papers.Independent.Intakenext100.P51.negativeSeries

For a commutative ring RRR, a natural number rrr, and data PPP comprising r>0r>0r>0, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​ with δ=q−q−1\delta=q-q^{-1}δ=q−q−1, and a function ω:Z→R\omega:\mathbb Z\to Rω:Z→R with ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1), this definition gives the formal power series

∑a=1∞ω(−a)ta∈R[[t]].\sum_{a=1}^{\infty}\omega(-a)t^a\in R[[t]].a=1∑∞​ω(−a)ta∈R[[t]].

Its constant coefficient is defined to be 000, regardless of the value of ω(0)\omega(0)ω(0).

QAlgorithms.Papers.Independent.Intakenext100.P51.pairPerm

For arbitrary n,m,i,j∈Nn,m,i,j\in\mathbb Nn,m,i,j∈N, let sn,hs_{n,h}sn,h​ exchange h−1h-1h−1 and hhh in {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1} when 1≤h<n1\le h<n1≤h<n, and otherwise be the identity. Define the interval permutation by

In(a,b)={sn,bsn,b+1⋯sn,a−1,b≤a,sn,b−1sn,b−2⋯sn,a,a<b,I_n(a,b)= \begin{cases} s_{n,b}s_{n,b+1}\cdots s_{n,a-1},&b\le a,\\ s_{n,b-1}s_{n,b-2}\cdots s_{n,a},&a<b, \end{cases}In​(a,b)={sn,b​sn,b+1​⋯sn,a−1​,sn,b−1​sn,b−2​⋯sn,a​,​b≤a,a<b,​

with empty products equal to the identity and permutation products composed with the rightmost factor acting first. The declaration defines

Pn(m,i,j)=In(m,j) In(max⁡(m−1,0),i).P_n(m,i,j)=I_n(m,j)\,I_n(\max(m-1,0),i).Pn​(m,i,j)=In​(m,j)In​(max(m−1,0),i).

Thus the interval permutation from max⁡(m−1,0)\max(m-1,0)max(m−1,0) to iii acts first, followed by the interval permutation from mmm to jjj. No inequalities among m,i,j,nm,i,j,nm,i,j,n are assumed: in particular, there is no requirement 1≤i<j≤m1\le i<j\le m1≤i<j≤m, and m=0m=0m=0 uses m−1=0m-1=0m−1=0. Out-of-range adjacent factors are identities, and n=0n=0n=0 is allowed.

QAlgorithms.Papers.Independent.Intakenext100.P51.pairWord

Let RRR be a commutative ring, let r,n,m,i,j∈Nr,n,m,i,j\in\mathbb Nr,n,m,i,j∈N, and let PPP consist of r>0r>0r>0, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​, and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, satisfying δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). Let BBB be the RRR-algebra generated by tk,ekt_k,e_ktk​,ek​ (1≤k<n1\le k<n1≤k<n) and mutually inverse xs,xs−1x_s,x_s^{-1}xs​,xs−1​ (1≤s≤n1\le s\le n1≤s≤n), subject to

tk2−δtk+δρek=1,ek2=ω(0)ek,xsxv=xvxs,tktl=tltk (∣k−l∣>1),tktk+1tk=tk+1tktk+1,tkxs=xstk (s≠k,k+1),tkxk−xk+1tk=δxk+1(ek−1),xktk−tkxk+1=δ(ek−1)xk+1,ektk=tkek=ρek,ek+1ek=ek+1tktk+1=tktk+1ek,ek+1ekek+1=ek+1,ekek+1ek=ek,ekxkxk+1=ek=xkxk+1ek,e1x1ce1=ω(c)e1 (c∈Z, n≥2),∏α=0r−1(x1−uα)=0 (n≥1).\begin{gathered} t_k^2-\delta t_k+\delta\rho e_k=1,\quad e_k^2=\omega(0)e_k,\quad x_sx_v=x_vx_s,\quad t_kt_l=t_lt_k\ (|k-l|>1),\\ t_kt_{k+1}t_k=t_{k+1}t_kt_{k+1},\quad t_kx_s=x_st_k\ (s\ne k,k+1),\\ t_kx_k-x_{k+1}t_k=\delta x_{k+1}(e_k-1),\quad x_kt_k-t_kx_{k+1}=\delta(e_k-1)x_{k+1},\quad e_kt_k=t_ke_k=\rho e_k,\\ e_{k+1}e_k=e_{k+1}t_kt_{k+1}=t_kt_{k+1}e_k,\quad e_{k+1}e_ke_{k+1}=e_{k+1},\quad e_ke_{k+1}e_k=e_k,\quad e_kx_kx_{k+1}=e_k=x_kx_{k+1}e_k,\\ e_1x_1^c e_1=\omega(c)e_1\ (c\in\mathbb Z,\ n\ge2),\qquad \prod_{\alpha=0}^{r-1}(x_1-u_\alpha)=0\ (n\ge1). \end{gathered}tk2​−δtk​+δρek​=1,ek2​=ω(0)ek​,xs​xv​=xv​xs​,tk​tl​=tl​tk​ (∣k−l∣>1),tk​tk+1​tk​=tk+1​tk​tk+1​,tk​xs​=xs​tk​ (s=k,k+1),tk​xk​−xk+1​tk​=δxk+1​(ek​−1),xk​tk​−tk​xk+1​=δ(ek​−1)xk+1​,ek​tk​=tk​ek​=ρek​,ek+1​ek​=ek+1​tk​tk+1​=tk​tk+1​ek​,ek+1​ek​ek+1​=ek+1​,ek​ek+1​ek​=ek​,ek​xk​xk+1​=ek​=xk​xk+1​ek​,e1​x1c​e1​=ω(c)e1​ (c∈Z, n≥2),α=0∏r−1​(x1​−uα​)=0 (n≥1).​

Relations use valid indices, adjacent t,et,et,e relations require k+1<nk+1<nk+1<n, and generator functions outside their ranges are zero. For natural numbers a,ba,ba,b, define W(a,b)W(a,b)W(a,b) to be the ordered product ta−1ta−2⋯tbt_{a-1}t_{a-2}\cdots t_bta−1​ta−2​⋯tb​ if b<ab<ab<a, 111 if b=ab=ab=a, and tata+1⋯tb−1t_at_{a+1}\cdots t_{b-1}ta​ta+1​⋯tb−1​ if a<ba<ba<b. The declaration defines

D(m,i,j)=W(max⁡(m−1,0),i) W(m,j),D(m,i,j)=W(\max(m-1,0),i)\,W(m,j),D(m,i,j)=W(max(m−1,0),i)W(m,j),

in that multiplication order. There are no assumptions 1≤i<j≤m1\le i<j\le m1≤i<j≤m, m≤nm\le nm≤n, or m>0m>0m>0. Thus m=0m=0m=0 uses W(0,i)W(0,j)W(0,i)W(0,j)W(0,i)W(0,j), empty products are 111, and any out-of-range ttt-factor is zero.

QAlgorithms.Papers.Independent.Intakenext100.P51.paritySeries

For every commutative ring RRR, including the zero ring, this definition gives the formal power series whose coefficient in degree a∈Na\in\mathbb Na∈N is 1R1_R1R​ if aaa is even and 0R0_R0R​ otherwise:

G(t)=∑m=0∞t2m=1+t2+t4+⋯∈R[[t]].G(t)=\sum_{m=0}^{\infty}t^{2m}=1+t^2+t^4+\cdots\in R[[t]].G(t)=m=0∑∞​t2m=1+t2+t4+⋯∈R[[t]].

In particular, the coefficient in degree 000 is 1R1_R1R​.

QAlgorithms.Papers.Independent.Intakenext100.P51.permEntry

For every natural number nnn, every permutation www of {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}, and every natural number aaa, define

entry⁡n,w(a)={w(a)+1,a<n,0,a≥n.\operatorname{entry}_{n,w}(a)= \begin{cases} w(a)+1,&a<n,\\ 0,&a\ge n. \end{cases}entryn,w​(a)={w(a)+1,0,​a<n,a≥n.​

Thus valid positions are numbered from 000, while their returned values are numbered from 111; every position outside the domain returns 000. In particular, when n=0n=0n=0, the value is 000 for every aaa.

QAlgorithms.Papers.Independent.Intakenext100.P51.positiveMoment

Let RRR be a commutative ring, let r>0r>0r>0 be a natural number, and let PPP supply units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​ satisfying δ=q−q−1\delta=q-q^{-1}δ=q−q−1 in RRR. Regard these units and their inverses as elements of RRR, and define

U=∏i=0r−1ui,D=δ−1ρ,ε(a)={1R,a even,0R,a odd,U=\prod_{i=0}^{r-1}u_i,\qquad D=\delta^{-1}\rho,\qquad \varepsilon(a)= \begin{cases}1_R,&a\text{ even},\\0_R,&a\text{ odd},\end{cases}U=i=0∏r−1​ui​,D=δ−1ρ,ε(a)={1R​,0R​,​a even,a odd,​ qb(u)=[zb]∏i=0r−1((ui−z)∑c=0∞uiczc).q_b(u)=[z^b]\prod_{i=0}^{r-1} \left((u_i-z)\sum_{c=0}^{\infty}u_i^c z^c\right).qb​(u)=[zb]i=0∏r−1​((ui​−z)c=0∑∞​uic​zc).

For every a∈Na\in\mathbb Na∈N, this definition gives

Ma+=ε(a)+Dqa(u)U+{∑k=0a−1ε(k)qa−1−k(u),r odd,−∑k=0aε(k)qa−k(u),r even,−{D,a=0,0R,a>0.M_a^+= \varepsilon(a)+Dq_a(u)U+ \begin{cases} \displaystyle\sum_{k=0}^{a-1}\varepsilon(k)q_{a-1-k}(u),&r\text{ odd},\\[4pt] \displaystyle-\sum_{k=0}^{a}\varepsilon(k)q_{a-k}(u),&r\text{ even}, \end{cases} - \begin{cases}D,&a=0,\\0_R,&a>0.\end{cases}Ma+​=ε(a)+Dqa​(u)U+⎩⎨⎧​k=0∑a−1​ε(k)qa−1−k​(u),−k=0∑a​ε(k)qa−k​(u),​r odd,r even,​−{D,0R​,​a=0,a>0.​

The odd-case sum means 0≤k<a0\le k<a0≤k<a, so it is empty at a=0a=0a=0; the even-case sum includes k=ak=ak=a and has one term at a=0a=0a=0. The indices written using subtraction originate in natural-number subtraction, truncated at zero; within these summation ranges their ordinary integer values are already nonnegative. No additional condition on ρ\rhoρ or distinctness of the roots is assumed.

QAlgorithms.Papers.Independent.Intakenext100.P51.positiveRHS

Let RRR be a commutative ring, r∈Nr\in\mathbb Nr∈N, and PPP consist of r>0r>0r>0 and units q,δ,ρ,u0,…,ur−1∈R×q,\delta,\rho,u_0,\ldots,u_{r-1}\in R^\timesq,δ,ρ,u0​,…,ur−1​∈R× satisfying δ=q−q−1\delta=q-q^{-1}δ=q−q−1. Viewing these units in RRR, put U=∏i=0r−1uiU=\prod_{i=0}^{r-1}u_iU=∏i=0r−1​ui​, D=δ−1ρD=\delta^{-1}\rhoD=δ−1ρ, G(t)=∑m=0∞t2mG(t)=\sum_{m=0}^{\infty}t^{2m}G(t)=∑m=0∞​t2m, and

Qu(t)=∏i=0r−1((ui−t)∑a=0∞uiata).Q_u(t)=\prod_{i=0}^{r-1}\left((u_i-t)\sum_{a=0}^{\infty}u_i^a t^a\right).Qu​(t)=i=0∏r−1​((ui​−t)a=0∑∞​uia​ta).

This definition gives the following formal power series, with elements of RRR in the formula interpreted as constant series:

G(t)−D+{(DU+tG(t))Qu(t),r odd,(DU−G(t))Qu(t),r even.G(t)-D+ \begin{cases} \bigl(DU+tG(t)\bigr)Q_u(t),&r\text{ odd},\\ \bigl(DU-G(t)\bigr)Q_u(t),&r\text{ even}. \end{cases}G(t)−D+{(DU+tG(t))Qu​(t),(DU−G(t))Qu​(t),​r odd,r even.​

The roots need not be distinct; the positivity contained in PPP excludes r=0r=0r=0.

QAlgorithms.Papers.Independent.Intakenext100.P51.positiveSeries

For a commutative ring RRR, a natural number rrr, and data PPP comprising r>0r>0r>0, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​ with δ=q−q−1\delta=q-q^{-1}δ=q−q−1, and a function ω:Z→R\omega:\mathbb Z\to Rω:Z→R with ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1), this definition gives the formal power series

∑a=0∞ω(a)ta∈R[[t]].\sum_{a=0}^{\infty}\omega(a)t^a\in R[[t]].a=0∑∞​ω(a)ta∈R[[t]].

In particular, its constant coefficient is ω(0)\omega(0)ω(0); only the nonnegative integer values of ω\omegaω occur.

QAlgorithms.Papers.Independent.Intakenext100.P51.qCoeff

For every commutative ring RRR, every r,a∈Nr,a\in\mathbb Nr,a∈N, and every family u0,…,ur−1∈Ru_0,\ldots,u_{r-1}\in Ru0​,…,ur−1​∈R, this definition gives

qa(u)=[za] ∏i=0r−1((ui−z)∑b=0∞uibzb),q_a(u)=[z^a]\, \prod_{i=0}^{r-1} \left((u_i-z)\sum_{b=0}^{\infty}u_i^b z^b\right),qa​(u)=[za]i=0∏r−1​((ui​−z)b=0∑∞​uib​zb),

the coefficient of degree aaa in the indicated formal power series over RRR. No unit or distinctness assumptions are imposed on the uiu_iui​. For r=0r=0r=0, this is 1R1_R1R​ when a=0a=0a=0 and 0R0_R0R​ when a>0a>0a>0.

QAlgorithms.Papers.Independent.Intakenext100.P51.qSeries

For every commutative ring RRR, every r∈Nr\in\mathbb Nr∈N, and every indexed family u0,…,ur−1∈Ru_0,\ldots,u_{r-1}\in Ru0​,…,ur−1​∈R, this definition gives the formal power series

Qu(z)=∏i=0r−1((ui−z)∑a=0∞uiaza)∈R[[z]],Q_u(z)= \prod_{i=0}^{r-1} \left((u_i-z)\sum_{a=0}^{\infty}u_i^a z^a\right) \in R[[z]],Qu​(z)=i=0∏r−1​((ui​−z)a=0∑∞​uia​za)∈R[[z]],

where uiu_iui​ inside a power series denotes the constant series with that value. The uiu_iui​ need not be units or distinct. When r=0r=0r=0, the product is empty and Qu(z)=1Q_u(z)=1Qu​(z)=1.

QAlgorithms.Papers.Independent.Intakenext100.P51.representativePerm

For all natural numbers n,fn,fn,f and arbitrary functions i,j:{0,…,f−1}→Ni,j:\{0,\ldots,f-1\}\to\mathbb Ni,j:{0,…,f−1}→N, define a permutation as follows. Write a\dotminusb=max⁡(a−b,0)a\dotminus b=\max(a-b,0)a\dotminusb=max(a−b,0), and let τt\tau_tτt​ be the permutation of {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1} swapping t−1t-1t−1 and ttt if 1≤t<n1\le t<n1≤t<n, and the identity otherwise. With products interpreted as composition, (ση)(x)=σ(η(x))(\sigma\eta)(x)=\sigma(\eta(x))(ση)(x)=σ(η(x)), define

In(a,b)={τbτb+1⋯τa−1,b≤a,τb−1τb−2⋯τa,a<b,Bn(m,u,v)=In(m,v) In(m\dotminus1,u),I_n(a,b)= \begin{cases} \tau_b\tau_{b+1}\cdots\tau_{a-1},&b\le a,\\ \tau_{b-1}\tau_{b-2}\cdots\tau_a,&a<b, \end{cases} \qquad B_n(m,u,v)=I_n(m,v)\,I_n(m\dotminus1,u),In​(a,b)={τb​τb+1​⋯τa−1​,τb−1​τb−2​⋯τa​,​b≤a,a<b,​Bn​(m,u,v)=In​(m,v)In​(m\dotminus1,u),

where an empty product is the identity. Then

representativePerm⁡(n,f,i,j)=Bn(n\dotminus0,i(0),j(0)) Bn(n\dotminus2,i(1),j(1))⋯Bn(n\dotminus2(f−1),i(f−1),j(f−1)),\operatorname{representativePerm}(n,f,i,j) = B_n(n\dotminus0,i(0),j(0))\, B_n(n\dotminus2,i(1),j(1))\cdots B_n(n\dotminus2(f-1),i(f-1),j(f-1)),representativePerm(n,f,i,j)=Bn​(n\dotminus0,i(0),j(0))Bn​(n\dotminus2,i(1),j(1))⋯Bn​(n\dotminus2(f−1),i(f−1),j(f−1)),

with factors ordered by increasing index. No inequalities or validity conditions on i,j,n,fi,j,n,fi,j,n,f are required: out-of-range adjacent swaps contribute identity permutations, and every subtraction is truncated at 000. When f=0f=0f=0, the result is the identity; when n=0n=0n=0, it is the unique permutation of the empty set.

QAlgorithms.Papers.Independent.Intakenext100.P51.representativeSet

For all natural numbers n,fn,fn,f, write a\dotminusb=max⁡(a−b,0)a\dotminus b=\max(a-b,0)a\dotminusb=max(a−b,0), let τt\tau_tτt​ swap t−1t-1t−1 and ttt in {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1} when 1≤t<n1\le t<n1≤t<n and be the identity otherwise, and define

In(a,b)={τbτb+1⋯τa−1,b≤a,τb−1τb−2⋯τa,a<b,Bn(m,u,v)=In(m,v) In(m\dotminus1,u).I_n(a,b)= \begin{cases} \tau_b\tau_{b+1}\cdots\tau_{a-1},&b\le a,\\ \tau_{b-1}\tau_{b-2}\cdots\tau_a,&a<b, \end{cases} \qquad B_n(m,u,v)=I_n(m,v)\,I_n(m\dotminus1,u).In​(a,b)={τb​τb+1​⋯τa−1​,τb−1​τb−2​⋯τa​,​b≤a,a<b,​Bn​(m,u,v)=In​(m,v)In​(m\dotminus1,u).

Products are composition with (ση)(x)=σ(η(x))(\sigma\eta)(x)=\sigma(\eta(x))(ση)(x)=σ(η(x)), and empty products are identities. The set representativeSet⁡(n,f)\operatorname{representativeSet}(n,f)representativeSet(n,f) consists exactly of those permutations www for which there exist functions i,j:{0,…,f−1}→Ni,j:\{0,\ldots,f-1\}\to\mathbb Ni,j:{0,…,f−1}→N satisfying

1≤i(k)<j(k)≤n\dotminus2k(0≤k<f),i(l)<i(k)(0≤k<l<f),1\le i(k)<j(k)\le n\dotminus2k \quad(0\le k<f), \qquad i(l)<i(k) \quad(0\le k<l<f),1≤i(k)<j(k)≤n\dotminus2k(0≤k<f),i(l)<i(k)(0≤k<l<f),

and

w=∏k=0f−1Bn(n\dotminus2k,i(k),j(k)),w=\prod_{k=0}^{f-1}B_n(n\dotminus2k,i(k),j(k)),w=k=0∏f−1​Bn​(n\dotminus2k,i(k),j(k)),

where the factors are written from left to right in increasing order of kkk. The witnesses i,ji,ji,j are required to exist, with no uniqueness assertion. When f=0f=0f=0, this set consists of the identity permutation, including when n=0n=0n=0; when 2f>n2f>n2f>n, it is empty.

QAlgorithms.Papers.Independent.Intakenext100.P51.ruiXuAdjacentPerm

For every n,i∈Nn,i\in\mathbb Nn,i∈N, this declaration defines a permutation sn,is_{n,i}sn,i​ of the set {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}. If 1≤i<n1\le i<n1≤i<n, it exchanges i−1i-1i−1 and iii and fixes every other element; otherwise it is the identity permutation. Thus i=0i=0i=0 and every i≥ni\ge ni≥n give the identity, and all values are the identity when n=0n=0n=0 or n=1n=1n=1.

QAlgorithms.Papers.Independent.Intakenext100.P51.ruiXuBMWMap

For a commutative ring RRR, natural numbers r,nr,nr,n, and data PPP consisting of r>0r>0r>0, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​, a function ω:Z→R\omega:\mathbb Z\to Rω:Z→R, and identities δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1), this defines the canonical RRR-algebra homomorphism from a free algebra FFF to its ring quotient described as follows. Put I={i∈N:1≤i<n}I=\{i\in\mathbb N:1\le i<n\}I={i∈N:1≤i<n}, J={j∈N:1≤j≤n}J=\{j\in\mathbb N:1\le j\le n\}J={j∈N:1≤j≤n}, and H={i∈N:1≤i, i+1<n}H=\{i\in\mathbb N:1\le i,\ i+1<n\}H={i∈N:1≤i, i+1<n}; FFF is freely generated by Ti,EiT_i,E_iTi​,Ei​ for i∈Ii\in Ii∈I and distinct Xj+,Xj−X_j^+,X_j^-Xj+​,Xj−​ for j∈Jj\in Jj∈J. The quotient uses the smallest ring congruence imposing, with scalars mapped canonically from RRR,

Xj+Xj−=1,Xj−Xj+=1(j∈J),Ti2−δTi+δρEi=1(i∈I),TiTj=TjTi(i,j∈I, i+1<j or j+1<i),TiTi+1Ti=Ti+1TiTi+1(i∈H),TiXj+=Xj+Ti(i∈I, j∈J, j≠i, j≠i+1),Ei2=ω(0)Ei(i∈I),Xi+Xj+=Xj+Xi+(i,j∈J),TiXi+−Xi+1+Ti=δXi+1+(Ei−1)(i∈I),Xi+Ti−TiXi+1+=δ(Ei−1)Xi+1+(i∈I),E1ZaE1=ω(a)E1(a∈Z, n≥2),EiTi=TiEi=ρEi(i∈I),Ei+1Ei=Ei+1TiTi+1=TiTi+1Ei(i∈H),Ei+1EiEi+1=Ei+1,EiEi+1Ei=Ei(i∈H),EiXi+Xi+1+=Ei,Xi+Xi+1+Ei=Ei(i∈I),∏j=0r−1(X1+−uj)=0(n≥1).\begin{aligned} X_j^+X_j^-&=1,\qquad X_j^-X_j^+=1 && (j\in J),\\ T_i^2-\delta T_i+\delta\rho E_i&=1 && (i\in I),\\ T_iT_j&=T_jT_i && (i,j\in I,\ i+1<j\ \text{or}\ j+1<i),\\ T_iT_{i+1}T_i&=T_{i+1}T_iT_{i+1} && (i\in H),\\ T_iX_j^+&=X_j^+T_i && (i\in I,\ j\in J,\ j\ne i,\ j\ne i+1),\\ E_i^2&=\omega(0)E_i && (i\in I),\\ X_i^+X_j^+&=X_j^+X_i^+ && (i,j\in J),\\ T_iX_i^+-X_{i+1}^+T_i&=\delta X_{i+1}^+(E_i-1) && (i\in I),\\ X_i^+T_i-T_iX_{i+1}^+&=\delta(E_i-1)X_{i+1}^+ && (i\in I),\\ E_1Z_aE_1&=\omega(a)E_1 && (a\in\mathbb Z,\ n\ge2),\\ E_iT_i&=T_iE_i=\rho E_i && (i\in I),\\ E_{i+1}E_i&=E_{i+1}T_iT_{i+1}=T_iT_{i+1}E_i && (i\in H),\\ E_{i+1}E_iE_{i+1}&=E_{i+1},\qquad E_iE_{i+1}E_i=E_i && (i\in H),\\ E_iX_i^+X_{i+1}^+&=E_i,\qquad X_i^+X_{i+1}^+E_i=E_i && (i\in I),\\ \prod_{j=0}^{r-1}(X_1^+-u_j)&=0 && (n\ge1). \end{aligned}Xj+​Xj−​Ti2​−δTi​+δρEi​Ti​Tj​Ti​Ti+1​Ti​Ti​Xj+​Ei2​Xi+​Xj+​Ti​Xi+​−Xi+1+​Ti​Xi+​Ti​−Ti​Xi+1+​E1​Za​E1​Ei​Ti​Ei+1​Ei​Ei+1​Ei​Ei+1​Ei​Xi+​Xi+1+​j=0∏r−1​(X1+​−uj​)​=1,Xj−​Xj+​=1=1=Tj​Ti​=Ti+1​Ti​Ti+1​=Xj+​Ti​=ω(0)Ei​=Xj+​Xi+​=δXi+1+​(Ei​−1)=δ(Ei​−1)Xi+1+​=ω(a)E1​=Ti​Ei​=ρEi​=Ei+1​Ti​Ti+1​=Ti​Ti+1​Ei​=Ei+1​,Ei​Ei+1​Ei​=Ei​=Ei​,Xi+​Xi+1+​Ei​=Ei​=0​​(j∈J),(i∈I),(i,j∈I, i+1<j or j+1<i),(i∈H),(i∈I, j∈J, j=i, j=i+1),(i∈I),(i,j∈J),(i∈I),(i∈I),(a∈Z, n≥2),(i∈I),(i∈H),(i∈H),(i∈I),(n≥1).​

Here Za=(X1+)aZ_a=(X_1^+)^aZa​=(X1+​)a for a≥0a\ge0a≥0 and Za=(X1−)−aZ_a=(X_1^-)^{-a}Za​=(X1−​)−a for a<0a<0a<0, with nonnegative exponents, and the product is ordered by increasing jjj. The homomorphism sends every element of FFF to its congruence class and preserves the RRR-algebra operations and scalar map. When n=0n=0n=0, both generator families and all imposed relations are empty, and this is the canonical quotient map from the free RRR-algebra on no generators.

QAlgorithms.Papers.Independent.Intakenext100.P51.ruiXuCentralMoment

Let RRR be a commutative ring, and let PPP specify r>0r>0r>0, units q,δ,ρ,uh∈R×q,\delta,\rho,u_h\in R^\timesq,δ,ρ,uh​∈R× for h<rh<rh<r, and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, satisfying δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω0=1−δ−1(ρ−ρ−1)\omega_0=1-\delta^{-1}(\rho-\rho^{-1})ω0​=1−δ−1(ρ−ρ−1). Let AnA_nAn​ be the quotient of the free associative RRR-algebra on ti,eit_i,e_iti​,ei​ (1≤i<n1\le i<n1≤i<n) and xs,xs−x_s,x_s^-xs​,xs−​ (1≤s≤n1\le s\le n1≤s≤n), with relations

xsxs−=xs−xs=1,xsxℓ=xℓxs,ti2−δti+δρei=1,ei2=ω0ei,titℓ=tℓti (∣i−ℓ∣>1),titi+1ti=ti+1titi+1,tixs=xsti (s≠i,i+1),tixi−xi+1ti=δxi+1(ei−1),xiti−tixi+1=δ(ei−1)xi+1,eiti=tiei=ρei,ei+1ei=ei+1titi+1=titi+1ei,ei+1eiei+1=ei+1,eiei+1ei=ei,eixixi+1=xixi+1ei=ei,e1x1[b]e1=ωbe1 (b∈Z, n≥2),∏h=0r−1(x1−uh)=0 (n≥1).\begin{gathered} x_sx_s^-=x_s^-x_s=1,\quad x_sx_\ell=x_\ell x_s,\quad t_i^2-\delta t_i+\delta\rho e_i=1,\quad e_i^2=\omega_0e_i,\\ t_it_\ell=t_\ell t_i\ (|i-\ell|>1),\quad t_it_{i+1}t_i=t_{i+1}t_it_{i+1},\quad t_ix_s=x_st_i\ (s\ne i,i+1),\\ t_ix_i-x_{i+1}t_i=\delta x_{i+1}(e_i-1),\quad x_it_i-t_ix_{i+1}=\delta(e_i-1)x_{i+1},\quad e_it_i=t_ie_i=\rho e_i,\\ e_{i+1}e_i=e_{i+1}t_it_{i+1}=t_it_{i+1}e_i,\quad e_{i+1}e_ie_{i+1}=e_{i+1},\quad e_ie_{i+1}e_i=e_i,\quad e_ix_ix_{i+1}=x_ix_{i+1}e_i=e_i,\\ e_1x_1^{[b]}e_1=\omega_b e_1\ (b\in\mathbb Z,\ n\ge2),\qquad \prod_{h=0}^{r-1}(x_1-u_h)=0\ (n\ge1). \end{gathered}xs​xs−​=xs−​xs​=1,xs​xℓ​=xℓ​xs​,ti2​−δti​+δρei​=1,ei2​=ω0​ei​,ti​tℓ​=tℓ​ti​ (∣i−ℓ∣>1),ti​ti+1​ti​=ti+1​ti​ti+1​,ti​xs​=xs​ti​ (s=i,i+1),ti​xi​−xi+1​ti​=δxi+1​(ei​−1),xi​ti​−ti​xi+1​=δ(ei​−1)xi+1​,ei​ti​=ti​ei​=ρei​,ei+1​ei​=ei+1​ti​ti+1​=ti​ti+1​ei​,ei+1​ei​ei+1​=ei+1​,ei​ei+1​ei​=ei​,ei​xi​xi+1​=xi​xi+1​ei​=ei​,e1​x1[b]​e1​=ωb​e1​ (b∈Z, n≥2),h=0∏r−1​(x1​−uh​)=0 (n≥1).​

Relations apply for valid generator indices, xs[b]x_s^{[b]}xs[b]​ denotes xsbx_s^bxsb​ for b≥0b\ge0b≥0 and (xs−)−b(x_s^-)^{-b}(xs−​)−b otherwise, scalars use the map ιn:R→An\iota_n:R\to A_nιn​:R→An​, and out-of-range generators are zero. Put

L(v)=1−vz,V(v)=∑b≥0vbzb,Gn=∑b≥0z2b,Dn=ιn(δ−1ρ),τn,s=L(xs)2V(xs−)2L(q−2xs−)V(q−2xs)L(q2xs−)V(q2xs).\begin{gathered} L(v)=1-vz,\qquad V(v)=\sum_{b\ge0}v^bz^b,\qquad G_n=\sum_{b\ge0}z^{2b},\qquad D_n=\iota_n(\delta^{-1}\rho),\\ \tau_{n,s}=L(x_s)^2V(x_s^-)^2 L(q^{-2}x_s^-)V(q^{-2}x_s) L(q^2x_s^-)V(q^2x_s). \end{gathered}L(v)=1−vz,V(v)=b≥0∑​vbzb,Gn​=b≥0∑​z2b,Dn​=ιn​(δ−1ρ),τn,s​=L(xs​)2V(xs−​)2L(q−2xs−​)V(q−2xs​)L(q2xs−​)V(q2xs​).​

For arbitrary n,k,a∈Nn,k,a\in\mathbb Nn,k,a∈N, the declaration defines an element of AnA_nAn​ by coefficient extraction:

wn,k,a=[za][(∑b≥0ιn(ωb)zb+Dn−Gn)(∏s=1 max⁡(k−1,0)τn,s)+Gn−Dn],w_{n,k,a}=[z^a]\left[ \left(\sum_{b\ge0}\iota_n(\omega_b)z^b+D_n-G_n\right) \left(\prod_{s=1}^{\,\max(k-1,0)}\tau_{n,s}\right) +G_n-D_n\right],wn,k,a​=[za]​(b≥0∑​ιn​(ωb​)zb+Dn​−Gn​)​s=1∏max(k−1,0)​τn,s​​+Gn​−Dn​​,

where the product is ordered by increasing sss. The definition includes a=0a=0a=0, n=0n=0n=0, and all kkk, without an index-validity hypothesis. For k=0k=0k=0 or k=1k=1k=1, the product is empty and wn,k,a=ιn(ωa)w_{n,k,a}=\iota_n(\omega_a)wn,k,a​=ιn​(ωa​).

QAlgorithms.Papers.Independent.Intakenext100.P51.ruiXuContractionIdeal

Let RRR be a commutative ring, nnn a natural number, and PPP supply r>0r>0r>0, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​ in RRR, and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, satisfying δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). Define AAA as the ring quotient of the free associative RRR-algebra on ti,eit_i,e_iti​,ei​ for 1≤i<n1\le i<n1≤i<n and xj,xj−1x_j,x_j^{-1}xj​,xj−1​ for 1≤j≤n1\le j\le n1≤j≤n, by the following relations; scalars are interpreted through the structural map:

xjxj−1=xj−1xj=1(1≤j≤n),ti2−δti+δρei=1,ei2=ω(0)ei(1≤i<n),titj=tjti(1≤i,j<n, i+1<j or j+1<i),titi+1ti=ti+1titi+1(1≤i, i+1<n),tixj=xjti(1≤i<n, 1≤j≤n, j≠i, j≠i+1),xixj=xjxi(1≤i,j≤n),tixi−xi+1ti=δxi+1(ei−1),xiti−tixi+1=δ(ei−1)xi+1(1≤i<n),e1x1ae1=ω(a)e1(a∈Z, n≥2),eiti=tiei=ρei(1≤i<n),ei+1ei=ei+1titi+1=titi+1ei(1≤i, i+1<n),ei+1eiei+1=ei+1,eiei+1ei=ei(1≤i, i+1<n),eixixi+1=ei=xixi+1ei(1≤i<n),∏k=0r−1(x1−uk)=0(n≥1).\begin{gathered} x_jx_j^{-1}=x_j^{-1}x_j=1\quad(1\le j\le n),\\ t_i^2-\delta t_i+\delta\rho e_i=1,\qquad e_i^2=\omega(0)e_i \quad(1\le i<n),\\ t_it_j=t_jt_i \quad(1\le i,j<n,\ i+1<j\ \text{or}\ j+1<i),\\ t_it_{i+1}t_i=t_{i+1}t_it_{i+1}\quad(1\le i,\ i+1<n),\\ t_ix_j=x_jt_i \quad(1\le i<n,\ 1\le j\le n,\ j\ne i,\ j\ne i+1),\\ x_ix_j=x_jx_i\quad(1\le i,j\le n),\\ t_ix_i-x_{i+1}t_i=\delta x_{i+1}(e_i-1),\qquad x_it_i-t_ix_{i+1}=\delta(e_i-1)x_{i+1} \quad(1\le i<n),\\ e_1x_1^ae_1=\omega(a)e_1\quad(a\in\mathbb Z,\ n\ge2),\qquad e_it_i=t_ie_i=\rho e_i\quad(1\le i<n),\\ e_{i+1}e_i=e_{i+1}t_it_{i+1}=t_it_{i+1}e_i \quad(1\le i,\ i+1<n),\\ e_{i+1}e_ie_{i+1}=e_{i+1},\qquad e_ie_{i+1}e_i=e_i \quad(1\le i,\ i+1<n),\\ e_ix_ix_{i+1}=e_i=x_ix_{i+1}e_i\quad(1\le i<n),\qquad \prod_{k=0}^{r-1}(x_1-u_k)=0\quad(n\ge1). \end{gathered}xj​xj−1​=xj−1​xj​=1(1≤j≤n),ti2​−δti​+δρei​=1,ei2​=ω(0)ei​(1≤i<n),ti​tj​=tj​ti​(1≤i,j<n, i+1<j or j+1<i),ti​ti+1​ti​=ti+1​ti​ti+1​(1≤i, i+1<n),ti​xj​=xj​ti​(1≤i<n, 1≤j≤n, j=i, j=i+1),xi​xj​=xj​xi​(1≤i,j≤n),ti​xi​−xi+1​ti​=δxi+1​(ei​−1),xi​ti​−ti​xi+1​=δ(ei​−1)xi+1​(1≤i<n),e1​x1a​e1​=ω(a)e1​(a∈Z, n≥2),ei​ti​=ti​ei​=ρei​(1≤i<n),ei+1​ei​=ei+1​ti​ti+1​=ti​ti+1​ei​(1≤i, i+1<n),ei+1​ei​ei+1​=ei+1​,ei​ei+1​ei​=ei​(1≤i, i+1<n),ei​xi​xi+1​=ei​=xi​xi+1​ei​(1≤i<n),k=0∏r−1​(x1​−uk​)=0(n≥1).​

Here x1ax_1^ax1a​ for a<0a<0a<0 means (x1−1)−a(x_1^{-1})^{-a}(x1−1​)−a, and the last product is taken in increasing index order. The definition gives the RRR-submodule

{span⁡R{ae1b:a,b∈A},n≥2,{0},n<2.\begin{cases} \operatorname{span}_R\{a e_1 b:a,b\in A\},&n\ge2,\\ \{0\},&n<2. \end{cases}{spanR​{ae1​b:a,b∈A},{0},​n≥2,n<2.​

Thus its elements for n≥2n\ge2n≥2 are finite RRR-linear combinations of the displayed products, whereas for n=0n=0n=0 or n=1n=1n=1 the definition explicitly selects the zero submodule.

QAlgorithms.Papers.Independent.Intakenext100.P51.ruiXuE

For every commutative ring RRR, natural numbers r,n,ir,n,ir,n,i, and data PPP consisting of r>0r>0r>0, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​, a function ω:Z→R\omega:\mathbb Z\to Rω:Z→R, and identities δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1), this defines an element of a quotient algebra BBB constructed as follows. Put I={k∈N:1≤k<n}I=\{k\in\mathbb N:1\le k<n\}I={k∈N:1≤k<n}, J={j∈N:1≤j≤n}J=\{j\in\mathbb N:1\le j\le n\}J={j∈N:1≤j≤n}, and H={k∈N:1≤k, k+1<n}H=\{k\in\mathbb N:1\le k,\ k+1<n\}H={k∈N:1≤k, k+1<n}. Take the free associative unital RRR-algebra on generators τk,εk\tau_k,\varepsilon_kτk​,εk​ for k∈Ik\in Ik∈I and distinct xj+,xj−x_j^+,x_j^-xj+​,xj−​ for j∈Jj\in Jj∈J, and quotient by the smallest ring congruence imposing, with scalars mapped canonically from RRR,

xj+xj−=1,xj−xj+=1(j∈J),τk2−δτk+δρεk=1(k∈I),τkτl=τlτk(k,l∈I, k+1<l or l+1<k),τkτk+1τk=τk+1τkτk+1(k∈H),τkxj+=xj+τk(k∈I, j∈J, j≠k, j≠k+1),εk2=ω(0)εk(k∈I),xj+xl+=xl+xj+(j,l∈J),τkxk+−xk+1+τk=δxk+1+(εk−1)(k∈I),xk+τk−τkxk+1+=δ(εk−1)xk+1+(k∈I),ε1zaε1=ω(a)ε1(a∈Z, n≥2),εkτk=τkεk=ρεk(k∈I),εk+1εk=εk+1τkτk+1=τkτk+1εk(k∈H),εk+1εkεk+1=εk+1,εkεk+1εk=εk(k∈H),εkxk+xk+1+=εk,xk+xk+1+εk=εk(k∈I),∏j=0r−1(x1+−uj)=0(n≥1).\begin{aligned} x_j^+x_j^-&=1,\qquad x_j^-x_j^+=1 && (j\in J),\\ \tau_k^2-\delta\tau_k+\delta\rho\varepsilon_k&=1 && (k\in I),\\ \tau_k\tau_l&=\tau_l\tau_k && (k,l\in I,\ k+1<l\ \text{or}\ l+1<k),\\ \tau_k\tau_{k+1}\tau_k&=\tau_{k+1}\tau_k\tau_{k+1} && (k\in H),\\ \tau_kx_j^+&=x_j^+\tau_k && (k\in I,\ j\in J,\ j\ne k,\ j\ne k+1),\\ \varepsilon_k^2&=\omega(0)\varepsilon_k && (k\in I),\\ x_j^+x_l^+&=x_l^+x_j^+ && (j,l\in J),\\ \tau_kx_k^+-x_{k+1}^+\tau_k&=\delta x_{k+1}^+(\varepsilon_k-1) && (k\in I),\\ x_k^+\tau_k-\tau_kx_{k+1}^+&=\delta(\varepsilon_k-1)x_{k+1}^+ && (k\in I),\\ \varepsilon_1z_a\varepsilon_1&=\omega(a)\varepsilon_1 && (a\in\mathbb Z,\ n\ge2),\\ \varepsilon_k\tau_k&=\tau_k\varepsilon_k=\rho\varepsilon_k && (k\in I),\\ \varepsilon_{k+1}\varepsilon_k &=\varepsilon_{k+1}\tau_k\tau_{k+1} =\tau_k\tau_{k+1}\varepsilon_k && (k\in H),\\ \varepsilon_{k+1}\varepsilon_k\varepsilon_{k+1}&=\varepsilon_{k+1}, \qquad\varepsilon_k\varepsilon_{k+1}\varepsilon_k=\varepsilon_k && (k\in H),\\ \varepsilon_kx_k^+x_{k+1}^+&=\varepsilon_k, \qquad x_k^+x_{k+1}^+\varepsilon_k=\varepsilon_k && (k\in I),\\ \prod_{j=0}^{r-1}(x_1^+-u_j)&=0 && (n\ge1). \end{aligned}xj+​xj−​τk2​−δτk​+δρεk​τk​τl​τk​τk+1​τk​τk​xj+​εk2​xj+​xl+​τk​xk+​−xk+1+​τk​xk+​τk​−τk​xk+1+​ε1​za​ε1​εk​τk​εk+1​εk​εk+1​εk​εk+1​εk​xk+​xk+1+​j=0∏r−1​(x1+​−uj​)​=1,xj−​xj+​=1=1=τl​τk​=τk+1​τk​τk+1​=xj+​τk​=ω(0)εk​=xl+​xj+​=δxk+1+​(εk​−1)=δ(εk​−1)xk+1+​=ω(a)ε1​=τk​εk​=ρεk​=εk+1​τk​τk+1​=τk​τk+1​εk​=εk+1​,εk​εk+1​εk​=εk​=εk​,xk+​xk+1+​εk​=εk​=0​​(j∈J),(k∈I),(k,l∈I, k+1<l or l+1<k),(k∈H),(k∈I, j∈J, j=k, j=k+1),(k∈I),(j,l∈J),(k∈I),(k∈I),(a∈Z, n≥2),(k∈I),(k∈H),(k∈H),(k∈I),(n≥1).​

Here za=(x1+)az_a=(x_1^+)^aza​=(x1+​)a for a≥0a\ge0a≥0 and za=(x1−)−az_a=(x_1^-)^{-a}za​=(x1−​)−a for a<0a<0a<0, with nonnegative exponents, and the product is ordered by increasing jjj. The defined element is the class of εi\varepsilon_iεi​, whose underlying letter has index i−1i-1i−1, when 1≤i<n1\le i<n1≤i<n, and is 0∈B0\in B0∈B otherwise. Thus its value 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.

QAlgorithms.Papers.Independent.Intakenext100.P51.ruiXuFreeE

For every commutative ring RRR and natural numbers n,in,in,i, let FFF be the free associative unital RRR-algebra on the formal letters tk,ekt_k,e_ktk​,ek​ for 0≤k<n−10\le k<n-10≤k<n−1, together with xk,bx_{k,b}xk,b​ for 0≤k<n0\le k<n0≤k<n and Boolean bbb, with natural-number subtraction used in n−1n-1n−1. This definition returns

{ιR(ei−1),1≤i<n,0,otherwise,\begin{cases} \iota_R(e_{i-1}),&1\le i<n,\\ 0,&\text{otherwise}, \end{cases}{ιR​(ei−1​),0,​1≤i<n,otherwise,​

where ιR\iota_RιR​ is the canonical insertion of a letter into FFF. In particular, the value is zero when i=0i=0i=0, when 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 used to select a letter only in the valid-index case.

QAlgorithms.Papers.Independent.Intakenext100.P51.ruiXuFreeG

For every commutative ring RRR and natural numbers n,in,in,i, consider the free associative RRR-algebra on distinct letters gkg_kgk​ for 0≤k<n−10\le k<n-10≤k<n−1 and yky_kyk​ for 0≤k<n0\le k<n0≤k<n, where n−1n-1n−1 is truncated at 000. This definition gives the free generator corresponding to gi−1g_{i-1}gi−1​ when 1≤i<n1\le i<n1≤i<n, and gives the zero element of the free algebra otherwise. In particular, it gives zero for i=0i=0i=0, for i≥ni\ge ni≥n, and for every iii when n≤1n\le1n≤1.

QAlgorithms.Papers.Independent.Intakenext100.P51.ruiXuFreeT

For every commutative ring RRR and natural numbers n,in,in,i, let FFF be the free associative unital RRR-algebra on the formal letters tk,ekt_k,e_ktk​,ek​ for 0≤k<n−10\le k<n-10≤k<n−1, together with xk,bx_{k,b}xk,b​ for 0≤k<n0\le k<n0≤k<n and Boolean bbb, with natural-number subtraction used in n−1n-1n−1. This definition returns

{ιR(ti−1),1≤i<n,0,otherwise,\begin{cases} \iota_R(t_{i-1}),&1\le i<n,\\ 0,&\text{otherwise}, \end{cases}{ιR​(ti−1​),0,​1≤i<n,otherwise,​

where ιR\iota_RιR​ is the canonical insertion of a letter into FFF. In particular, the value is zero when i=0i=0i=0, when 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 used to select a letter only in the valid-index case.

QAlgorithms.Papers.Independent.Intakenext100.P51.ruiXuFreeX

For every commutative ring RRR, natural numbers n,jn,jn,j, and Boolean bbb, let FFF be the free associative unital RRR-algebra on formal letters tk,ekt_k,e_ktk​,ek​ for 0≤k<n−10\le k<n-10≤k<n−1 and xk,cx_{k,c}xk,c​ for 0≤k<n0\le k<n0≤k<n and Boolean ccc, where natural-number subtraction is used in n−1n-1n−1. This definition returns

{ιR(xj−1,b),1≤j≤n,0,otherwise.\begin{cases} \iota_R(x_{j-1,b}),&1\le j\le n,\\ 0,&\text{otherwise}. \end{cases}{ιR​(xj−1,b​),0,​1≤j≤n,otherwise.​

Here ιR\iota_RιR​ is the canonical insertion of a letter into FFF. The value is zero for j=0j=0j=0 or j>nj>nj>n, and for every j,bj,bj,b when n=0n=0n=0. The Boolean argument, although named “inverse,” only selects a formal letter; this definition imposes no inverse identity.

QAlgorithms.Papers.Independent.Intakenext100.P51.ruiXuFreeY

For every commutative ring RRR and natural numbers n,jn,jn,j, consider the free associative RRR-algebra on distinct letters gkg_kgk​ for 0≤k<n−10\le k<n-10≤k<n−1 and yky_kyk​ for 0≤k<n0\le k<n0≤k<n, where n−1n-1n−1 is truncated at 000. This definition gives the free generator corresponding to yj−1y_{j-1}yj−1​ when 1≤j≤n1\le j\le n1≤j≤n, and gives zero otherwise. In particular, it gives zero for j=0j=0j=0, for j>nj>nj>n, and for every jjj when n=0n=0n=0.

QAlgorithms.Papers.Independent.Intakenext100.P51.ruiXuSpectralWeight

Let RRR be a commutative ring, r∈Nr\in\mathbb Nr∈N, and PPP consist of r>0r>0r>0 and units q,δ,ρ,u0,…,ur−1∈R×q,\delta,\rho,u_0,\ldots,u_{r-1}\in R^\timesq,δ,ρ,u0​,…,ur−1​∈R× satisfying δ=q−q−1\delta=q-q^{-1}δ=q−q−1. Let KKK be a field equipped with an RRR-algebra structure, write ϕ:R→K\phi:R\to Kϕ:R→K for its structure map, put vj=ϕ(uj)v_j=\phi(u_j)vj​=ϕ(uj​) and DK=ϕ(δ−1ρ)D_K=\phi(\delta^{-1}\rho)DK​=ϕ(δ−1ρ), and choose any index iii with 0≤i<r0\le i<r0≤i<r. This definition gives the element of KKK

({1,r odd,−vi,r even+DK(vi2−1)∏0≤j<rj≠ivj)∏0≤j<rj≠ivivj−1vi−vj.\left( \begin{cases} 1,&r\text{ odd},\\ -v_i,&r\text{ even} \end{cases} + D_K(v_i^2-1)\prod_{\substack{0\le j<r\\j\ne i}}v_j \right) \prod_{\substack{0\le j<r\\j\ne i}} \frac{v_iv_j-1}{v_i-v_j}.​{1,−vi​,​r odd,r even​+DK​(vi2​−1)0≤j<rj=i​∏​vj​​0≤j<rj=i​∏​vi​−vj​vi​vj​−1​.

Both products exclude exactly the index iii, and an empty product is 111, as occurs when r=1r=1r=1. No distinctness of the vjv_jvj​ or injectivity of ϕ\phiϕ is assumed. Division is the field’s total division operation, so a factor with vi=vjv_i=v_jvi​=vj​ has value 000, including when its numerator is also 000.

QAlgorithms.Papers.Independent.Intakenext100.P51.ruiXuX

Let RRR be a commutative ring, let r,n∈Nr,n\in\mathbb Nr,n∈N, and let PPP consist of r>0r>0r>0, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​ of RRR, and a function ω:Z→R\omega:\mathbb Z\to Rω:Z→R, satisfying

δ=q−q−1,ω(0)=1−δ−1(ρ−ρ−1).\delta=q-q^{-1}, \qquad \omega(0)=1-\delta^{-1}(\rho-\rho^{-1}).δ=q−q−1,ω(0)=1−δ−1(ρ−ρ−1).

Write AAA for the quotient of the free associative RRR-algebra on ti,eit_i,e_iti​,ei​, 1≤i<n1\le i<n1≤i<n, and xj,xj−1x_j,x_j^{-1}xj​,xj−1​, 1≤j≤n1\le j\le n1≤j≤n, by the following relations; coefficients from RRR mean their canonical scalar images in AAA:

xjxj−1=xj−1xj=1,ti2−δti+δρei=1,ei2=ω(0)ei,titj=tjti(i+1<j or j+1<i),titi+1ti=ti+1titi+1,tixj=xjti(j≠i,i+1),xjxℓ=xℓxj,tixi−xi+1ti=δxi+1(ei−1),xiti−tixi+1=δ(ei−1)xi+1,e1x1be1=ω(b)e1(b∈Z, n≥2),eiti=tiei=ρei,ei+1ei=ei+1titi+1=titi+1ei,ei+1eiei+1=ei+1,eiei+1ei=ei,eixixi+1=ei=xixi+1ei,∏ℓ=0r−1(x1−uℓ)=0(n≥1).\begin{gathered} x_jx_j^{-1}=x_j^{-1}x_j=1,\qquad t_i^2-\delta t_i+\delta\rho e_i=1,\qquad e_i^2=\omega(0)e_i,\\ t_it_j=t_jt_i\quad(i+1<j\text{ or }j+1<i),\qquad t_it_{i+1}t_i=t_{i+1}t_it_{i+1},\\ t_ix_j=x_jt_i\quad(j\ne i,i+1),\qquad x_jx_\ell=x_\ell x_j,\\ t_ix_i-x_{i+1}t_i=\delta x_{i+1}(e_i-1),\qquad x_it_i-t_ix_{i+1}=\delta(e_i-1)x_{i+1},\\ e_1x_1^b e_1=\omega(b)e_1\quad(b\in\mathbb Z,\ n\ge2),\qquad e_it_i=t_ie_i=\rho e_i,\\ e_{i+1}e_i=e_{i+1}t_it_{i+1}=t_it_{i+1}e_i,\\ e_{i+1}e_ie_{i+1}=e_{i+1},\qquad e_ie_{i+1}e_i=e_i,\\ e_ix_ix_{i+1}=e_i=x_ix_{i+1}e_i,\qquad \prod_{\ell=0}^{r-1}(x_1-u_\ell)=0\quad(n\ge1). \end{gathered}xj​xj−1​=xj−1​xj​=1,ti2​−δti​+δρei​=1,ei2​=ω(0)ei​,ti​tj​=tj​ti​(i+1<j or j+1<i),ti​ti+1​ti​=ti+1​ti​ti+1​,ti​xj​=xj​ti​(j=i,i+1),xj​xℓ​=xℓ​xj​,ti​xi​−xi+1​ti​=δxi+1​(ei​−1),xi​ti​−ti​xi+1​=δ(ei​−1)xi+1​,e1​x1b​e1​=ω(b)e1​(b∈Z, n≥2),ei​ti​=ti​ei​=ρei​,ei+1​ei​=ei+1​ti​ti+1​=ti​ti+1​ei​,ei+1​ei​ei+1​=ei+1​,ei​ei+1​ei​=ei​,ei​xi​xi+1​=ei​=xi​xi+1​ei​,ℓ=0∏r−1​(x1​−uℓ​)=0(n≥1).​

Here every indexed relation is restricted to the displayed generators, relations involving both iii and i+1i+1i+1 among the ttt's or eee's require 1≤i1\le i1≤i and i+1<ni+1<ni+1<n, and negative powers use the inverse generators. For every natural number jjj and Boolean choice inverse\mathrm{inverse}inverse, this definition returns the quotient class of xjx_jxj​ when 1≤j≤n1\le j\le n1≤j≤n and inverse\mathrm{inverse}inverse is false, and the quotient class of its inverse generator when 1≤j≤n1\le j\le n1≤j≤n and inverse\mathrm{inverse}inverse is true; it returns 000 when j=0j=0j=0 or j>nj>nj>n. The Boolean argument defaults to false. The case n=0n=0n=0 is included: there are no generators or imposed relations, the algebra is canonically RRR, and every value of this definition is zero.

QAlgorithms.Papers.Independent.Intakenext100.P51.shiftedMomentBase

Let RRR be a commutative ring and let PPP specify r>0r>0r>0, units q,δ,ρ,uh∈R×q,\delta,\rho,u_h\in R^\timesq,δ,ρ,uh​∈R× for 0≤h<r0\le h<r0≤h<r, and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, with δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω0=1−δ−1(ρ−ρ−1)\omega_0=1-\delta^{-1}(\rho-\rho^{-1})ω0​=1−δ−1(ρ−ρ−1). Let AnA_nAn​ be the quotient of the free associative RRR-algebra on ti,eit_i,e_iti​,ei​ (1≤i<n1\le i<n1≤i<n) and xj,xj−x_j,x_j^-xj​,xj−​ (1≤j≤n1\le j\le n1≤j≤n), subject to

xjxj−=xj−xj=1,xjxℓ=xℓxj,ti2−δti+δρei=1,ei2=ω0ei,titℓ=tℓti (∣i−ℓ∣>1),titi+1ti=ti+1titi+1,tixj=xjti (j≠i,i+1),tixi−xi+1ti=δxi+1(ei−1),xiti−tixi+1=δ(ei−1)xi+1,eiti=tiei=ρei,ei+1ei=ei+1titi+1=titi+1ei,ei+1eiei+1=ei+1,eiei+1ei=ei,eixixi+1=xixi+1ei=ei,e1x1[b]e1=ωbe1 (b∈Z, n≥2),∏h=0r−1(x1−uh)=0 (n≥1).\begin{gathered} x_jx_j^-=x_j^-x_j=1,\quad x_jx_\ell=x_\ell x_j,\quad t_i^2-\delta t_i+\delta\rho e_i=1,\quad e_i^2=\omega_0e_i,\\ t_it_\ell=t_\ell t_i\ (|i-\ell|>1),\quad t_it_{i+1}t_i=t_{i+1}t_it_{i+1},\quad t_ix_j=x_jt_i\ (j\ne i,i+1),\\ t_ix_i-x_{i+1}t_i=\delta x_{i+1}(e_i-1),\quad x_it_i-t_ix_{i+1}=\delta(e_i-1)x_{i+1},\quad e_it_i=t_ie_i=\rho e_i,\\ e_{i+1}e_i=e_{i+1}t_it_{i+1}=t_it_{i+1}e_i,\quad e_{i+1}e_ie_{i+1}=e_{i+1},\quad e_ie_{i+1}e_i=e_i,\quad e_ix_ix_{i+1}=x_ix_{i+1}e_i=e_i,\\ e_1x_1^{[b]}e_1=\omega_b e_1\ (b\in\mathbb Z,\ n\ge2),\qquad \prod_{h=0}^{r-1}(x_1-u_h)=0\ (n\ge1). \end{gathered}xj​xj−​=xj−​xj​=1,xj​xℓ​=xℓ​xj​,ti2​−δti​+δρei​=1,ei2​=ω0​ei​,ti​tℓ​=tℓ​ti​ (∣i−ℓ∣>1),ti​ti+1​ti​=ti+1​ti​ti+1​,ti​xj​=xj​ti​ (j=i,i+1),ti​xi​−xi+1​ti​=δxi+1​(ei​−1),xi​ti​−ti​xi+1​=δ(ei​−1)xi+1​,ei​ti​=ti​ei​=ρei​,ei+1​ei​=ei+1​ti​ti+1​=ti​ti+1​ei​,ei+1​ei​ei+1​=ei+1​,ei​ei+1​ei​=ei​,ei​xi​xi+1​=xi​xi+1​ei​=ei​,e1​x1[b]​e1​=ωb​e1​ (b∈Z, n≥2),h=0∏r−1​(x1​−uh​)=0 (n≥1).​

Indexed equations apply only when their generators are in range, x1[b]=x1bx_1^{[b]}=x_1^bx1[b]​=x1b​ for b≥0b\ge0b≥0 and (x1−)−b(x_1^-)^{-b}(x1−​)−b otherwise, and scalar coefficients use the canonical map ιn:R→An\iota_n:R\to A_nιn​:R→An​. For every n∈Nn\in\mathbb Nn∈N, including zero, the declaration defines

Bn(z)=∑a≥0ιn(ωa)za+ιn(δ−1ρ)−∑b≥01Anz2b.B_n(z)= \sum_{a\ge0}\iota_n(\omega_a)z^a +\iota_n(\delta^{-1}\rho) -\sum_{b\ge0}1_{A_n}z^{2b}.Bn​(z)=a≥0∑​ιn​(ωa​)za+ιn​(δ−1ρ)−b≥0∑​1An​​z2b.

Thus its coefficient of zaz^aza is ιn(ωa)−1An\iota_n(\omega_a)-1_{A_n}ιn​(ωa​)−1An​​ when a>0a>0a>0 is even, ιn(ωa)\iota_n(\omega_a)ιn​(ωa​) when aaa is odd, and ιn(ω0+δ−1ρ)−1An\iota_n(\omega_0+\delta^{-1}\rho)-1_{A_n}ιn​(ω0​+δ−1ρ)−1An​​ when a=0a=0a=0; the added scalar series contributes only to the constant coefficient.

QAlgorithms.Papers.Independent.Intakenext100.P51.shiftedMomentProduct

Let RRR be a commutative ring, and let PPP consist of r>0r>0r>0, units q,δ,ρ,uh∈R×q,\delta,\rho,u_h\in R^\timesq,δ,ρ,uh​∈R× for h<rh<rh<r, and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, satisfying δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω0=1−δ−1(ρ−ρ−1)\omega_0=1-\delta^{-1}(\rho-\rho^{-1})ω0​=1−δ−1(ρ−ρ−1). Let AnA_nAn​ be the free associative RRR-algebra on ti,eit_i,e_iti​,ei​ (1≤i<n1\le i<n1≤i<n) and xs,xs−x_s,x_s^-xs​,xs−​ (1≤s≤n1\le s\le n1≤s≤n), quotiented by

xsxs−=xs−xs=1,xsxℓ=xℓxs,ti2−δti+δρei=1,ei2=ω0ei,titℓ=tℓti (∣i−ℓ∣>1),titi+1ti=ti+1titi+1,tixs=xsti (s≠i,i+1),tixi−xi+1ti=δxi+1(ei−1),xiti−tixi+1=δ(ei−1)xi+1,eiti=tiei=ρei,ei+1ei=ei+1titi+1=titi+1ei,ei+1eiei+1=ei+1,eiei+1ei=ei,eixixi+1=xixi+1ei=ei,e1x1[b]e1=ωbe1 (b∈Z, n≥2),∏h=0r−1(x1−uh)=0 (n≥1).\begin{gathered} x_sx_s^-=x_s^-x_s=1,\quad x_sx_\ell=x_\ell x_s,\quad t_i^2-\delta t_i+\delta\rho e_i=1,\quad e_i^2=\omega_0e_i,\\ t_it_\ell=t_\ell t_i\ (|i-\ell|>1),\quad t_it_{i+1}t_i=t_{i+1}t_it_{i+1},\quad t_ix_s=x_st_i\ (s\ne i,i+1),\\ t_ix_i-x_{i+1}t_i=\delta x_{i+1}(e_i-1),\quad x_it_i-t_ix_{i+1}=\delta(e_i-1)x_{i+1},\quad e_it_i=t_ie_i=\rho e_i,\\ e_{i+1}e_i=e_{i+1}t_it_{i+1}=t_it_{i+1}e_i,\quad e_{i+1}e_ie_{i+1}=e_{i+1},\quad e_ie_{i+1}e_i=e_i,\quad e_ix_ix_{i+1}=x_ix_{i+1}e_i=e_i,\\ e_1x_1^{[b]}e_1=\omega_b e_1\ (b\in\mathbb Z,\ n\ge2),\qquad \prod_{h=0}^{r-1}(x_1-u_h)=0\ (n\ge1). \end{gathered}xs​xs−​=xs−​xs​=1,xs​xℓ​=xℓ​xs​,ti2​−δti​+δρei​=1,ei2​=ω0​ei​,ti​tℓ​=tℓ​ti​ (∣i−ℓ∣>1),ti​ti+1​ti​=ti+1​ti​ti+1​,ti​xs​=xs​ti​ (s=i,i+1),ti​xi​−xi+1​ti​=δxi+1​(ei​−1),xi​ti​−ti​xi+1​=δ(ei​−1)xi+1​,ei​ti​=ti​ei​=ρei​,ei+1​ei​=ei+1​ti​ti+1​=ti​ti+1​ei​,ei+1​ei​ei+1​=ei+1​,ei​ei+1​ei​=ei​,ei​xi​xi+1​=xi​xi+1​ei​=ei​,e1​x1[b]​e1​=ωb​e1​ (b∈Z, n≥2),h=0∏r−1​(x1​−uh​)=0 (n≥1).​

Here relations require valid generator indices, scalars are canonically mapped into AnA_nAn​, and xs[b]x_s^{[b]}xs[b]​ uses xsx_sxs​ for nonnegative powers and xs−x_s^-xs−​ for negative powers. Set out-of-range generators to zero and, in An[[z]]A_n[[z]]An​[[z]], put

L(v)=1−vz,V(v)=∑b≥0vbzb,Bn=∑a≥0ιn(ωa)za+ιn(δ−1ρ)−∑b≥0z2b,τn,s=L(xs)2V(xs−)2L(q−2xs−)V(q−2xs)L(q2xs−)V(q2xs).\begin{gathered} L(v)=1-vz,\qquad V(v)=\sum_{b\ge0}v^bz^b,\qquad B_n=\sum_{a\ge0}\iota_n(\omega_a)z^a+\iota_n(\delta^{-1}\rho)-\sum_{b\ge0}z^{2b},\\ \tau_{n,s}=L(x_s)^2V(x_s^-)^2 L(q^{-2}x_s^-)V(q^{-2}x_s) L(q^2x_s^-)V(q^2x_s). \end{gathered}L(v)=1−vz,V(v)=b≥0∑​vbzb,Bn​=a≥0∑​ιn​(ωa​)za+ιn​(δ−1ρ)−b≥0∑​z2b,τn,s​=L(xs​)2V(xs−​)2L(q−2xs−​)V(q−2xs​)L(q2xs−​)V(q2xs​).​

For arbitrary n,j∈Nn,j\in\mathbb Nn,j∈N, the declaration defines

Hn,j=Bn τn,1τn,2⋯τn,j,H_{n,j}=B_n\,\tau_{n,1}\tau_{n,2}\cdots\tau_{n,j},Hn,j​=Bn​τn,1​τn,2​⋯τn,j​,

with the factors in increasing index order. For j=0j=0j=0 the product is empty and equals 111, so Hn,0=BnH_{n,0}=B_nHn,0​=Bn​. No condition j≤nj\le nj≤n is imposed; every factor with index greater than nnn equals 111.

QAlgorithms.Papers.Independent.Intakenext100.P51.signedPower

For any monoid AAA, elements x,ξ∈Ax,\xi\in Ax,ξ∈A, and integer aaa, this defines

signedPower⁡(x,ξ,a)={xa,a≥0,ξ−a,a<0,\operatorname{signedPower}(x,\xi,a)= \begin{cases} x^a,&a\ge0,\\ \xi^{-a},&a<0, \end{cases}signedPower(x,ξ,a)={xa,ξ−a,​a≥0,a<0,​

where the exponents in both branches are nonnegative integers and denote ordinary monoid powers. In particular, the value at a=0a=0a=0 is 1A1_A1A​. There is no assumption that ξ\xiξ is an inverse of xxx, or that either element is invertible.

QAlgorithms.Papers.Independent.Intakenext100.P51.signedT

Let RRR be a commutative ring, and let PPP consist of r>0r>0r>0, units q,δ,ρ,uh∈R×q,\delta,\rho,u_h\in R^\timesq,δ,ρ,uh​∈R× for h<rh<rh<r, and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, satisfying δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω0=1−δ−1(ρ−ρ−1)\omega_0=1-\delta^{-1}(\rho-\rho^{-1})ω0​=1−δ−1(ρ−ρ−1). Let AnA_nAn​ be the free associative RRR-algebra on ti,eit_i,e_iti​,ei​ (1≤i<n1\le i<n1≤i<n) and xj,xj−x_j,x_j^-xj​,xj−​ (1≤j≤n1\le j\le n1≤j≤n), quotiented by

xjxj−=xj−xj=1,xjxℓ=xℓxj,ti2−δti+δρei=1,ei2=ω0ei,titℓ=tℓti (∣i−ℓ∣>1),titi+1ti=ti+1titi+1,tixj=xjti (j≠i,i+1),tixi−xi+1ti=δxi+1(ei−1),xiti−tixi+1=δ(ei−1)xi+1,eiti=tiei=ρei,ei+1ei=ei+1titi+1=titi+1ei,ei+1eiei+1=ei+1,eiei+1ei=ei,eixixi+1=xixi+1ei=ei,e1x1[b]e1=ωbe1 (b∈Z, n≥2),∏h=0r−1(x1−uh)=0 (n≥1).\begin{gathered} x_jx_j^-=x_j^-x_j=1,\quad x_jx_\ell=x_\ell x_j,\quad t_i^2-\delta t_i+\delta\rho e_i=1,\quad e_i^2=\omega_0e_i,\\ t_it_\ell=t_\ell t_i\ (|i-\ell|>1),\quad t_it_{i+1}t_i=t_{i+1}t_it_{i+1},\quad t_ix_j=x_jt_i\ (j\ne i,i+1),\\ t_ix_i-x_{i+1}t_i=\delta x_{i+1}(e_i-1),\quad x_it_i-t_ix_{i+1}=\delta(e_i-1)x_{i+1},\quad e_it_i=t_ie_i=\rho e_i,\\ e_{i+1}e_i=e_{i+1}t_it_{i+1}=t_it_{i+1}e_i,\quad e_{i+1}e_ie_{i+1}=e_{i+1},\quad e_ie_{i+1}e_i=e_i,\quad e_ix_ix_{i+1}=x_ix_{i+1}e_i=e_i,\\ e_1x_1^{[b]}e_1=\omega_b e_1\ (b\in\mathbb Z,\ n\ge2),\qquad \prod_{h=0}^{r-1}(x_1-u_h)=0\ (n\ge1). \end{gathered}xj​xj−​=xj−​xj​=1,xj​xℓ​=xℓ​xj​,ti2​−δti​+δρei​=1,ei2​=ω0​ei​,ti​tℓ​=tℓ​ti​ (∣i−ℓ∣>1),ti​ti+1​ti​=ti+1​ti​ti+1​,ti​xj​=xj​ti​ (j=i,i+1),ti​xi​−xi+1​ti​=δxi+1​(ei​−1),xi​ti​−ti​xi+1​=δ(ei​−1)xi+1​,ei​ti​=ti​ei​=ρei​,ei+1​ei​=ei+1​ti​ti+1​=ti​ti+1​ei​,ei+1​ei​ei+1​=ei+1​,ei​ei+1​ei​=ei​,ei​xi​xi+1​=xi​xi+1​ei​=ei​,e1​x1[b]​e1​=ωb​e1​ (b∈Z, n≥2),h=0∏r−1​(x1​−uh​)=0 (n≥1).​

Indexed relations require all generators to be in range, x1[b]x_1^{[b]}x1[b]​ uses x1bx_1^bx1b​ for b≥0b\ge0b≥0 and (x1−)−b(x_1^-)^{-b}(x1−​)−b otherwise, and scalars are canonically mapped into AnA_nAn​. Extend ti,eit_i,e_iti​,ei​ by zero when i=0i=0i=0 or i≥ni\ge ni≥n. For every n,i∈Nn,i\in\mathbb Nn,i∈N and Boolean value β\betaβ, the declaration defines

Sn,iβ={ti−ιn(δ)+ιn(δ)ei,β=true,ti,β=false.S_{n,i}^{\beta}= \begin{cases} t_i-\iota_n(\delta)+\iota_n(\delta)e_i,&\beta=\mathrm{true},\\ t_i,&\beta=\mathrm{false}. \end{cases}Sn,iβ​={ti​−ιn​(δ)+ιn​(δ)ei​,ti​,​β=true,β=false.​

There is no index-validity hypothesis: outside 1≤i<n1\le i<n1≤i<n, the false branch is zero and the true branch is −ιn(δ)-\iota_n(\delta)−ιn​(δ), including when n=0n=0n=0.

QAlgorithms.Papers.Independent.Intakenext100.P51.sourceTransversal

For all natural numbers n,fn,fn,f, let N=max⁡(n−2f,0)N=\max(n-2f,0)N=max(n−2f,0), and, for a permutation www of {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1}, let Ew(a)=w(a)+1E_w(a)=w(a)+1Ew​(a)=w(a)+1 when a<na<na<n and Ew(a)=0E_w(a)=0Ew​(a)=0 otherwise. The set sourceTransversal⁡(n,f)\operatorname{sourceTransversal}(n,f)sourceTransversal(n,f) consists exactly of the permutations www satisfying all three conditions

Ew(i)<Ew(j)for all natural numbers i<j<N,Ew(N+2k)<Ew(N+2k+1)for every natural number k<f,Ew(N+2k)<Ew(N+2l)for all natural numbers k<l<f.\begin{aligned} &E_w(i)<E_w(j) &&\text{for all natural numbers }i<j<N,\\ &E_w(N+2k)<E_w(N+2k+1) &&\text{for every natural number }k<f,\\ &E_w(N+2k)<E_w(N+2l) &&\text{for all natural numbers }k<l<f. \end{aligned}​Ew​(i)<Ew​(j)Ew​(N+2k)<Ew​(N+2k+1)Ew​(N+2k)<Ew​(N+2l)​​for all natural numbers i<j<N,for every natural number k<f,for all natural numbers k<l<f.​

There is no assumption that 2f≤n2f\le n2f≤n: the subtraction defining NNN is truncated at 000, and positions outside {0,…,n−1}\{0,\ldots,n-1\}{0,…,n−1} still return 000. When f=0f=0f=0, only the first condition remains, and the set consists of the identity permutation, including when n=0n=0n=0; when 2f>n2f>n2f>n, the second condition cannot hold, so the set is empty.

QAlgorithms.Papers.Independent.Intakenext100.P51.spectralMoment

Let RRR be a commutative ring, KKK a field with an RRR-algebra structure, and PPP consist of a positive integer rrr, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​ of RRR, and the equality δ=q−q−1\delta=q-q^{-1}δ=q−q−1. Write ι:R→K\iota:R\to Kι:R→K for the structure map, vi=ι(ui)v_i=\iota(u_i)vi​=ι(ui​), and D=ι(δ−1ρ)D=\iota(\delta^{-1}\rho)D=ι(δ−1ρ). For every integer aaa, the definition is

spectralMoment⁡(P,a)=∑i=0r−1via(γr(vi)+D(vi2−1)∏0≤j<rj≠ivj)∏0≤j<rj≠ivivj−1vi−vj,γr(z)={1,r odd,−z,r even.\operatorname{spectralMoment}(P,a) =\sum_{i=0}^{r-1}v_i^a \left(\gamma_r(v_i)+D(v_i^2-1)\prod_{\substack{0\le j<r\\j\ne i}}v_j\right) \prod_{\substack{0\le j<r\\j\ne i}} \frac{v_iv_j-1}{v_i-v_j}, \qquad \gamma_r(z)= \begin{cases} 1,&r\text{ odd},\\ -z,&r\text{ even}. \end{cases}spectralMoment(P,a)=i=0∑r−1​via​​γr​(vi​)+D(vi2​−1)0≤j<rj=i​∏​vj​​0≤j<rj=i​∏​vi​−vj​vi​vj​−1​,γr​(z)={1,−z,​r odd,r even.​

Integer powers use inverse powers for negative exponents; each viv_ivi​ is nonzero because it is the image of a unit. No distinctness of the viv_ivi​ is required: a fraction with zero denominator has value zero under field division. Products over no indices, including the products excluding iii when r=1r=1r=1, equal 111.

QAlgorithms.Papers.Independent.Intakenext100.P51.toHeckeQuotient

Let RRR be a commutative ring, let r,n∈Nr,n\in\mathbb Nr,n∈N, and let PPP consist of r>0r>0r>0, units q,δ,ρ,u0,…,ur−1∈R×q,\delta,\rho,u_0,\ldots,u_{r-1}\in R^\timesq,δ,ρ,u0​,…,ur−1​∈R×, and a function ω:Z→R\omega:\mathbb Z\to Rω:Z→R, with

δ=q−q−1,ω(0)=1−δ−1(ρ−ρ−1).\delta=q-q^{-1},\qquad \omega(0)=1-\delta^{-1}(\rho-\rho^{-1}).δ=q−q−1,ω(0)=1−δ−1(ρ−ρ−1).

Write BBB for the RRR-algebra presented by generators ti,eit_i,e_iti​,ei​ for 1≤i<n1\le i<n1≤i<n, and xj,xj−1x_j,x_j^{-1}xj​,xj−1​ for 1≤j≤n1\le j\le n1≤j≤n. Its defining relations are

xjxj−1=xj−1xj=1,ti2−δti+δρei=1,ei2=ω(0)ei,xjxk=xkxj,titk=tkti(∣i−k∣>1),titi+1ti=ti+1titi+1,tixj=xjti(j≠i,i+1),tixi−xi+1ti=δxi+1(ei−1),xiti−tixi+1=δ(ei−1)xi+1,eiti=tiei=ρei,ei+1ei=ei+1titi+1=titi+1ei,ei+1eiei+1=ei+1,eiei+1ei=ei,eixixi+1=ei=xixi+1ei,e1x1ae1=ω(a)e1(a∈Z, n≥2),∏α=0r−1(x1−uα)=0(n≥1).\begin{gathered} x_jx_j^{-1}=x_j^{-1}x_j=1,\qquad t_i^2-\delta t_i+\delta\rho e_i=1,\qquad e_i^2=\omega(0)e_i,\qquad x_jx_k=x_kx_j,\\ t_it_k=t_kt_i\quad(|i-k|>1),\qquad t_it_{i+1}t_i=t_{i+1}t_it_{i+1},\qquad t_ix_j=x_jt_i\quad(j\ne i,i+1),\\ t_ix_i-x_{i+1}t_i=\delta x_{i+1}(e_i-1),\qquad x_it_i-t_ix_{i+1}=\delta(e_i-1)x_{i+1},\\ e_it_i=t_ie_i=\rho e_i,\qquad e_{i+1}e_i=e_{i+1}t_it_{i+1}=t_it_{i+1}e_i,\\ e_{i+1}e_ie_{i+1}=e_{i+1},\qquad e_ie_{i+1}e_i=e_i,\qquad e_ix_ix_{i+1}=e_i=x_ix_{i+1}e_i,\\ e_1x_1^a e_1=\omega(a)e_1\quad(a\in\mathbb Z,\ n\ge2),\qquad \prod_{\alpha=0}^{r-1}(x_1-u_\alpha)=0\quad(n\ge1). \end{gathered}xj​xj−1​=xj−1​xj​=1,ti2​−δti​+δρei​=1,ei2​=ω(0)ei​,xj​xk​=xk​xj​,ti​tk​=tk​ti​(∣i−k∣>1),ti​ti+1​ti​=ti+1​ti​ti+1​,ti​xj​=xj​ti​(j=i,i+1),ti​xi​−xi+1​ti​=δxi+1​(ei​−1),xi​ti​−ti​xi+1​=δ(ei​−1)xi+1​,ei​ti​=ti​ei​=ρei​,ei+1​ei​=ei+1​ti​ti+1​=ti​ti+1​ei​,ei+1​ei​ei+1​=ei+1​,ei​ei+1​ei​=ei​,ei​xi​xi+1​=ei​=xi​xi+1​ei​,e1​x1a​e1​=ω(a)e1​(a∈Z, n≥2),α=0∏r−1​(x1​−uα​)=0(n≥1).​

All indexed relations use indices in the generator ranges; relations involving i+1i+1i+1 as a ttt- or eee-index require 1≤i1\le i1≤i and i+1<ni+1<ni+1<n. Generator functions outside their ranges are defined to be zero. Define

I={span⁡R{ae1b:a,b∈B},n≥2,{0},n<2.I= \begin{cases} \operatorname{span}_R\{ae_1b:a,b\in B\},&n\ge2,\\ \{0\},&n<2. \end{cases}I={spanR​{ae1​b:a,b∈B},{0},​n≥2,n<2.​

The declaration defines the canonical RRR-algebra homomorphism B→QB\to QB→Q, where QQQ is the ring quotient obtained by imposing a=ba=ba=b for every a,b∈Ba,b\in Ba,b∈B such that a−b∈Ia-b\in Ia−b∈I. It sends each element to its quotient class. In particular, n=0n=0n=0 and n=1n=1n=1 are included, and in those cases the specified submodule III is zero.

QAlgorithms.Papers.Independent.Intakenext100.P51.transitionDenominator

Let RRR be a commutative ring, let r>0r>0r>0, and let PPP supply units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​ and a function ω:Z→R\omega:\mathbb Z\to Rω:Z→R, satisfying δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). For n∈Nn\in\mathbb Nn∈N, let BnB_nBn​ be the quotient of the free associative unital RRR-algebra on Ti,EiT_i,E_iTi​,Ei​, 1≤i<n1\le i<n1≤i<n, and Xj±X_j^\pmXj±​, 1≤j≤n1\le j\le n1≤j≤n, by the following relations at valid indices:

Xj+Xj−=Xj−Xj+=1,Ti2−δTi+δρEi=1,Ei2=ω(0)Ei,TiTj=TjTi (∣i−j∣>1),TiTi+1Ti=Ti+1TiTi+1,TiXj+=Xj+Ti (j≠i,i+1),Xi+Xj+=Xj+Xi+,TiXi+−Xi+1+Ti=δXi+1+(Ei−1),Xi+Ti−TiXi+1+=δ(Ei−1)Xi+1+,EiTi=TiEi=ρEi,Ei+1Ei=Ei+1TiTi+1=TiTi+1Ei,Ei+1EiEi+1=Ei+1,EiEi+1Ei=Ei,EiXi+Xi+1+=Ei=Xi+Xi+1+Ei.\begin{gathered} X_j^+X_j^-=X_j^-X_j^+=1,\quad T_i^2-\delta T_i+\delta\rho E_i=1,\quad E_i^2=\omega(0)E_i,\\ T_iT_j=T_jT_i\ (|i-j|>1),\quad T_iT_{i+1}T_i=T_{i+1}T_iT_{i+1},\\ T_iX_j^+=X_j^+T_i\ (j\ne i,i+1),\quad X_i^+X_j^+=X_j^+X_i^+,\\ T_iX_i^+-X_{i+1}^+T_i=\delta X_{i+1}^+(E_i-1),\quad X_i^+T_i-T_iX_{i+1}^+=\delta(E_i-1)X_{i+1}^+,\\ E_iT_i=T_iE_i=\rho E_i,\quad E_{i+1}E_i=E_{i+1}T_iT_{i+1}=T_iT_{i+1}E_i,\\ E_{i+1}E_iE_{i+1}=E_{i+1},\quad E_iE_{i+1}E_i=E_i,\quad E_iX_i^+X_{i+1}^+=E_i=X_i^+X_{i+1}^+E_i. \end{gathered}Xj+​Xj−​=Xj−​Xj+​=1,Ti2​−δTi​+δρEi​=1,Ei2​=ω(0)Ei​,Ti​Tj​=Tj​Ti​ (∣i−j∣>1),Ti​Ti+1​Ti​=Ti+1​Ti​Ti+1​,Ti​Xj+​=Xj+​Ti​ (j=i,i+1),Xi+​Xj+​=Xj+​Xi+​,Ti​Xi+​−Xi+1+​Ti​=δXi+1+​(Ei​−1),Xi+​Ti​−Ti​Xi+1+​=δ(Ei​−1)Xi+1+​,Ei​Ti​=Ti​Ei​=ρEi​,Ei+1​Ei​=Ei+1​Ti​Ti+1​=Ti​Ti+1​Ei​,Ei+1​Ei​Ei+1​=Ei+1​,Ei​Ei+1​Ei​=Ei​,Ei​Xi+​Xi+1+​=Ei​=Xi+​Xi+1+​Ei​.​

For n≥2n\ge2n≥2, also impose E1X1[a]E1=ω(a)E1E_1X_1^{[a]}E_1=\omega(a)E_1E1​X1[a]​E1​=ω(a)E1​ for all a∈Za\in\mathbb Za∈Z, where X1[a]=(X1+)aX_1^{[a]}=(X_1^+)^aX1[a]​=(X1+​)a for a≥0a\ge0a≥0 and (X1−)−a(X_1^-)^{-a}(X1−​)−a for a<0a<0a<0; for n≥1n\ge1n≥1, impose ∏j=0r−1(X1+−uj)=0\prod_{j=0}^{r-1}(X_1^+-u_j)=0∏j=0r−1​(X1+​−uj​)=0. Scalars mean their algebra images. Extend Xk±X_k^\pmXk±​ by zero outside 1≤k≤n1\le k\le n1≤k≤n, and write qˉ2,qˉ−2∈Bn\bar q_2,\bar q_{-2}\in B_nqˉ​2​,qˉ​−2​∈Bn​ for the scalar images of q2,(q−1)2q^2,(q^{-1})^2q2,(q−1)2. For every pair n,k∈Nn,k\in\mathbb Nn,k∈N, the declaration defines the formal power series

Dn,k(t)=(1−Xk−t)2(1−qˉ−2Xk+t)(1−qˉ2Xk+t),D_{n,k}(t) = (1-X_k^-t)^2 (1-\bar q_{-2}X_k^+t) (1-\bar q_2X_k^+t),Dn,k​(t)=(1−Xk−​t)2(1−qˉ​−2​Xk+​t)(1−qˉ​2​Xk+​t),

with factors multiplied in the displayed order. Here 1−vt1-vt1−vt is the series with constant coefficient 111, degree-one coefficient −v-v−v, and all higher coefficients zero. The definition permits n=0n=0n=0, k=0k=0k=0, and k>nk>nk>n; whenever kkk is outside 1≤k≤n1\le k\le n1≤k≤n, it gives Dn,k(t)=1D_{n,k}(t)=1Dn,k​(t)=1.

QAlgorithms.Papers.Independent.Intakenext100.P51.transitionNumerator

Let RRR be a commutative ring, let r>0r>0r>0 be a natural number, and let PPP consist of units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​ and ω:Z→R\omega:\mathbb Z\to Rω:Z→R, with δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω(0)=1−δ−1(ρ−ρ−1)\omega(0)=1-\delta^{-1}(\rho-\rho^{-1})ω(0)=1−δ−1(ρ−ρ−1). For each n∈Nn\in\mathbb Nn∈N, let BnB_nBn​ be the associative unital RRR-algebra presented by generators Ti,EiT_i,E_iTi​,Ei​, 1≤i<n1\le i<n1≤i<n, and Xj±X_j^\pmXj±​, 1≤j≤n1\le j\le n1≤j≤n, imposing, at valid indices,

Xj+Xj−=Xj−Xj+=1,Ti2−δTi+δρEi=1,Ei2=ω(0)Ei,TiTj=TjTi (∣i−j∣>1),TiTi+1Ti=Ti+1TiTi+1,TiXj+=Xj+Ti (j≠i,i+1),Xi+Xj+=Xj+Xi+,TiXi+−Xi+1+Ti=δXi+1+(Ei−1),Xi+Ti−TiXi+1+=δ(Ei−1)Xi+1+,EiTi=TiEi=ρEi,Ei+1Ei=Ei+1TiTi+1=TiTi+1Ei,Ei+1EiEi+1=Ei+1,EiEi+1Ei=Ei,EiXi+Xi+1+=Ei=Xi+Xi+1+Ei.\begin{gathered} X_j^+X_j^-=X_j^-X_j^+=1,\quad T_i^2-\delta T_i+\delta\rho E_i=1,\quad E_i^2=\omega(0)E_i,\\ T_iT_j=T_jT_i\ (|i-j|>1),\quad T_iT_{i+1}T_i=T_{i+1}T_iT_{i+1},\\ T_iX_j^+=X_j^+T_i\ (j\ne i,i+1),\quad X_i^+X_j^+=X_j^+X_i^+,\\ T_iX_i^+-X_{i+1}^+T_i=\delta X_{i+1}^+(E_i-1),\quad X_i^+T_i-T_iX_{i+1}^+=\delta(E_i-1)X_{i+1}^+,\\ E_iT_i=T_iE_i=\rho E_i,\quad E_{i+1}E_i=E_{i+1}T_iT_{i+1}=T_iT_{i+1}E_i,\\ E_{i+1}E_iE_{i+1}=E_{i+1},\quad E_iE_{i+1}E_i=E_i,\quad E_iX_i^+X_{i+1}^+=E_i=X_i^+X_{i+1}^+E_i. \end{gathered}Xj+​Xj−​=Xj−​Xj+​=1,Ti2​−δTi​+δρEi​=1,Ei2​=ω(0)Ei​,Ti​Tj​=Tj​Ti​ (∣i−j∣>1),Ti​Ti+1​Ti​=Ti+1​Ti​Ti+1​,Ti​Xj+​=Xj+​Ti​ (j=i,i+1),Xi+​Xj+​=Xj+​Xi+​,Ti​Xi+​−Xi+1+​Ti​=δXi+1+​(Ei​−1),Xi+​Ti​−Ti​Xi+1+​=δ(Ei​−1)Xi+1+​,Ei​Ti​=Ti​Ei​=ρEi​,Ei+1​Ei​=Ei+1​Ti​Ti+1​=Ti​Ti+1​Ei​,Ei+1​Ei​Ei+1​=Ei+1​,Ei​Ei+1​Ei​=Ei​,Ei​Xi+​Xi+1+​=Ei​=Xi+​Xi+1+​Ei​.​

When n≥2n\ge2n≥2, also impose E1X1[a]E1=ω(a)E1E_1X_1^{[a]}E_1=\omega(a)E_1E1​X1[a]​E1​=ω(a)E1​ for every a∈Za\in\mathbb Za∈Z, using (X1+)a(X_1^+)^a(X1+​)a for a≥0a\ge0a≥0 and (X1−)−a(X_1^-)^{-a}(X1−​)−a for a<0a<0a<0; when n≥1n\ge1n≥1, impose ∏j=0r−1(X1+−uj)=0\prod_{j=0}^{r-1}(X_1^+-u_j)=0∏j=0r−1​(X1+​−uj​)=0. Scalars in the presentation denote their algebra images. Set Xk±=0X_k^\pm=0Xk±​=0 when k=0k=0k=0 or k>nk>nk>n, and let qˉ2\bar q_2qˉ​2​ and qˉ−2\bar q_{-2}qˉ​−2​ be the images in BnB_nBn​ of q2q^2q2 and (q−1)2(q^{-1})^2(q−1)2, respectively. For arbitrary natural numbers n,kn,kn,k, the declaration defines the following formal power series over BnB_nBn​, with multiplication in the displayed order:

Nn,k(t)=(1−Xk+t)2(1−qˉ−2Xk−t)(1−qˉ2Xk−t).N_{n,k}(t) = (1-X_k^+t)^2 (1-\bar q_{-2}X_k^-t) (1-\bar q_2X_k^-t).Nn,k​(t)=(1−Xk+​t)2(1−qˉ​−2​Xk−​t)(1−qˉ​2​Xk−​t).

Each factor 1−vt1-vt1−vt means the series with constant coefficient 111, degree-one coefficient −v-v−v, and all higher coefficients zero. No bound on kkk or positivity assumption on nnn is required; if k=0k=0k=0 or k>nk>nk>n, all four linear factors equal 111, so Nn,k(t)=1N_{n,k}(t)=1Nn,k​(t)=1.

QAlgorithms.Papers.Independent.Intakenext100.P51.transitionSeries

Let RRR be a commutative ring and let PPP specify a positive integer rrr, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​ in RRR, and a sequence ω:Z→R\omega:\mathbb Z\to Rω:Z→R, with δ=q−q−1\delta=q-q^{-1}δ=q−q−1 and ω0=1−δ−1(ρ−ρ−1)\omega_0=1-\delta^{-1}(\rho-\rho^{-1})ω0​=1−δ−1(ρ−ρ−1). Write ANA_NAN​ for the quotient of the free associative RRR-algebra on ti,eit_i,e_iti​,ei​ for 1≤i<N1\le i<N1≤i<N and xj,xj−x_j,x_j^{-}xj​,xj−​ for 1≤j≤N1\le j\le N1≤j≤N, with defining relations

xjxj−=xj−xj=1,xjxℓ=xℓxj,ti2−δti+δρei=1,ei2=ω0ei,titℓ=tℓti(∣i−ℓ∣>1),titi+1ti=ti+1titi+1,tixj=xjti(j≠i,i+1),tixi−xi+1ti=δxi+1(ei−1),xiti−tixi+1=δ(ei−1)xi+1,eiti=tiei=ρei,ei+1ei=ei+1titi+1=titi+1ei,ei+1eiei+1=ei+1,eiei+1ei=ei,eixixi+1=xixi+1ei=ei,e1x1[b]e1=ωbe1(b∈Z, N≥2),∏h=0r−1(x1−uh)=0(N≥1).\begin{gathered} x_jx_j^-=x_j^-x_j=1,\qquad x_jx_\ell=x_\ell x_j,\qquad t_i^2-\delta t_i+\delta\rho e_i=1,\qquad e_i^2=\omega_0e_i,\\ t_it_\ell=t_\ell t_i\quad(|i-\ell|>1),\qquad t_it_{i+1}t_i=t_{i+1}t_it_{i+1},\qquad t_ix_j=x_jt_i\quad(j\ne i,i+1),\\ t_ix_i-x_{i+1}t_i=\delta x_{i+1}(e_i-1),\qquad x_it_i-t_ix_{i+1}=\delta(e_i-1)x_{i+1},\qquad e_it_i=t_ie_i=\rho e_i,\\ e_{i+1}e_i=e_{i+1}t_it_{i+1}=t_it_{i+1}e_i,\qquad e_{i+1}e_ie_{i+1}=e_{i+1},\qquad e_ie_{i+1}e_i=e_i,\\ e_ix_ix_{i+1}=x_ix_{i+1}e_i=e_i,\qquad e_1x_1^{[b]}e_1=\omega_b e_1\quad(b\in\mathbb Z,\ N\ge2),\qquad \prod_{h=0}^{r-1}(x_1-u_h)=0\quad(N\ge1). \end{gathered}xj​xj−​=xj−​xj​=1,xj​xℓ​=xℓ​xj​,ti2​−δti​+δρei​=1,ei2​=ω0​ei​,ti​tℓ​=tℓ​ti​(∣i−ℓ∣>1),ti​ti+1​ti​=ti+1​ti​ti+1​,ti​xj​=xj​ti​(j=i,i+1),ti​xi​−xi+1​ti​=δxi+1​(ei​−1),xi​ti​−ti​xi+1​=δ(ei​−1)xi+1​,ei​ti​=ti​ei​=ρei​,ei+1​ei​=ei+1​ti​ti+1​=ti​ti+1​ei​,ei+1​ei​ei+1​=ei+1​,ei​ei+1​ei​=ei​,ei​xi​xi+1​=xi​xi+1​ei​=ei​,e1​x1[b]​e1​=ωb​e1​(b∈Z, N≥2),h=0∏r−1​(x1​−uh​)=0(N≥1).​

Here indexed relations apply when all their displayed generators are in range, scalar coefficients mean their canonical images in ANA_NAN​, and xj[b]=xjbx_j^{[b]}=x_j^bxj[b]​=xjb​ for b≥0b\ge0b≥0 and (xj−)−b(x_j^-)^{-b}(xj−​)−b for b<0b<0b<0. Extend every indexed generator by zero outside its range. For arbitrary n,k∈Nn,k\in\mathbb Nn,k∈N, the declaration defines the following formal power series in a central variable zzz, with coefficients in AnA_nAn​:

τn,k(z)=(1−xkz)2(∑b≥0(xk−)bzb)2(1−q−2xk−z)(∑b≥0(q−2xk)bzb)⋅(1−q2xk−z)(∑b≥0(q2xk)bzb).\begin{aligned} \tau_{n,k}(z)={}&(1-x_kz)^2 \left(\sum_{b\ge0}(x_k^-)^bz^b\right)^2 (1-q^{-2}x_k^-z) \left(\sum_{b\ge0}(q^{-2}x_k)^bz^b\right)\\ &\qquad\cdot(1-q^2x_k^-z) \left(\sum_{b\ge0}(q^2x_k)^bz^b\right). \end{aligned}τn,k​(z)=​(1−xk​z)2(b≥0∑​(xk−​)bzb)2(1−q−2xk−​z)(b≥0∑​(q−2xk​)bzb)⋅(1−q2xk−​z)(b≥0∑​(q2xk​)bzb).​

The factors are multiplied in the displayed order. Both n=0n=0n=0 and out-of-range indices k=0k=0k=0 or k>nk>nk>n are allowed; in those cases xk=xk−=0x_k=x_k^-=0xk​=xk−​=0, so τn,k=1\tau_{n,k}=1τn,k​=1.

QAlgorithms.Papers.Independent.Intakenext100.P51.twoStrandMonomial

Let KKK be the coefficient field and let PPP consist of r>0r>0r>0, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​ of KKK satisfying δ=q−q−1\delta=q-q^{-1}δ=q−q−1, and a function ω:Z→K\omega:\mathbb Z\to Kω:Z→K satisfying ω0=1−δ−1(ρ−ρ−1)\omega_0=1-\delta^{-1}(\rho-\rho^{-1})ω0​=1−δ−1(ρ−ρ−1). Let BBB be the quotient of the free associative unital KKK-algebra on T,E,X1,X1−1,X2,X2−1T,E,X_1,X_1^{-1},X_2,X_2^{-1}T,E,X1​,X1−1​,X2​,X2−1​ by the relations

XjXj−1=Xj−1Xj=1(j=1,2),X1X2=X2X1,T2−δT+δρE=1,E2=ω0E,ET=TE=ρE,TX1−X2T=δX2(E−1),X1T−TX2=δ(E−1)X2,EX1cE=ωcE(c∈Z),EX1X2=E,X1X2E=E,∏j=0r−1(X1−uj)=0.\begin{gathered} X_jX_j^{-1}=X_j^{-1}X_j=1\quad(j=1,2),\qquad X_1X_2=X_2X_1,\\ T^2-\delta T+\delta\rho E=1,\qquad E^2=\omega_0E,\qquad ET=TE=\rho E,\\ TX_1-X_2T=\delta X_2(E-1),\qquad X_1T-TX_2=\delta(E-1)X_2,\\ EX_1^cE=\omega_cE\quad(c\in\mathbb Z),\qquad EX_1X_2=E,\qquad X_1X_2E=E,\qquad \prod_{j=0}^{r-1}(X_1-u_j)=0. \end{gathered}Xj​Xj−1​=Xj−1​Xj​=1(j=1,2),X1​X2​=X2​X1​,T2−δT+δρE=1,E2=ω0​E,ET=TE=ρE,TX1​−X2​T=δX2​(E−1),X1​T−TX2​=δ(E−1)X2​,EX1c​E=ωc​E(c∈Z),EX1​X2​=E,X1​X2​E=E,j=0∏r−1​(X1​−uj​)=0.​

Here negative powers use the specified inverse generator. For an index (h,a,b)∈{0,1,2}×{0,…,r−1}×{0,…,r−1}(h,a,b)\in\{0,1,2\}\times\{0,\ldots,r-1\}\times\{0,\ldots,r-1\}(h,a,b)∈{0,1,2}×{0,…,r−1}×{0,…,r−1}, the definition gives the following element of BBB:

twoStrandMonomial⁡(P,(h,a,b))={X1aX2b,h=0,X1aX2bT,h=1,X1aEX1b,h=2.\operatorname{twoStrandMonomial}(P,(h,a,b))= \begin{cases} X_1^aX_2^b,&h=0,\\ X_1^aX_2^bT,&h=1,\\ X_1^aEX_1^b,&h=2. \end{cases}twoStrandMonomial(P,(h,a,b))=⎩⎨⎧​X1a​X2b​,X1a​X2b​T,X1a​EX1b​,​h=0,h=1,h=2.​

The exponents include zero, whose power is 111.

QAlgorithms.Papers.Independent.Intakenext100.P51.twoTMatrix

Let KKK be the coefficient field and let PPP consist of r>0r>0r>0, units q,δ,ρ,u0,…,ur−1q,\delta,\rho,u_0,\ldots,u_{r-1}q,δ,ρ,u0​,…,ur−1​ of KKK, and δ=q−q−1\delta=q-q^{-1}δ=q−q−1. For a pair of indices l=(i,j)l=(i,j)l=(i,j) satisfying 0≤i<j<r0\le i<j<r0≤i<j<r, write u=uiu=u_iu=ui​ and v=ujv=u_jv=uj​. The definition returns the 2×22\times22×2 matrix, with rows and columns indexed by 0,10,10,1,

vv−u(δq−uq−1v−1q−1−quv−1−δuv−1).\frac{v}{v-u} \begin{pmatrix} \delta & q-uq^{-1}v^{-1}\\ q^{-1}-quv^{-1} & -\delta uv^{-1} \end{pmatrix}.v−uv​(δq−1−quv−1​q−uq−1v−1−δuv−1​).

The scalar multiplies every matrix entry. Although the indices are distinct, no hypothesis requires their parameter values to differ; if u=vu=vu=v, field division gives v/(v−u)=0v/(v-u)=0v/(v−u)=0, so the resulting matrix is zero. Such a label exists only when r≥2r\ge2r≥2.

QAlgorithms.Papers.Independent.Intakenext100.P51.twoXMatrix

Let PPP be unit parameters over KKK: a positive natural number rrr, units q,δ,ρ∈K×q,\delta,\rho\in K^\timesq,δ,ρ∈K×, and units ui∈K×u_i\in K^\timesui​∈K× for 0≤i<r0\le i<r0≤i<r, with δ=q−q−1\delta=q-q^{-1}δ=q−q−1. A label lll is a pair (i,j)(i,j)(i,j) with 0≤i<j<r0\le i<j<r0≤i<j<r. Writing u=uiu=u_iu=ui​ and v=ujv=u_jv=uj​ for their values in KKK, this definition assigns to lll and a Boolean second\mathrm{second}second the 2×22\times22×2 matrix

{(v00u),second=true,(u00v),second=false.\begin{cases} \begin{pmatrix}v&0\\0&u\end{pmatrix},&\mathrm{second}=\mathrm{true},\\[4pt] \begin{pmatrix}u&0\\0&v\end{pmatrix},&\mathrm{second}=\mathrm{false}. \end{cases}⎩⎨⎧​(v0​0u​),(u0​0v​),​second=true,second=false.​

There are no such labels when r=1r=1r=1; r=0r=0r=0 is excluded by the parameter data.

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

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 31, 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