Definitions for The representation theory of the Ariki-Koike and cyclotomic q-Schur algebras
DefinitionQAlgorithms_Papers_Independent_Intake100_P36The objects the formalized statements of The representation theory of the Ariki-Koike and cyclotomic q-Schur algebras (arXiv:math/0204025) are stated in. Each was checked against the paper by a blind read-back and a moderator.
AKFree: The free algebra on exactly T_0,...,T_(n-1), PDF p.4.akFreeGenerator: A helper for generators; out-of-range indices return zero and never enter a relation.AKRel: Corrected Definition 2.1, PDF p.4. Each relation is guarded by its degree domain. The ordered cyclotomic product keeps repeated and zero parameters.ArikiKoike: The presented algebra H, not an algebra equipped with a presumed basis (PDF p.4).akT: The quotient images of the generators, PDF p.4.jmNat: L_(k+1), with zero-based helper k; the q^(-1) factor is essential (PDF p.4).cyclotomicJM: The n genuine JM elements, L_1,...,L_n (PDF p.4).reducedWord: Choose a reduced expression using the accepted Coxeter predicate (PDF p.4). Reverse the word for right actions: the first written letter acts first. Adjacent transpositions generate S_n, so this choice predicate is inhabited for every w.tw: T_w computed by a reduced word. No independence or spanning assertion is a field (PDF p.4).jmPowers: Ordered product L_1^a_1...L_n^a_n, including the empty product 1 (PDF p.4).arikiKoikeMonomial: The explicit family of Theorem 2.2 (PDF p.4).jmEval: Finite ordered evaluation makes sense before commutativity is proved (PDF p.4). Once the JM theorem is used it is ordinary multivariate polynomial evaluation.qInteger: The quantum integer 1+q+...+q^(m-1), PDF p.11.semisimplicityPolynomial: The exact semisimplicity polynomial P_H, PDF p.11. Integer powers are powers of the unit q, not total division by an arbitrary element.MultiPartition: Multipartitions of n as decreasing rows, padded by zero to n rows (PDF p.11). Every part is at most n. Fin 0 represents the unique empty component at degree zero.Node: Nodes (component,row,column), all zero-based; source nodes add one to each index (PDF p.11).StandardMultiTableau: A standard tableau is a bijective labeling increasing in rows and columns (PDF p.11).rowNumber: Count the nodes strictly before x in component/row/column reading order (PDF p.16).tableauPermutation: d(t) is the unique permutation carrying row reading labels to t (PDF p.16). The predicate computes d(t) from the bijection, not from an assumed H-action.rowStabilizer: The row-stabilizer of the row reading tableau (PDF p.16).precedingSize: Size of components strictly preceding s (PDF p.16).rowSymmetrizer: x_lambda=sum_(w in S_lambda) T_w; there are no q-weights here (PDF p.16).uPlus: u_lambda^+, preserving both product orders before JM commutativity is used (PDF p.16).murphyGenerator: m_lambda=x_lambda u_lambda^+, computed in the presented algebra (PDF p.16).murphy: The literal m_st=T_(d(s)^(-1)) m_lambda T_(d(t)), Definition 3.7, PDF p.16.MurphyIndex: The dependent index set keeps the common shape (PDF p.16).murphyFamily: The computed Murphy family, not an arbitrary cellular basis (PDF p.16).dominancePrefix: Dominance prefix: earlier components, then the first i rows of component s (PDF p.11).ShapeDominates: Shape dominance, including every row prefix (PDF p.11).higherMurphySpan: H^lambda is the R-span of strictly higher SHAPES (PDF p.17).tableauDominancePrefixCount: Prefix count in the restriction of a tableau to labels 1,...,k (PDF p.19).TableauDominates: Tableau dominance compares the shapes of ALL initial subtableaux (PDF p.19).tableauResidue: Residue of the node carrying label k+1, with possibly negative column-row content (PDF p.11).AffineFree: Free affine algebra: T_1,...,T_(n-1) and two formal signs of each X_j (PDF p.7).affineFreeT: T_i with the source's one-based index; invalid helper values are zero (PDF p.7).affineFreeX: X_(j+1) or its formal inverse; valid j is zero-based (PDF p.7).AffineRel: Corrected affine presentation from PDF p.7. Polynomial RHS is zero; ALL X's commute, and T_i commutes with X_j for j≠i,i+1. The printed shared distance guard cannot apply to the X-X commutation relation.AffineHecke: The actual affine Hecke algebra, PDF p.7.affineT: The affine T generator image (PDF p.7).affineHeckeX: The affine X generator or inverse image, with zero-based j (PDF p.7).Laurent: Laurent polynomials in n variables, as the group algebra of Z^n (PDF p.37).IsSymmetricLaurent: Symmetric Laurent polynomials: coefficients are invariant under every variable permutation (PDF p.37).affineLaurentEval: Ordered Laurent evaluation using the explicit inverse generators (PDF p.37).affineCyclotomicRel: The only extra affine relation for the cyclotomic quotient (PDF p.7).AffineCyclotomic: Hhat modulo the two-sided ideal generated by the cyclotomic polynomial (PDF p.7).
import Mathlib
import Definitions.Def_QAlgorithms_Papers_Independent_Support21_P06
/-!
Mathas, arXiv:math/0204025v1. Local, literal Ariki--Koike presentation.
The two polynomial relations on PDF p.4 are corrected from 1 to 0, as
required by the quotient ideal on p.6 and normalized relation on p.41.
No basis, cellular datum, representation, or JM axiom is assumed.
Compilation is pending the batch mechanical handoff.
-/
noncomputable section
open scoped BigOperators
namespace QAlgorithms.Papers.Independent.Intake100.P36
open QAlgorithms.Papers.Independent.Renew46.P26 (Adjacent adjacentPerm nextPosition)
open QAlgorithms.Papers.Independent.Support21.P06 (wordPerm IsReducedWord)
attribute [local instance] Classical.propDecidable Classical.decEq
/-- The free algebra on exactly T_0,...,T_(n-1), PDF p.4. -/
abbrev AKFree (R : Type*) [CommRing R] (n : ℕ) := FreeAlgebra R (Fin n)
/-- A helper for generators; out-of-range indices return zero and never enter a relation. -/
def akFreeGenerator (R : Type*) [CommRing R] (n i : ℕ) : AKFree R n :=
if h : i < n then FreeAlgebra.ι R ⟨i, h⟩ else 0
/-- Corrected Definition 2.1, PDF p.4. Each relation is guarded by its degree domain.
The ordered cyclotomic product keeps repeated and zero parameters. -/
inductive AKRel {R : Type*} [CommRing R] {r : ℕ}
(q : Rˣ) (Q : Fin r → R) (n : ℕ) : AKFree R n → AKFree R n → Prop
| cyclotomic (h : 0 < n) : AKRel q Q n
(List.ofFn (fun s : Fin r => akFreeGenerator R n 0 - algebraMap R (AKFree R n) (Q s))).prod 0
| quadratic (i : ℕ) (hi : 1 ≤ i) (hn : i < n) : AKRel q Q n
((akFreeGenerator R n i - algebraMap R (AKFree R n) (q : R)) * (akFreeGenerator R n i + 1)) 0
| specialBraid (hn : 2 ≤ n) : AKRel q Q n
(akFreeGenerator R n 0 * akFreeGenerator R n 1 * akFreeGenerator R n 0 * akFreeGenerator R n 1)
(akFreeGenerator R n 1 * akFreeGenerator R n 0 * akFreeGenerator R n 1 * akFreeGenerator R n 0)
| distant (i j : ℕ) (hi : i < n) (hj : j < n) (hij : i + 1 < j) : AKRel q Q n
(akFreeGenerator R n i * akFreeGenerator R n j) (akFreeGenerator R n j * akFreeGenerator R n i)
| braid (i : ℕ) (hi : 1 ≤ i) (hn : i + 1 < n) : AKRel q Q n
(akFreeGenerator R n i * akFreeGenerator R n (i + 1) * akFreeGenerator R n i)
(akFreeGenerator R n (i + 1) * akFreeGenerator R n i * akFreeGenerator R n (i + 1))
/-- The presented algebra H, not an algebra equipped with a presumed basis (PDF p.4). -/
abbrev ArikiKoike {R : Type*} [CommRing R] {r : ℕ}
(q : Rˣ) (Q : Fin r → R) (n : ℕ) := RingQuot (AKRel q Q n)
/-- The quotient images of the generators, PDF p.4. -/
def akT {R : Type*} [CommRing R] {r : ℕ} (q : Rˣ) (Q : Fin r → R)
(n i : ℕ) : ArikiKoike q Q n := RingQuot.mkAlgHom R (AKRel q Q n) (akFreeGenerator R n i)
/-- L_(k+1), with zero-based helper k; the q^(-1) factor is essential (PDF p.4). -/
def jmNat {R : Type*} [CommRing R] {r : ℕ} (q : Rˣ) (Q : Fin r → R)
(n : ℕ) : ℕ → ArikiKoike q Q n
| 0 => akT q Q n 0
| k + 1 => algebraMap R (ArikiKoike q Q n) (↑(q⁻¹) : R) *
akT q Q n (k + 1) * jmNat q Q n k * akT q Q n (k + 1)
/-- The n genuine JM elements, L_1,...,L_n (PDF p.4). -/
def cyclotomicJM {R : Type*} [CommRing R] {r n : ℕ} (q : Rˣ) (Q : Fin r → R)
(k : Fin n) : ArikiKoike q Q n := jmNat q Q n k.val
/-- Normalization check L_2=q^(-1)T_1 T_0 T_1 (PDF p.4). -/
example {R : Type*} [CommRing R] {r : ℕ} (q : Rˣ) (Q : Fin r → R) :
jmNat q Q 2 1 = algebraMap R (ArikiKoike q Q 2) (↑(q⁻¹) : R) *
akT q Q 2 1 * akT q Q 2 0 * akT q Q 2 1 := by rfl
/-- The imported adjacent permutation swaps zero-based positions i and i+1 (PDF p.4).
The corresponding source generator is T_(i+1). -/
example {n : ℕ} (i : Adjacent n) :
adjacentPerm i = Equiv.swap i.val (nextPosition i) := by rfl
/-- Choose a reduced expression using the accepted Coxeter predicate (PDF p.4).
Reverse the word for right actions: the first written letter acts first.
Adjacent transpositions generate S_n, so this choice predicate is inhabited for every w. -/
def reducedWord {n : ℕ} (w : Equiv.Perm (Fin n)) : List (Adjacent n) :=
Classical.epsilon (fun l : List (Adjacent n) => IsReducedWord w l.reverse)
/-- T_w computed by a reduced word. No independence or spanning assertion is a field (PDF p.4). -/
def tw {R : Type*} [CommRing R] {r n : ℕ} (q : Rˣ) (Q : Fin r → R)
(w : Equiv.Perm (Fin n)) : ArikiKoike q Q n :=
((reducedWord w).map (fun i => akT q Q n (i.val.val + 1))).prod
/-- Ordered product L_1^a_1...L_n^a_n, including the empty product 1 (PDF p.4). -/
def jmPowers {R : Type*} [CommRing R] {r n : ℕ} (q : Rˣ) (Q : Fin r → R)
(a : Fin n → ℕ) : ArikiKoike q Q n :=
(List.ofFn (fun i : Fin n => cyclotomicJM q Q i ^ a i)).prod
/-- The explicit family of Theorem 2.2 (PDF p.4). -/
def arikiKoikeMonomial {R : Type*} [CommRing R] {r n : ℕ} (q : Rˣ) (Q : Fin r → R)
(z : (Fin n → Fin r) × Equiv.Perm (Fin n)) : ArikiKoike q Q n :=
jmPowers q Q (fun i => (z.1 i).val) * tw q Q z.2
/-- Finite ordered evaluation makes sense before commutativity is proved (PDF p.4).
Once the JM theorem is used it is ordinary multivariate polynomial evaluation. -/
def jmEval {R : Type*} [CommRing R] {r n : ℕ} (q : Rˣ) (Q : Fin r → R)
(p : MvPolynomial (Fin n) R) : ArikiKoike q Q n :=
∑ d ∈ p.support, (p.coeff d) • jmPowers q Q (fun i => d i)
/-- The quantum integer 1+q+...+q^(m-1), PDF p.11. -/
def qInteger {R : Type*} [CommRing R] (q : Rˣ) (m : ℕ) : R :=
∑ k ∈ Finset.range m, (q : R) ^ k
/-- The exact semisimplicity polynomial P_H, PDF p.11.
Integer powers are powers of the unit q, not total division by an arbitrary element. -/
def semisimplicityPolynomial {R : Type*} [CommRing R] {r : ℕ}
(q : Rˣ) (Q : Fin r → R) (n : ℕ) : R :=
(∏ k : Fin n, qInteger q (k.val + 1)) *
∏ s : Fin r, ∏ t ∈ Finset.univ.filter (fun t : Fin r => s < t),
∏ d ∈ Finset.Ioo (-(n : ℤ)) (n : ℤ), ((↑(q ^ d) : R) * Q s - Q t)
/-- P_H=1 in degree zero even with repeated or zero parameters (PDF pp.2,11). -/
example {R : Type*} [CommRing R] {r : ℕ} (q : Rˣ) (Q : Fin r → R) :
semisimplicityPolynomial q Q 0 = 1 := by
simp [semisimplicityPolynomial]
/-- Multipartitions of n as decreasing rows, padded by zero to n rows (PDF p.11).
Every part is at most n. Fin 0 represents the unique empty component at degree zero. -/
abbrev MultiPartition (r n : ℕ) :=
{a : Fin r → Fin n → Fin (n + 1) //
(∑ s : Fin r, ∑ i : Fin n, (a s i).val) = n ∧
∀ s, Antitone (fun i : Fin n => (a s i).val)}
/-- Nodes (component,row,column), all zero-based; source nodes add one to each index (PDF p.11). -/
abbrev Node {r n : ℕ} (lam : MultiPartition r n) :=
{x : Fin r × Fin n × Fin n // x.2.2.val < (lam.val x.1 x.2.1).val}
/-- A standard tableau is a bijective labeling increasing in rows and columns (PDF p.11). -/
abbrev StandardMultiTableau {r n : ℕ} (lam : MultiPartition r n) :=
{t : Node lam ≃ Fin n //
(∀ x y : Node lam, x.val.1 = y.val.1 → x.val.2.1 = y.val.2.1 →
x.val.2.2 < y.val.2.2 → t x < t y) ∧
(∀ x y : Node lam, x.val.1 = y.val.1 → x.val.2.2 = y.val.2.2 →
x.val.2.1 < y.val.2.1 → t x < t y)}
/-- Count the nodes strictly before x in component/row/column reading order (PDF p.16). -/
def rowNumber {r n : ℕ} {lam : MultiPartition r n} (x : Node lam) : ℕ :=
(Finset.univ.filter (fun y : Node lam =>
y.val.1 < x.val.1 ∨
(y.val.1 = x.val.1 ∧ y.val.2.1 < x.val.2.1) ∨
(y.val.1 = x.val.1 ∧ y.val.2.1 = x.val.2.1 ∧ y.val.2.2 < x.val.2.2))).card
/-- d(t) is the unique permutation carrying row reading labels to t (PDF p.16).
The predicate computes d(t) from the bijection, not from an assumed H-action. -/
def tableauPermutation {r n : ℕ} {lam : MultiPartition r n} (t : StandardMultiTableau lam) :
Equiv.Perm (Fin n) :=
Classical.epsilon (fun w => ∀ (x : Node lam) (k : Fin n),
k.val = rowNumber x → w k = t.val x)
/-- The row-stabilizer of the row reading tableau (PDF p.16). -/
def rowStabilizer {r n : ℕ} (lam : MultiPartition r n) : Finset (Equiv.Perm (Fin n)) :=
Finset.univ.filter (fun w => ∀ (x : Node lam) (k : Fin n),
k.val = rowNumber x → ∃ y : Node lam,
y.val.1 = x.val.1 ∧ y.val.2.1 = x.val.2.1 ∧ rowNumber y = (w k).val)
/-- Size of components strictly preceding s (PDF p.16). -/
def precedingSize {r n : ℕ} (lam : MultiPartition r n) (s : Fin r) : ℕ :=
∑ t ∈ Finset.univ.filter (fun t : Fin r => t < s),
∑ i : Fin n, (lam.val t i).val
/-- x_lambda=sum_(w in S_lambda) T_w; there are no q-weights here (PDF p.16). -/
def rowSymmetrizer {R : Type*} [CommRing R] {r n : ℕ}
(q : Rˣ) (Q : Fin r → R) (lam : MultiPartition r n) : ArikiKoike q Q n :=
∑ w ∈ rowStabilizer lam, tw q Q w
/-- u_lambda^+, preserving both product orders before JM commutativity is used (PDF p.16). -/
def uPlus {R : Type*} [CommRing R] {r n : ℕ}
(q : Rˣ) (Q : Fin r → R) (lam : MultiPartition r n) : ArikiKoike q Q n :=
(List.ofFn (fun s : Fin r =>
(((List.finRange n).filter (fun k => k.val < precedingSize lam s)).map
(fun k => cyclotomicJM q Q k - algebraMap R (ArikiKoike q Q n) (Q s))).prod)).prod
/-- m_lambda=x_lambda u_lambda^+, computed in the presented algebra (PDF p.16). -/
def murphyGenerator {R : Type*} [CommRing R] {r n : ℕ}
(q : Rˣ) (Q : Fin r → R) (lam : MultiPartition r n) : ArikiKoike q Q n :=
rowSymmetrizer q Q lam * uPlus q Q lam
/-- The literal m_st=T_(d(s)^(-1)) m_lambda T_(d(t)), Definition 3.7, PDF p.16. -/
def murphy {R : Type*} [CommRing R] {r n : ℕ}
(q : Rˣ) (Q : Fin r → R) {lam : MultiPartition r n}
(s t : StandardMultiTableau lam) : ArikiKoike q Q n :=
tw q Q (tableauPermutation s)⁻¹ * murphyGenerator q Q lam * tw q Q (tableauPermutation t)
/-- The dependent index set keeps the common shape (PDF p.16). -/
abbrev MurphyIndex (r n : ℕ) := Σ lam : MultiPartition r n, StandardMultiTableau lam × StandardMultiTableau lam
/-- The computed Murphy family, not an arbitrary cellular basis (PDF p.16). -/
def murphyFamily {R : Type*} [CommRing R] {r n : ℕ}
(q : Rˣ) (Q : Fin r → R) (z : MurphyIndex r n) : ArikiKoike q Q n :=
murphy q Q z.2.1 z.2.2
/-- Dominance prefix: earlier components, then the first i rows of component s (PDF p.11). -/
def dominancePrefix {r n : ℕ} (lam : MultiPartition r n) (s : Fin r) (i : ℕ) : ℕ :=
precedingSize lam s + ∑ j ∈ Finset.univ.filter (fun j : Fin n => j.val < i),
(lam.val s j).val
/-- Shape dominance, including every row prefix (PDF p.11). -/
def ShapeDominates {r n : ℕ} (lam mu : MultiPartition r n) : Prop :=
∀ s i, dominancePrefix mu s i ≤ dominancePrefix lam s i
/-- H^lambda is the R-span of strictly higher SHAPES (PDF p.17). -/
def higherMurphySpan {R : Type*} [CommRing R] {r n : ℕ}
(q : Rˣ) (Q : Fin r → R) (lam : MultiPartition r n) : Submodule R (ArikiKoike q Q n) :=
Submodule.span R {z | ∃ (mu : MultiPartition r n) (s t : StandardMultiTableau mu),
ShapeDominates mu lam ∧ mu ≠ lam ∧ z = murphy q Q s t}
/-- Prefix count in the restriction of a tableau to labels 1,...,k (PDF p.19). -/
def tableauDominancePrefixCount {r n : ℕ} {lam : MultiPartition r n}
(t : StandardMultiTableau lam) (k : ℕ) (s : Fin r) (i : ℕ) : ℕ :=
(Finset.univ.filter (fun x : Node lam => (t.val x).val < k ∧
(x.val.1 < s ∨ (x.val.1 = s ∧ x.val.2.1.val < i)))).card
/-- Tableau dominance compares the shapes of ALL initial subtableaux (PDF p.19). -/
def TableauDominates {r n : ℕ} {lam : MultiPartition r n}
(s t : StandardMultiTableau lam) : Prop :=
∀ k, k ≤ n → ∀ c i, tableauDominancePrefixCount t k c i ≤ tableauDominancePrefixCount s k c i
/-- Residue of the node carrying label k+1, with possibly negative column-row content (PDF p.11). -/
def tableauResidue {R : Type*} [CommRing R] {r n : ℕ}
(q : Rˣ) (Q : Fin r → R) {lam : MultiPartition r n}
(t : StandardMultiTableau lam) (k : Fin n) : R :=
let x := t.val.symm k
(↑(q ^ ((x.val.2.2.val : ℤ) - (x.val.2.1.val : ℤ))) : R) * Q x.val.1
/-- At degree zero there is no node or JM index (PDF p.2). -/
example {r : ℕ} (lam : MultiPartition r 0) (x : Node lam) : False := by
exact Fin.elim0 x.val.2.1
/-- Free affine algebra: T_1,...,T_(n-1) and two formal signs of each X_j (PDF p.7). -/
abbrev AffineFree (R : Type*) [CommRing R] (n : ℕ) :=
FreeAlgebra R (Sum (Fin (n - 1)) (Fin n × Bool))
/-- T_i with the source's one-based index; invalid helper values are zero (PDF p.7). -/
def affineFreeT (R : Type*) [CommRing R] (n i : ℕ) : AffineFree R n :=
if h : 1 ≤ i ∧ i < n then FreeAlgebra.ι R (Sum.inl ⟨i - 1, by omega⟩) else 0
/-- X_(j+1) or its formal inverse; valid j is zero-based (PDF p.7). -/
def affineFreeX (R : Type*) [CommRing R] (n j : ℕ) (inverse : Bool) : AffineFree R n :=
if h : j < n then FreeAlgebra.ι R (Sum.inr (⟨j, h⟩, inverse)) else 0
/-- Corrected affine presentation from PDF p.7.
Polynomial RHS is zero; ALL X's commute, and T_i commutes with X_j for j≠i,i+1.
The printed shared distance guard cannot apply to the X-X commutation relation. -/
inductive AffineRel {R : Type*} [CommRing R] (q : Rˣ) (n : ℕ) :
AffineFree R n → AffineFree R n → Prop
| quadratic (i : ℕ) (hi : 1 ≤ i) (hn : i < n) : AffineRel q n
((affineFreeT R n i - algebraMap R (AffineFree R n) (q : R)) *
(affineFreeT R n i + 1)) 0
| braid (i : ℕ) (hi : 1 ≤ i) (hn : i + 1 < n) : AffineRel q n
(affineFreeT R n i * affineFreeT R n (i + 1) * affineFreeT R n i)
(affineFreeT R n (i + 1) * affineFreeT R n i * affineFreeT R n (i + 1))
| distant (i j : ℕ) (hi : 1 ≤ i) (hj : j < n) (hij : i + 1 < j) : AffineRel q n
(affineFreeT R n i * affineFreeT R n j) (affineFreeT R n j * affineFreeT R n i)
| inverseRight (j : ℕ) (hj : j < n) : AffineRel q n
(affineFreeX R n j false * affineFreeX R n j true) 1
| inverseLeft (j : ℕ) (hj : j < n) : AffineRel q n
(affineFreeX R n j true * affineFreeX R n j false) 1
| commutingX (i j : ℕ) (hi : i < n) (hj : j < n) (b c : Bool) : AffineRel q n
(affineFreeX R n i b * affineFreeX R n j c)
(affineFreeX R n j c * affineFreeX R n i b)
| mixed (i : ℕ) (hi : 1 ≤ i) (hn : i < n) : AffineRel q n
(affineFreeT R n i * affineFreeX R n (i - 1) false * affineFreeT R n i)
(algebraMap R (AffineFree R n) (q : R) * affineFreeX R n i false)
| distantX (i j : ℕ) (hi : 1 ≤ i) (hn : i < n) (hj : j < n)
(h1 : j + 1 ≠ i) (h2 : j + 1 ≠ i + 1) (b : Bool) : AffineRel q n
(affineFreeT R n i * affineFreeX R n j b)
(affineFreeX R n j b * affineFreeT R n i)
/-- The actual affine Hecke algebra, PDF p.7. -/
abbrev AffineHecke {R : Type*} [CommRing R] (q : Rˣ) (n : ℕ) := RingQuot (AffineRel q n)
/-- The affine T generator image (PDF p.7). -/
def affineT {R : Type*} [CommRing R] (q : Rˣ) (n i : ℕ) : AffineHecke q n :=
RingQuot.mkAlgHom R (AffineRel q n) (affineFreeT R n i)
/-- The affine X generator or inverse image, with zero-based j (PDF p.7). -/
def affineHeckeX {R : Type*} [CommRing R] {n : ℕ} (q : Rˣ) (j : Fin n) (b : Bool) :
AffineHecke q n := RingQuot.mkAlgHom R (AffineRel q n) (affineFreeX R n j.val b)
/-- Laurent polynomials in n variables, as the group algebra of Z^n (PDF p.37). -/
abbrev Laurent (R : Type*) [CommRing R] (n : ℕ) := AddMonoidAlgebra R (Fin n → ℤ)
/-- Symmetric Laurent polynomials: coefficients are invariant under every variable permutation (PDF p.37). -/
def IsSymmetricLaurent {R : Type*} [CommRing R] {n : ℕ} (p : Laurent R n) : Prop :=
∀ (w : Equiv.Perm (Fin n)) (a : Fin n → ℤ), p.coeff (fun i => a (w i)) = p.coeff a
/-- Ordered Laurent evaluation using the explicit inverse generators (PDF p.37). -/
def affineLaurentEval {R : Type*} [CommRing R] {n : ℕ} (q : Rˣ) (p : Laurent R n) :
AffineHecke q n :=
∑ a ∈ p.coeff.support, (p.coeff a) •
(List.ofFn (fun i : Fin n =>
if 0 ≤ a i then affineHeckeX q i false ^ (a i).toNat
else affineHeckeX q i true ^ (-a i).toNat)).prod
/-- The only extra affine relation for the cyclotomic quotient (PDF p.7). -/
def affineCyclotomicRel {R : Type*} [CommRing R] {r : ℕ}
(q : Rˣ) (Q : Fin r → R) (n : ℕ) (x y : AffineHecke q n) : Prop :=
0 < n ∧ x = (List.ofFn (fun s : Fin r =>
RingQuot.mkAlgHom R (AffineRel q n) (affineFreeX R n 0 false) -
algebraMap R (AffineHecke q n) (Q s))).prod ∧ y = 0
/-- Hhat modulo the two-sided ideal generated by the cyclotomic polynomial (PDF p.7). -/
abbrev AffineCyclotomic {R : Type*} [CommRing R] {r : ℕ}
(q : Rˣ) (Q : Fin r → R) (n : ℕ) := RingQuot (affineCyclotomicRel q Q n)
/-- Negative exponents really use inverse generators; -1 does not become zero (PDF p.37). -/
example : (-(-1 : ℤ)).toNat = 1 := by rfl
end QAlgorithms.Papers.Independent.Intake100.P36
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Intake100.P36.AKFree
For every commutative ring and every natural number , denotes the free associative unital -algebra on generators indexed by . No commutation relations between these generators are imposed. The case is included: there are then no generators, and this is the free -algebra on the empty set.
QAlgorithms.Papers.Independent.Intake100.P36.AKRel
For every commutative ring , natural number , unit , parameter function , and natural number , this defines a binary relation on the free associative unital -algebra on generators . Write for and identify elements of with their scalar images in this algebra. The relation holds precisely for pairs supplied by one of these five rules, with products in the displayed order:
These rules define the relation itself, without adding reflexive, symmetric, transitive, or algebraic closure. If , the first product is , so the first rule supplies whenever . If , none of the rules applies.
QAlgorithms.Papers.Independent.Intake100.P36.AffineCyclotomic
For any commutative ring , natural numbers , unit , and parameters for , this denotes the ring quotient of the following -algebra . Its generators are for and mutually commuting invertible for ; its relations are , when , whenever the indices exist, , and for and . If , the quotient additionally imposes , with the factors ordered by increasing ; if , it imposes no additional relation, and the resulting algebra is . In particular, if , the added relation is , so the quotient is the zero ring. No condition on the parameters is required.
QAlgorithms.Papers.Independent.Intake100.P36.AffineFree
For any commutative ring and natural number , this is the free unital associative -algebra with one generator for each element of the disjoint union
The first indexing set has size , because subtraction is truncated at zero. Thus the algebra has formal generators; the Boolean labels distinguish two generators for each index and impose no inverse relation. At , the generator set is empty and the free algebra is canonically ; at , it has only the two Boolean-labeled generators.
QAlgorithms.Papers.Independent.Intake100.P36.AffineHecke
For any commutative ring , unit , and natural number , this is the quotient of the free unital associative -algebra on , , and , , by the ring congruence generated by the following equations, with scalars embedded from :
Here comes from the generator labeled false and from the generator labeled true. At , there are no generators or defining relation pairs, so the algebra is canonically ; at , the presentation has one pair of mutually inverse generators and no .
QAlgorithms.Papers.Independent.Intake100.P36.AffineRel
For any commutative ring , unit , and natural number , let be the free unital associative -algebra on generators for and for , where denotes the Boolean value false and denotes true; extend the notation by for all other natural indices and for . The defined binary relation on consists exactly of the ordered pairs in the following display, where denotes its scalar image in :
These are pairs of elements in the free algebra; this definition does not itself identify their two entries or close the relation under symmetry, transitivity, or algebra operations. When , there are no pairs; when , only the inverse and commuting- pairs can occur.
QAlgorithms.Papers.Independent.Intake100.P36.ArikiKoike
For every commutative ring , natural number , unit , function , and natural number , denotes the ring quotient of the free associative unital -algebra on by the smallest ring congruence imposing
Scalars in these formulas are their canonical images, and the cyclotomic product is ordered by increasing . The cases and are allowed: for , the empty cyclotomic product imposes , whereas for there are no generators and no imposed relations.
QAlgorithms.Papers.Independent.Intake100.P36.IsSymmetricLaurent
For any commutative ring , any natural number , and any Laurent polynomial with finitely many nonzero coefficients, where , this predicate means that for every permutation of and every exponent vector . Thus its coefficients are unchanged by every permutation of the coordinates of an exponent vector. The case is included: there is one empty exponent vector, and every such Laurent polynomial satisfies the predicate.
QAlgorithms.Papers.Independent.Intake100.P36.Laurent
For any commutative ring and natural number , this is the additive monoid algebra of the additive group over : its elements are finitely supported coefficient functions , written as finite formal sums
Addition is coefficientwise, multiplication is the convolution determined by , and the multiplicative identity has coefficient at the zero exponent vector and zero elsewhere. The exponent coordinates are indexed by and may be negative. When , there is exactly one exponent vector, the empty vector, and this algebra is canonically .
QAlgorithms.Papers.Independent.Intake100.P36.MultiPartition
For any natural numbers , this is the type of arrays whose entries are integers in , satisfying
Thus each component has a weakly decreasing sequence of entries, and the sum over all components is . When , there is exactly one such empty array for every ; when and , there are no such arrays because the sum is .
QAlgorithms.Papers.Independent.Intake100.P36.MurphyIndex
For any natural numbers , is the type of triples , where has entries in , satisfies , and is weakly decreasing in for each , and where are independently chosen bijections from the node set to . Each bijection must strictly increase with the column within any fixed component and row, and strictly increase with the row within any fixed component and column. The pair is ordered, and the two tableaux may coincide. For , there is one empty shape and one pair of empty tableaux, so this type has one element for every . For and , the required total sum cannot equal , so the type is empty.
QAlgorithms.Papers.Independent.Intake100.P36.Node
For natural numbers and an array with entries in , total sum , and whenever , this is the type of triples
The three coordinates specify a component, row, and column, all numbered from . When , this type is empty.
QAlgorithms.Papers.Independent.Intake100.P36.ShapeDominates
For any natural numbers and arrays , each indexed by , , with entries in , weakly decreasing in each component's row index, and having total sum , the proposition means that for every component and every natural number ,
The inequalities are weak, so equality of shapes is allowed. The quantification includes and every ; for such , each second sum contains the entire indicated component. If , all sums vanish and the proposition holds. If , the component quantification is vacuous, although shapes with these parameters exist only when .
QAlgorithms.Papers.Independent.Intake100.P36.StandardMultiTableau
For natural numbers and an array with components, entries per component, entries in , total sum , and weakly decreasing entries in each component, let be the set of triples with , , and . This is the type of bijections such that for every pair and of nodes, , , and imply , and , , and imply . Thus the labels increase along each row and each column within each component, with no comparison requirement between different components. When , both sets of the bijection are empty, and there is exactly one such tableau.
QAlgorithms.Papers.Independent.Intake100.P36.TableauDominates
For natural numbers , let consist of weakly decreasing lists of row lengths, each length between and , with total sum . Its nodes are triples with , , and . Let be bijective labelings of these nodes by , increasing along each row and down each column within each component. The assertion that dominates means that, for every natural number , every component , and every natural number ,
There is no upper bound on . When , both counts are zero; when , every such comparison is between zero counts. If , no such exists.
QAlgorithms.Papers.Independent.Intake100.P36.affineCyclotomicRel
For any commutative ring , natural numbers , unit , parameters indexed by , and elements of an -algebra , this predicate is defined as follows. The algebra is generated by for and mutually commuting invertible for , with relations , commutation of when , the braid relations whenever the indices exist, , and commutation of with and whenever . The predicate holds exactly when , , with factors ordered by increasing , and . It is false for every when . When , the product is empty and equals , so for the predicate holds exactly for and . No invertibility or distinctness assumptions are imposed on the .
QAlgorithms.Papers.Independent.Intake100.P36.affineFreeT
For any commutative ring and natural numbers , work in the free unital associative -algebra whose generator set is the disjoint union of a set of size and the pairs with and Boolean. The element defined here is the generator in the first summand with zero-based index if , and it is the zero element otherwise. In particular, it is zero for , for , and for every when or ; the subtraction is natural-number subtraction and is used to select a generator only in the branch where .
QAlgorithms.Papers.Independent.Intake100.P36.affineFreeX
For any commutative ring , natural numbers , and Boolean value , work in the free unital associative -algebra with generator set consisting of a first summand of size and a second summand of pairs with and Boolean. The element defined here is the second-summand generator indexed by when , and zero when . The two Boolean values select distinct formal generator labels; the definition itself imposes no inverse relation. For , its value is zero for every .
QAlgorithms.Papers.Independent.Intake100.P36.affineHeckeX
Let be any commutative ring, , a natural number, , and a Boolean value. Consider the quotient of the free unital associative -algebra on , , and , , by the relations , for and , for , , and , , pairwise commutation of all , for , and for , , , , and either sign . The element defined here is the image under the canonical quotient -algebra homomorphism of if is false and of if is true. Since is part of the argument’s type, the free-generator definition always uses its valid-index branch; there is no such argument when .
QAlgorithms.Papers.Independent.Intake100.P36.affineLaurentEval
For any commutative ring , natural number , unit , and finitely supported Laurent polynomial in variables, this defines an element of the following -algebra : it has generators for and mutually commuting invertible generators for , subject to , when , when and , , and for whenever . The defined element is , with the product taken in increasing order of , where if , and if . Here multiplication by is scalar multiplication from . A zero exponent contributes , the zero polynomial gives the empty sum , and for the product is empty and equals , so evaluation gives the constant coefficient. No symmetry condition on is assumed.
QAlgorithms.Papers.Independent.Intake100.P36.affineT
Let be any commutative ring, , and natural numbers. Consider the unital associative -algebra presented by for and for , with relations , when and , when , , and , , pairwise commutation of all , for , and for , , , , and either sign . Here and correspond to the false and true generator labels. The element defined here is the image under the canonical quotient -algebra homomorphism of the free generator when , and is zero otherwise. In particular it is zero at , at , and for every when .
QAlgorithms.Papers.Independent.Intake100.P36.akFreeGenerator
For every commutative ring and natural numbers and , this defines an element of the free associative unital -algebra on generators by
Thus the definition accepts every natural-number index, including indices outside the generating set; when , its value is zero for every .
QAlgorithms.Papers.Independent.Intake100.P36.akT
For every commutative ring , natural number , unit , parameter function , and natural numbers , this defines to be the image of the th free generator under the canonical quotient map when , and zero when . The target is the quotient -algebra on generators imposing
where scalars use the canonical map and the first product has increasing indices. In particular, every is zero when ; if , the quotient imposes .
QAlgorithms.Papers.Independent.Intake100.P36.arikiKoikeMonomial
For every commutative ring , natural numbers , unit , parameter function , function , and permutation of , this defines an element of the quotient -algebra on imposing
with canonical scalar images and increasing order in the first product. Define and for . Choose a list of indices with by classical choice subject, whenever possible, to and , where exchanges and ; otherwise the list is unspecified. For the input pair , the value is
where the values of are read as natural-number exponents and both products retain their displayed order. If , both products are empty and the value is . If , no function of the required type exists.
QAlgorithms.Papers.Independent.Intake100.P36.cyclotomicJM
For every commutative ring , natural numbers , unit , parameter function , and index , this defines the element in the quotient -algebra generated by subject to
with canonical scalar images and increasing order in the cyclotomic product. Its value is obtained from and ; equivalently,
with both strings surrounding empty for . When there is no possible input . If , the quotient imposes .
QAlgorithms.Papers.Independent.Intake100.P36.dominancePrefix
For natural numbers , let have entries in , weakly decreasing in the row index within each component, with total sum . For a component and any natural number , define
Thus the value counts all row lengths in components strictly before , together with the first rows available in component . The argument need not be at most : if , the second sum includes every row of component , while if , it is empty. For , the value is zero; for , there is no component argument .
QAlgorithms.Papers.Independent.Intake100.P36.higherMurphySpan
Let be a commutative ring, natural numbers, , , and an array of entries in , weakly decreasing in each component's row index and with total sum . Let be the unital associative -algebra on , subject to for , for , for , for and , and for and , with scalars mapped into . Set for , , and . For a permutation , classically choose a list of adjacent positions whose reverse has transposition product and whose length is , and define in list order. For any array satisfying the same shape conditions as , its nodes are triples with , , and ; write for the number of nodes lexicographically before , and . A standard tableau of is a bijection from its nodes to that strictly increases along rows and columns within each component. For each such tableau , choose using the condition whenever ; all these classical choices have arbitrary defaults if their predicates have no solution. Let contain those permutations such that every node and with admit a node in the same component and row with , and define
where products use increasing indices and empty products equal . Then is the -submodule of consisting of finite -linear combinations of these elements , over all pairs of standard tableaux of shapes satisfying, for every and every natural number ,
If there are no such shapes and tableaux, the span is the zero submodule; in particular, this occurs when .
QAlgorithms.Papers.Independent.Intake100.P36.jmEval
For every commutative ring , natural numbers , unit , parameter function , and multivariate polynomial over in variables indexed by , this defines an element of the quotient -algebra on imposing
Scalars use the canonical map, and the cyclotomic product is ordered increasingly. With and for , write for the coefficient of the monomial having exponent function . The defined value is
where the support consists of the exponent functions with nonzero coefficient, coefficients act by -scalar multiplication, and each product is ordered by increasing index. The zero polynomial gives the empty sum ; when , every monomial product is the empty product , so the result is the scalar image of the constant polynomial. If , the target quotient imposes .
QAlgorithms.Papers.Independent.Intake100.P36.jmNat
For every commutative ring , natural number , unit , parameter function , and natural number , this defines a sequence in the quotient -algebra generated by with relations
Here scalar coefficients use the canonical map, the cyclotomic product is ordered increasingly, and is defined to be zero for . The sequence is specified by
where is the image in the algebra of the inverse unit. The recursion runs over all natural numbers, not just indices below ; it gives for , including every when . If , the quotient imposes .
QAlgorithms.Papers.Independent.Intake100.P36.jmPowers
For every commutative ring , natural numbers , unit , parameter function , and function , this defines an element in the quotient -algebra on imposing
Scalars use the canonical map, and the cyclotomic product is ordered increasingly. Set and for . The defined element is the ordered product
Exponents may be zero, with zeroth powers equal to . For , the unique exponent function yields the empty product . If , the quotient imposes .
QAlgorithms.Papers.Independent.Intake100.P36.murphy
Let be any commutative ring, natural numbers, , , and an array with entries in , weakly decreasing along rows in each component and with total sum . Its nodes are with , , and . Let each be a bijection from these nodes to such that labels strictly increase with the column within a fixed component and row, and strictly increase with the row within a fixed component and column. Let count nodes lexicographically before , and let be permutations selected by classical choice using, respectively, the conditions and whenever ; a choice has an arbitrary default if its condition has no solution. Work in the unital associative -algebra on , subject to for , for , for , for and , and for and , with scalars mapped into . For a permutation , classically select a list of adjacent positions whose reverse has transposition product and whose length is the inversion count , using an arbitrary default if no such list exists, and define in list order. Let consist of permutations such that every node and with admit a node in the same component and row with . Put , set for , and define , . The definition is
with increasing component and inner indices. The inverse appearing here is the inverse permutation . All empty products are ; when , the tableaux are the unique empty bijections and the value is .
QAlgorithms.Papers.Independent.Intake100.P36.murphyFamily
Let be a commutative ring, natural numbers, , , and , where has entries in , weakly decreasing in each component's row index and with total sum , and are bijections from nodes , with , , and , to , each strictly increasing along rows and columns within each component. The target is the unital associative -algebra on , with relations when , for , when , for with , and for with ; scalars are interpreted through the scalar map. Let count nodes lexicographically before , and choose permutations by the respective predicates , whenever . For each permutation , select a list of adjacent positions whose reverse has transposition product and whose length equals , and put in list order. These selections use classical choice, with arbitrary defaults if the respective predicates have no solution. Let consist of permutations such that each node and satisfying admit a node in the same component and row with . Define , take for , and set , . Then
with products in increasing index order. Empty products are , and for the unique index gives the value ; for , there is no index .
QAlgorithms.Papers.Independent.Intake100.P36.murphyGenerator
Let be a commutative ring, natural numbers, , , and an array of entries in , weakly decreasing in the row index within each component, with total sum . Let be the unital associative -algebra generated by , with relations for , for , for , for and , and for and , interpreting scalars through the algebra's scalar map. For each permutation of , classically select a list of adjacent positions whose reverse has transposition product and whose length is , with arbitrary default if no such list exists, and set in list order. A node of is with , , and ; its rank counts nodes earlier in lexicographic order. Let contain exactly those permutations for which every node and with admit a node in the same component and row with . Define , set out-of-range to zero, and define , . Then
where both products use increasing indices. Empty products are ; for , this element is .
QAlgorithms.Papers.Independent.Intake100.P36.precedingSize
For natural numbers , let have entries in , weakly decreasing along each component's rows, with total sum , and let . The natural number is the sum of all row lengths in components strictly before :
Empty sums are zero; in particular, the value is zero when or . If , there is no permitted argument .
QAlgorithms.Papers.Independent.Intake100.P36.qInteger
For every commutative ring , every unit , and every natural number , this defines the element
where in the sum denotes its underlying element of . When , the sum is empty and its value is .
QAlgorithms.Papers.Independent.Intake100.P36.reducedWord
For every natural number and permutation of , this defines, by classical choice, a list of indices satisfying and , chosen to satisfy the following condition if any such list exists: writing for the transposition exchanging and , the reversed list represents , and the list length equals the number of inversions of , namely
Thus the defining condition concerns the reverse of the returned list. The choice specifies no preferred list among those satisfying the condition; if none satisfies it, the choice still returns an unspecified list of allowed indices. For or , there are no allowed adjacent indices, and the returned list is empty.
QAlgorithms.Papers.Independent.Intake100.P36.rowNumber
For natural numbers , an array with entries in , total sum , and weakly decreasing rows lengths within each component, and a node satisfying , , and , this defines a natural number equal to the number of nodes satisfying , , , and
It counts all nodes strictly preceding in the ordering by component first, then row, then column, so the numbering starts at . When , there is no node to which the definition can be applied.
QAlgorithms.Papers.Independent.Intake100.P36.rowStabilizer
For natural numbers , let be an array with entries in , weakly decreasing in for each component , and satisfying . Its nodes are triples with , , and . Define to be the number of nodes preceding in lexicographic order on component, row, and column. Then is the finite set of permutations of such that, for every node and every , if , there is a node in the same component and row with . The defining condition imposes a requirement only when equals a node's rank. When , there are no nodes, the condition is vacuous, and the set contains the unique permutation of the empty set.
QAlgorithms.Papers.Independent.Intake100.P36.rowSymmetrizer
Let be any commutative ring, natural numbers, a unit, elements of , and an array of integers between and , weakly decreasing in each component's row index and with total sum . Work in the unital associative -algebra generated by , subject to when , for , when , for with , and for and ; elements of in these relations mean their scalar images in . For a permutation of , select by classical choice a list of adjacent positions , where , whose reversed list of transpositions has product and whose length is the number of pairs with , and put in list order; the selection has an arbitrary default if no list satisfies its predicate. The nodes of are triples with , , and ; let count nodes lexicographically before . Let consist of permutations such that, for every node and every with , some node in the same component and row satisfies . The definition is
There are no additional assumptions on . Empty products are ; when , the sum consists of the unique empty permutation's term and equals .
QAlgorithms.Papers.Independent.Intake100.P36.semisimplicityPolynomial
For every commutative ring , natural numbers , unit , and family , this defines
Here nonnegative powers use the underlying element of , and negative powers use its inverse as a unit, subsequently viewed in . All products over empty index sets equal ; in particular, , and when or the product over pairs is empty.
QAlgorithms.Papers.Independent.Intake100.P36.tableauDominancePrefixCount
For natural numbers , let have entries in , weakly decreasing in each component's row index and with total sum . Its nodes are triples with , , and . Let be a bijection from these nodes to whose labels strictly increase along rows and columns within each component. For arbitrary natural numbers and a component , the definition is
Thus it counts nodes labelled strictly below that lie either in a component strictly before or in a row strictly before of component . Neither nor is restricted to be at most : when , every node satisfies the label condition, and when , every row in component satisfies the row condition. The count is zero for or ; when , only components strictly before contribute.
QAlgorithms.Papers.Independent.Intake100.P36.tableauPermutation
For natural numbers , let have components with entries each, entries in , total sum , and weakly decreasing entries in each component. Let consist of the triples with , , and , and let be a bijection strictly increasing along rows and columns within each component. For , let be the number of nodes preceding in the lexicographic ordering by component, row, and column. This defines a permutation of by Hilbert choice using the condition
Hilbert choice selects a permutation satisfying this condition if one exists, and otherwise selects an arbitrary permutation. When , the condition is vacuous and the selected permutation is the unique permutation of the empty set.
QAlgorithms.Papers.Independent.Intake100.P36.tableauResidue
Let be any commutative ring, natural numbers, a unit of , and a family of elements of . Let consist of weakly decreasing lists of row lengths in , with total sum , and let bijectively label its nodes , where , , and , by , increasingly along rows and down columns within each component. For a label , let be its unique node. Its residue is
where is an integer difference, the integer power is computed in the group of units of , and its result is then regarded as an element of . Thus negative exponents use the inverse of . The argument excludes ; the remaining data then also require .
QAlgorithms.Papers.Independent.Intake100.P36.tw
For every commutative ring , natural numbers , unit , function , and permutation of , this defines an element of the quotient -algebra generated by with relations
using canonical scalar images and increasing order in the first product. Choose a list of adjacent indices by classical choice with the condition, whenever satisfiable, that and is the number of pairs with , where swaps and ; if that condition is unsatisfiable, the chosen list is unspecified. The defined element is
in the order of the chosen list. An empty list gives , including when or . If , the quotient imposes .
QAlgorithms.Papers.Independent.Intake100.P36.uPlus
Let be any commutative ring, natural numbers, , , and an array with entries in , weakly decreasing in each component's row index and with total sum . Let be the unital associative -algebra on with relations if , for , if , when and , and when and . Scalars denote their images in . Set for natural indices , define and , and put . The element defined is the ordered product
with components taken in increasing order and, within each component, indices taken in increasing order. An empty inner or outer product is ; thus components with contribute , and the value is when . No conditions on the parameters beyond those stated are imposed.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.