Definitions for Centers of degenerate cyclotomic Hecke algebras and parabolic category O
DefinitionQAlgorithms_Papers_Independent_Intake100_P40The objects the formalized statements of Centers of degenerate cyclotomic Hecke algebras and parabolic category O (arXiv:math/0607717) are stated in. Each was checked against the paper by a blind read-back and a moderator.
DegenerateHeckeLetter: Polynomial and permutation letters, source PDF pp.1,4.degenerateFreeX: Free polynomial letter, PDF pp.1,4.freeW: Free permutation letter, PDF pp.1,4.GradedRel: Presentation of T ⋊ R S_d: polynomial commutativity, group multiplication, variable permutation, and x_i^l=0. This is the actual algebra of PDF p.4.GradedAlgebra: Truncated polynomial skew group algebra, PDF p.4.gradedMap: Canonical presentation map, PDF p.4.gradedX: The variable x_(i+1) in the graded algebra, PDF p.4.gradedW: Permutation in the graded algebra, PDF p.4.orderedMonomial: Source-ordered monomial, meaningful also in a noncommutative ambient ring. The empty product at d=0 is 1 (PDF pp.4,12).hElement: The h_r(I) of PDF p.4, inside its faithful skew-group ambient algebra. Only exponents on I contribute; exponents outside I are required to be zero. The source uses this definition for nonempty I; lemma_2_1 ensures that domain.IsMarkedCycle: A cycle with its actual nonempty letter set, including marked 1-cycles. Lists differing by rotation give the same pair; singleton labels are retained. PDF p.5.MarkedCycle: Canonical cycle data modulo cyclic rotation, PDF p.5.coloredCycle: A^(r)=h_r(A)A, with r any natural color, PDF p.5.ColoredProduct: Canonical disjoint product data. Every letter is covered exactly once, so the otherwise removable color-zero singletons have a unique presentation. This implements the equivalence of presentations on PDF pp.6--7.disjointColoredProductElement: Product of all colored factors in a canonical finite-set ordering. Disjoint factors commute; no summation over their reorderings is used. PDF pp.6--7.polynomialCentralizer: The polynomial centralizer Q_d, PDF p.4. Commuting with all variables is equivalent to commuting with the subalgebra they generate.IsBasisFor: A specified family is a basis of a specified ambient submodule. This asserts both linear independence and exact span, without choosing membership proofs or imposing the nonzero-ring convention forModule.rank. PDF pp.6--12.IsPartition: An ordinary partition is its multiset of strictly positive parts. An empty multiset is the empty partition (PDF p.7).Multipartition: M_d(l), using source colors 0,...,l-1 as component indices, PDF p.7.quotientSize: Sum of the quotients floor(mu_i/l), PDF p.9.PartitionIndex: P_d(l), PDF p.9. Positive parts only; padding zeros is done separately.partitionPhi: The explicitly given phi of PDF p.9. A part a in color r gives (a-1)l+r; zero outputs are omitted from the ordinary partition.partitionInverse: The source inverse formula (PDF p.9): restore exactly the lost color-zero singletons using total size d, then separate by residue modulo l.cycleType: Cycle type, with all fixed points and their colors counted, PDF pp.7--8.orbitSum: z_d(lambda): each distinct canonical colored product is included once. In particular no stabilizer multiplicity or division by d! occurs. PDF p.8.centralizerIndexCount: The rank formula of Theorem 2.3, PDF p.6, computed in Q, not N. The finite tuple m records the multiplicity of cycles of size a+1. The empty product and sum at d=0 give rank 1.singleCycleSum: The sum of all a-cycles of color r, with marked singletons, PDF p.8.murphyY: y_i(k), summing ordered distinct choices of k/l earlier letters. The last letter is i, and the color is k mod l (PDF p.8).rearrangements: All distinct rearrangements of a partition padded to d entries by zeros. The bound mu.sum+1 accommodates every part, including the empty partition. PDF pp.9,12.symmetricMonomial: Monomial symmetric sum for an explicitly given family, PDF pp.9,12. Each exponent tuple occurs once, even if its entries repeat.murphyM: m_d(mu), the second central basis in the graded algebra, PDF p.9.murphyErrorProducts: Error products in Lemma 2.6: the head cycle contains i, every cycle lies in S_(i+1), factors have the uniform color l-1, and the total number of letters is at most p. The set is empty at p=0. PDF pp.8--9.DegenerateAffineHeckeRel: All relations of the degenerate affine Hecke algebra, PDF p.1. The sign is s_i x_(i+1) = x_i s_i + 1.CyclotomicRel: The cyclotomic relation for the monic polynomial f(X)=X^l+sum_(a<l)c_a X^a. At d=0 there is no first variable and no extra relation, giving H_0^f=R. PDF pp.1,21.CyclotomicAlgebra: Literal presented degenerate cyclotomic Hecke algebra, PDF p.1.degenerateCyclotomicQuotientMap: Canonical quotient map, PDF p.1.degenerateCyclotomicVariable: x_(i+1) in H_d^f; separate from the graded variable, PDF pp.1,10--11.cyclotomicP: p_d(mu), with distinct rearrangements, PDF p.12.IsSymmetricPolynomial: Symmetry under the usual permutation of variables, PDF pp.1--2.cyclotomicEvaluate: Evaluation at the commuting cyclotomic variables, expressed as the finite coefficient sum of ordered monomials to allow a noncommutative ambient algebra. PDF pp.1--2.cyclotomicPowerSum: Source-prescribed power sums, PDF p.12.
import Mathlib
/-!
Statements from Brundan, arXiv:math/0607717v3.
All new objects in this file are local to this paper. The algebra presentations
use a letter for every permutation, with the full group multiplication table.
Indices in `Fin d` are zero based; index i represents the source letter i+1.
No nonzero-ring, characteristic, or splitting assumption is imposed in §§2--3.
The representation-theoretic and filtered-symbol nodes are explicitly deferred
in the unit's GAPS.json; no abstract surrogate for those objects is assumed.
-/
noncomputable section
open scoped BigOperators
namespace QAlgorithms.Papers.Independent.Intake100.P40
attribute [local instance] Classical.propDecidable
/-- Polynomial and permutation letters, source PDF pp.1,4. -/
inductive DegenerateHeckeLetter (d : ℕ)
| x : Fin d → DegenerateHeckeLetter d
| w : Equiv.Perm (Fin d) → DegenerateHeckeLetter d
/-- Free polynomial letter, PDF pp.1,4. -/
def degenerateFreeX (R : Type*) [CommRing R] (d : ℕ) (i : Fin d) :
FreeAlgebra R (DegenerateHeckeLetter d) := FreeAlgebra.ι R (.x i)
/-- Free permutation letter, PDF pp.1,4. -/
def freeW (R : Type*) [CommRing R] (d : ℕ) (w : Equiv.Perm (Fin d)) :
FreeAlgebra R (DegenerateHeckeLetter d) := FreeAlgebra.ι R (.w w)
/-- Presentation of T ⋊ R S_d: polynomial commutativity, group multiplication,
variable permutation, and x_i^l=0. This is the actual algebra of PDF p.4. -/
inductive GradedRel (R : Type*) [CommRing R] (l d : ℕ) :
FreeAlgebra R (DegenerateHeckeLetter d) → FreeAlgebra R (DegenerateHeckeLetter d) → Prop
| unit : GradedRel R l d (freeW R d 1) 1
| group (u v : Equiv.Perm (Fin d)) : GradedRel R l d
(freeW R d u * freeW R d v) (freeW R d (u * v))
| commute (i j : Fin d) : GradedRel R l d
(degenerateFreeX R d i * degenerateFreeX R d j) (degenerateFreeX R d j * degenerateFreeX R d i)
| permute (w : Equiv.Perm (Fin d)) (i : Fin d) : GradedRel R l d
(freeW R d w * degenerateFreeX R d i) (degenerateFreeX R d (w i) * freeW R d w)
| truncate (i : Fin d) : GradedRel R l d (degenerateFreeX R d i ^ l) 0
/-- Truncated polynomial skew group algebra, PDF p.4. -/
abbrev GradedAlgebra (R : Type*) [CommRing R] (l d : ℕ) :=
RingQuot (GradedRel R l d)
/-- Canonical presentation map, PDF p.4. -/
def gradedMap (R : Type*) [CommRing R] (l d : ℕ) :
FreeAlgebra R (DegenerateHeckeLetter d) →ₐ[R] GradedAlgebra R l d :=
RingQuot.mkAlgHom R (GradedRel R l d)
/-- The variable x_(i+1) in the graded algebra, PDF p.4. -/
def gradedX (R : Type*) [CommRing R] (l d : ℕ) (i : Fin d) :
GradedAlgebra R l d := gradedMap R l d (degenerateFreeX R d i)
/-- Permutation in the graded algebra, PDF p.4. -/
def gradedW (R : Type*) [CommRing R] (l d : ℕ) (w : Equiv.Perm (Fin d)) :
GradedAlgebra R l d := gradedMap R l d (freeW R d w)
/-- Source-ordered monomial, meaningful also in a noncommutative ambient ring.
The empty product at d=0 is 1 (PDF pp.4,12). -/
def orderedMonomial {A : Type*} [Monoid A] {d : ℕ}
(x : Fin d → A) (e : Fin d → ℕ) : A :=
(List.ofFn fun i : Fin d => x i ^ e i).prod
/-- The h_r(I) of PDF p.4, inside its faithful skew-group ambient algebra.
Only exponents on I contribute; exponents outside I are required to be zero.
The source uses this definition for nonempty I; lemma_2_1 ensures that domain. -/
def hElement (R : Type*) [CommRing R] (l d : ℕ) (I : Finset (Fin d))
(r : ℕ) : GradedAlgebra R l d :=
∑ e ∈ (Finset.univ : Finset (Fin d → Fin l)).filter
(fun e => (∀ i, i ∉ I → (e i).val = 0) ∧
∑ i ∈ I, (e i).val = (I.card - 1) * (l - 1) + r),
orderedMonomial (gradedX R l d) (fun i => (e i).val)
/-- A cycle with its actual nonempty letter set, including marked 1-cycles.
Lists differing by rotation give the same pair; singleton labels are retained.
PDF p.5. -/
def IsMarkedCycle {d : ℕ}
(p : Finset (Fin d) × Equiv.Perm (Fin d)) : Prop :=
∃ t : List (Fin d), t.Nodup ∧ t ≠ [] ∧ t.toFinset = p.1 ∧ t.formPerm = p.2
/-- Canonical cycle data modulo cyclic rotation, PDF p.5. -/
abbrev MarkedCycle (d : ℕ) :=
{p : Finset (Fin d) × Equiv.Perm (Fin d) // IsMarkedCycle p}
instance markedCycleFintype (d : ℕ) : Fintype (MarkedCycle d) := Fintype.ofFinite _
/-- A^(r)=h_r(A)A, with r any natural color, PDF p.5. -/
def coloredCycle (R : Type*) [CommRing R] (l d : ℕ)
(A : MarkedCycle d) (r : ℕ) : GradedAlgebra R l d :=
hElement R l d A.val.1 r * gradedW R l d A.val.2
/-- Canonical disjoint product data. Every letter is covered exactly once,
so the otherwise removable color-zero singletons have a unique presentation.
This implements the equivalence of presentations on PDF pp.6--7. -/
abbrev ColoredProduct (l d : ℕ) :=
{s : Finset (MarkedCycle d × Fin l) //
(s : Set (MarkedCycle d × Fin l)).Pairwise
(fun a b => Disjoint a.1.val.1 b.1.val.1) ∧
s.biUnion (fun a => a.1.val.1) = Finset.univ}
instance coloredProductFintype (l d : ℕ) : Fintype (ColoredProduct l d) :=
Fintype.ofFinite _
/-- Product of all colored factors in a canonical finite-set ordering.
Disjoint factors commute; no summation over their reorderings is used.
PDF pp.6--7. -/
def disjointColoredProductElement (R : Type*) [CommRing R] (l d : ℕ)
(C : ColoredProduct l d) : GradedAlgebra R l d :=
(C.val.toList.map fun a => coloredCycle R l d a.1 a.2.val).prod
/-- The polynomial centralizer Q_d, PDF p.4. Commuting with all variables
is equivalent to commuting with the subalgebra they generate. -/
def polynomialCentralizer (R : Type*) [CommRing R] (l d : ℕ) :
Subalgebra R (GradedAlgebra R l d) :=
Subalgebra.centralizer R (Set.range (gradedX R l d))
/-- A specified family is a basis of a specified ambient submodule.
This asserts both linear independence and exact span, without choosing
membership proofs or imposing the nonzero-ring convention for `Module.rank`.
PDF pp.6--12. -/
def IsBasisFor {R A J : Type*} [CommRing R] [Ring A] [Algebra R A]
(b : J → A) (M : Submodule R A) : Prop :=
LinearIndependent R b ∧ Submodule.span R (Set.range b) = M
/-- An ordinary partition is its multiset of strictly positive parts.
An empty multiset is the empty partition (PDF p.7). -/
def IsPartition (mu : Multiset ℕ) : Prop := ∀ a ∈ mu, 0 < a
/-- M_d(l), using source colors 0,...,l-1 as component indices, PDF p.7. -/
abbrev Multipartition (l d : ℕ) :=
{lam : Fin l → Multiset ℕ //
(∀ r, IsPartition (lam r)) ∧ ∑ r : Fin l, (lam r).sum = d}
/-- Sum of the quotients floor(mu_i/l), PDF p.9. -/
def quotientSize (l : ℕ) (mu : Multiset ℕ) : ℕ :=
(mu.map fun a => a / l).sum
/-- P_d(l), PDF p.9. Positive parts only; padding zeros is done separately. -/
abbrev PartitionIndex (l d : ℕ) :=
{mu : Multiset ℕ // IsPartition mu ∧ mu.card + quotientSize l mu ≤ d}
/-- The explicitly given phi of PDF p.9. A part a in color r gives
(a-1)l+r; zero outputs are omitted from the ordinary partition. -/
def partitionPhi (l : ℕ) (lam : Fin l → Multiset ℕ) : Multiset ℕ :=
∑ r : Fin l, ((lam r).map fun a => (a - 1) * l + r.val).filter (fun b => 0 < b)
/-- The source inverse formula (PDF p.9): restore exactly the lost color-zero
singletons using total size d, then separate by residue modulo l. -/
def partitionInverse (l d : ℕ) (mu : Multiset ℕ) : Fin l → Multiset ℕ :=
fun r => ((mu + Multiset.replicate (d - quotientSize l mu - mu.card) 0).filter
(fun a => a % l = r.val)).map (fun a => a / l + 1)
/-- Cycle type, with all fixed points and their colors counted, PDF pp.7--8. -/
def cycleType {l d : ℕ} (C : ColoredProduct l d) : Fin l → Multiset ℕ :=
fun r => ((C.val.filter fun a => a.2 = r).val.map fun a => a.1.val.1.card)
/-- z_d(lambda): each distinct canonical colored product is included once.
In particular no stabilizer multiplicity or division by d! occurs. PDF p.8. -/
def orbitSum (R : Type*) [CommRing R] (l d : ℕ)
(lam : Multipartition l d) : GradedAlgebra R l d :=
∑ C ∈ (Finset.univ : Finset (ColoredProduct l d)).filter
(fun C => cycleType C = lam.val), disjointColoredProductElement R l d C
/-- The rank formula of Theorem 2.3, PDF p.6, computed in Q, not N.
The finite tuple m records the multiplicity of cycles of size a+1.
The empty product and sum at d=0 give rank 1. -/
def centralizerIndexCount (l d : ℕ) : ℚ :=
∑ m ∈ (Finset.univ : Finset (Fin d → Fin (d + 1))).filter
(fun m => ∑ a : Fin d, (a.val + 1) * (m a).val = d),
((Nat.factorial d : ℚ) / ∏ a : Fin d, (Nat.factorial (m a).val : ℚ)) *
∏ a : Fin d, ((l : ℚ) / (a.val + 1 : ℕ)) ^ (m a).val
/-- The sum of all a-cycles of color r, with marked singletons, PDF p.8. -/
def singleCycleSum (R : Type*) [CommRing R] (l d a r : ℕ) :
GradedAlgebra R l d :=
∑ A ∈ (Finset.univ : Finset (MarkedCycle d)).filter
(fun A => A.val.1.card = a), coloredCycle R l d A r
/-- y_i(k), summing ordered distinct choices of k/l earlier letters.
The last letter is i, and the color is k mod l (PDF p.8). -/
def murphyY (R : Type*) [CommRing R] (l d : ℕ) (i : Fin d) (k : ℕ) :
GradedAlgebra R l d :=
∑ e ∈ (Finset.univ : Finset (Fin (k / l) → Fin d)).filter
(fun e => Function.Injective e ∧ ∀ j, (e j).val < i.val),
hElement R l d (List.ofFn e ++ [i]).toFinset (k % l) *
gradedW R l d (List.ofFn e ++ [i]).formPerm
/-- All distinct rearrangements of a partition padded to d entries by zeros.
The bound mu.sum+1 accommodates every part, including the empty partition.
PDF pp.9,12. -/
def rearrangements (d : ℕ) (mu : Multiset ℕ) :
Finset (Fin d → Fin (mu.sum + 1)) :=
Finset.univ.filter fun e =>
(((List.ofFn fun i : Fin d => (e i).val) : Multiset ℕ).filter (fun a => 0 < a)) = mu
/-- Monomial symmetric sum for an explicitly given family, PDF pp.9,12.
Each exponent tuple occurs once, even if its entries repeat. -/
def symmetricMonomial {A : Type*} [Ring A] {d : ℕ}
(x : Fin d → ℕ → A) (mu : Multiset ℕ) : A :=
∑ e ∈ rearrangements d mu, (List.ofFn fun i : Fin d => x i (e i).val).prod
/-- m_d(mu), the second central basis in the graded algebra, PDF p.9. -/
def murphyM (R : Type*) [CommRing R] (l d : ℕ) (mu : Multiset ℕ) :
GradedAlgebra R l d := symmetricMonomial (murphyY R l d) mu
/-- Error products in Lemma 2.6: the head cycle contains i, every cycle lies
in S_(i+1), factors have the uniform color l-1, and the total number of
letters is at most p. The set is empty at p=0. PDF pp.8--9. -/
def murphyErrorProducts (R : Type*) [CommRing R] (l d : ℕ)
(i : Fin d) (p : ℕ) : Set (GradedAlgebra R l d) :=
{z | ∃ (A : MarkedCycle d) (t : List (MarkedCycle d)),
i ∈ A.val.1 ∧
(A :: t).Pairwise (fun B C => Disjoint B.val.1 C.val.1) ∧
(∀ B ∈ A :: t, ∀ j ∈ B.val.1, j.val ≤ i.val) ∧
((A :: t).foldl (fun (S : Finset (Fin d)) (B : MarkedCycle d) => S ∪ B.val.1) ∅).card ≤ p ∧
z = ((A :: t).map fun B => coloredCycle R l d B (l - 1)).prod}
/-- All relations of the degenerate affine Hecke algebra, PDF p.1.
The sign is s_i x_(i+1) = x_i s_i + 1. -/
inductive DegenerateAffineHeckeRel (R : Type*) [CommRing R] (d : ℕ) :
FreeAlgebra R (DegenerateHeckeLetter d) → FreeAlgebra R (DegenerateHeckeLetter d) → Prop
| unit : DegenerateAffineHeckeRel R d (freeW R d 1) 1
| group (u v : Equiv.Perm (Fin d)) : DegenerateAffineHeckeRel R d
(freeW R d u * freeW R d v) (freeW R d (u * v))
| commute (i j : Fin d) : DegenerateAffineHeckeRel R d
(degenerateFreeX R d i * degenerateFreeX R d j) (degenerateFreeX R d j * degenerateFreeX R d i)
| adjacent (i j : Fin d) (hj : j.val = i.val + 1) : DegenerateAffineHeckeRel R d
(freeW R d (Equiv.swap i j) * degenerateFreeX R d j)
(degenerateFreeX R d i * freeW R d (Equiv.swap i j) + 1)
| far (i j k : Fin d) (hj : j.val = i.val + 1) (hki : k ≠ i) (hkj : k ≠ j) :
DegenerateAffineHeckeRel R d (freeW R d (Equiv.swap i j) * degenerateFreeX R d k)
(degenerateFreeX R d k * freeW R d (Equiv.swap i j))
/-- The cyclotomic relation for the monic polynomial
f(X)=X^l+sum_(a<l)c_a X^a. At d=0 there is no first variable and no
extra relation, giving H_0^f=R. PDF pp.1,21. -/
inductive CyclotomicRel (R : Type*) [CommRing R] (l d : ℕ) (c : Fin l → R) :
FreeAlgebra R (DegenerateHeckeLetter d) → FreeAlgebra R (DegenerateHeckeLetter d) → Prop
| hecke {a b} (h : DegenerateAffineHeckeRel R d a b) : CyclotomicRel R l d c a b
| cyclotomic (i : Fin d) (hi : i.val = 0) : CyclotomicRel R l d c
(degenerateFreeX R d i ^ l + ∑ a : Fin l,
algebraMap R _ (c a) * degenerateFreeX R d i ^ a.val) 0
/-- Literal presented degenerate cyclotomic Hecke algebra, PDF p.1. -/
abbrev CyclotomicAlgebra (R : Type*) [CommRing R] (l d : ℕ) (c : Fin l → R) :=
RingQuot (CyclotomicRel R l d c)
/-- Canonical quotient map, PDF p.1. -/
def degenerateCyclotomicQuotientMap (R : Type*) [CommRing R] (l d : ℕ) (c : Fin l → R) :
FreeAlgebra R (DegenerateHeckeLetter d) →ₐ[R] CyclotomicAlgebra R l d c :=
RingQuot.mkAlgHom R (CyclotomicRel R l d c)
/-- x_(i+1) in H_d^f; separate from the graded variable, PDF pp.1,10--11. -/
def degenerateCyclotomicVariable (R : Type*) [CommRing R] (l d : ℕ) (c : Fin l → R) (i : Fin d) :
CyclotomicAlgebra R l d c := degenerateCyclotomicQuotientMap R l d c (degenerateFreeX R d i)
/-- p_d(mu), with distinct rearrangements, PDF p.12. -/
def cyclotomicP (R : Type*) [CommRing R] (l d : ℕ) (c : Fin l → R)
(mu : Multiset ℕ) : CyclotomicAlgebra R l d c :=
symmetricMonomial (fun i k => degenerateCyclotomicVariable R l d c i ^ k) mu
/-- Symmetry under the usual permutation of variables, PDF pp.1--2. -/
def IsSymmetricPolynomial {R : Type*} [CommRing R] {d : ℕ}
(p : MvPolynomial (Fin d) R) : Prop :=
∀ w : Equiv.Perm (Fin d), MvPolynomial.rename w p = p
/-- Evaluation at the commuting cyclotomic variables, expressed as the finite
coefficient sum of ordered monomials to allow a noncommutative ambient algebra.
PDF pp.1--2. -/
def cyclotomicEvaluate (R : Type*) [CommRing R] (l d : ℕ) (c : Fin l → R)
(p : MvPolynomial (Fin d) R) : CyclotomicAlgebra R l d c :=
∑ e ∈ p.support, p.coeff e • orderedMonomial (degenerateCyclotomicVariable R l d c) (fun i => e i)
/-- Source-prescribed power sums, PDF p.12. -/
def cyclotomicPowerSum (R : Type*) [CommRing R] (l d : ℕ) (c : Fin l → R)
(r : ℕ) : CyclotomicAlgebra R l d c := ∑ i : Fin d, degenerateCyclotomicVariable R l d c i ^ r
/-- Sanity: a marked singleton has its letter even though its permutation is 1. -/
example {d : ℕ} (i : Fin d) :
IsMarkedCycle ({i}, (1 : Equiv.Perm (Fin d))) := by
exact ⟨[i], by simp, by simp, by simp, by simp⟩
/-- Sanity: the d=0 monomial is the empty product 1. -/
example {A : Type*} [Monoid A] (x : Fin 0 → A) (e : Fin 0 → ℕ) :
orderedMonomial x e = 1 := by
simp [orderedMonomial]
/-- Sanity: the presentation really kills x_1^l, including l=1. -/
example (R : Type*) [CommRing R] (l : ℕ) :
gradedX R l 1 (0 : Fin 1) ^ l = 0 := by
have h := RingQuot.mkAlgHom_rel R (GradedRel.truncate (R := R) (l := l)
(d := 1) (0 : Fin 1))
simpa only [gradedX, gradedMap, map_pow, map_zero] using h
/-- Sanity: the Hecke sign is the printed plus sign, on two letters. -/
example (R : Type*) [CommRing R] (l : ℕ) (c : Fin l → R) :
degenerateCyclotomicQuotientMap R l 2 c (freeW R 2 (Equiv.swap (0 : Fin 2) 1)) *
degenerateCyclotomicVariable R l 2 c 1 =
degenerateCyclotomicVariable R l 2 c 0 *
degenerateCyclotomicQuotientMap R l 2 c (freeW R 2 (Equiv.swap (0 : Fin 2) 1)) + 1 := by
have h := RingQuot.mkAlgHom_rel R
(CyclotomicRel.hecke (l := l) (c := c)
(DegenerateAffineHeckeRel.adjacent (R := R) (d := 2) (0 : Fin 2) 1 (by decide)))
simpa only [degenerateCyclotomicVariable, degenerateCyclotomicQuotientMap, map_mul, map_add, map_one] using h
/-- Sanity: all three lost color-zero singleton parts are restored at d=3. -/
example : partitionInverse 1 3 0 (0 : Fin 1) = {1, 1, 1} := by
simp [partitionInverse, quotientSize, Multiset.filter_singleton]
/-- Sanity: the rational rank expression has the correct empty value. -/
example (l : ℕ) : centralizerIndexCount l 0 = 1 := by
simp [centralizerIndexCount]
end QAlgorithms.Papers.Independent.Intake100.P40
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Intake100.P40.ColoredProduct
For any natural numbers , this is the type of finite sets of pairs , where and has a witness consisting of a nonempty list of distinct indices in whose entry set is and whose associated cyclic permutation is , subject to two conditions: the supports belonging to any two distinct members of are disjoint, and the union of all these supports is . The disjointness requirement applies even when two entries differ only in their colors. When , the only such finite set is the empty set, for every ; when and , there are no such finite sets.
QAlgorithms.Papers.Independent.Intake100.P40.CyclotomicAlgebra
For any commutative ring , natural numbers , and coefficient function , this defines an -algebra as the quotient of the free associative unital -algebra on formal generators , for , and , for permutations of , by the relations
All indices in these relations must lie in . There is no positivity assumption on or , and may be the zero ring. If and , the last relation is . If , there are no , no adjacent or far relations, and no cyclotomic relation; the only permutation generator is identified with , so the quotient is canonically .
QAlgorithms.Papers.Independent.Intake100.P40.CyclotomicRel
For any commutative ring , arbitrary natural numbers , and any coefficient family in , let be the free associative unital -algebra with generators , , and separate generators for every permutation of these indices. This declaration defines a binary relation on consisting of all pairs
together with the pair
where swaps , is permutation multiplication, and is the scalar map. The first five kinds of pairs are included through their membership in the relation generated by those five clauses. These are related pairs of free-algebra elements; this declaration does not itself impose equality or closure under symmetry, transitivity, or algebra operations. There are no restrictions on the coefficients. If , there is no instance of the last clause; if , the coefficient family and sum are empty, and for the last clause supplies the pair .
QAlgorithms.Papers.Independent.Intake100.P40.DegenerateAffineHeckeRel
For any commutative ring and natural number , let be the free associative unital -algebra with a generator for every and a separate generator for every permutation of these indices. This declaration defines a binary relation on whose related pairs are exactly those supplied by the following five clauses:
Here is the permutation swapping and , and is permutation multiplication. These are ordered pairs in a relation on the free algebra; the declaration itself does not identify their entries or add symmetry, transitivity, or compatibility with algebra operations. The case is included: there is still a generator for the unique permutation, while every clause requiring an index has no instances. The adjacent clause has no instances for , and the final clause has none for . No nontriviality assumption is imposed on .
QAlgorithms.Papers.Independent.Intake100.P40.DegenerateHeckeLetter
For each natural number , including , this defines an alphabet with two disjoint kinds of letters: a letter for every , and a letter for every permutation of that set. Each constructor is injective, and no letter of the first kind equals a letter of the second kind. These are letters, with no multiplication or algebraic relations specified. When , there are no -letters and exactly one -letter, indexed by the unique permutation of the empty set.
QAlgorithms.Papers.Independent.Intake100.P40.GradedAlgebra
For every commutative ring and natural numbers , this abbreviates the ring quotient of the free associative unital -algebra on generators and , indexed by and permutations of that set, obtained by imposing
for every applicable index and permutation. Equivalently, it identifies the displayed pairs using the smallest ring congruence containing them. Both and are allowed: when and , a truncation relation imposes , so the quotient is the zero ring; when , there are no relations involving an .
QAlgorithms.Papers.Independent.Intake100.P40.GradedRel
For every commutative ring and natural numbers , this defines a binary relation on the free associative unital -algebra on letters and , where and is a permutation of that set. Writing and for the corresponding free generators, its related pairs are precisely the following pairs, for all indicated indices and permutations:
Here is permutation composition, applying first and then . The definition specifies these pairs themselves; it does not take their equivalence closure or their closure under ring operations. If and an index exists, the last kind of pair is . If , only the first two kinds have instances.
QAlgorithms.Papers.Independent.Intake100.P40.IsBasisFor
For arbitrary types , with a commutative ring, a ring equipped with an -algebra structure, a family , and an -submodule , this defines the proposition that is linearly independent over and that its -linear span is exactly . Explicitly, every finitely supported relation , with , has all coefficients zero, and
No finiteness assumption on , commutativity assumption on , or nonzero-ring assumption is imposed. If is empty, the proposition holds exactly when .
QAlgorithms.Papers.Independent.Intake100.P40.IsMarkedCycle
For every natural number and pair consisting of a finite subset and a permutation of that set, this defines the condition that there exists a nonempty list of indices with no repeated entries, whose set of entries is exactly , and whose associated cyclic permutation is exactly . The permutation associated to the list cycles through its entries in their listed order and fixes indices outside the list; a singleton list gives the identity permutation. Thus must be nonempty, but is allowed to be the identity, as occurs for a singleton list. No pair satisfies the condition when .
QAlgorithms.Papers.Independent.Intake100.P40.IsPartition
For any finite multiset of natural numbers, this defines the proposition that every entry of is strictly positive:
Repeated entries are permitted, no ordering is specified, and the empty multiset satisfies the condition vacuously.
QAlgorithms.Papers.Independent.Intake100.P40.IsSymmetricPolynomial
For any commutative ring , any natural number , and any polynomial over in the variables indexed by , this defines the assertion that every permutation of the index set leaves unchanged when every variable is replaced by :
The ring is not required to be nonzero. The case is included: there are no variables and every such polynomial satisfies the assertion.
QAlgorithms.Papers.Independent.Intake100.P40.MarkedCycle
For every natural number , this abbreviates the type of pairs , equipped with evidence that there exists a nonempty list of distinct elements of whose set of entries is and whose associated cyclic permutation is . Here is a finite subset, is a permutation of the whole index set, and the associated permutation cycles through the list in its listed order while fixing all other indices. The witnessing list is not itself part of the stored pair. Singleton sets paired with the identity permutation are included, and there are no such objects when .
QAlgorithms.Papers.Independent.Intake100.P40.Multipartition
For any natural numbers , this is the type of families of finite multisets of natural numbers such that every entry in every is strictly positive and
where entries are counted with multiplicity. Individual multisets may be empty. When , the empty family is admissible exactly when ; when , every component must be empty.
QAlgorithms.Papers.Independent.Intake100.P40.PartitionIndex
For any natural numbers , this is the type of finite multisets of strictly positive natural numbers satisfying
where counts entries with multiplicity and division is natural-number division. The empty multiset is admissible for every . When , each quotient is zero, so the bound becomes , with no further bound on the sizes of its positive entries; when , only the empty multiset is admissible.
QAlgorithms.Papers.Independent.Intake100.P40.centralizerIndexCount
For arbitrary natural numbers , the defined rational number is
All arithmetic in each summand, apart from the natural-number factorials and exponents, is rational arithmetic. The sum runs over every function from the indices to satisfying the displayed weighted-sum equality. When , the unique empty function satisfies the condition and both empty products are , so the value is . When , powers with exponent still have value , including ; the value is for .
QAlgorithms.Papers.Independent.Intake100.P40.coloredCycle
For any commutative ring , natural numbers , pair witnessed by a nonempty list of distinct indices in with entry set and associated cyclic permutation , and arbitrary natural number , this defines an element in the -algebra generated by and , for indices and permutations , subject to , , , , and , by
Both subtractions in the degree condition are natural-number subtraction, truncated at zero. There is no requirement that ; if no exponent assignment satisfies the conditions, the sum is zero. Such an cannot exist when . When , its nonempty support ensures that there are no exponent assignments, and the algebra also satisfies .
QAlgorithms.Papers.Independent.Intake100.P40.coloredProductFintype
For every pair of natural numbers , this supplies a finite enumeration of all finite sets of colored pairs , where , each is the entry set of a nonempty list of distinct indices, and is that list’s associated cyclic permutation, such that the supports of distinct entries are disjoint and their union is all of . When , the enumeration has exactly the empty finite set as its member; when and , it has no members.
QAlgorithms.Papers.Independent.Intake100.P40.cycleType
For arbitrary natural numbers , let be a finite set of pairs , where , , and there exists a nonempty list of distinct indices whose underlying set is and whose associated cyclic permutation is . Thus is nonempty, cycles through that list and fixes indices outside , and a singleton list gives the identity permutation. Assume that the supports of distinct members of are pairwise disjoint and their union is all of . The output assigns to each color the multiset of cardinalities of precisely those members of with color , retaining repeated cardinalities. A color occurring nowhere gives the empty multiset. When , is empty and every component is empty; when , such an input exists only if , and the output is an empty-domain function.
QAlgorithms.Papers.Independent.Intake100.P40.cyclotomicEvaluate
For any commutative ring , natural numbers , function , and polynomial over in variables indexed by , let be the -algebra generated by and permutation generators , subject to , , , , and for , together with when ; adjacent indices must exist. For each exponent vector , let be its coefficient in . This defines
where the dot is scalar multiplication by , the support consists of the exponent vectors with nonzero coefficient, and each product is in increasing index order. No symmetry assumption is imposed on . The zero polynomial gives an empty sum, hence zero. If , the product is empty and equals , so this gives the image of the constant coefficient. If , the quotient satisfies .
QAlgorithms.Papers.Independent.Intake100.P40.cyclotomicP
For any commutative ring , natural numbers , function , and finite multiset of natural numbers, let be the -algebra generated by , for , and , for permutations of these indices, with relations , , , , and when , together with if ; adjacent indices must exist. Writing for the sum of the entries of , this defines
Each exponent function is counted once, and products follow increasing index order. No positivity condition is imposed on the entries of . If contains zero, or has more than entries, the indexing set is empty and . For the empty multiset, , including when ; when , every nonempty gives zero. If , the quotient satisfies .
QAlgorithms.Papers.Independent.Intake100.P40.cyclotomicPowerSum
For any commutative ring , natural numbers , and coefficient function , let be the -algebra with generators , for , and , for permutations of those indices, satisfying , , , , and for , together with if ; adjacent indices must exist. This defines the element
The exponent is allowed and gives . When , the sum is empty and equals zero for every . The value is allowed; if also , the quotient satisfies .
QAlgorithms.Papers.Independent.Intake100.P40.degenerateCyclotomicQuotientMap
For any commutative ring , natural numbers , and function , this defines the canonical -algebra homomorphism from the free associative unital -algebra on formal generators , for , and , for permutations of , to its quotient imposing
Adjacent indices are required to lie in . The homomorphism sends each free generator to its equivalence class and preserves the -algebra operations. Neither nor is required to be positive: for , the quotient satisfies ; for , the cyclotomic relation is absent and the quotient is canonically .
QAlgorithms.Papers.Independent.Intake100.P40.degenerateCyclotomicVariable
For any commutative ring , natural numbers , coefficient function , and index , this defines to be the image of the formal generator in the quotient of the free associative unital -algebra on generators and , indexed respectively by and permutations of that set, subject to
All indices must exist in the indicated finite set. The supplied index requires , so there is no instance of this definition with an index when . The value is allowed, in which case the quotient satisfies .
QAlgorithms.Papers.Independent.Intake100.P40.degenerateFreeX
For every commutative ring , every natural number , and every index , this defines to be the canonical generator corresponding to the letter in the free associative unital -algebra whose alphabet consists of distinct letters for indices and for permutations of . No relations among these generators are imposed here. For , there is no admissible index .
QAlgorithms.Papers.Independent.Intake100.P40.disjointColoredProductElement
For any commutative ring , natural numbers , and finite set of entries , where , each is represented by a nonempty list of distinct indices with entry set and associated cyclic permutation , and the supports of distinct entries are disjoint and cover , this defines
with the factors multiplied in the order of that list. The ambient -algebra has generators and defining relations , , , , and ; subtraction in the summation condition is natural-number subtraction, truncated at zero. An empty inner sum is zero, and an empty product is . In particular, when , is empty and the result is ; when , no such exists.
QAlgorithms.Papers.Independent.Intake100.P40.freeW
For every commutative ring , every natural number , and every permutation of , this defines to be the canonical generator corresponding to the letter in the free associative unital -algebra on the letters and , indexed respectively by indices and permutations of that set. In this free algebra, the notation does not impose or any multiplication relations among the . When , the definition still supplies a generator for the unique permutation of the empty set.
QAlgorithms.Papers.Independent.Intake100.P40.gradedMap
For every commutative ring and natural numbers , this defines the canonical -algebra homomorphism from the free associative unital -algebra on generators and to its ring quotient imposing
for all indices and permutations of that set. The map sends each free-algebra element to its quotient class. The parameters may be zero; in particular, if and , the target satisfies .
QAlgorithms.Papers.Independent.Intake100.P40.gradedW
For every commutative ring , natural numbers , and permutation of , this defines to be the quotient class of the free generator corresponding to the letter . Its ambient algebra is the quotient of the free associative unital -algebra on generators and by
for all applicable indices and permutations. The definition includes , when is the unique permutation of the empty set and its class is . If and , the quotient is the zero ring.
QAlgorithms.Papers.Independent.Intake100.P40.gradedX
For every commutative ring , natural numbers , and index , this defines to be the quotient class of the free generator corresponding to the letter . Its ambient algebra is the quotient of the free associative unital -algebra on letters and by the relations
for every applicable index and permutation. There is no admissible when ; if and , this quotient is the zero ring.
QAlgorithms.Papers.Independent.Intake100.P40.hElement
For every commutative ring , natural numbers , and finite subset , this defines an element as follows. Work in the quotient of the free associative unital -algebra on generators imposing , , , , and for all applicable indices and permutations, and write for the quotient class of . Then
where is natural-number subtraction and each product follows increasing index order. An empty indexing set gives a zero sum. In particular, if and , there are no exponent assignments; if , necessarily , and the sum is for and otherwise. If and , the same values hold because only the all-zero exponent assignment can contribute.
QAlgorithms.Papers.Independent.Intake100.P40.markedCycleFintype
For every natural number , this supplies a finite enumeration of all pairs , where and is a permutation of that set, satisfying the following condition: there exists a nonempty list of distinct indices whose set of entries is and whose associated cyclic permutation is . The witnessing list is not part of the enumerated data. In particular, must be nonempty, so there are no such pairs when ; singleton supports are allowed and give the identity permutation.
QAlgorithms.Papers.Independent.Intake100.P40.murphyErrorProducts
Let be any commutative ring, let be arbitrary natural numbers, and choose . Work in the quotient of the free associative -algebra on and permutation generators , with relations , , , , and . A marked cycle is a pair represented by a nonempty list of distinct indices with underlying set and cyclic permutation , fixing indices outside that set; singleton lists give the identity permutation. For every subset and natural number , put
where denotes truncated natural subtraction. The defined set consists exactly of elements for which there exist a marked cycle and a finite list of marked cycles such that , the supports of the entries of the nonempty list are pairwise disjoint, every index in any of these supports is at most , their union has cardinality at most , and is the product, in that list order, of the factors . The list may be empty, and the union need not cover all indices. For , the existential conditions are impossible because the union contains , so the set is empty. There is no permissible when . At , the color is , and the quotient has whenever such an exists.
QAlgorithms.Papers.Independent.Intake100.P40.murphyM
Let be any commutative ring, let be arbitrary natural numbers, and let be any multiset of natural numbers, without a positivity or size hypothesis. Work in the quotient of the free associative -algebra on generators , , and , indexed by permutations of the indices, with relations , , , , and . Define
where is truncated natural subtraction. For each and , define as the sum over injective functions satisfying , with summand ; here is the underlying set of the ordered list , and cycles through that list and fixes all other indices, with a singleton list giving the identity. Writing , the defined element is
with factors in increasing index order. All empty sums are and empty products are . In particular, a zero entry in , or , makes the result ; for , it is for empty and otherwise. Division by zero and remainder modulo zero use and ; is allowed, and for the quotient has .
QAlgorithms.Papers.Independent.Intake100.P40.murphyY
Let be any commutative ring, let be arbitrary natural numbers, and choose an index , so that no such input exists when . Work in the quotient of the free associative -algebra on and permutation generators , with relations , , , , and . Put and , using natural-number division and remainder. Sum over all injective functions such that for every . For each , let , let be its underlying set, and let be its cyclic permutation, fixing indices outside the list; when , this permutation is the identity. The summand is , with
where is truncated natural subtraction. The defined element is the sum of these summands. If , there are no eligible functions and the result is ; if , the unique empty function contributes one summand. At , division gives and remainder gives ; the exponent-assignment sum is empty because , so the result is .
QAlgorithms.Papers.Independent.Intake100.P40.orbitSum
Let be any commutative ring, let be arbitrary natural numbers, and let be a family of multisets of strictly positive natural numbers satisfying . Work in the quotient of the free associative -algebra with generators , , and , one for every permutation of these indices, by the relations , , , , and . For a subset of the indices and a natural number , put
where is truncated natural subtraction. A marked cycle means that some nonempty list of distinct indices has underlying set and associated cyclic permutation , fixing indices outside ; singleton lists give the identity permutation. Consider every finite set of pairs with , pairwise disjoint supports, and supports covering all indices. Retain exactly those for which, for every , the multiset of support sizes of its members colored equals . The defined element is the sum, over these retained , of the product of over its members, taken in the order of the list obtained by converting that finite set to a list. Empty sums are and empty products are . In particular, for the result is ; for there is no admissible . No nontriviality assumption is imposed on .
QAlgorithms.Papers.Independent.Intake100.P40.orderedMonomial
For every monoid , every natural number , every family indexed by , and every family of natural-number exponents , this defines the ordered monomial to be
with factors in increasing index order. No commutativity assumption is made on . Exponent zero contributes the monoid identity, and when the empty product is the identity.
QAlgorithms.Papers.Independent.Intake100.P40.partitionInverse
For arbitrary natural numbers and an arbitrary multiset of natural numbers, define , counting multiplicities, and let , where . The output is a function on the indices : append copies of to , retain precisely the entries whose remainder modulo equals , and replace each retained entry by , preserving multiplicities. No positivity, size, or partition condition is imposed on , and the subtractions are truncated even when . Natural-number division and remainder satisfy and ; when , the output has an empty index set.
QAlgorithms.Papers.Independent.Intake100.P40.partitionPhi
For any natural number and arbitrary family of finite multisets of natural numbers, this defines a multiset by replacing each occurrence of with
discarding each resulting zero, and adding the resulting multisets over all . Multiplicities are retained, and is natural-number subtraction, truncated at zero. There is no requirement that the input entries be positive or have any prescribed total sum: in particular, both and produce , which is discarded exactly when . When , the indexing set is empty and the output is the empty multiset.
QAlgorithms.Papers.Independent.Intake100.P40.polynomialCentralizer
For any commutative ring and natural numbers , let be the -algebra generated by , for , and , for permutations of , subject to , , , , and . This defines the -subalgebra
When , the commuting condition is vacuous, so this is all of . When and , the defining relations give .
QAlgorithms.Papers.Independent.Intake100.P40.quotientSize
For any natural number and finite multiset of natural numbers, this defines the natural number
counting entries with multiplicity, where for the quotient is . No positivity condition on the entries is required. Natural-number division by zero is defined to be zero, so the result is zero when ; it is also zero when is empty.
QAlgorithms.Papers.Independent.Intake100.P40.rearrangements
For any natural number and any multiset of natural numbers, let , counting multiplicities. The defined finite set consists of all functions for which the multiset of strictly positive entries among is exactly . Thus zero entries of the function are discarded before comparison, and repeated positive entries retain their multiplicities. No positivity condition is assumed on : if it contains a zero, the finite set is empty, and it is also empty if . If is empty, the finite set contains exactly the all-zero function, including the unique empty function when ; when and is nonempty, the finite set is empty.
QAlgorithms.Papers.Independent.Intake100.P40.singleCycleSum
Let be any commutative ring and let be arbitrary natural numbers. In the quotient of the free associative -algebra on generators , , and , indexed by permutations of these indices, impose , , , , and . A marked cycle is a pair arising from a nonempty list of distinct indices: is its underlying set and its cyclic permutation, fixing all indices outside ; for a singleton list, is the identity. For each such pair with , form , where
and denotes truncated natural subtraction. The defined element is the sum of over all marked-cycle pairs with support size exactly , counting each pair once regardless of how many lists represent it. There is no restriction . An empty indexing set gives , in particular when , , or . The parameter is allowed; if , the quotient then has .
QAlgorithms.Papers.Independent.Intake100.P40.symmetricMonomial
Let be any ring, not assumed commutative, let be any natural number, let assign an element to every and , and let be any multiset of natural numbers. Writing , the defined element is
The factors are multiplied in increasing index order, and factors are included without any assumption that they equal . Multiplicities in the multiset comparison are preserved. If contains a zero or has more than entries, the sum is empty and equals . For empty , the value is . When , the value is if is empty and otherwise.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.