Definitions for The representations of cyclotomic BMW algebras
DefinitionQAlgorithms_Papers_Independent_Intakenext100_P51The 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.
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
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Intakenext100.P51.CentralLaurentWord
Let be a commutative ring, let , and let consist of units and a function , satisfying and . For , let be the quotient of the free associative unital -algebra on , , and , , imposing, whenever the indices are valid,
For , also impose for all integers , where for and for ; for , impose . Scalars mean their algebra images. Given any element of the free associative -algebra on symbols , and , evaluate by the -algebra homomorphism sending to and to . The declaration defines the proposition that this evaluated element commutes with every element of :
The case is included: the source has no generators, , and the proposition holds for every such .
QAlgorithms.Papers.Independent.Intakenext100.P51.EquivalentActions
Let be the coefficient field, a unital ring with a -algebra structure, and additive commutative groups with -module structures. For -algebra homomorphisms and , the predicate says that there exists a -linear isomorphism such that
There is no nontriviality or simplicity assumption on either module.
QAlgorithms.Papers.Independent.Intakenext100.P51.Ground
For a commutative ring and a natural number , this structure consists of a proof that , units , units for every , the identity in , and a function satisfying
All units in this formula are interpreted in . The function is defined at every integer, including negative integers; this structure places no further conditions on its values. There are no such records when .
QAlgorithms.Papers.Independent.Intakenext100.P51.HG
Let be a commutative ring, natural numbers, and consist of , units in , and , with and . Form the quotient of the free associative -algebra on , , and , , by the relations
where scalars use the structural map and the product is in increasing index order. This definition gives the class of the free generator in when , and gives zero otherwise. Thus it is zero at , at every , and at every index when .
QAlgorithms.Papers.Independent.Intakenext100.P51.HY
Let be a commutative ring, natural numbers, and consist of , units in , and , with and . Form the quotient of the free associative -algebra on , , and , , by the relations
where scalars use the structural map and the product is in increasing index order. This definition gives the class of the free generator in when , and gives zero otherwise. Thus it is zero at , at every , and at every index when .
QAlgorithms.Papers.Independent.Intakenext100.P51.HeckeLetter
For every natural number , this defines a type of formal letters consisting of a letter for each and a letter for each , with the two kinds of letters distinct and each kind indexed injectively. The subtraction is natural-number subtraction, so it is when . Thus there are no letters when , and when there is just the letter .
QAlgorithms.Papers.Independent.Intakenext100.P51.IsGenericField
Let be a field equipped with a -algebra structure, and let consist of a positive integer , units of , and . The predicate says that the family consisting of the values and one additional value , with distinct tagged indices, is algebraically independent over , and that the smallest intermediate field of containing all these values is all of . Equivalently, no nonzero polynomial over in these indexed variables vanishes at this family, and .
QAlgorithms.Papers.Independent.Intakenext100.P51.LastWords
Let be a commutative ring, , and consist of , units , and , with and . Let be the associative unital -algebra generated by for and for , with these relations at valid indices:
For , also impose for every integer , interpreting negative powers through ; for , impose . Indexed generators outside their specified ranges are zero. For , the proposition means exactly
Natural-number subtraction is truncated at zero, and there is no lower bound on . Consequently, when , the proposition is or . The alternatives are not required to be distinct or mutually exclusive.
QAlgorithms.Papers.Independent.Intakenext100.P51.LowerInduction
Let be a commutative ring, , , and consist of , units , and , satisfying and . Let be the associative unital -algebra generated by for and for , with these relations at valid indices:
For , also impose for all , using for negative powers; for , impose . All out-of-range indexed generators are zero. Write for and for ; at an out-of-range index this is for and zero otherwise. Let be the -subalgebra generated by for and for . Define for , for , and , and put . Let
The proposition says that for every , if and , then
All natural-number subtractions are truncated at zero. There is no lower bound on . The proposition is vacuously true when , because no integer satisfies ; it is also true when , since then the displayed element is zero and is the zero submodule. For , the condition on forces .
QAlgorithms.Papers.Independent.Intakenext100.P51.OneLabel
For every natural number , this is the set of pairs where and is either false or true. It has elements and is empty when .
QAlgorithms.Papers.Independent.Intakenext100.P51.RepresentativeIndices
For all natural numbers and all functions , the proposition means that
and
Thus the values of strictly decrease as their indices increase; no additional ordering condition on the values of is imposed. All subtraction is natural-number subtraction, truncated at . When , both conditions are vacuous and the proposition holds for the unique pair of functions with empty domain; when , no such pair of functions satisfies it.
QAlgorithms.Papers.Independent.Intakenext100.P51.RhoChoice
Let be a commutative ring and let consist of a natural number , units , and units indexed by , satisfying in . Write , with all units interpreted as elements of . This definition is the proposition
Each “or” is an inclusive disjunction; the definition does not require the alternatives to be distinct.
QAlgorithms.Papers.Independent.Intakenext100.P51.RuiXuAdmissible
Let be a commutative ring, , and comprise , units satisfying , and a function satisfying . Write , viewing all units as elements of . The property defined here is the conjunction
and
The first condition includes every negative, zero, and positive integer shift ; the second excludes , and all arguments of , including , are computed in . No distinctness, domain, or nonzero-ring hypothesis is imposed.
QAlgorithms.Papers.Independent.Intakenext100.P51.RuiXuBMW
Let be a commutative ring, , and comprise , units , a function , and identities and . Define , , and , all with natural-number indices. This abbreviation denotes the quotient of the free associative unital -algebra on for and two distinct formal generators for , by the smallest ring congruence imposing the following identities, with all scalar coefficients interpreted through the canonical map from :
Here for and for , using ordinary nonnegative powers, so ; the product is ordered by increasing . For , the free algebra has no generators and no relations are imposed, so this quotient is canonically isomorphic to . No nontriviality of the quotient is required.
QAlgorithms.Papers.Independent.Intakenext100.P51.RuiXuBMWRelations
Let be a commutative ring, , and let consist of , units , an integer-indexed function , and identities and . Set , , and . In the free associative unital -algebra on distinct letters for and for , write for their canonical images; their total definitions give zero outside these respective index ranges. Scalars below mean their images under the canonical map , and put for integers and for , using nonnegative exponents in each case. This defines a binary relation on consisting exactly of the following ordered pairs, written for :
The last product is taken in increasing order of . The relation itself includes no additional reflexive, symmetric, transitive, or ring-congruence closure. When it has no related pairs; when , only the inverse pairs, the -commutation pairs, and the cyclotomic pair occur. The integer is included in the unwrap pairs, with ; the commutation pairs allow .
QAlgorithms.Papers.Independent.Intakenext100.P51.RuiXuHecke
Let be a commutative ring, a natural number, and consist of , units in , and , satisfying and . This abbreviation denotes the ring quotient of the free associative -algebra on generators , , and , , by the smallest ring congruence imposing exactly the following generating relations, with scalars interpreted through the structural map:
The last product uses increasing index order. When , there are no generators and no generating relations.
QAlgorithms.Papers.Independent.Intakenext100.P51.RuiXuHeckeQuotient
Let be a commutative ring, a natural number, and consist of , units in , and , with and . Let be the quotient of the free associative -algebra on , , and , , by these relations, interpreting scalars through the structural map:
Negative powers in the compression relation use the inverse generator, and the last product is ordered by increasing . Put when , and put when . This abbreviation denotes the ring quotient of by the smallest ring congruence identifying every pair for which . For or , the generating pairs for this further quotient are precisely pairs of already equal elements.
QAlgorithms.Papers.Independent.Intakenext100.P51.RuiXuHeckeRelations
Let be a commutative ring, let be natural numbers, and let supply , units in , and , with and . In the free associative -algebra on letters , , and , , write for the free generator when , and otherwise; write for the free generator when , and otherwise. Scalars below mean their images in this free algebra. This definition is the binary relation consisting of the following ordered pairs:
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 , none of the listed pairs occur.
QAlgorithms.Papers.Independent.Intakenext100.P51.RuiXuLetter
For each natural number , this defines a type of formal letters consisting of three disjoint families: and , each indexed by , and , indexed by and a Boolean . Here is natural-number subtraction, so it is when . 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 there are no letters; for there are exactly the two letters and .
QAlgorithms.Papers.Independent.Intakenext100.P51.RuiXuUAdmissible
Let be a commutative ring, let , and let consist of , units , and a function , satisfying and . All units below are viewed as elements of . Put , , and when is even and otherwise. For any -tuple in , define by . The property defined here is the conjunction of the following conditions: if is odd, then or ; if is even, then or ; and the moments satisfy
and
Here , and a sum with upper endpoint below is empty. Thus the first identity includes , whereas the second imposes no condition at ; repeated roots are allowed, and no assumption that is a domain or nonzero is imposed.
QAlgorithms.Papers.Independent.Intakenext100.P51.RuiXuUnitParameters
For a commutative ring and a natural number , this structure consists of a proof that , three units , an indexed family of units , and the identity
in , where units and their inverses are viewed as elements of . Thus there are no such parameter records when . No assumption that is nontrivial or an integral domain is included.
QAlgorithms.Papers.Independent.Intakenext100.P51.SimpleAction
Let be the coefficient field, a unital ring with a -algebra structure, and an additive commutative group with a -module structure. For a -algebra homomorphism , the predicate says that is nontrivial and that every -submodule satisfying for all and all is either the zero submodule or all of .
QAlgorithms.Papers.Independent.Intakenext100.P51.T
For every commutative ring , natural numbers , and data consisting of , units , a function , and identities and , this defines an element of the following quotient algebra . Put , , and . Start with the free associative unital -algebra on generators for and distinct for , and take its quotient by the smallest ring congruence imposing, with scalars interpreted through the canonical map from ,
Here for and for , with ordinary nonnegative powers, and the product is ordered by increasing . The defined element is the class of , whose underlying letter has index , when , and is otherwise. Consequently it is zero for , for , and for every when or .
QAlgorithms.Papers.Independent.Intakenext100.P51.TInv
Let be a commutative ring, , and comprise , units , and , satisfying and . Let be the quotient of the free associative -algebra on , , and , , by
Coefficients mean canonical scalar images, every index must name an existing generator, and adjacent - or -relations require and . For every , put outside , and write for the image of under . The definition assigns
Thus an invalid index gives ; this also describes every index when or .
QAlgorithms.Papers.Independent.Intakenext100.P51.TwoLabel
For every natural number , this is the set of ordered pairs of indices in satisfying . It is empty for and .
QAlgorithms.Papers.Independent.Intakenext100.P51.ValidPair
For arbitrary natural numbers , the declaration defines the predicate that holds exactly when
In particular, it holds for no pair when or , and it never holds when either index is zero.
QAlgorithms.Papers.Independent.Intakenext100.P51.XPow
Let be a commutative ring, , and comprise , units , and , with and . Let be the quotient of the free associative -algebra on , , and , , imposing
Scalars mean their canonical images; indices range over existing generators, and adjacent - or -relations require and . Extend both and the designated inverse generator by zero outside . For every and , the definition is
where the exponents on the right are nonnegative integer powers. In particular, for every , including invalid indices, while for an invalid index every nonzero exponent gives . This includes , when is canonically .
QAlgorithms.Papers.Independent.Intakenext100.P51.centralMomentSeries
Let be a commutative ring and let supply , units for , and , with and . Let be the quotient of the free associative -algebra on () and () by
All relations use valid generator indices, for and otherwise, and is the scalar map. Set out-of-range generators to zero, and define
For every , the declaration defines the formal power series
where the product is in increasing order. Natural-number subtraction is truncated at zero: both and give an empty product and hence . There is no upper bound on ; factors indexed beyond equal .
QAlgorithms.Papers.Independent.Intakenext100.P51.centralParitySeries
Let be a commutative ring, and let consist of , units for , and , satisfying and . For , let be the quotient of the free associative -algebra on () and () by the equations
All indexed equations require their generators to be in range, scalars are mapped canonically into the quotient, and means for and otherwise. The declaration defines, for every , including , the formal power series
In particular, its constant coefficient is .
QAlgorithms.Papers.Independent.Intakenext100.P51.contractionChain
Let be a commutative ring, , and let specify , units , and , satisfying and . Let be the -algebra generated by () and mutually inverse (), with relations
Relations use valid indices, adjacent relations require , and generators outside their ranges are zero. The declaration defines the ordered product
with factors multiplied from left to right in increasing order of . Thus the indices begin , with subtraction truncated at zero. No hypothesis is imposed. The empty product is , and an index equal to zero contributes the zero element.
QAlgorithms.Papers.Independent.Intakenext100.P51.cyclotomicCoeff
For a commutative ring , a natural number , data consisting of and units satisfying , and any , this definition gives the coefficient of in the polynomial
Thus the definition applies also to and to ; for its value is . The roots may repeat.
QAlgorithms.Papers.Independent.Intakenext100.P51.evenIndicator
For every commutative ring and every , this definition gives the element
In particular, its value at is ; no nontriviality assumption on is imposed.
QAlgorithms.Papers.Independent.Intakenext100.P51.exponentWord
Let be a commutative ring, , and let specify , units , and , satisfying and . Let be the -algebra with generators () and mutually inverse generators (). Writing , its other defining relations are
where the signed powers in the moment relation use for negative exponents. Relations use valid indices, adjacent relations require , and all generator functions are zero outside their ranges. For every integer-valued function , the declaration defines
with factors ordered by increasing . There is no bound on or on . Natural-number subtraction is truncated at zero, the empty product is , and a factor at an invalid index is when its exponent is zero and when its exponent is nonzero.
QAlgorithms.Papers.Independent.Intakenext100.P51.gammaParity
For any ring , any natural number , and any , this definition gives
There is no positivity assumption on ; in particular, . The ring need not be commutative or nonzero.
QAlgorithms.Papers.Independent.Intakenext100.P51.genericGenerators
Let be the coefficient field and let consist of a positive integer , units of , and . The definition gives a -valued family indexed by the disjoint union of and a singleton: the value at the index tagged by is , and the value at the singleton index is . Thus the index set has elements; the definition imposes no distinctness condition on their values.
QAlgorithms.Papers.Independent.Intakenext100.P51.geometric
For every commutative ring and every , this definition gives the formal power series
Its coefficient of degree is , including constant coefficient . There is no assumption that is a unit and no convergence condition.
QAlgorithms.Papers.Independent.Intakenext100.P51.heckeEigenvalue
Let be the coefficient field and let consist of a positive integer , units of , and . For a Boolean value , the definition returns when is true and when is false.
QAlgorithms.Papers.Independent.Intakenext100.P51.heckeMap
Let be a commutative ring, a natural number, and supply , units in , and , with and . Let be the free associative -algebra on , , and , . This definition is the canonical unital -algebra homomorphism from to its ring quotient by the relations
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 ; when , both the generator set and the set of generating identifications are empty.
QAlgorithms.Papers.Independent.Intakenext100.P51.idealLayer
Let be a commutative ring, , and let specify , units , and , satisfying and . Let be the -algebra on () and mutually inverse (), subject to
Relations use valid indices, adjacent relations require , and generator functions outside their ranges are zero. Define
in increasing order of , with . The declaration defines
In particular, , including when , while a layer with is defined to be the zero submodule.
QAlgorithms.Papers.Independent.Intakenext100.P51.intervalPerm
For arbitrary , let be the permutation of exchanging and when , and the identity otherwise. The declaration defines
Products are permutation composition, with the rightmost factor acting first; these are the reversed-list products in the definition. When , the product is empty and equals the identity. There are no bounds requiring or to lie in ; factors with index zero or at least are identities. The subtractions in the defining lists are natural-number subtractions truncated at zero, and the definition also applies when .
QAlgorithms.Papers.Independent.Intakenext100.P51.intervalWord
Let be a commutative ring, let , and let consist of , units , and , satisfying and . Let be the -algebra on () and mutually inverse (), with relations
Relations use valid indices, adjacent relations require , and generator functions outside their ranges are zero. The declaration defines
with factors multiplied from left to right in increasing order of . Equivalently, for the factors are , and for they are . When , the value is . No endpoint restrictions are imposed, so any factor whose index is outside is zero.
QAlgorithms.Papers.Independent.Intakenext100.P51.laurentEval
For every commutative ring , natural number , and parameter datum consisting of units and satisfying and , define , for each , as the quotient of the free associative unital -algebra on , , and , , with relations
These relations use valid generator indices; additionally, when , impose for every , where for and for , and when , impose . Scalars in these relations mean their algebra images. Extend to all natural indices by setting both to zero unless . For any , the declaration defines the unique -algebra homomorphism
whose value on is and whose value on is . The source is a free associative algebra with no inverse relations imposed on its generators. No condition is required: generators with map to zero. If , the source has no generators and the map is the scalar structure map; if , and every source generator maps to zero.
QAlgorithms.Papers.Independent.Intakenext100.P51.laurentImage
Let be a commutative ring, let be a natural number, and let supply units and , with and . For , let be the associative unital -algebra presented by , , and , , with relations, at valid indices,
Also impose for every when , using for and for , and impose when ; scalars mean their algebra images. Set outside . For arbitrary , the declaration defines the -subalgebra of that is the range of the -algebra homomorphism from the free associative algebra on , and , sending to and to . Thus its elements are exactly the finite -linear combinations of finite words in those images, including the empty word . The definition permits , when this is the scalar subalgebra, and , when the extra generators have zero image; gives .
QAlgorithms.Papers.Independent.Intakenext100.P51.linearFactor
For every ring , without a commutativity or nontriviality assumption, and every , the declaration defines the formal power series
where is embedded as a constant series and is the formal power-series variable. Its constant coefficient is , its degree-one coefficient is , and every coefficient of degree at least two is zero.
QAlgorithms.Papers.Independent.Intakenext100.P51.lowerContraction
Let be a commutative ring, , and let specify , units , and , satisfying and . Let be the -algebra with generators for , mutually inverse for , and relations
All relations use valid indices, adjacent relations require , and generator functions outside their ranges are zero. Let be the smallest -subalgebra of containing for , and for . The declaration defines the -submodule
The span consists of finite -linear combinations of the indicated products. There is no restriction ; in particular, if , then and for every .
QAlgorithms.Papers.Independent.Intakenext100.P51.lowerImage
Let be a commutative ring, , and let specify , units , and , satisfying and . Let be the -algebra on () and mutually inverse (), with defining relations
Relations use valid generator indices, and adjacent relations require ; every generator function is extended by zero outside its specified range. The declaration defines
the smallest -subalgebra containing these elements. There is no assumption , so indices beyond the ambient generator ranges contribute zero. When , the generating set is empty and is the image of the scalars in .
QAlgorithms.Papers.Independent.Intakenext100.P51.lowerProduct
Let be a commutative ring, let , and let consist of , units , and a sequence , satisfying and . Write for the associative unital -algebra generated by for and for , with the following relations whenever their indices are in these ranges:
Additionally, for , impose for every , interpreting negative powers using ; for , impose . Every indexed generator outside its specified range is defined to be zero. For , let be the smallest -subalgebra containing for and for , using those zero values for indices outside the ambient ranges. For every , the definition assigns the -submodule
Here and throughout this definition, subtraction in natural-number indices is truncated at zero. There is no lower bound on ; in particular, for , is the scalar subalgebra, and this submodule is .
QAlgorithms.Papers.Independent.Intakenext100.P51.mSpan
Let be a commutative ring, , , and consist of , units , and , with and . Let be the associative unital -algebra on for and for , with these relations at valid indices:
For , additionally impose for every integer , using for negative powers; for , impose . Set out-of-range indexed generators to zero, and write for and for . Let be the -subalgebra generated by for and for . Then the definition assigns
There is no restriction on . All natural-number subtractions are truncated at zero, and no lower bound on is assumed; the submodule is zero when . When , the exponent must be zero. Signed powers at an out-of-range index equal at exponent zero and zero otherwise.
QAlgorithms.Papers.Independent.Intakenext100.P51.nFour
Let be a commutative ring, , and consist of , units , and , satisfying and . Let be the associative unital -algebra generated by for and for , subject to the following relations at valid indices:
For , also impose for all integers , interpreting negative powers through ; for , impose . All out-of-range indexed generators are zero. Define for and for . Let be the -subalgebra generated by for and for . Define if , and if , taking , and put . Then is the submodule
Natural-number subtraction is truncated at zero, and no lower bound on is assumed. The submodule is zero for ; when , both exponents must be zero. An out-of-range signed power at exponent zero is still .
QAlgorithms.Papers.Independent.Intakenext100.P51.nFourBound
Let be a commutative ring, , , and consist of , units , and , with and . Let be the associative unital -algebra on for and for , with the following relations at valid indices:
Additionally, impose for all when , using for negative powers, and when . Out-of-range indexed generators are zero. Write for and for . Let be the -subalgebra generated by for and for . Put for , for , and ; let . The definition assigns
All natural-number subtractions are truncated at zero. The integer bound need not be nonnegative; if , there are no generators and the submodule is zero. It is also zero for . At an out-of-range index, a signed power is for exponent zero and zero otherwise; in particular, forces , and forces .
QAlgorithms.Papers.Independent.Intakenext100.P51.nOne
Let be a commutative ring, let , and let consist of , units , and , satisfying and . Let be the -algebra on () and mutually inverse (), with relations
Relations use valid indices, adjacent relations require , and generator functions outside their ranges are zero. Put , and let be the smallest -subalgebra containing for and for . For natural numbers , let be when , when , and when . Write for an integer , and for . The declaration defines the -submodule
Thus its elements are finite -linear combinations of precisely these products. All natural-number subtractions are truncated at zero. There is no assumption ; when , no permitted pair exists, so the submodule is zero. The value is included and permits only exponent .
QAlgorithms.Papers.Independent.Intakenext100.P51.nThree
Let be a commutative ring, , and consist of , units , and , with and . Let be the associative unital -algebra on for and for , subject to the following relations at valid indices:
For , also impose for all , using for negative powers; for , impose . Set all out-of-range indexed generators equal to zero, and define for and for . Thus an out-of-range signed power is at exponent zero and zero at every other exponent. Let be the -subalgebra generated by for and for . Define if , and if , with ; put . Then is the -span of all elements of either form
where , , and ; the second form additionally requires natural numbers with and or . All natural-number subtractions are truncated at zero. No lower bound on is assumed; the submodule is zero when . When , the second family has no admissible pair, and when , the only allowed is zero.
QAlgorithms.Papers.Independent.Intakenext100.P51.nTwo
Let be a commutative ring, , and consist of , units , and , with and . Let be the associative unital -algebra on for and for , subject to these relations at valid indices:
For , also impose for every integer , interpreting negative powers with ; for , impose . Set all out-of-range indexed generators equal to zero. Define for and for . Let be the -subalgebra generated by for and for . Put if , and if , with , and let . Then the definition assigns
All natural-number subtraction is truncated at zero. No lower bound on is assumed; for , there is no admissible pair , so this is the zero submodule. For , both exponents must be zero; a signed power at exponent zero equals , including at an out-of-range index.
QAlgorithms.Papers.Independent.Intakenext100.P51.ncGeometric
For every ring , without a commutativity or nontriviality assumption, and every , the declaration defines the formal power series over whose coefficient of degree is for every natural number :
In particular, its constant coefficient is , including when ; the formal variable is central in the power-series ring.
QAlgorithms.Papers.Independent.Intakenext100.P51.negativeMoment
Let be a commutative ring, let be a natural number, and let supply units , satisfying in . Regard units as elements of , and put
For every , this definition gives
The maxima express the natural-number subtraction used in the definition. The odd-case sum is empty for ; the even-case sum is empty for and , and for runs from through , with coefficient index . The definition includes , where its value is . No additional condition on or distinctness of the roots is assumed.
QAlgorithms.Papers.Independent.Intakenext100.P51.negativeRHS
Let be a commutative ring, , and consist of and units satisfying . Viewing these units in , put , , , and
This definition gives the following formal power series, with elements of interpreted as constant series:
The product uses the original units , while the factors in use their inverses; no distinctness assumption is imposed.
QAlgorithms.Papers.Independent.Intakenext100.P51.negativeSeries
For a commutative ring , a natural number , and data comprising , units with , and a function with , this definition gives the formal power series
Its constant coefficient is defined to be , regardless of the value of .
QAlgorithms.Papers.Independent.Intakenext100.P51.pairPerm
For arbitrary , let exchange and in when , and otherwise be the identity. Define the interval permutation by
with empty products equal to the identity and permutation products composed with the rightmost factor acting first. The declaration defines
Thus the interval permutation from to acts first, followed by the interval permutation from to . No inequalities among are assumed: in particular, there is no requirement , and uses . Out-of-range adjacent factors are identities, and is allowed.
QAlgorithms.Papers.Independent.Intakenext100.P51.pairWord
Let be a commutative ring, let , and let consist of , units , and , satisfying and . Let be the -algebra generated by () and mutually inverse (), subject to
Relations use valid indices, adjacent relations require , and generator functions outside their ranges are zero. For natural numbers , define to be the ordered product if , if , and if . The declaration defines
in that multiplication order. There are no assumptions , , or . Thus uses , empty products are , and any out-of-range -factor is zero.
QAlgorithms.Papers.Independent.Intakenext100.P51.paritySeries
For every commutative ring , including the zero ring, this definition gives the formal power series whose coefficient in degree is if is even and otherwise:
In particular, the coefficient in degree is .
QAlgorithms.Papers.Independent.Intakenext100.P51.permEntry
For every natural number , every permutation of , and every natural number , define
Thus valid positions are numbered from , while their returned values are numbered from ; every position outside the domain returns . In particular, when , the value is for every .
QAlgorithms.Papers.Independent.Intakenext100.P51.positiveMoment
Let be a commutative ring, let be a natural number, and let supply units satisfying in . Regard these units and their inverses as elements of , and define
For every , this definition gives
The odd-case sum means , so it is empty at ; the even-case sum includes and has one term at . 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 or distinctness of the roots is assumed.
QAlgorithms.Papers.Independent.Intakenext100.P51.positiveRHS
Let be a commutative ring, , and consist of and units satisfying . Viewing these units in , put , , , and
This definition gives the following formal power series, with elements of in the formula interpreted as constant series:
The roots need not be distinct; the positivity contained in excludes .
QAlgorithms.Papers.Independent.Intakenext100.P51.positiveSeries
For a commutative ring , a natural number , and data comprising , units with , and a function with , this definition gives the formal power series
In particular, its constant coefficient is ; only the nonnegative integer values of occur.
QAlgorithms.Papers.Independent.Intakenext100.P51.qCoeff
For every commutative ring , every , and every family , this definition gives
the coefficient of degree in the indicated formal power series over . No unit or distinctness assumptions are imposed on the . For , this is when and when .
QAlgorithms.Papers.Independent.Intakenext100.P51.qSeries
For every commutative ring , every , and every indexed family , this definition gives the formal power series
where inside a power series denotes the constant series with that value. The need not be units or distinct. When , the product is empty and .
QAlgorithms.Papers.Independent.Intakenext100.P51.representativePerm
For all natural numbers and arbitrary functions , define a permutation as follows. Write , and let be the permutation of swapping and if , and the identity otherwise. With products interpreted as composition, , define
where an empty product is the identity. Then
with factors ordered by increasing index. No inequalities or validity conditions on are required: out-of-range adjacent swaps contribute identity permutations, and every subtraction is truncated at . When , the result is the identity; when , it is the unique permutation of the empty set.
QAlgorithms.Papers.Independent.Intakenext100.P51.representativeSet
For all natural numbers , write , let swap and in when and be the identity otherwise, and define
Products are composition with , and empty products are identities. The set consists exactly of those permutations for which there exist functions satisfying
and
where the factors are written from left to right in increasing order of . The witnesses are required to exist, with no uniqueness assertion. When , this set consists of the identity permutation, including when ; when , it is empty.
QAlgorithms.Papers.Independent.Intakenext100.P51.ruiXuAdjacentPerm
For every , this declaration defines a permutation of the set . If , it exchanges and and fixes every other element; otherwise it is the identity permutation. Thus and every give the identity, and all values are the identity when or .
QAlgorithms.Papers.Independent.Intakenext100.P51.ruiXuBMWMap
For a commutative ring , natural numbers , and data consisting of , units , a function , and identities and , this defines the canonical -algebra homomorphism from a free algebra to its ring quotient described as follows. Put , , and ; is freely generated by for and distinct for . The quotient uses the smallest ring congruence imposing, with scalars mapped canonically from ,
Here for and for , with nonnegative exponents, and the product is ordered by increasing . The homomorphism sends every element of to its congruence class and preserves the -algebra operations and scalar map. When , both generator families and all imposed relations are empty, and this is the canonical quotient map from the free -algebra on no generators.
QAlgorithms.Papers.Independent.Intakenext100.P51.ruiXuCentralMoment
Let be a commutative ring, and let specify , units for , and , satisfying and . Let be the quotient of the free associative -algebra on () and (), with relations
Relations apply for valid generator indices, denotes for and otherwise, scalars use the map , and out-of-range generators are zero. Put
For arbitrary , the declaration defines an element of by coefficient extraction:
where the product is ordered by increasing . The definition includes , , and all , without an index-validity hypothesis. For or , the product is empty and .
QAlgorithms.Papers.Independent.Intakenext100.P51.ruiXuContractionIdeal
Let be a commutative ring, a natural number, and supply , units in , and , satisfying and . Define as the ring quotient of the free associative -algebra on for and for , by the following relations; scalars are interpreted through the structural map:
Here for means , and the last product is taken in increasing index order. The definition gives the -submodule
Thus its elements for are finite -linear combinations of the displayed products, whereas for or the definition explicitly selects the zero submodule.
QAlgorithms.Papers.Independent.Intakenext100.P51.ruiXuE
For every commutative ring , natural numbers , and data consisting of , units , a function , and identities and , this defines an element of a quotient algebra constructed as follows. Put , , and . Take the free associative unital -algebra on generators for and distinct for , and quotient by the smallest ring congruence imposing, with scalars mapped canonically from ,
Here for and for , with nonnegative exponents, and the product is ordered by increasing . The defined element is the class of , whose underlying letter has index , when , and is otherwise. Thus its value is zero for , for , and for every when or .
QAlgorithms.Papers.Independent.Intakenext100.P51.ruiXuFreeE
For every commutative ring and natural numbers , let be the free associative unital -algebra on the formal letters for , together with for and Boolean , with natural-number subtraction used in . This definition returns
where is the canonical insertion of a letter into . In particular, the value is zero when , when , and for every when or ; the subtraction is used to select a letter only in the valid-index case.
QAlgorithms.Papers.Independent.Intakenext100.P51.ruiXuFreeG
For every commutative ring and natural numbers , consider the free associative -algebra on distinct letters for and for , where is truncated at . This definition gives the free generator corresponding to when , and gives the zero element of the free algebra otherwise. In particular, it gives zero for , for , and for every when .
QAlgorithms.Papers.Independent.Intakenext100.P51.ruiXuFreeT
For every commutative ring and natural numbers , let be the free associative unital -algebra on the formal letters for , together with for and Boolean , with natural-number subtraction used in . This definition returns
where is the canonical insertion of a letter into . In particular, the value is zero when , when , and for every when or ; the subtraction is used to select a letter only in the valid-index case.
QAlgorithms.Papers.Independent.Intakenext100.P51.ruiXuFreeX
For every commutative ring , natural numbers , and Boolean , let be the free associative unital -algebra on formal letters for and for and Boolean , where natural-number subtraction is used in . This definition returns
Here is the canonical insertion of a letter into . The value is zero for or , and for every when . 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 and natural numbers , consider the free associative -algebra on distinct letters for and for , where is truncated at . This definition gives the free generator corresponding to when , and gives zero otherwise. In particular, it gives zero for , for , and for every when .
QAlgorithms.Papers.Independent.Intakenext100.P51.ruiXuSpectralWeight
Let be a commutative ring, , and consist of and units satisfying . Let be a field equipped with an -algebra structure, write for its structure map, put and , and choose any index with . This definition gives the element of
Both products exclude exactly the index , and an empty product is , as occurs when . No distinctness of the or injectivity of is assumed. Division is the field’s total division operation, so a factor with has value , including when its numerator is also .
QAlgorithms.Papers.Independent.Intakenext100.P51.ruiXuX
Let be a commutative ring, let , and let consist of , units of , and a function , satisfying
Write for the quotient of the free associative -algebra on , , and , , by the following relations; coefficients from mean their canonical scalar images in :
Here every indexed relation is restricted to the displayed generators, relations involving both and among the 's or 's require and , and negative powers use the inverse generators. For every natural number and Boolean choice , this definition returns the quotient class of when and is false, and the quotient class of its inverse generator when and is true; it returns when or . The Boolean argument defaults to false. The case is included: there are no generators or imposed relations, the algebra is canonically , and every value of this definition is zero.
QAlgorithms.Papers.Independent.Intakenext100.P51.shiftedMomentBase
Let be a commutative ring and let specify , units for , and , with and . Let be the quotient of the free associative -algebra on () and (), subject to
Indexed equations apply only when their generators are in range, for and otherwise, and scalar coefficients use the canonical map . For every , including zero, the declaration defines
Thus its coefficient of is when is even, when is odd, and when ; the added scalar series contributes only to the constant coefficient.
QAlgorithms.Papers.Independent.Intakenext100.P51.shiftedMomentProduct
Let be a commutative ring, and let consist of , units for , and , satisfying and . Let be the free associative -algebra on () and (), quotiented by
Here relations require valid generator indices, scalars are canonically mapped into , and uses for nonnegative powers and for negative powers. Set out-of-range generators to zero and, in , put
For arbitrary , the declaration defines
with the factors in increasing index order. For the product is empty and equals , so . No condition is imposed; every factor with index greater than equals .
QAlgorithms.Papers.Independent.Intakenext100.P51.signedPower
For any monoid , elements , and integer , this defines
where the exponents in both branches are nonnegative integers and denote ordinary monoid powers. In particular, the value at is . There is no assumption that is an inverse of , or that either element is invertible.
QAlgorithms.Papers.Independent.Intakenext100.P51.signedT
Let be a commutative ring, and let consist of , units for , and , satisfying and . Let be the free associative -algebra on () and (), quotiented by
Indexed relations require all generators to be in range, uses for and otherwise, and scalars are canonically mapped into . Extend by zero when or . For every and Boolean value , the declaration defines
There is no index-validity hypothesis: outside , the false branch is zero and the true branch is , including when .
QAlgorithms.Papers.Independent.Intakenext100.P51.sourceTransversal
For all natural numbers , let , and, for a permutation of , let when and otherwise. The set consists exactly of the permutations satisfying all three conditions
There is no assumption that : the subtraction defining is truncated at , and positions outside still return . When , only the first condition remains, and the set consists of the identity permutation, including when ; when , the second condition cannot hold, so the set is empty.
QAlgorithms.Papers.Independent.Intakenext100.P51.spectralMoment
Let be a commutative ring, a field with an -algebra structure, and consist of a positive integer , units of , and the equality . Write for the structure map, , and . For every integer , the definition is
Integer powers use inverse powers for negative exponents; each is nonzero because it is the image of a unit. No distinctness of the is required: a fraction with zero denominator has value zero under field division. Products over no indices, including the products excluding when , equal .
QAlgorithms.Papers.Independent.Intakenext100.P51.toHeckeQuotient
Let be a commutative ring, let , and let consist of , units , and a function , with
Write for the -algebra presented by generators for , and for . Its defining relations are
All indexed relations use indices in the generator ranges; relations involving as a - or -index require and . Generator functions outside their ranges are defined to be zero. Define
The declaration defines the canonical -algebra homomorphism , where is the ring quotient obtained by imposing for every such that . It sends each element to its quotient class. In particular, and are included, and in those cases the specified submodule is zero.
QAlgorithms.Papers.Independent.Intakenext100.P51.transitionDenominator
Let be a commutative ring, let , and let supply units and a function , satisfying and . For , let be the quotient of the free associative unital -algebra on , , and , , by the following relations at valid indices:
For , also impose for all , where for and for ; for , impose . Scalars mean their algebra images. Extend by zero outside , and write for the scalar images of . For every pair , the declaration defines the formal power series
with factors multiplied in the displayed order. Here is the series with constant coefficient , degree-one coefficient , and all higher coefficients zero. The definition permits , , and ; whenever is outside , it gives .
QAlgorithms.Papers.Independent.Intakenext100.P51.transitionNumerator
Let be a commutative ring, let be a natural number, and let consist of units and , with and . For each , let be the associative unital -algebra presented by generators , , and , , imposing, at valid indices,
When , also impose for every , using for and for ; when , impose . Scalars in the presentation denote their algebra images. Set when or , and let and be the images in of and , respectively. For arbitrary natural numbers , the declaration defines the following formal power series over , with multiplication in the displayed order:
Each factor means the series with constant coefficient , degree-one coefficient , and all higher coefficients zero. No bound on or positivity assumption on is required; if or , all four linear factors equal , so .
QAlgorithms.Papers.Independent.Intakenext100.P51.transitionSeries
Let be a commutative ring and let specify a positive integer , units in , and a sequence , with and . Write for the quotient of the free associative -algebra on for and for , with defining relations
Here indexed relations apply when all their displayed generators are in range, scalar coefficients mean their canonical images in , and for and for . Extend every indexed generator by zero outside its range. For arbitrary , the declaration defines the following formal power series in a central variable , with coefficients in :
The factors are multiplied in the displayed order. Both and out-of-range indices or are allowed; in those cases , so .
QAlgorithms.Papers.Independent.Intakenext100.P51.twoStrandMonomial
Let be the coefficient field and let consist of , units of satisfying , and a function satisfying . Let be the quotient of the free associative unital -algebra on by the relations
Here negative powers use the specified inverse generator. For an index , the definition gives the following element of :
The exponents include zero, whose power is .
QAlgorithms.Papers.Independent.Intakenext100.P51.twoTMatrix
Let be the coefficient field and let consist of , units of , and . For a pair of indices satisfying , write and . The definition returns the matrix, with rows and columns indexed by ,
The scalar multiplies every matrix entry. Although the indices are distinct, no hypothesis requires their parameter values to differ; if , field division gives , so the resulting matrix is zero. Such a label exists only when .
QAlgorithms.Papers.Independent.Intakenext100.P51.twoXMatrix
Let be unit parameters over : a positive natural number , units , and units for , with . A label is a pair with . Writing and for their values in , this definition assigns to and a Boolean the matrix
There are no such labels when ; is excluded by the parameter data.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.