Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for The cyclotomic BMW algebra associated with the two string type B braid group

Definition
QAlgorithms_Papers_Independent_Intake100_P58

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

prove2quantum

The objects the formalized statements of The cyclotomic BMW algebra associated with the two string type B braid group (arXiv:math/0611518) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • TwoStrandBMW: The actual two-strand presentation of (1)--(6), PDF p.3.
  • x: X, X inverse, Y, Y inverse and e in the presented algebra, PDF p.3.
  • xInv: The actual inverse of X, Definition 2.1, PDF p.3.
  • y: The actual Y generator, Definition 2.1, PDF p.3.
  • yInv: The actual inverse of Y, Definition 2.1, PDF p.3.
  • e: The actual e generator, Definition 2.1, PDF p.3.
  • RegularDelta: Assumption 2.2, PDF p.3: multiplication by skeinDelta is injective.
  • qAt: q_k=-1, PDF p.4. Values beyond k are unused and are set to zero.
  • aAt: The specified loop coefficients; zero outside their defining range, PDF p.2.
  • admissibilityBeta: The parity term in admissibilityBeta, PDF pp.7--8: 1-epsilon is 1 for even k.
  • hCoeff: The explicit h_l of Definition 3.1, PDF p.8, used only for 1<=l<k. All finite intervals are inclusive, and empty intervals contribute zero.
  • TwoStrandAdmissible: Definition 3.1, PDF p.8. Its ground relation is already a field of P; regularity is carried separately, to make assumption changes explicit.
  • CompanionModule: The fixed coordinate free module of Section 3, PDF p.5.
  • vBasis: The standard coordinate basis of CompanionModule, PDF p.5.
  • vNat: Standard v_i in range; the out-of-range value is unused, PDF p.5.
  • Yv: Companion map (8)--(9), PDF p.5.
  • YvInv: The explicit inverse (10)--(11), PDF p.5; it is constructed before its inverse identities are asserted.
  • orbitVector: Signed orbit indices v_s=Y^s v_0 using the explicit inverse, PDF p.5.
  • xColumn: The recursive columns (14)--(16), PDF p.5. Only columns 0<=i<k are used to define X. In particular the i=1 clause is not used at k=1.
  • Xv: The constructed X of (14)--(16), PDF p.5.
  • Ev: The constructed E of (17), PDF p.5.
  • Wv: W=X-skeinDelta+skeinDelta E, PDF p.5. Multiplication of endomorphisms is composition with the rightmost factor acting first.
  • Nv: N is the computed defect of Section 3, PDF p.9.
  • XiIndex: Coordinates of the three tagged tensor bases, PDF pp.11--12.
  • Xi: Xi=(CompanionModule tensor CompanionModule) direct sum (CompanionModule tensor CompanionModule) direct sum (CompanionModule tensor CompanionModule), in canonical tensor coordinates, PDF p.11.
  • xiBasis: The specified three-copy tensor basis, PDF p.11.
  • tensorIn: Pure tensor a tensor b in tag t: t=0,1,2 means orbitVector,u,w, PDF p.11.
  • tensorLabel: Signed integer tensor labels v_ij,u_ij,w_ij, PDF p.11.
  • euColumn: E u_ij = v_00 Y^i X Y^j. Reversal makes its second tensor factor Y^j X Y^i v_0, in that order, PDF pp.11--12, equation (33).
  • Exi: E on all three tensor summands, equations (17),(33),(34), PDF p.12.
  • Xxi: X on the three summands, equations (14)--(16),(35),(36), PDF p.12.
  • Wxi: W=X-skeinDelta+skeinDelta E on Xi, PDF p.12.
  • Yxi: Y on the three summands, equations (32),(37),(38), PDF p.12. The w-column is computed using the already constructed W, so there is no circular definition or arbitrary operator witness.
  • OperatorRelations: The six identity groups (25)--(30) / (40)--(45), PDF pp.10,13.
  • CompatibleV: A genuine compatible unital R-algebra representation on the fixed CompanionModule; existence of such a map is a conclusion, PDF p.11.
  • CompatibleXi: The specified unital algebra representation on Xi, PDF p.13.
  • basisWord: The ordered basisWord family of Theorem 4.3, PDF p.17. Tag 0,1,2 means Y^i e Y^j, Y^i X Y^j, X Y^i X Y^j respectively.
  • wordMap: The particular R-linear wordMap of Theorem 4.3, PDF p.17.
  • wordSpan: The unconditional spanning submodule, PDF p.19.
  • principalEIdeal: The principal LEFT ideal, PDF p.4, encoded as an R-submodule.
  • twoSidedIdeal: The actual two-sided e-generated ideal, PDF pp.4,18.
  • column: The j-th named column submodule of Corollary 4.4, PDF p.18.
  • HeckeLetter: Free words for the paper's normalized two-generator NormalizedHecke algebra, PDF p.4.
  • ht: A free NormalizedHecke generator, PDF p.4.
  • NormalizedHeckeRel: The INDEPENDENT normalized Hecke presentation of PDF p.4. There are no TwoStrandBMW relations or e-generator here; T1^2=skeinDelta T1+1.
  • NormalizedHecke: h_2^k(R) with the source's normalization, PDF p.4.
  • heckeGen: The actual normalized Hecke generators, PDF p.4.
  • EQuotient: The actual quotient of TwoStrandBMW by its two-sided e-ideal, PDF p.4.
  • eQuotientMap: The canonical map to that quotient, PDF p.4.
Definition code
import Mathlib
import Definitions.Def_QAlgorithms_Papers_Independent_Gap48_P01

/-!
Wilcox--Yu, arXiv:math/0611518v3. Statement targets only.
The accepted nonsplit presentation at n=2 has exactly the six relations of
Definition 2.1 here (its separate square-e relation is the m=0 loop relation).
The ground data, skein scalar, BMW presentation, generators and e-quotient
are reused from the accepted library. All remaining constructions are local
to this paper and carry distinct concept names; unrelated accepted short names
are not mathematical reuse candidates. Tensor products of finite
coordinate free modules are represented in their canonical tensor coordinates.
No nonzero-ring, split-polynomial, unit-A0, or unit-delta assumption is made.
Compilation is pending the batch handoff.
-/

noncomputable section

open scoped BigOperators Classical

namespace QAlgorithms.Papers.Independent.Intake100.P58

namespace Accepted

export QAlgorithms.Papers.Independent.Gap48.P01
  (NonsplitParameters NonsplitBMW skeinDelta X Y E eIdeal HeckeQuotient)

end Accepted

open Accepted

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

/-- The actual two-strand presentation of (1)--(6), PDF p.3. -/
abbrev TwoStrandBMW (P : NonsplitParameters R k) := Accepted.NonsplitBMW P 2

/-- X, X inverse, Y, Y inverse and e in the presented algebra, PDF p.3. -/
def x (P : NonsplitParameters R k) : TwoStrandBMW P := Accepted.X P 2 1 false

/-- The actual inverse of X, Definition 2.1, PDF p.3. -/
def xInv (P : NonsplitParameters R k) : TwoStrandBMW P := Accepted.X P 2 1 true

/-- The actual Y generator, Definition 2.1, PDF p.3. -/
def y (P : NonsplitParameters R k) : TwoStrandBMW P := Accepted.Y P 2 false

/-- The actual inverse of Y, Definition 2.1, PDF p.3. -/
def yInv (P : NonsplitParameters R k) : TwoStrandBMW P := Accepted.Y P 2 true

/-- The actual e generator, Definition 2.1, PDF p.3. -/
def e (P : NonsplitParameters R k) : TwoStrandBMW P := Accepted.E P 2 1

/-- Assumption 2.2, PDF p.3: multiplication by skeinDelta is injective. -/
def RegularDelta (P : NonsplitParameters R k) : Prop :=
  Function.Injective (fun r : R => skeinDelta P * r)

/-- q_k=-1, PDF p.4. Values beyond k are unused and are set to zero. -/
def qAt (P : NonsplitParameters R k) (i : ℕ) : R :=
  if h : i < k then P.coeff ⟨i, h⟩ else if i = k then -1 else 0

/-- The specified loop coefficients; zero outside their defining range, PDF p.2. -/
def aAt (P : NonsplitParameters R k) (i : ℕ) : R :=
  if h : i < k then P.loop ⟨i, h⟩ else 0

/-- The parity term in admissibilityBeta, PDF pp.7--8: 1-epsilon is 1 for even k. -/
def admissibilityBeta (P : NonsplitParameters R k) : R :=
  (P.constant : R) * (P.lam : R) - (↑P.constant⁻¹ : R) * (↑P.lam⁻¹ : R) +
    (if Even k then skeinDelta P else 0)

/-- The explicit h_l of Definition 3.1, PDF p.8, used only for 1<=l<k.
All finite intervals are inclusive, and empty intervals contribute zero. -/
def hCoeff (P : NonsplitParameters R k) (l : ℕ) : R :=
  (↑P.lam⁻¹ : R) * (qAt P l + (↑P.constant⁻¹ : R) * qAt P (k-l)) +
    skeinDelta P * ((∑ r ∈ Finset.Icc 1 (k-l), qAt P (r+l) * aAt P r) -
      (∑ i ∈ Finset.Icc (max (l+1) ((k+1)/2)) ((l+k)/2), qAt P (2*i-l)) +
      (∑ i ∈ Finset.Icc ((l+1)/2) (min l ((k+1)/2-1)), qAt P (2*i-l)))

/-- Definition 3.1, PDF p.8. Its ground relation is already a field of P;
regularity is carried separately, to make assumption changes explicit. -/
def TwoStrandAdmissible (P : NonsplitParameters R k) : Prop :=
  admissibilityBeta P = 0 ∧ ∀ l : ℕ, 1 ≤ l → l < k → hCoeff P l = 0

/-- The fixed coordinate free module of Section 3, PDF p.5. -/
abbrev CompanionModule (P : NonsplitParameters R k) := Fin k → R

/-- The standard coordinate basis of CompanionModule, PDF p.5. -/
def vBasis (P : NonsplitParameters R k) : Module.Basis (Fin k) R (CompanionModule P) := Pi.basisFun R (Fin k)

/-- Standard v_i in range; the out-of-range value is unused, PDF p.5. -/
def vNat (P : NonsplitParameters R k) (i : ℕ) : CompanionModule P :=
  if h : i < k then vBasis P ⟨i, h⟩ else 0

/-- Companion map (8)--(9), PDF p.5. -/
def Yv (P : NonsplitParameters R k) : Module.End R (CompanionModule P) :=
  (vBasis P).constr R fun i =>
    if h : i.val + 1 < k then vBasis P ⟨i.val+1, h⟩
    else ∑ j : Fin k, P.coeff j • vBasis P j

/-- The explicit inverse (10)--(11), PDF p.5; it is constructed before
its inverse identities are asserted. -/
def YvInv (P : NonsplitParameters R k) : Module.End R (CompanionModule P) :=
  (vBasis P).constr R fun i =>
    if i.val = 0 then
      -(↑P.constant⁻¹ : R) • (∑ j : Fin k, qAt P (j.val+1) • vBasis P j)
    else vNat P (i.val-1)

/-- Signed orbit indices v_s=Y^s v_0 using the explicit inverse, PDF p.5. -/
def orbitVector (P : NonsplitParameters R k) (s : ℤ) : CompanionModule P :=
  if 0 ≤ s then (Yv P ^ s.toNat) (vNat P 0)
  else (YvInv P ^ (-s).toNat) (vNat P 0)

/-- The recursive columns (14)--(16), PDF p.5. Only columns 0<=i<k
are used to define X. In particular the i=1 clause is not used at k=1. -/
def xColumn (P : NonsplitParameters R k) : ℕ → CompanionModule P
  | 0 => (P.lam : R) • vNat P 0
  | 1 => (↑P.lam⁻¹ : R) • YvInv P (vNat P 0)
  | i+2 => YvInv P (xColumn P (i+1)) - skeinDelta P • vNat P i +
      (skeinDelta P * aAt P (i+1)) • YvInv P (vNat P 0)

/-- The constructed X of (14)--(16), PDF p.5. -/
def Xv (P : NonsplitParameters R k) : Module.End R (CompanionModule P) :=
  (vBasis P).constr R fun i => xColumn P i.val

/-- The constructed E of (17), PDF p.5. -/
def Ev (P : NonsplitParameters R k) : Module.End R (CompanionModule P) :=
  (vBasis P).constr R fun i => P.loop i • vNat P 0

/-- W=X-skeinDelta+skeinDelta E, PDF p.5. Multiplication of endomorphisms
is composition with the rightmost factor acting first. -/
def Wv (P : NonsplitParameters R k) : Module.End R (CompanionModule P) :=
  Xv P - skeinDelta P • (1 : Module.End R (CompanionModule P)) + skeinDelta P • Ev P

/-- N is the computed defect of Section 3, PDF p.9. -/
def Nv (P : NonsplitParameters R k) : Module.End R (CompanionModule P) :=
  Yv P * Xv P * Yv P * Xv P - 1

/-- Coordinates of the three tagged tensor bases, PDF pp.11--12. -/
abbrev XiIndex (k : ℕ) := Fin 3 × (Fin k × Fin k)

/-- Xi=(CompanionModule tensor CompanionModule) direct sum (CompanionModule tensor CompanionModule) direct sum (CompanionModule tensor CompanionModule),
in canonical tensor coordinates, PDF p.11. -/
abbrev Xi (P : NonsplitParameters R k) := XiIndex k → R

/-- The specified three-copy tensor basis, PDF p.11. -/
def xiBasis (P : NonsplitParameters R k) : Module.Basis (XiIndex k) R (Xi P) :=
  Pi.basisFun R (XiIndex k)

/-- Pure tensor a tensor b in tag t: t=0,1,2 means orbitVector,u,w, PDF p.11. -/
def tensorIn (P : NonsplitParameters R k) (t : Fin 3) (a b : CompanionModule P) : Xi P :=
  fun idx => if idx.1 = t then a idx.2.1 * b idx.2.2 else 0

/-- Signed integer tensor labels v_ij,u_ij,w_ij, PDF p.11. -/
def tensorLabel (P : NonsplitParameters R k) (t : Fin 3) (i j : ℤ) : Xi P :=
  tensorIn P t (orbitVector P i) (orbitVector P j)

/-- E u_ij = v_00 Y^i X Y^j. Reversal makes its second tensor factor
Y^j X Y^i v_0, in that order, PDF pp.11--12, equation (33). -/
def euColumn (P : NonsplitParameters R k) (i j : Fin k) : Xi P :=
  tensorIn P 0 (vNat P 0) ((Yv P ^ j.val) (Xv P (vNat P i.val)))

/-- E on all three tensor summands, equations (17),(33),(34), PDF p.12. -/
def Exi (P : NonsplitParameters R k) : Module.End R (Xi P) :=
  (xiBasis P).constr R fun idx =>
    if idx.1.val = 0 then
      tensorIn P 0 (Ev P (vNat P idx.2.1.val)) (vNat P idx.2.2.val)
    else if idx.1.val = 1 then euColumn P idx.2.1 idx.2.2
    else (P.lam : R) • euColumn P idx.2.1 idx.2.2

/-- X on the three summands, equations (14)--(16),(35),(36), PDF p.12. -/
def Xxi (P : NonsplitParameters R k) : Module.End R (Xi P) :=
  (xiBasis P).constr R fun idx =>
    if idx.1.val = 0 then
      tensorIn P 0 (Xv P (vNat P idx.2.1.val)) (vNat P idx.2.2.val)
    else if idx.1.val = 1 then
      tensorIn P 2 (vNat P idx.2.1.val) (vNat P idx.2.2.val)
    else tensorIn P 1 (vNat P idx.2.1.val) (vNat P idx.2.2.val) +
      skeinDelta P • tensorIn P 2 (vNat P idx.2.1.val) (vNat P idx.2.2.val) -
      (skeinDelta P * (P.lam : R)) • euColumn P idx.2.1 idx.2.2

/-- W=X-skeinDelta+skeinDelta E on Xi, PDF p.12. -/
def Wxi (P : NonsplitParameters R k) : Module.End R (Xi P) :=
  Xxi P - skeinDelta P • (1 : Module.End R (Xi P)) + skeinDelta P • Exi P

/-- Y on the three summands, equations (32),(37),(38), PDF p.12.
The w-column is computed using the already constructed W, so there is no
circular definition or arbitrary operator witness. -/
def Yxi (P : NonsplitParameters R k) : Module.End R (Xi P) :=
  (xiBasis P).constr R fun idx =>
    if idx.1.val = 0 then
      tensorIn P 0 (Yv P (vNat P idx.2.1.val)) (vNat P idx.2.2.val)
    else if idx.1.val = 1 then
      tensorIn P 1 (Yv P (vNat P idx.2.1.val)) (vNat P idx.2.2.val)
    else Wxi P (tensorIn P 1 (vNat P idx.2.1.val) (Yv P (vNat P idx.2.2.val))) +
      skeinDelta P • tensorLabel P 1 1 ((idx.2.1.val : ℤ) + (idx.2.2.val : ℤ)) -
      skeinDelta P • tensorIn P 0 (Yv P (Xv P (vNat P idx.2.1.val)))
        (vNat P idx.2.2.val)

/-- The six identity groups (25)--(30) / (40)--(45), PDF pp.10,13. -/
def OperatorRelations (P : NonsplitParameters R k) {M : Type*} [AddCommGroup M] [Module R M]
    (Y X W E : Module.End R M) : Prop :=
  (∑ l ∈ Finset.range (k+1), qAt P l • Y ^ l) = 0 ∧
  X * W = 1 ∧ W * X = 1 ∧
  X * E = (P.lam : R) • E ∧ E * X = (P.lam : R) • E ∧
  Y * X * Y * X = X * Y * X * Y ∧
  (∀ m : Fin k, E * Y ^ m.val * E = P.loop m • E) ∧
  E * Y * X * Y = (↑P.lam⁻¹ : R) • E ∧
  Y * X * Y * E = (↑P.lam⁻¹ : R) • E

/-- A genuine compatible unital R-algebra representation on the fixed CompanionModule;
existence of such a map is a conclusion, PDF p.11. -/
def CompatibleV (P : NonsplitParameters R k) (rho : TwoStrandBMW P →ₐ[R] Module.End R (CompanionModule P)) : Prop :=
  rho (y P) = Yv P ∧ rho (x P) = Xv P ∧
  rho (xInv P) = Wv P ∧ rho (e P) = Ev P

/-- The specified unital algebra representation on Xi, PDF p.13. -/
def CompatibleXi (P : NonsplitParameters R k) (rho : TwoStrandBMW P →ₐ[R] Module.End R (Xi P)) : Prop :=
  rho (y P) = Yxi P ∧ rho (x P) = Xxi P ∧
  rho (xInv P) = Wxi P ∧ rho (e P) = Exi P

/-- The ordered basisWord family of Theorem 4.3, PDF p.17. Tag 0,1,2 means
Y^i e Y^j, Y^i X Y^j, X Y^i X Y^j respectively. -/
def basisWord (P : NonsplitParameters R k) (idx : XiIndex k) : TwoStrandBMW P :=
  if idx.1.val = 0 then y P ^ idx.2.1.val * e P * y P ^ idx.2.2.val
  else if idx.1.val = 1 then y P ^ idx.2.1.val * x P * y P ^ idx.2.2.val
  else x P * y P ^ idx.2.1.val * x P * y P ^ idx.2.2.val

/-- The particular R-linear wordMap of Theorem 4.3, PDF p.17. -/
def wordMap (P : NonsplitParameters R k) : Xi P →ₗ[R] TwoStrandBMW P :=
  (xiBasis P).constr R (basisWord P)

/-- The unconditional spanning submodule, PDF p.19. -/
def wordSpan (P : NonsplitParameters R k) : Submodule R (TwoStrandBMW P) :=
  Submodule.span R (Set.range (basisWord P))

/-- The principal LEFT ideal, PDF p.4, encoded as an R-submodule. -/
def principalEIdeal (P : NonsplitParameters R k) : Submodule R (TwoStrandBMW P) :=
  Submodule.span R {z | ∃ a : TwoStrandBMW P, z = a * e P}

/-- The actual two-sided e-generated ideal, PDF pp.4,18. -/
abbrev twoSidedIdeal (P : NonsplitParameters R k) : Submodule R (TwoStrandBMW P) :=
  Accepted.eIdeal P 2

/-- The j-th named column submodule of Corollary 4.4, PDF p.18. -/
def column (P : NonsplitParameters R k) (j : Fin k) : Submodule R (TwoStrandBMW P) :=
  Submodule.span R (Set.range fun i : Fin k => y P ^ i.val * e P * y P ^ j.val)

/-- Free words for the paper's normalized two-generator NormalizedHecke algebra, PDF p.4. -/
inductive HeckeLetter
  | t0 | t0Inv | t1 | t1Inv
  deriving DecidableEq

/-- A free NormalizedHecke generator, PDF p.4. -/
def ht (l : HeckeLetter) : FreeAlgebra R HeckeLetter := FreeAlgebra.ι R l

/-- The INDEPENDENT normalized Hecke presentation of PDF p.4. There are
no TwoStrandBMW relations or e-generator here; T1^2=skeinDelta T1+1. -/
inductive NormalizedHeckeRel (P : NonsplitParameters R k) :
    FreeAlgebra R HeckeLetter → FreeAlgebra R HeckeLetter → Prop
  | t0Left : NormalizedHeckeRel P (ht .t0 * ht .t0Inv) 1
  | t0Right : NormalizedHeckeRel P (ht .t0Inv * ht .t0) 1
  | t1Left : NormalizedHeckeRel P (ht .t1 * ht .t1Inv) 1
  | t1Right : NormalizedHeckeRel P (ht .t1Inv * ht .t1) 1
  | braid : NormalizedHeckeRel P (ht .t0 * ht .t1 * ht .t0 * ht .t1)
      (ht .t1 * ht .t0 * ht .t1 * ht .t0)
  | cyclotomic : NormalizedHeckeRel P (ht .t0 ^ k)
      (∑ i : Fin k, algebraMap R _ (P.coeff i) * ht .t0 ^ i.val)
  | quadratic : NormalizedHeckeRel P (ht .t1 ^ 2) (algebraMap R _ (skeinDelta P) * ht .t1 + 1)

/-- h_2^k(R) with the source's normalization, PDF p.4. -/
abbrev NormalizedHecke (P : NonsplitParameters R k) := RingQuot (NormalizedHeckeRel P)

/-- The actual normalized Hecke generators, PDF p.4. -/
def heckeGen (P : NonsplitParameters R k) (l : HeckeLetter) : NormalizedHecke P :=
  (RingQuot.mkAlgHom R (NormalizedHeckeRel P)) (ht l)

/-- The actual quotient of TwoStrandBMW by its two-sided e-ideal, PDF p.4. -/
abbrev EQuotient (P : NonsplitParameters R k) := Accepted.HeckeQuotient P 2

/-- The canonical map to that quotient, PDF p.4. -/
def eQuotientMap (P : NonsplitParameters R k) : TwoStrandBMW P →ₐ[R] EQuotient P :=
  RingQuot.mkAlgHom R (fun a b : TwoStrandBMW P => a-b ∈ twoSidedIdeal P)

/-- Sanity: the normalized Hecke quadratic is imposed in its own presentation. -/
example (P : NonsplitParameters R k) :
    (RingQuot.mkAlgHom R (NormalizedHeckeRel P)) (ht .t1 ^ 2) =
      (RingQuot.mkAlgHom R (NormalizedHeckeRel P)) (algebraMap R _ (skeinDelta P) * ht .t1 + 1) := by
  exact RingQuot.mkAlgHom_rel R (NormalizedHeckeRel.quadratic (P := P))

/-- Sanity: the last companion coefficient is exactly -1. -/
example (P : NonsplitParameters R k) : qAt P k = -1 := by simp [qAt]

/-- Sanity: the first two recursive X columns have precisely (14)--(15). -/
example (P : NonsplitParameters R k) :
    xColumn P 0 = (P.lam : R) • vNat P 0 ∧
    xColumn P 1 = (↑P.lam⁻¹ : R) • YvInv P (vNat P 0) := by
  exact ⟨rfl, rfl⟩

/-- Sanity: signed orbit index zero is the specified standard vector. -/
example (P : NonsplitParameters R k) : orbitVector P 0 = vNat P 0 := by simp [orbitVector]

/-- Sanity: tensor coordinates preserve the tag and the order of the factors. -/
example (P : NonsplitParameters R k) (t : Fin 3) (a b : CompanionModule P) (i j : Fin k) :
    tensorIn P t a b (t, (i,j)) = a i * b j := by simp [tensorIn]

/-- Sanity: the actual constructed X has the prescribed recursive columns. -/
example (P : NonsplitParameters R k) (i : Fin k) :
    Xv P (vBasis P i) = xColumn P i.val := by simp [Xv]

/-- Sanity: wordMap maps each tagged standard tensor basis vector to its basisWord. -/
example (P : NonsplitParameters R k) (idx : XiIndex k) :
    wordMap P (xiBasis P idx) = basisWord P idx := by simp [wordMap]

/-- Sanity: the odd-degree admissibilityBeta has no extra skeinDelta term. -/
example (P : NonsplitParameters R k) (h : ¬ Even k) :
    admissibilityBeta P = (P.constant : R) * (P.lam : R) -
      (↑P.constant⁻¹ : R) * (↑P.lam⁻¹ : R) := by simp [admissibilityBeta, h]

end QAlgorithms.Papers.Independent.Intake100.P58
Source
The cyclotomic BMW algebra associated with the two string type B braid group, arXiv:math/0611518v3, https://arxiv.org/abs/math/0611518v3
Read-back

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

QAlgorithms.Papers.Independent.Intake100.P58.CompanionModule

Let RRR be a commutative ring, k∈Nk\in\mathbb Nk∈N, and PPP a parameter record specifying k>0k>0k>0, units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R×, and elements bj,Aj∈Rb_j,A_j\in Rbj​,Aj​∈R for 0≤j<k0\le j<k0≤j<k, satisfying b0=cb_0=cb0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​), where units are viewed as elements of RRR. The companion module is the RRR-module of all functions {0,…,k−1}→R\{0,\ldots,k-1\}\to R{0,…,k−1}→R, with pointwise addition and scalar multiplication. Its underlying function type depends only on RRR and kkk. The case k=0k=0k=0 admits no such parameter record PPP.

QAlgorithms.Papers.Independent.Intake100.P58.CompatibleV

Let RRR be a commutative ring, possibly the zero ring, and let PPP consist of a positive integer kkk, units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R×, and families cr,Ar∈Rc_r,A_r\in Rcr​,Ar​∈R, 0≤r<k0\le r<k0≤r<k, satisfying c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​); put δ=q−q−1\delta=q-q^{-1}δ=q−q−1. Let BBB be the associative unital RRR-algebra obtained from the free RRR-algebra on x,xˉ,y,yˉ,ex,\bar x,y,\bar y,ex,xˉ,y,yˉ​,e by imposing

xxˉ=xˉx=1,yyˉ=yˉy=1,x−xˉ=δ(1−e),xe=ex=λe,e2=A0e,yk=∑r=0k−1cryr,xyxy=yxyx,yxye=λ−1e,eyxy=λ−1e,eyre=Are(0≤r<k).\begin{gathered} x\bar x=\bar x x=1,\qquad y\bar y=\bar y y=1,\qquad x-\bar x=\delta(1-e),\\ xe=ex=\lambda e,\qquad e^2=A_0e,\qquad y^k=\sum_{r=0}^{k-1}c_ry^r,\qquad xyxy=yxyx,\\ yxye=\lambda^{-1}e,\qquad eyxy=\lambda^{-1}e,\qquad ey^re=A_re\quad(0\le r<k). \end{gathered}xxˉ=xˉx=1,yyˉ​=yˉ​y=1,x−xˉ=δ(1−e),xe=ex=λe,e2=A0​e,yk=r=0∑k−1​cr​yr,xyxy=yxyx,yxye=λ−1e,eyxy=λ−1e,eyre=Ar​e(0≤r<k).​

Let V=RkV=R^kV=Rk have coordinate basis v0,…,vk−1v_0,\ldots,v_{k-1}v0​,…,vk−1​, and define linear maps T,S:V→VT,S:V\to VT,S:V→V by Tvr=vr+1Tv_r=v_{r+1}Tvr​=vr+1​ for r+1<kr+1<kr+1<k, Tvk−1=∑a=0k−1cavaTv_{k-1}=\sum_{a=0}^{k-1}c_av_aTvk−1​=∑a=0k−1​ca​va​, Svr=vr−1Sv_r=v_{r-1}Svr​=vr−1​ for 1≤r<k1\le r<k1≤r<k, and Sv0=c−1(vk−1−∑0≤a, a+1<kca+1va)Sv_0=c^{-1}(v_{k-1}-\sum_{0\le a,\ a+1<k}c_{a+1}v_a)Sv0​=c−1(vk−1​−∑0≤a, a+1<k​ca+1​va​). Define u0=λv0u_0=\lambda v_0u0​=λv0​, u1=λ−1Sv0u_1=\lambda^{-1}Sv_0u1​=λ−1Sv0​ when 1<k1<k1<k, and ur=Sur−1−δvr−2+δAr−1Sv0u_r=Su_{r-1}-\delta v_{r-2}+\delta A_{r-1}Sv_0ur​=Sur−1​−δvr−2​+δAr−1​Sv0​ for 2≤r<k2\le r<k2≤r<k, and define linear maps C,D:V→VC,D:V\to VC,D:V→V by Cvr=urCv_r=u_rCvr​=ur​ and Dvr=Arv0Dv_r=A_rv_0Dvr​=Ar​v0​. For any RRR-algebra homomorphism ρ:B→End⁡R(V)\rho:B\to\operatorname{End}_R(V)ρ:B→EndR​(V), the defined proposition is precisely the conjunction

ρ(y)=T,ρ(x)=C,ρ(xˉ)=C−δIV+δD,ρ(e)=D.\rho(y)=T,\qquad \rho(x)=C,\qquad \rho(\bar x)=C-\delta I_V+\delta D,\qquad \rho(e)=D.ρ(y)=T,ρ(x)=C,ρ(xˉ)=C−δIV​+δD,ρ(e)=D.

Endomorphism multiplication is composition, empty sums are zero, and the parameter data exclude k=0k=0k=0.

QAlgorithms.Papers.Independent.Intake100.P58.CompatibleXi

Let RRR be a commutative ring, possibly the zero ring, and let PPP consist of a positive integer kkk, units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R×, and families cr,Ar∈Rc_r,A_r\in Rcr​,Ar​∈R, 0≤r<k0\le r<k0≤r<k, satisfying c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​); put δ=q−q−1\delta=q-q^{-1}δ=q−q−1. Let BBB be the associative unital RRR-algebra obtained from the free RRR-algebra on x,xˉ,y,yˉ,ex,\bar x,y,\bar y,ex,xˉ,y,yˉ​,e by imposing

xxˉ=xˉx=1,yyˉ=yˉy=1,x−xˉ=δ(1−e),xe=ex=λe,e2=A0e,yk=∑r=0k−1cryr,xyxy=yxyx,yxye=λ−1e,eyxy=λ−1e,eyre=Are(0≤r<k).\begin{gathered} x\bar x=\bar x x=1,\qquad y\bar y=\bar y y=1,\qquad x-\bar x=\delta(1-e),\\ xe=ex=\lambda e,\qquad e^2=A_0e,\qquad y^k=\sum_{r=0}^{k-1}c_ry^r,\qquad xyxy=yxyx,\\ yxye=\lambda^{-1}e,\qquad eyxy=\lambda^{-1}e,\qquad ey^re=A_re\quad(0\le r<k). \end{gathered}xxˉ=xˉx=1,yyˉ​=yˉ​y=1,x−xˉ=δ(1−e),xe=ex=λe,e2=A0​e,yk=r=0∑k−1​cr​yr,xyxy=yxyx,yxye=λ−1e,eyxy=λ−1e,eyre=Ar​e(0≤r<k).​

Let V=RkV=R^kV=Rk, with coordinate basis vrv_rvr​, and define linear maps T,ST,ST,S by Tvr=vr+1Tv_r=v_{r+1}Tvr​=vr+1​ for r+1<kr+1<kr+1<k, Tvk−1=∑a=0k−1cavaTv_{k-1}=\sum_{a=0}^{k-1}c_av_aTvk−1​=∑a=0k−1​ca​va​, Svr=vr−1Sv_r=v_{r-1}Svr​=vr−1​ for 1≤r<k1\le r<k1≤r<k, and Sv0=c−1(vk−1−∑0≤a, a+1<kca+1va)Sv_0=c^{-1}(v_{k-1}-\sum_{0\le a,\ a+1<k}c_{a+1}v_a)Sv0​=c−1(vk−1​−∑0≤a, a+1<k​ca+1​va​). Define u0=λv0u_0=\lambda v_0u0​=λv0​, u1=λ−1Sv0u_1=\lambda^{-1}Sv_0u1​=λ−1Sv0​ when 1<k1<k1<k, and ur=Sur−1−δvr−2+δAr−1Sv0u_r=Su_{r-1}-\delta v_{r-2}+\delta A_{r-1}Sv_0ur​=Sur−1​−δvr−2​+δAr−1​Sv0​ for 2≤r<k2\le r<k2≤r<k. Let Ξ=R{0,1,2}×({0,…,k−1}2)\Xi=R^{\{0,1,2\}\times(\{0,\ldots,k-1\}^2)}Ξ=R{0,1,2}×({0,…,k−1}2), with coordinate basis BtijB_{tij}Btij​; let ιt(a,b)\iota_t(a,b)ιt​(a,b) have entries a(r)b(s)a(r)b(s)a(r)b(s) in slice ttt and zero elsewhere, and put Fij=ι0(v0,Tjui)F_{ij}=\iota_0(v_0,T^ju_i)Fij​=ι0​(v0​,Tjui​). Define linear endomorphisms X,E\mathcal X,\mathcal EX,E by

XB0ij=ι0(ui,vj),XB1ij=B2ij,XB2ij=B1ij+δB2ij−δλFij,EB0ij=AiB0,0,j,EB1ij=Fij,EB2ij=λFij,\begin{aligned} \mathcal X B_{0ij}&=\iota_0(u_i,v_j),& \mathcal X B_{1ij}&=B_{2ij},& \mathcal X B_{2ij}&=B_{1ij}+\delta B_{2ij}-\delta\lambda F_{ij},\\ \mathcal E B_{0ij}&=A_iB_{0,0,j},& \mathcal E B_{1ij}&=F_{ij},& \mathcal E B_{2ij}&=\lambda F_{ij}, \end{aligned}XB0ij​EB0ij​​=ι0​(ui​,vj​),=Ai​B0,0,j​,​XB1ij​EB1ij​​=B2ij​,=Fij​,​XB2ij​EB2ij​​=B1ij​+δB2ij​−δλFij​,=λFij​,​

put W=X−δIΞ+δE\mathcal W=\mathcal X-\delta I_\Xi+\delta\mathcal EW=X−δIΞ​+δE, and define Y\mathcal YY by

YB0ij=ι0(Tvi,vj),YB1ij=ι1(Tvi,vj),YB2ij=W(ι1(vi,Tvj))+δι1(Tv0,Ti+jv0)−δι0(Tui,vj)(0≤i,j<k).\begin{aligned} \mathcal Y B_{0ij}&=\iota_0(Tv_i,v_j),\\ \mathcal Y B_{1ij}&=\iota_1(Tv_i,v_j),\\ \mathcal Y B_{2ij}&=\mathcal W\bigl(\iota_1(v_i,Tv_j)\bigr) +\delta\iota_1(Tv_0,T^{i+j}v_0) -\delta\iota_0(Tu_i,v_j) \end{aligned} \qquad(0\le i,j<k).YB0ij​YB1ij​YB2ij​​=ι0​(Tvi​,vj​),=ι1​(Tvi​,vj​),=W(ι1​(vi​,Tvj​))+δι1​(Tv0​,Ti+jv0​)−δι0​(Tui​,vj​)​(0≤i,j<k).

For any RRR-algebra homomorphism ρ:B→End⁡R(Ξ)\rho:B\to\operatorname{End}_R(\Xi)ρ:B→EndR​(Ξ), the defined proposition is precisely

ρ(y)=Y,ρ(x)=X,ρ(xˉ)=W,ρ(e)=E.\rho(y)=\mathcal Y,\qquad \rho(x)=\mathcal X,\qquad \rho(\bar x)=\mathcal W,\qquad \rho(e)=\mathcal E.ρ(y)=Y,ρ(x)=X,ρ(xˉ)=W,ρ(e)=E.

All specified endomorphisms extend RRR-linearly from their basis values; their products are compositions, zeroth powers are identity maps, and empty sums are zero.

QAlgorithms.Papers.Independent.Intake100.P58.EQuotient

Let RRR be a commutative unital ring, possibly the zero ring, and let PPP supply k≥1k\ge1k≥1, units q,λ,cq,\lambda,cq,λ,c, and elements cj,Aj∈Rc_j,A_j\in Rcj​,Aj​∈R for 0≤j<k0\le j<k0≤j<k, satisfying c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). Put δ=q−q−1\delta=q-q^{-1}δ=q−q−1. Let BBB be the associative unital RRR-algebra presented by invertible x,yx,yx,y and an element eee, with

x−x−1=δ(1−e),xe=ex=λe,e2=A0e,yk=∑r=0k−1cryr,xyxy=yxyx,yxye=eyxy=λ−1e,eyre=Are (0≤r<k).x-x^{-1}=\delta(1-e),\quad xe=ex=\lambda e,\quad e^2=A_0e,\quad y^k=\sum_{r=0}^{k-1}c_ry^r,\quad xyxy=yxyx,\quad yxye=eyxy=\lambda^{-1}e,\quad ey^re=A_re\ (0\le r<k).x−x−1=δ(1−e),xe=ex=λe,e2=A0​e,yk=r=0∑k−1​cr​yr,xyxy=yxyx,yxye=eyxy=λ−1e,eyre=Ar​e (0≤r<k).

Define I=span⁡R{aeb:a,b∈B}I=\operatorname{span}_R\{aeb:a,b\in B\}I=spanR​{aeb:a,b∈B}, the submodule of finite RRR-linear combinations of these products, including zero. This abbreviation denotes the ring quotient of BBB by the ring congruence generated by all pairs (u,v)∈B×B(u,v)\in B\times B(u,v)∈B×B such that u−v∈Iu-v\in Iu−v∈I. The index condition in the underlying definition of III is 1≤i<21\le i<21≤i<2, so only the generator eee at index 111 occurs.

QAlgorithms.Papers.Independent.Intake100.P58.Ev

Let RRR be a commutative ring, k∈Nk\in\mathbb Nk∈N, and PPP specify k>0k>0k>0, units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R×, and coefficients bj,Aj∈Rb_j,A_j\in Rbj​,Aj​∈R for 0≤j<k0\le j<k0≤j<k, with b0=cb_0=cb0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). On V=R{0,…,k−1}V=R^{\{0,\ldots,k-1\}}V=R{0,…,k−1}, with coordinate basis vjv_jvj​, this defines the unique RRR-linear endomorphism FFF satisfying F(vi)=Aiv0F(v_i)=A_i v_0F(vi​)=Ai​v0​ for every 0≤i<k0\le i<k0≤i<k. Equivalently, for every vector r=(r0,…,rk−1)r=(r_0,\ldots,r_{k-1})r=(r0​,…,rk−1​),

F(r)=(∑i=0k−1riAi)v0.F(r)=\left(\sum_{i=0}^{k-1}r_iA_i\right)v_0.F(r)=(i=0∑k−1​ri​Ai​)v0​.

QAlgorithms.Papers.Independent.Intake100.P58.Exi

Let RRR be a commutative ring, possibly the zero ring, and let PPP consist of a positive integer kkk, units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R×, and families cr,Ar∈Rc_r,A_r\in Rcr​,Ar​∈R, 0≤r<k0\le r<k0≤r<k, satisfying c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​); put δ=q−q−1\delta=q-q^{-1}δ=q−q−1. In V=RkV=R^kV=Rk, let v0,…,vk−1v_0,\ldots,v_{k-1}v0​,…,vk−1​ be the coordinate basis, and define linear maps T,ST,ST,S by Tvr=vr+1Tv_r=v_{r+1}Tvr​=vr+1​ for r+1<kr+1<kr+1<k, Tvk−1=∑a=0k−1cavaTv_{k-1}=\sum_{a=0}^{k-1}c_av_aTvk−1​=∑a=0k−1​ca​va​, Svr=vr−1Sv_r=v_{r-1}Svr​=vr−1​ for 1≤r<k1\le r<k1≤r<k, and Sv0=c−1(vk−1−∑0≤a, a+1<kca+1va)Sv_0=c^{-1}(v_{k-1}-\sum_{0\le a,\ a+1<k}c_{a+1}v_a)Sv0​=c−1(vk−1​−∑0≤a, a+1<k​ca+1​va​). For 0≤r<k0\le r<k0≤r<k, define u0=λv0u_0=\lambda v_0u0​=λv0​, u1=λ−1Sv0u_1=\lambda^{-1}Sv_0u1​=λ−1Sv0​ when 1<k1<k1<k, and ur=Sur−1−δvr−2+δAr−1Sv0u_r=Su_{r-1}-\delta v_{r-2}+\delta A_{r-1}Sv_0ur​=Sur−1​−δvr−2​+δAr−1​Sv0​ for 2≤r<k2\le r<k2≤r<k. Let Ξ=R{0,1,2}×({0,…,k−1}2)\Xi=R^{\{0,1,2\}\times(\{0,\ldots,k-1\}^2)}Ξ=R{0,1,2}×({0,…,k−1}2), let BtijB_{tij}Btij​ be its coordinate basis, and let ιt(a,b)\iota_t(a,b)ιt​(a,b) denote the array with coordinate a(r)b(s)a(r)b(s)a(r)b(s) at (t,r,s)(t,r,s)(t,r,s) and zero in the other two slices. Setting Fij=ι0(v0,Tjui)F_{ij}=\iota_0(v_0,T^ju_i)Fij​=ι0​(v0​,Tjui​), the definition specifies the unique RRR-linear endomorphism E\mathcal EE of Ξ\XiΞ satisfying, for every 0≤i,j<k0\le i,j<k0≤i,j<k,

EB0ij=AiB0,0,j,EB1ij=Fij,EB2ij=λFij.\mathcal E B_{0ij}=A_iB_{0,0,j},\qquad \mathcal E B_{1ij}=F_{ij},\qquad \mathcal E B_{2ij}=\lambda F_{ij}.EB0ij​=Ai​B0,0,j​,EB1ij​=Fij​,EB2ij​=λFij​.

All sums with no indices are zero, and zeroth powers of TTT are identity maps.

QAlgorithms.Papers.Independent.Intake100.P58.HeckeLetter

This declaration defines a type with exactly four distinct elements, named t0\mathrm{t0}t0, t0Inv\mathrm{t0Inv}t0Inv, t1\mathrm{t1}t1, and t1Inv\mathrm{t1Inv}t1Inv, and equips it with a procedure deciding equality of any two elements. These are four formal symbols; this declaration imposes no multiplication or inverse relations on them.

QAlgorithms.Papers.Independent.Intake100.P58.NormalizedHecke

Let RRR be a commutative unital ring, possibly the zero ring, and let PPP consist of k≥1k\ge1k≥1, units q,λ,cq,\lambda,cq,λ,c, and elements ci,Ai∈Rc_i,A_i\in Rci​,Ai​∈R for 0≤i<k0\le i<k0≤i<k, satisfying c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). Put δ=q−q−1\delta=q-q^{-1}δ=q−q−1. This abbreviation denotes the ring quotient of the free associative unital RRR-algebra on four generators T0,U0,T1,U1T_0,U_0,T_1,U_1T0​,U0​,T1​,U1​ by the ring congruence generated by

T0U0=U0T0=1,T1U1=U1T1=1,T0T1T0T1=T1T0T1T0,T0k=∑i=0k−1ciT0i,T12=δT1+1.T_0U_0=U_0T_0=1,\qquad T_1U_1=U_1T_1=1,\qquad T_0T_1T_0T_1=T_1T_0T_1T_0,\qquad T_0^k=\sum_{i=0}^{k-1}c_iT_0^i,\qquad T_1^2=\delta T_1+1.T0​U0​=U0​T0​=1,T1​U1​=U1​T1​=1,T0​T1​T0​T1​=T1​T0​T1​T0​,T0k​=i=0∑k−1​ci​T0i​,T12​=δT1​+1.

Thus the images of U0,U1U_0,U_1U0​,U1​ are the two-sided inverses of the images of T0,T1T_0,T_1T0​,T1​, respectively. No nontriviality assumption on this quotient is part of the abbreviation.

QAlgorithms.Papers.Independent.Intake100.P58.NormalizedHeckeRel

Let RRR be a commutative unital ring, possibly the zero ring. Let PPP specify k≥1k\ge1k≥1, units q,λ,cq,\lambda,cq,λ,c, and coefficients ci,Ai∈Rc_i,A_i\in Rci​,Ai​∈R for 0≤i<k0\le i<k0≤i<k, with c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). Put δ=q−q−1\delta=q-q^{-1}δ=q−q−1. In the free associative unital RRR-algebra FFF on the four formal generators T0,U0,T1,U1T_0,U_0,T_1,U_1T0​,U0​,T1​,U1​, corresponding respectively to the letters t0,t0Inv,t1,t1Inv\mathrm{t0},\mathrm{t0Inv},\mathrm{t1},\mathrm{t1Inv}t0,t0Inv,t1,t1Inv, this declaration defines the binary relation on FFF consisting exactly of the following ordered pairs:

(T0U0,1),(U0T0,1),(T1U1,1),(U1T1,1),(T0T1T0T1, T1T0T1T0),(T0k, ∑i=0k−1ciT0i),(T12, δT1+1).\begin{gathered} (T_0U_0,1),\qquad(U_0T_0,1),\qquad (T_1U_1,1),\qquad(U_1T_1,1),\\ (T_0T_1T_0T_1,\ T_1T_0T_1T_0),\\ \left(T_0^k,\ \sum_{i=0}^{k-1}c_iT_0^i\right),\qquad (T_1^2,\ \delta T_1+1). \end{gathered}(T0​U0​,1),(U0​T0​,1),(T1​U1​,1),(U1​T1​,1),(T0​T1​T0​T1​, T1​T0​T1​T0​),(T0k​, i=0∑k−1​ci​T0i​),(T12​, δT1​+1).​

Coefficients in these expressions are inserted by the canonical map R→FR\to FR→F. This is the specified relation itself, without any additional reflexive, symmetric, transitive, or ring-congruence closure; the ordered pairs do not assert that their two entries are already equal in FFF.

QAlgorithms.Papers.Independent.Intake100.P58.Nv

Let RRR be a commutative ring, k∈Nk\in\mathbb Nk∈N, and PPP specify k>0k>0k>0, units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R×, and coefficients bj,Aj∈Rb_j,A_j\in Rbj​,Aj​∈R for 0≤j<k0\le j<k0≤j<k, with b0=cb_0=cb0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). Set δ=q−q−1\delta=q-q^{-1}δ=q−q−1, and let V=R{0,…,k−1}V=R^{\{0,\ldots,k-1\}}V=R{0,…,k−1} have coordinate basis vjv_jvj​. Define RRR-linear maps S,US,US,U by S(vi)=vi+1S(v_i)=v_{i+1}S(vi​)=vi+1​ for i+1<ki+1<ki+1<k, S(vk−1)=∑j=0k−1bjvjS(v_{k-1})=\sum_{j=0}^{k-1}b_jv_jS(vk−1​)=∑j=0k−1​bj​vj​, U(v0)=c−1vk−1−c−1∑0≤j<k−1bj+1vjU(v_0)=c^{-1}v_{k-1}-c^{-1}\sum_{0\le j<k-1}b_{j+1}v_jU(v0​)=c−1vk−1​−c−1∑0≤j<k−1​bj+1​vj​, and U(vi)=vi−1U(v_i)=v_{i-1}U(vi​)=vi−1​ for 1≤i<k1\le i<k1≤i<k. Extend vi,Aiv_i,A_ivi​,Ai​ by zero outside 0≤i<k0\le i<k0≤i<k, denoting the extensions by v^i,A^i\widehat v_i,\widehat A_ivi​,Ai​, and define w0=λv0w_0=\lambda v_0w0​=λv0​, w1=λ−1U(v0)w_1=\lambda^{-1}U(v_0)w1​=λ−1U(v0​), and wi+2=U(wi+1)−δv^i+δA^i+1U(v0)w_{i+2}=U(w_{i+1})-\delta\widehat v_i+\delta\widehat A_{i+1}U(v_0)wi+2​=U(wi+1​)−δvi​+δAi+1​U(v0​). Let CCC be the unique RRR-linear map with C(vi)=wiC(v_i)=w_iC(vi​)=wi​ for 0≤i<k0\le i<k0≤i<k. The declaration defines the RRR-linear endomorphism

N=S∘C∘S∘C−id⁡V,N(r)=S(C(S(C(r))))−r(r∈V).N=S\circ C\circ S\circ C-\operatorname{id}_V, \qquad N(r)=S(C(S(C(r))))-r\quad(r\in V).N=S∘C∘S∘C−idV​,N(r)=S(C(S(C(r))))−r(r∈V).

QAlgorithms.Papers.Independent.Intake100.P58.OperatorRelations

Let RRR be a commutative ring, possibly the zero ring, and let PPP consist of a positive integer kkk, units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R×, and families cr,Ar∈Rc_r,A_r\in Rcr​,Ar​∈R, 0≤r<k0\le r<k0≤r<k, satisfying c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). For any additive commutative group MMM equipped with an RRR-module structure, and any four RRR-linear endomorphisms Y,X,W,EY,X,W,EY,X,W,E of MMM, the defined proposition holds exactly when all of the following equations hold simultaneously:

∑r=0k−1crYr−Yk=0,XW=IM,WX=IM,XE=λE,EX=λE,YXYX=XYXY,EYmE=AmEfor every integer 0≤m<k,EYXY=λ−1E,YXYE=λ−1E.\begin{gathered} \sum_{r=0}^{k-1}c_rY^r-Y^k=0,\qquad XW=I_M,\qquad WX=I_M,\\ XE=\lambda E,\qquad EX=\lambda E,\qquad YXYX=XYXY,\\ EY^mE=A_mE\quad\text{for every integer }0\le m<k,\\ EYXY=\lambda^{-1}E,\qquad YXYE=\lambda^{-1}E. \end{gathered}r=0∑k−1​cr​Yr−Yk=0,XW=IM​,WX=IM​,XE=λE,EX=λE,YXYX=XYXY,EYmE=Am​Efor every integer 0≤m<k,EYXY=λ−1E,YXYE=λ−1E.​

Products of endomorphisms mean composition, with the rightmost factor applied first; scalars multiply endomorphisms pointwise, 000 is the zero endomorphism, and Y0=IMY^0=I_MY0=IM​. In particular, the quantified equation at m=0m=0m=0 is E2=A0EE^2=A_0EE2=A0​E; MMM is allowed to be the zero module.

QAlgorithms.Papers.Independent.Intake100.P58.RegularDelta

Let RRR be a commutative ring, k>0k>0k>0 a natural number, and PPP consist of units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R× and coefficients cj,Aj∈Rc_j,A_j\in Rcj​,Aj​∈R for 0≤j<k0\le j<k0≤j<k, satisfying c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). Identifying units with their images in RRR, the proposition RegularDelta⁡(P)\operatorname{RegularDelta}(P)RegularDelta(P) means that multiplication by q−q−1q-q^{-1}q−q−1 is injective on RRR; explicitly,

∀r,s∈R,(q−q−1)r=(q−q−1)s ⟹ r=s.\forall r,s\in R,\qquad (q-q^{-1})r=(q-q^{-1})s\ \Longrightarrow\ r=s.∀r,s∈R,(q−q−1)r=(q−q−1)s ⟹ r=s.

The ring is not assumed nontrivial; if q−q−1=0q-q^{-1}=0q−q−1=0, this condition holds exactly when RRR has only one element.

QAlgorithms.Papers.Independent.Intake100.P58.TwoStrandAdmissible

Let RRR be a commutative ring, k>0k>0k>0 a natural number, and PPP consist of units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R× and coefficients cj,Aj∈Rc_j,A_j\in Rcj​,Aj​∈R for 0≤j<k0\le j<k0≤j<k, satisfying c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). View units in RRR, put δ=q−q−1\delta=q-q^{-1}δ=q−q−1, define Qi=ciQ_i=c_iQi​=ci​ for i<ki<ki<k, Qk=−1Q_k=-1Qk​=−1, and Qi=0Q_i=0Qi​=0 for i>ki>ki>k, and define A~i=Ai\widetilde A_i=A_iAi​=Ai​ for i<ki<ki<k and A~i=0\widetilde A_i=0Ai​=0 for i≥ki\ge ki≥k. Write a\dotminusb=max⁡(a−b,0)a\dotminus b=\max(a-b,0)a\dotminusb=max(a−b,0) for natural-number subtraction. The proposition TwoStrandAdmissible⁡(P)\operatorname{TwoStrandAdmissible}(P)TwoStrandAdmissible(P) means that both

cλ−c−1λ−1+{δ,k is even,0,k is odd=0c\lambda-c^{-1}\lambda^{-1} +\begin{cases} \delta,&k\text{ is even},\\ 0,&k\text{ is odd} \end{cases} =0cλ−c−1λ−1+{δ,0,​k is even,k is odd​=0

and, for every natural number lll satisfying 1≤l<k1\le l<k1≤l<k,

0=λ−1(Ql+c−1Qk\dotminusl)+δ(∑r=1k\dotminuslQr+lA~r−∑i=max⁡(l+1,⌊k+12⌋)⌊l+k2⌋Q(2i)\dotminusl+∑i=⌊l+12⌋min⁡(l,⌊k+12⌋\dotminus1)Q(2i)\dotminusl).\begin{aligned} 0={}&\lambda^{-1}\bigl(Q_l+c^{-1}Q_{k\dotminus l}\bigr)\\ &+\delta\Biggl( \sum_{r=1}^{k\dotminus l}Q_{r+l}\widetilde A_r -\sum_{i=\max\left(l+1,\left\lfloor\frac{k+1}{2}\right\rfloor\right)} ^{\left\lfloor\frac{l+k}{2}\right\rfloor} Q_{(2i)\dotminus l}\\ &\hspace{4.5em} +\sum_{i=\left\lfloor\frac{l+1}{2}\right\rfloor} ^{\min\left(l,\left\lfloor\frac{k+1}{2}\right\rfloor\dotminus1\right)} Q_{(2i)\dotminus l} \Biggr). \end{aligned}0=​λ−1(Ql​+c−1Qk\dotminusl​)+δ(r=1∑k\dotminusl​Qr+l​Ar​−i=max(l+1,⌊2k+1​⌋)∑⌊2l+k​⌋​Q(2i)\dotminusl​+i=⌊2l+1​⌋∑min(l,⌊2k+1​⌋\dotminus1)​Q(2i)\dotminusl​).​

The sums have inclusive natural endpoints and are zero when the lower endpoint exceeds the upper endpoint; divisions inside floors are natural-number divisions. When k=1k=1k=1, there are no indices 1≤l<k1\le l<k1≤l<k, so only the first equation is required.

QAlgorithms.Papers.Independent.Intake100.P58.TwoStrandBMW

Let RRR be a commutative ring and kkk a natural number. The parameter data PPP require k>0k>0k>0, units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R×, and coefficients cj,Aj∈Rc_j,A_j\in Rcj​,Aj​∈R for 0≤j<k0\le j<k0≤j<k, satisfying c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​), where units are identified with their images in RRR. Put δ=q−q−1\delta=q-q^{-1}δ=q−q−1. The abbreviation TwoStrandBMW⁡(P)\operatorname{TwoStrandBMW}(P)TwoStrandBMW(P) denotes the quotient of the free associative unital RRR-algebra on five formal generators u,u′,v,v′,fu,u',v,v',fu,u′,v,v′,f by the relations

uu′=u′u=1,vv′=v′v=1,u−u′=δ(1−f),uf=fu=λf,f2=A0f,vk=∑j=0k−1cjvj,uvuv=vuvu,vuvf=fvuv=λ−1f,fvjf=Ajf(0≤j<k).\begin{gathered} uu'=u'u=1,\qquad vv'=v'v=1,\qquad u-u'=\delta(1-f),\\ uf=fu=\lambda f,\qquad f^2=A_0f,\qquad v^k=\sum_{j=0}^{k-1}c_jv^j,\\ uvuv=vuvu,\qquad vuvf=fvuv=\lambda^{-1}f,\qquad fv^jf=A_jf\quad(0\le j<k). \end{gathered}uu′=u′u=1,vv′=v′v=1,u−u′=δ(1−f),uf=fu=λf,f2=A0​f,vk=j=0∑k−1​cj​vj,uvuv=vuvu,vuvf=fvuv=λ−1f,fvjf=Aj​f(0≤j<k).​

All scalar coefficients in these relations enter through the canonical map from RRR. The parameter requirement excludes k=0k=0k=0.

QAlgorithms.Papers.Independent.Intake100.P58.Wv

Let RRR be a commutative ring, k∈Nk\in\mathbb Nk∈N, and PPP specify k>0k>0k>0, units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R×, and coefficients bj,Aj∈Rb_j,A_j\in Rbj​,Aj​∈R for 0≤j<k0\le j<k0≤j<k, with b0=cb_0=cb0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). Set δ=q−q−1\delta=q-q^{-1}δ=q−q−1, and let V=R{0,…,k−1}V=R^{\{0,\ldots,k-1\}}V=R{0,…,k−1} have coordinate basis vjv_jvj​. Put v^i=vi\widehat v_i=v_ivi​=vi​ and A^i=Ai\widehat A_i=A_iAi​=Ai​ for i<ki<ki<k, and set both to zero for i≥ki\ge ki≥k. Define the RRR-linear map UUU by U(v0)=c−1vk−1−c−1∑0≤j<k−1bj+1vjU(v_0)=c^{-1}v_{k-1}-c^{-1}\sum_{0\le j<k-1}b_{j+1}v_jU(v0​)=c−1vk−1​−c−1∑0≤j<k−1​bj+1​vj​ and U(vi)=vi−1U(v_i)=v_{i-1}U(vi​)=vi−1​ for 1≤i<k1\le i<k1≤i<k. Define w0=λv0w_0=\lambda v_0w0​=λv0​, w1=λ−1U(v0)w_1=\lambda^{-1}U(v_0)w1​=λ−1U(v0​), and wi+2=U(wi+1)−δv^i+δA^i+1U(v0)w_{i+2}=U(w_{i+1})-\delta\widehat v_i+\delta\widehat A_{i+1}U(v_0)wi+2​=U(wi+1​)−δvi​+δAi+1​U(v0​) for every i≥0i\ge0i≥0. The declaration defines the RRR-linear endomorphism WWW whose value on every r=(r0,…,rk−1)∈Vr=(r_0,\ldots,r_{k-1})\in Vr=(r0​,…,rk−1​)∈V is

W(r)=∑i=0k−1riwi−δr+δ(∑i=0k−1riAi)v0.W(r)=\sum_{i=0}^{k-1}r_iw_i-\delta r +\delta\left(\sum_{i=0}^{k-1}r_iA_i\right)v_0.W(r)=i=0∑k−1​ri​wi​−δr+δ(i=0∑k−1​ri​Ai​)v0​.

QAlgorithms.Papers.Independent.Intake100.P58.Wxi

Let RRR be a commutative ring, possibly the zero ring, and let PPP consist of a positive integer kkk, units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R×, and families cr,Ar∈Rc_r,A_r\in Rcr​,Ar​∈R, 0≤r<k0\le r<k0≤r<k, satisfying c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​); put δ=q−q−1\delta=q-q^{-1}δ=q−q−1. Let V=RkV=R^kV=Rk have coordinate basis vrv_rvr​, and define linear maps T,ST,ST,S by Tvr=vr+1Tv_r=v_{r+1}Tvr​=vr+1​ for r+1<kr+1<kr+1<k, Tvk−1=∑a=0k−1cavaTv_{k-1}=\sum_{a=0}^{k-1}c_av_aTvk−1​=∑a=0k−1​ca​va​, Svr=vr−1Sv_r=v_{r-1}Svr​=vr−1​ for 1≤r<k1\le r<k1≤r<k, and Sv0=c−1(vk−1−∑0≤a, a+1<kca+1va)Sv_0=c^{-1}(v_{k-1}-\sum_{0\le a,\ a+1<k}c_{a+1}v_a)Sv0​=c−1(vk−1​−∑0≤a, a+1<k​ca+1​va​). Define u0=λv0u_0=\lambda v_0u0​=λv0​, u1=λ−1Sv0u_1=\lambda^{-1}Sv_0u1​=λ−1Sv0​ when 1<k1<k1<k, and ur=Sur−1−δvr−2+δAr−1Sv0u_r=Su_{r-1}-\delta v_{r-2}+\delta A_{r-1}Sv_0ur​=Sur−1​−δvr−2​+δAr−1​Sv0​ for 2≤r<k2\le r<k2≤r<k. On Ξ=R{0,1,2}×({0,…,k−1}2)\Xi=R^{\{0,1,2\}\times(\{0,\ldots,k-1\}^2)}Ξ=R{0,1,2}×({0,…,k−1}2), write BtijB_{tij}Btij​ for the coordinate basis and ιt(a,b)\iota_t(a,b)ιt​(a,b) for the array supported in slice ttt with entries a(r)b(s)a(r)b(s)a(r)b(s); put Fij=ι0(v0,Tjui)F_{ij}=\iota_0(v_0,T^ju_i)Fij​=ι0​(v0​,Tjui​). Define linear maps X,E:Ξ→Ξ\mathcal X,\mathcal E:\Xi\to\XiX,E:Ξ→Ξ by

XB0ij=ι0(ui,vj),XB1ij=B2ij,XB2ij=B1ij+δB2ij−δλFij,EB0ij=AiB0,0,j,EB1ij=Fij,EB2ij=λFij(0≤i,j<k).\begin{aligned} \mathcal X B_{0ij}&=\iota_0(u_i,v_j),& \mathcal X B_{1ij}&=B_{2ij},& \mathcal X B_{2ij}&=B_{1ij}+\delta B_{2ij}-\delta\lambda F_{ij},\\ \mathcal E B_{0ij}&=A_iB_{0,0,j},& \mathcal E B_{1ij}&=F_{ij},& \mathcal E B_{2ij}&=\lambda F_{ij} \end{aligned} \qquad(0\le i,j<k).XB0ij​EB0ij​​=ι0​(ui​,vj​),=Ai​B0,0,j​,​XB1ij​EB1ij​​=B2ij​,=Fij​,​XB2ij​EB2ij​​=B1ij​+δB2ij​−δλFij​,=λFij​​(0≤i,j<k).

The definition sets W=X−δIΞ+δE\mathcal W=\mathcal X-\delta I_\Xi+\delta\mathcal EW=X−δIΞ​+δE, where IΞI_\XiIΞ​ is the identity endomorphism and scalar multiplication of endomorphisms is pointwise. Empty sums are zero and T0=IVT^0=I_VT0=IV​.

QAlgorithms.Papers.Independent.Intake100.P58.Xi

Let RRR be a commutative ring, possibly the zero ring, and let PPP consist of a positive integer kkk, units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R×, and elements cr,Ar∈Rc_r,A_r\in Rcr​,Ar​∈R for 0≤r<k0\le r<k0≤r<k, satisfying c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). The abbreviation Ξ(P)\Xi(P)Ξ(P) denotes the RRR-module of all functions

{0,1,2}×({0,…,k−1}×{0,…,k−1})⟶R,\{0,1,2\}\times\bigl(\{0,\ldots,k-1\}\times\{0,\ldots,k-1\}\bigr)\longrightarrow R,{0,1,2}×({0,…,k−1}×{0,…,k−1})⟶R,

with pointwise addition and scalar multiplication. Thus its elements are arrays with coordinates indexed by triples (t,i,j)(t,i,j)(t,i,j), where 0≤t<30\le t<30≤t<3 and 0≤i,j<k0\le i,j<k0≤i,j<k; the parameter data exclude k=0k=0k=0.

QAlgorithms.Papers.Independent.Intake100.P58.XiIndex

For every natural number kkk, this defines the index set

{0,1,2}×({0,…,k−1}×{0,…,k−1}).\{0,1,2\}\times \bigl(\{0,\ldots,k-1\}\times\{0,\ldots,k-1\}\bigr).{0,1,2}×({0,…,k−1}×{0,…,k−1}).

Thus an index is a nested pair (t,(i,j))(t,(i,j))(t,(i,j)) with 0≤t<30\le t<30≤t<3, 0≤i<k0\le i<k0≤i<k, and 0≤j<k0\le j<k0≤j<k. Here k=0k=0k=0 is allowed, and the resulting index set is empty.

QAlgorithms.Papers.Independent.Intake100.P58.Xv

Let RRR be a commutative ring, k∈Nk\in\mathbb Nk∈N, and PPP specify k>0k>0k>0, units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R×, and coefficients bj,Aj∈Rb_j,A_j\in Rbj​,Aj​∈R for 0≤j<k0\le j<k0≤j<k, with b0=cb_0=cb0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). Set δ=q−q−1\delta=q-q^{-1}δ=q−q−1, and let V=R{0,…,k−1}V=R^{\{0,\ldots,k-1\}}V=R{0,…,k−1} have coordinate basis vjv_jvj​. Extend these vectors and the loop coefficients by v^i=0\widehat v_i=0vi​=0 and A^i=0\widehat A_i=0Ai​=0 for i≥ki\ge ki≥k, retaining v^i=vi\widehat v_i=v_ivi​=vi​ and A^i=Ai\widehat A_i=A_iAi​=Ai​ for i<ki<ki<k. Define the RRR-linear map UUU by U(v0)=c−1vk−1−c−1∑0≤j<k−1bj+1vjU(v_0)=c^{-1}v_{k-1}-c^{-1}\sum_{0\le j<k-1}b_{j+1}v_jU(v0​)=c−1vk−1​−c−1∑0≤j<k−1​bj+1​vj​ and U(vi)=vi−1U(v_i)=v_{i-1}U(vi​)=vi−1​ for 1≤i<k1\le i<k1≤i<k, and define vectors wiw_iwi​ by

w0=λv0,w1=λ−1U(v0),wi+2=U(wi+1)−δv^i+δA^i+1U(v0).w_0=\lambda v_0,\qquad w_1=\lambda^{-1}U(v_0),\qquad w_{i+2}=U(w_{i+1})-\delta\widehat v_i+\delta\widehat A_{i+1}U(v_0).w0​=λv0​,w1​=λ−1U(v0​),wi+2​=U(wi+1​)−δvi​+δAi+1​U(v0​).

The declaration defines the unique RRR-linear endomorphism CCC of VVV satisfying C(vi)=wiC(v_i)=w_iC(vi​)=wi​ for every 0≤i<k0\le i<k0≤i<k.

QAlgorithms.Papers.Independent.Intake100.P58.Xxi

Let RRR be a commutative ring, possibly the zero ring, and let PPP consist of a positive integer kkk, units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R×, and families cr,Ar∈Rc_r,A_r\in Rcr​,Ar​∈R, 0≤r<k0\le r<k0≤r<k, satisfying c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​); put δ=q−q−1\delta=q-q^{-1}δ=q−q−1. In V=RkV=R^kV=Rk, with coordinate basis v0,…,vk−1v_0,\ldots,v_{k-1}v0​,…,vk−1​, define linear maps T,ST,ST,S by Tvr=vr+1Tv_r=v_{r+1}Tvr​=vr+1​ for r+1<kr+1<kr+1<k, Tvk−1=∑a=0k−1cavaTv_{k-1}=\sum_{a=0}^{k-1}c_av_aTvk−1​=∑a=0k−1​ca​va​, Svr=vr−1Sv_r=v_{r-1}Svr​=vr−1​ for 1≤r<k1\le r<k1≤r<k, and Sv0=c−1(vk−1−∑0≤a, a+1<kca+1va)Sv_0=c^{-1}(v_{k-1}-\sum_{0\le a,\ a+1<k}c_{a+1}v_a)Sv0​=c−1(vk−1​−∑0≤a, a+1<k​ca+1​va​). Define u0=λv0u_0=\lambda v_0u0​=λv0​, u1=λ−1Sv0u_1=\lambda^{-1}Sv_0u1​=λ−1Sv0​ when 1<k1<k1<k, and ur=Sur−1−δvr−2+δAr−1Sv0u_r=Su_{r-1}-\delta v_{r-2}+\delta A_{r-1}Sv_0ur​=Sur−1​−δvr−2​+δAr−1​Sv0​ for 2≤r<k2\le r<k2≤r<k. Let Ξ=R{0,1,2}×({0,…,k−1}2)\Xi=R^{\{0,1,2\}\times(\{0,\ldots,k-1\}^2)}Ξ=R{0,1,2}×({0,…,k−1}2), with coordinate basis BtijB_{tij}Btij​, and define ιt(a,b)(u,r,s)\iota_t(a,b)(u,r,s)ιt​(a,b)(u,r,s) to be a(r)b(s)a(r)b(s)a(r)b(s) if u=tu=tu=t, and zero otherwise; put Fij=ι0(v0,Tjui)F_{ij}=\iota_0(v_0,T^ju_i)Fij​=ι0​(v0​,Tjui​). The definition specifies the unique RRR-linear endomorphism X\mathcal XX of Ξ\XiΞ satisfying, for every 0≤i,j<k0\le i,j<k0≤i,j<k,

XB0ij=ι0(ui,vj),XB1ij=B2ij,XB2ij=B1ij+δB2ij−δλFij.\mathcal X B_{0ij}=\iota_0(u_i,v_j),\qquad \mathcal X B_{1ij}=B_{2ij},\qquad \mathcal X B_{2ij}=B_{1ij}+\delta B_{2ij}-\delta\lambda F_{ij}.XB0ij​=ι0​(ui​,vj​),XB1ij​=B2ij​,XB2ij​=B1ij​+δB2ij​−δλFij​.

Empty sums are zero, and T0T^0T0 is the identity.

QAlgorithms.Papers.Independent.Intake100.P58.Yv

Let RRR be a commutative ring, k∈Nk\in\mathbb Nk∈N, and PPP specify k>0k>0k>0, units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R×, and coefficients bj,Aj∈Rb_j,A_j\in Rbj​,Aj​∈R for 0≤j<k0\le j<k0≤j<k, with b0=cb_0=cb0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). On V=R{0,…,k−1}V=R^{\{0,\ldots,k-1\}}V=R{0,…,k−1}, let vjv_jvj​ be the coordinate basis vectors. This defines the unique RRR-linear endomorphism SSS determined by

S(vi)={vi+1,i+1<k,∑j=0k−1bjvj,i=k−1.S(v_i)= \begin{cases} v_{i+1},&i+1<k,\\ \displaystyle\sum_{j=0}^{k-1}b_jv_j,&i=k-1. \end{cases}S(vi​)=⎩⎨⎧​vi+1​,j=0∑k−1​bj​vj​,​i+1<k,i=k−1.​

For k=1k=1k=1, only the second case occurs, giving S(v0)=b0v0S(v_0)=b_0v_0S(v0​)=b0​v0​.

QAlgorithms.Papers.Independent.Intake100.P58.YvInv

Let RRR be a commutative ring, k∈Nk\in\mathbb Nk∈N, and PPP specify k>0k>0k>0, units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R×, and coefficients bj,Aj∈Rb_j,A_j\in Rbj​,Aj​∈R for 0≤j<k0\le j<k0≤j<k, with b0=cb_0=cb0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). On V=R{0,…,k−1}V=R^{\{0,\ldots,k-1\}}V=R{0,…,k−1}, with coordinate basis vjv_jvj​, this defines the unique RRR-linear endomorphism UUU determined by

U(v0)=c−1vk−1−c−1∑0≤j<k−1bj+1vj,U(vi)=vi−1(1≤i<k).U(v_0)=c^{-1}v_{k-1}-c^{-1}\sum_{0\le j<k-1}b_{j+1}v_j, \qquad U(v_i)=v_{i-1}\quad(1\le i<k).U(v0​)=c−1vk−1​−c−10≤j<k−1∑​bj+1​vj​,U(vi​)=vi−1​(1≤i<k).

Here the first formula expands the coefficient function that equals brb_rbr​ for r<kr<kr<k, equals −1-1−1 for r=kr=kr=k, and equals 000 for r>kr>kr>k. For k=1k=1k=1, the sum is empty and U(v0)=c−1v0U(v_0)=c^{-1}v_0U(v0​)=c−1v0​.

QAlgorithms.Papers.Independent.Intake100.P58.Yxi

Let RRR be a commutative ring, possibly the zero ring, and let PPP consist of a positive integer kkk, units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R×, and families cr,Ar∈Rc_r,A_r\in Rcr​,Ar​∈R, 0≤r<k0\le r<k0≤r<k, satisfying c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​); put δ=q−q−1\delta=q-q^{-1}δ=q−q−1. In V=RkV=R^kV=Rk, with coordinate basis vrv_rvr​, define linear maps T,ST,ST,S by Tvr=vr+1Tv_r=v_{r+1}Tvr​=vr+1​ for r+1<kr+1<kr+1<k, Tvk−1=∑a=0k−1cavaTv_{k-1}=\sum_{a=0}^{k-1}c_av_aTvk−1​=∑a=0k−1​ca​va​, Svr=vr−1Sv_r=v_{r-1}Svr​=vr−1​ for 1≤r<k1\le r<k1≤r<k, and Sv0=c−1(vk−1−∑0≤a, a+1<kca+1va)Sv_0=c^{-1}(v_{k-1}-\sum_{0\le a,\ a+1<k}c_{a+1}v_a)Sv0​=c−1(vk−1​−∑0≤a, a+1<k​ca+1​va​). Define u0=λv0u_0=\lambda v_0u0​=λv0​, u1=λ−1Sv0u_1=\lambda^{-1}Sv_0u1​=λ−1Sv0​ when 1<k1<k1<k, and ur=Sur−1−δvr−2+δAr−1Sv0u_r=Su_{r-1}-\delta v_{r-2}+\delta A_{r-1}Sv_0ur​=Sur−1​−δvr−2​+δAr−1​Sv0​ for 2≤r<k2\le r<k2≤r<k. Let Ξ=R{0,1,2}×({0,…,k−1}2)\Xi=R^{\{0,1,2\}\times(\{0,\ldots,k-1\}^2)}Ξ=R{0,1,2}×({0,…,k−1}2), with coordinate basis BtijB_{tij}Btij​, and let ιt(a,b)\iota_t(a,b)ιt​(a,b) have coordinate a(r)b(s)a(r)b(s)a(r)b(s) in slice ttt and zero elsewhere. Put Fij=ι0(v0,Tjui)F_{ij}=\iota_0(v_0,T^ju_i)Fij​=ι0​(v0​,Tjui​), and for a,b∈Va,b\in Va,b∈V define

H(a,b)=ι2(a,b)−δι1(a,b)+δ∑r=0k−1∑s=0k−1a(r)b(s)Frs.H(a,b)=\iota_2(a,b)-\delta\iota_1(a,b) +\delta\sum_{r=0}^{k-1}\sum_{s=0}^{k-1}a(r)b(s)F_{rs}.H(a,b)=ι2​(a,b)−δι1​(a,b)+δr=0∑k−1​s=0∑k−1​a(r)b(s)Frs​.

The definition specifies the unique RRR-linear endomorphism Y\mathcal YY of Ξ\XiΞ whose basis values, with the auxiliary definitions expanded, are

YB0ij=ι0(Tvi,vj),YB1ij=ι1(Tvi,vj),YB2ij=H(vi,Tvj)+δι1(Tv0,Ti+jv0)−δι0(Tui,vj)(0≤i,j<k).\begin{aligned} \mathcal Y B_{0ij}&=\iota_0(Tv_i,v_j),\\ \mathcal Y B_{1ij}&=\iota_1(Tv_i,v_j),\\ \mathcal Y B_{2ij}&=H(v_i,Tv_j) +\delta\iota_1(Tv_0,T^{i+j}v_0) -\delta\iota_0(Tu_i,v_j) \end{aligned} \qquad(0\le i,j<k).YB0ij​YB1ij​YB2ij​​=ι0​(Tvi​,vj​),=ι1​(Tvi​,vj​),=H(vi​,Tvj​)+δι1​(Tv0​,Ti+jv0​)−δι0​(Tui​,vj​)​(0≤i,j<k).

Here H(a,b)H(a,b)H(a,b) is the expanded value of the operator X−δI+δE\mathcal X-\delta I+\delta\mathcal EX−δI+δE on ι1(a,b)\iota_1(a,b)ι1​(a,b); all powers of TTT use nonnegative integer exponents, including T0=IVT^0=I_VT0=IV​, and empty sums are zero.

QAlgorithms.Papers.Independent.Intake100.P58.aAt

Let RRR be a commutative ring, k>0k>0k>0 a natural number, and PPP consist of units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R× and coefficients cj,Aj∈Rc_j,A_j\in Rcj​,Aj​∈R for 0≤j<k0\le j<k0≤j<k, satisfying c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​), with units viewed in RRR. For every natural number iii, the value aAt(P,i)∈RaAt(P,i)\in RaAt(P,i)∈R is

aAt(P,i)={Ai,i<k,0,i≥k.aAt(P,i)= \begin{cases} A_i,&i<k,\\ 0,&i\ge k. \end{cases}aAt(P,i)={Ai​,0,​i<k,i≥k.​

Thus the given loop coefficients are extended by zero to all natural indices, including the index kkk.

QAlgorithms.Papers.Independent.Intake100.P58.admissibilityBeta

Let RRR be a commutative ring, k>0k>0k>0 a natural number, and PPP consist of units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R× and coefficients cj,Aj∈Rc_j,A_j\in Rcj​,Aj​∈R for 0≤j<k0\le j<k0≤j<k, satisfying c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). Identifying units and their inverses with their images in RRR, the element admissibilityBeta⁡(P)∈R\operatorname{admissibilityBeta}(P)\in RadmissibilityBeta(P)∈R is defined by

admissibilityBeta⁡(P)=cλ−c−1λ−1+{q−q−1,k is even,0,k is odd.\operatorname{admissibilityBeta}(P) =c\lambda-c^{-1}\lambda^{-1} +\begin{cases} q-q^{-1},&k\text{ is even},\\ 0,&k\text{ is odd}. \end{cases}admissibilityBeta(P)=cλ−c−1λ−1+{q−q−1,0,​k is even,k is odd.​

This defines an element of RRR, without asserting that it is zero.

QAlgorithms.Papers.Independent.Intake100.P58.basisWord

Let RRR be a commutative unital ring, possibly the zero ring. The parameter PPP specifies a positive natural number kkk, units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R×, and elements cj,Aj∈Rc_j,A_j\in Rcj​,Aj​∈R for 0≤j<k0\le j<k0≤j<k, with c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). Put δ=q−q−1\delta=q-q^{-1}δ=q−q−1. Let BBB be the associative unital RRR-algebra presented by invertible generators x,yx,yx,y and a generator eee, subject to

x−x−1=δ(1−e),xe=ex=λe,e2=A0e,yk=∑r=0k−1cryr,xyxy=yxyx,yxye=eyxy=λ−1e,eyre=Are(0≤r<k).x-x^{-1}=\delta(1-e),\quad xe=ex=\lambda e,\quad e^2=A_0e,\quad y^k=\sum_{r=0}^{k-1}c_ry^r,\quad xyxy=yxyx,\quad yxye=eyxy=\lambda^{-1}e,\quad ey^re=A_re\quad(0\le r<k).x−x−1=δ(1−e),xe=ex=λe,e2=A0​e,yk=r=0∑k−1​cr​yr,xyxy=yxyx,yxye=eyxy=λ−1e,eyre=Ar​e(0≤r<k).

For an index (t,(i,j))(t,(i,j))(t,(i,j)), where t∈{0,1,2}t\in\{0,1,2\}t∈{0,1,2} and 0≤i,j<k0\le i,j<k0≤i,j<k, the definition assigns the element

basisWord⁡P(t,(i,j))={yieyj,t=0,yixyj,t=1,xyixyj,t=2.\operatorname{basisWord}_P(t,(i,j))= \begin{cases} y^iey^j,&t=0,\\ y^ixy^j,&t=1,\\ xy^ixy^j,&t=2. \end{cases}basisWordP​(t,(i,j))=⎩⎨⎧​yieyj,yixyj,xyixyj,​t=0,t=1,t=2.​

The exponents include zero, with zeroth powers equal to 111; the name of this definition does not itself assert that these elements form a basis.

QAlgorithms.Papers.Independent.Intake100.P58.column

Let RRR be a commutative unital ring, possibly the zero ring, and let PPP specify k≥1k\ge1k≥1, units q,λ,cq,\lambda,cq,λ,c, and elements cr,Ar∈Rc_r,A_r\in Rcr​,Ar​∈R for 0≤r<k0\le r<k0≤r<k, with c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). Write δ=q−q−1\delta=q-q^{-1}δ=q−q−1. Let BBB be the associative unital RRR-algebra generated by invertible x,yx,yx,y and an element eee, subject to

x−x−1=δ(1−e),xe=ex=λe,e2=A0e,yk=∑r=0k−1cryr,xyxy=yxyx,yxye=eyxy=λ−1e,eyre=Are (0≤r<k).x-x^{-1}=\delta(1-e),\quad xe=ex=\lambda e,\quad e^2=A_0e,\quad y^k=\sum_{r=0}^{k-1}c_ry^r,\quad xyxy=yxyx,\quad yxye=eyxy=\lambda^{-1}e,\quad ey^re=A_re\ (0\le r<k).x−x−1=δ(1−e),xe=ex=λe,e2=A0​e,yk=r=0∑k−1​cr​yr,xyxy=yxyx,yxye=eyxy=λ−1e,eyre=Ar​e (0≤r<k).

For each index jjj with 0≤j<k0\le j<k0≤j<k, the definition gives

column⁡P(j)=span⁡R{yieyj:0≤i<k}⊆B.\operatorname{column}_P(j)=\operatorname{span}_R\{y^iey^j:0\le i<k\}\subseteq B.columnP​(j)=spanR​{yieyj:0≤i<k}⊆B.

Thus it consists of finite RRR-linear combinations of the indicated words with fixed right exponent jjj. Both indices may be zero; in particular, when k=1k=1k=1, the only column is the span of eee.

QAlgorithms.Papers.Independent.Intake100.P58.e

Let RRR be a commutative ring, k>0k>0k>0 a natural number, and PPP consist of units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R× and coefficients cj,Aj∈Rc_j,A_j\in Rcj​,Aj​∈R for 0≤j<k0\le j<k0≤j<k, with c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). Write δ=q−q−1\delta=q-q^{-1}δ=q−q−1, identifying units with their images in RRR. In the quotient of the free associative unital RRR-algebra on u,u′,v,v′,fu,u',v,v',fu,u′,v,v′,f defined by

uu′=u′u=1,vv′=v′v=1,u−u′=δ(1−f),uf=fu=λf,f2=A0f,vk=∑j=0k−1cjvj,uvuv=vuvu,vuvf=fvuv=λ−1f,fvjf=Ajf(0≤j<k),\begin{gathered} uu'=u'u=1,\qquad vv'=v'v=1,\qquad u-u'=\delta(1-f),\\ uf=fu=\lambda f,\qquad f^2=A_0f,\qquad v^k=\sum_{j=0}^{k-1}c_jv^j,\\ uvuv=vuvu,\qquad vuvf=fvuv=\lambda^{-1}f,\qquad fv^jf=A_jf\quad(0\le j<k), \end{gathered}uu′=u′u=1,vv′=v′v=1,u−u′=δ(1−f),uf=fu=λf,f2=A0​f,vk=j=0∑k−1​cj​vj,uvuv=vuvu,vuvf=fvuv=λ−1f,fvjf=Aj​f(0≤j<k),​

the element e(P)e(P)e(P) is the residue class of the generator fff.

QAlgorithms.Papers.Independent.Intake100.P58.eQuotientMap

Let RRR be any commutative ring, possibly the zero ring, and let k>0k>0k>0. The parameter data PPP consist of units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R×, coefficients c0,…,ck−1∈Rc_0,\ldots,c_{k-1}\in Rc0​,…,ck−1​∈R, and loop values A0,…,Ak−1∈RA_0,\ldots,A_{k-1}\in RA0​,…,Ak−1​∈R, with c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). Put δ=q−q−1\delta=q-q^{-1}δ=q−q−1. Let B\mathcal BB be the unital associative RRR-algebra generated by x,x−1,y,y−1,ex,x^{-1},y,y^{-1},ex,x−1,y,y−1,e, where the indicated inverse pairs are two-sided inverses, subject to

x−x−1=δ(1−e),xe=ex=λe,e2=A0e,yk=∑j=0k−1cjyj,xyxy=yxyx,yxye=eyxy=λ−1e,eyje=Aje(0≤j<k).\begin{gathered} x-x^{-1}=\delta(1-e),\qquad xe=ex=\lambda e,\qquad e^2=A_0e,\\ y^k=\sum_{j=0}^{k-1}c_jy^j,\qquad xyxy=yxyx,\qquad yxye=eyxy=\lambda^{-1}e,\\ ey^je=A_je\qquad(0\le j<k). \end{gathered}x−x−1=δ(1−e),xe=ex=λe,e2=A0​e,yk=j=0∑k−1​cj​yj,xyxy=yxyx,yxye=eyxy=λ−1e,eyje=Aj​e(0≤j<k).​

Define J=span⁡R{aeb:a,b∈B}J=\operatorname{span}_R\{aeb:a,b\in\mathcal B\}J=spanR​{aeb:a,b∈B}, and let Q\mathcal QQ be the ring quotient of B\mathcal BB obtained by imposing a=ba=ba=b whenever a−b∈Ja-b\in Ja−b∈J. The declaration defines the canonical RRR-algebra homomorphism B→Q\mathcal B\to\mathcal QB→Q, sending each element to its image in this quotient.

QAlgorithms.Papers.Independent.Intake100.P58.euColumn

Let RRR be a commutative ring, possibly the zero ring, and let PPP consist of a positive integer kkk, units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R×, and families cr,Ar∈Rc_r,A_r\in Rcr​,Ar​∈R, 0≤r<k0\le r<k0≤r<k, satisfying c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​); put δ=q−q−1\delta=q-q^{-1}δ=q−q−1. Let V=RkV=R^kV=Rk have coordinate basis v0,…,vk−1v_0,\ldots,v_{k-1}v0​,…,vk−1​, and define linear maps T,S:V→VT,S:V\to VT,S:V→V by Tvr=vr+1Tv_r=v_{r+1}Tvr​=vr+1​ for r+1<kr+1<kr+1<k, Tvk−1=∑a=0k−1cavaTv_{k-1}=\sum_{a=0}^{k-1}c_av_aTvk−1​=∑a=0k−1​ca​va​, Svr=vr−1Sv_r=v_{r-1}Svr​=vr−1​ for 1≤r<k1\le r<k1≤r<k, and

Sv0=c−1(vk−1−∑0≤a<ka+1<kca+1va).Sv_0=c^{-1}\left(v_{k-1}-\sum_{\substack{0\le a<k\\a+1<k}}c_{a+1}v_a\right).Sv0​=c−1​vk−1​−0≤a<ka+1<k​∑​ca+1​va​​.

Define vectors uru_rur​, for 0≤r<k0\le r<k0≤r<k, recursively by

u0=λv0,u1=λ−1Sv0if 1<k,ur=Sur−1−δvr−2+δAr−1Sv0(2≤r<k).u_0=\lambda v_0,\qquad u_1=\lambda^{-1}Sv_0\quad\text{if }1<k,\qquad u_r=Su_{r-1}-\delta v_{r-2}+\delta A_{r-1}Sv_0\quad(2\le r<k).u0​=λv0​,u1​=λ−1Sv0​if 1<k,ur​=Sur−1​−δvr−2​+δAr−1​Sv0​(2≤r<k).

For each pair 0≤i,j<k0\le i,j<k0≤i,j<k, the definition produces the array Fij∈R{0,1,2}×({0,…,k−1}2)F_{ij}\in R^{\{0,1,2\}\times(\{0,\ldots,k-1\}^2)}Fij​∈R{0,1,2}×({0,…,k−1}2) with coordinates

Fij(t,r,s)={v0(r) (Tjui)(s),t=0,0,t≠0.F_{ij}(t,r,s)= \begin{cases} v_0(r)\,(T^ju_i)(s),&t=0,\\ 0,&t\ne0. \end{cases}Fij​(t,r,s)={v0​(r)(Tjui​)(s),0,​t=0,t=0.​

Here T0T^0T0 is the identity; for k=1k=1k=1, the sum defining Sv0Sv_0Sv0​ is empty and only u0u_0u0​ is needed.

QAlgorithms.Papers.Independent.Intake100.P58.hCoeff

Let RRR be a commutative ring, k>0k>0k>0 a natural number, and PPP consist of units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R× and coefficients cj,Aj∈Rc_j,A_j\in Rcj​,Aj​∈R for 0≤j<k0\le j<k0≤j<k, satisfying c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). View units in RRR, put δ=q−q−1\delta=q-q^{-1}δ=q−q−1, and define Qi=ciQ_i=c_iQi​=ci​ for i<ki<ki<k, Qk=−1Q_k=-1Qk​=−1, and Qi=0Q_i=0Qi​=0 for i>ki>ki>k; also define A~i=Ai\widetilde A_i=A_iAi​=Ai​ for i<ki<ki<k and A~i=0\widetilde A_i=0Ai​=0 for i≥ki\ge ki≥k. Write a\dotminusb=max⁡(a−b,0)a\dotminus b=\max(a-b,0)a\dotminusb=max(a−b,0) for subtraction of natural numbers. For every natural number lll, with no restriction that l<kl<kl<k, the element hCoeff(P,l)∈RhCoeff(P,l)\in RhCoeff(P,l)∈R is

hCoeff(P,l)=λ−1(Ql+c−1Qk\dotminusl)+δ(∑r=1k\dotminuslQr+lA~r−∑i=max⁡(l+1,⌊k+12⌋)⌊l+k2⌋Q(2i)\dotminusl+∑i=⌊l+12⌋min⁡(l,⌊k+12⌋\dotminus1)Q(2i)\dotminusl).\begin{aligned} hCoeff(P,l) ={}&\lambda^{-1}\bigl(Q_l+c^{-1}Q_{k\dotminus l}\bigr)\\ &+\delta\Biggl( \sum_{r=1}^{k\dotminus l}Q_{r+l}\widetilde A_r -\sum_{i=\max\left(l+1,\left\lfloor\frac{k+1}{2}\right\rfloor\right)} ^{\left\lfloor\frac{l+k}{2}\right\rfloor} Q_{(2i)\dotminus l}\\ &\hspace{4.5em} +\sum_{i=\left\lfloor\frac{l+1}{2}\right\rfloor} ^{\min\left(l,\left\lfloor\frac{k+1}{2}\right\rfloor\dotminus1\right)} Q_{(2i)\dotminus l} \Biggr). \end{aligned}hCoeff(P,l)=​λ−1(Ql​+c−1Qk\dotminusl​)+δ(r=1∑k\dotminusl​Qr+l​Ar​−i=max(l+1,⌊2k+1​⌋)∑⌊2l+k​⌋​Q(2i)\dotminusl​+i=⌊2l+1​⌋∑min(l,⌊2k+1​⌋\dotminus1)​Q(2i)\dotminusl​).​

Every sum runs over natural indices with both endpoints included and equals zero when its lower endpoint exceeds its upper endpoint; all divisions displayed inside floors are natural-number divisions.

QAlgorithms.Papers.Independent.Intake100.P58.heckeGen

Let RRR be a commutative unital ring, possibly the zero ring, and let PPP specify k≥1k\ge1k≥1, units q,λ,cq,\lambda,cq,λ,c, and elements ci,Ai∈Rc_i,A_i\in Rci​,Ai​∈R for 0≤i<k0\le i<k0≤i<k, with c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). Put δ=q−q−1\delta=q-q^{-1}δ=q−q−1. Form the ring quotient HHH of the free associative unital RRR-algebra on T0,U0,T1,U1T_0,U_0,T_1,U_1T0​,U0​,T1​,U1​ by

T0U0=U0T0=1,T1U1=U1T1=1,T0T1T0T1=T1T0T1T0,T0k=∑i=0k−1ciT0i,T12=δT1+1.T_0U_0=U_0T_0=1,\qquad T_1U_1=U_1T_1=1,\qquad T_0T_1T_0T_1=T_1T_0T_1T_0,\qquad T_0^k=\sum_{i=0}^{k-1}c_iT_0^i,\qquad T_1^2=\delta T_1+1.T0​U0​=U0​T0​=1,T1​U1​=U1​T1​=1,T0​T1​T0​T1​=T1​T0​T1​T0​,T0k​=i=0∑k−1​ci​T0i​,T12​=δT1​+1.

For each letter ℓ∈{t0,t0Inv,t1,t1Inv}\ell\in\{\mathrm{t0},\mathrm{t0Inv},\mathrm{t1},\mathrm{t1Inv}\}ℓ∈{t0,t0Inv,t1,t1Inv}, the definition heckeGen⁡P(ℓ)\operatorname{heckeGen}_P(\ell)heckeGenP​(ℓ) is the image under the canonical quotient RRR-algebra homomorphism of, respectively, T0,U0,T1,U1T_0,U_0,T_1,U_1T0​,U0​,T1​,U1​.

QAlgorithms.Papers.Independent.Intake100.P58.ht

For every commutative unital ring RRR, possibly the zero ring, and every letter ℓ\ellℓ in the four-element set {t0,t0Inv,t1,t1Inv}\{\mathrm{t0},\mathrm{t0Inv},\mathrm{t1},\mathrm{t1Inv}\}{t0,t0Inv,t1,t1Inv}, the definition ht⁡(ℓ)\operatorname{ht}(\ell)ht(ℓ) is the canonical generator corresponding to ℓ\ellℓ in the free associative unital RRR-algebra on those four letters. The definition imposes no relations between these generators, including no inverse relations between letters whose names contain “Inv” and the other letters.

QAlgorithms.Papers.Independent.Intake100.P58.orbitVector

Let RRR be a commutative ring, k∈Nk\in\mathbb Nk∈N, and PPP specify k>0k>0k>0, units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R×, and coefficients bj,Aj∈Rb_j,A_j\in Rbj​,Aj​∈R for 0≤j<k0\le j<k0≤j<k, with b0=cb_0=cb0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). Let V=R{0,…,k−1}V=R^{\{0,\ldots,k-1\}}V=R{0,…,k−1}, with coordinate basis vjv_jvj​. Define RRR-linear endomorphisms S,US,US,U by S(vi)=vi+1S(v_i)=v_{i+1}S(vi​)=vi+1​ for i+1<ki+1<ki+1<k, S(vk−1)=∑j=0k−1bjvjS(v_{k-1})=\sum_{j=0}^{k-1}b_jv_jS(vk−1​)=∑j=0k−1​bj​vj​, U(v0)=c−1vk−1−c−1∑0≤j<k−1bj+1vjU(v_0)=c^{-1}v_{k-1}-c^{-1}\sum_{0\le j<k-1}b_{j+1}v_jU(v0​)=c−1vk−1​−c−1∑0≤j<k−1​bj+1​vj​, and U(vi)=vi−1U(v_i)=v_{i-1}U(vi​)=vi−1​ for 1≤i<k1\le i<k1≤i<k. For every integer sss, the orbit vector is

os={Ss(v0),s≥0,U−s(v0),s<0.o_s= \begin{cases} S^s(v_0),&s\ge0,\\ U^{-s}(v_0),&s<0. \end{cases}os​={Ss(v0​),U−s(v0​),​s≥0,s<0.​

Both exponents in their respective cases are nonnegative integers and denote repeated composition; in particular, o0=v0o_0=v_0o0​=v0​.

QAlgorithms.Papers.Independent.Intake100.P58.principalEIdeal

Let RRR be a commutative unital ring, possibly the zero ring. Let PPP supply k≥1k\ge1k≥1, units q,λ,cq,\lambda,cq,λ,c, and elements cj,Aj∈Rc_j,A_j\in Rcj​,Aj​∈R for 0≤j<k0\le j<k0≤j<k, satisfying c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). Set δ=q−q−1\delta=q-q^{-1}δ=q−q−1, and let BBB be the associative unital RRR-algebra generated by invertible x,yx,yx,y and an element eee, with

x−x−1=δ(1−e),xe=ex=λe,e2=A0e,yk=∑r=0k−1cryr,xyxy=yxyx,yxye=eyxy=λ−1e,eyre=Are (0≤r<k).x-x^{-1}=\delta(1-e),\quad xe=ex=\lambda e,\quad e^2=A_0e,\quad y^k=\sum_{r=0}^{k-1}c_ry^r,\quad xyxy=yxyx,\quad yxye=eyxy=\lambda^{-1}e,\quad ey^re=A_re\ (0\le r<k).x−x−1=δ(1−e),xe=ex=λe,e2=A0​e,yk=r=0∑k−1​cr​yr,xyxy=yxyx,yxye=eyxy=λ−1e,eyre=Ar​e (0≤r<k).

The definition gives the RRR-submodule

principalEIdeal⁡P=span⁡R{ae:a∈B}.\operatorname{principalEIdeal}_P=\operatorname{span}_R\{ae:a\in B\}.principalEIdealP​=spanR​{ae:a∈B}.

Thus membership means being a finite RRR-linear combination of products aeaeae, with aaa arbitrary in BBB; the empty combination is zero.

QAlgorithms.Papers.Independent.Intake100.P58.qAt

Let RRR be a commutative ring, k>0k>0k>0 a natural number, and PPP consist of units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R× and coefficients cj,Aj∈Rc_j,A_j\in Rcj​,Aj​∈R for 0≤j<k0\le j<k0≤j<k, satisfying c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​), with units viewed in RRR. For every natural number iii, the value qAt(P,i)∈RqAt(P,i)\in RqAt(P,i)∈R is

qAt(P,i)={ci,i<k,−1,i=k,0,i>k.qAt(P,i)= \begin{cases} c_i,&i<k,\\ -1,&i=k,\\ 0,&i>k. \end{cases}qAt(P,i)=⎩⎨⎧​ci​,−1,0,​i<k,i=k,i>k.​

In particular, its value at 000 is ccc, and the function is defined for every natural index.

QAlgorithms.Papers.Independent.Intake100.P58.tensorIn

Let RRR be a commutative ring, possibly the zero ring, and let PPP consist of a positive integer kkk, units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R×, and families cr,Ar∈Rc_r,A_r\in Rcr​,Ar​∈R, 0≤r<k0\le r<k0≤r<k, satisfying c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). For any t∈{0,1,2}t\in\{0,1,2\}t∈{0,1,2} and any two functions a,b:{0,…,k−1}→Ra,b:\{0,\ldots,k-1\}\to Ra,b:{0,…,k−1}→R, the definition produces the array ιt(a,b)∈R{0,1,2}×({0,…,k−1}2)\iota_t(a,b)\in R^{\{0,1,2\}\times(\{0,\ldots,k-1\}^2)}ιt​(a,b)∈R{0,1,2}×({0,…,k−1}2) given at every coordinate by

ιt(a,b)(u,r,s)={a(r)b(s),u=t,0,u≠t.\iota_t(a,b)(u,r,s)= \begin{cases} a(r)b(s),&u=t,\\ 0,&u\ne t. \end{cases}ιt​(a,b)(u,r,s)={a(r)b(s),0,​u=t,u=t.​

QAlgorithms.Papers.Independent.Intake100.P58.tensorLabel

Let RRR be a commutative ring, possibly the zero ring, and let PPP consist of a positive integer kkk, units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R×, and families cr,Ar∈Rc_r,A_r\in Rcr​,Ar​∈R, 0≤r<k0\le r<k0≤r<k, satisfying c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). Write V=R{0,…,k−1}V=R^{\{0,\ldots,k-1\}}V=R{0,…,k−1}, with coordinate basis v0,…,vk−1v_0,\ldots,v_{k-1}v0​,…,vk−1​, and define RRR-linear maps T,S:V→VT,S:V\to VT,S:V→V by

Tvr={vr+1,r+1<k,∑a=0k−1cava,r=k−1,Sv0=c−1(vk−1−∑0≤a<ka+1<kca+1va),Svr=vr−1(1≤r<k).Tv_r= \begin{cases} v_{r+1},&r+1<k,\\ \displaystyle\sum_{a=0}^{k-1}c_a v_a,&r=k-1, \end{cases} \qquad Sv_0=c^{-1}\left(v_{k-1}-\sum_{\substack{0\le a<k\\a+1<k}}c_{a+1}v_a\right), \qquad Sv_r=v_{r-1}\quad(1\le r<k).Tvr​=⎩⎨⎧​vr+1​,a=0∑k−1​ca​va​,​r+1<k,r=k−1,​Sv0​=c−1​vk−1​−0≤a<ka+1<k​∑​ca+1​va​​,Svr​=vr−1​(1≤r<k).

For every integer sss, put os=Tsv0o_s=T^sv_0os​=Tsv0​ if s≥0s\ge0s≥0, and os=S−sv0o_s=S^{-s}v_0os​=S−sv0​ if s<0s<0s<0; the exponents here are nonnegative iteration counts, and zeroth powers are identity maps. For every t∈{0,1,2}t\in\{0,1,2\}t∈{0,1,2} and every pair of integers i,ji,ji,j, the definition produces the array whose (u,r,s)(u,r,s)(u,r,s)-coordinate is oi(r)oj(s)o_i(r)o_j(s)oi​(r)oj​(s) when u=tu=tu=t, and zero otherwise. When k=1k=1k=1, the sum in the formula for Sv0Sv_0Sv0​ is empty.

QAlgorithms.Papers.Independent.Intake100.P58.twoSidedIdeal

Let RRR be a commutative unital ring, possibly the zero ring, and let PPP consist of k≥1k\ge1k≥1, units q,λ,cq,\lambda,cq,λ,c, and elements cj,Aj∈Rc_j,A_j\in Rcj​,Aj​∈R for 0≤j<k0\le j<k0≤j<k, satisfying c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). Put δ=q−q−1\delta=q-q^{-1}δ=q−q−1. Let BBB be the associative unital RRR-algebra presented by invertible x,yx,yx,y and an element eee, with relations

x−x−1=δ(1−e),xe=ex=λe,e2=A0e,yk=∑r=0k−1cryr,xyxy=yxyx,yxye=eyxy=λ−1e,eyre=Are (0≤r<k).x-x^{-1}=\delta(1-e),\quad xe=ex=\lambda e,\quad e^2=A_0e,\quad y^k=\sum_{r=0}^{k-1}c_ry^r,\quad xyxy=yxyx,\quad yxye=eyxy=\lambda^{-1}e,\quad ey^re=A_re\ (0\le r<k).x−x−1=δ(1−e),xe=ex=λe,e2=A0​e,yk=r=0∑k−1​cr​yr,xyxy=yxyx,yxye=eyxy=λ−1e,eyre=Ar​e (0≤r<k).

This abbreviation denotes the RRR-submodule

twoSidedIdeal⁡P=span⁡R{aeb:a,b∈B}.\operatorname{twoSidedIdeal}_P=\operatorname{span}_R\{aeb:a,b\in B\}.twoSidedIdealP​=spanR​{aeb:a,b∈B}.

Indeed, the underlying definition ranges over natural indices iii satisfying 1≤i<21\le i<21≤i<2, so the only possible index is i=1i=1i=1, whose generator is eee. Elements of this submodule are finite RRR-linear combinations of such products, including zero.

QAlgorithms.Papers.Independent.Intake100.P58.vBasis

Let RRR be a commutative ring, k∈Nk\in\mathbb Nk∈N, and PPP specify k>0k>0k>0, units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R×, and coefficients bj,Aj∈Rb_j,A_j\in Rbj​,Aj​∈R for 0≤j<k0\le j<k0≤j<k, with b0=cb_0=cb0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). On the RRR-module VVV of functions {0,…,k−1}→R\{0,\ldots,k-1\}\to R{0,…,k−1}→R, this defines the basis (vj)0≤j<k(v_j)_{0\le j<k}(vj​)0≤j<k​ of coordinate vectors: vj(t)=1v_j(t)=1vj​(t)=1 when t=jt=jt=j, and vj(t)=0v_j(t)=0vj​(t)=0 otherwise. No assumption that RRR is a nonzero ring is imposed.

QAlgorithms.Papers.Independent.Intake100.P58.vNat

Let RRR be a commutative ring, k∈Nk\in\mathbb Nk∈N, and PPP specify k>0k>0k>0, units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R×, and coefficients bj,Aj∈Rb_j,A_j\in Rbj​,Aj​∈R for 0≤j<k0\le j<k0≤j<k, with b0=cb_0=cb0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). Let VVV be the module of functions {0,…,k−1}→R\{0,\ldots,k-1\}\to R{0,…,k−1}→R. For every natural number iii, this defines a vector v^i∈V\widehat v_i\in Vvi​∈V: if i<ki<ki<k, it is the coordinate vector whose value at ttt is 111 for t=it=it=i and 000 otherwise; if i≥ki\ge ki≥k, it is the zero vector. In particular, the definition includes all indices beyond the basis range.

QAlgorithms.Papers.Independent.Intake100.P58.wordMap

Let RRR be a commutative unital ring, possibly the zero ring, and let PPP consist of k≥1k\ge1k≥1, units q,λ,cq,\lambda,cq,λ,c, and coefficients cj,Aj∈Rc_j,A_j\in Rcj​,Aj​∈R for 0≤j<k0\le j<k0≤j<k, satisfying c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). Write δ=q−q−1\delta=q-q^{-1}δ=q−q−1, and let BBB be the associative unital RRR-algebra generated by invertible x,yx,yx,y and an element eee, with relations

x−x−1=δ(1−e),xe=ex=λe,e2=A0e,yk=∑r=0k−1cryr,xyxy=yxyx,yxye=eyxy=λ−1e,eyre=Are (0≤r<k).x-x^{-1}=\delta(1-e),\quad xe=ex=\lambda e,\quad e^2=A_0e,\quad y^k=\sum_{r=0}^{k-1}c_ry^r,\quad xyxy=yxyx,\quad yxye=eyxy=\lambda^{-1}e,\quad ey^re=A_re\ (0\le r<k).x−x−1=δ(1−e),xe=ex=λe,e2=A0​e,yk=r=0∑k−1​cr​yr,xyxy=yxyx,yxye=eyxy=λ−1e,eyre=Ar​e (0≤r<k).

The definition gives the RRR-linear map from the module of functions u:{0,1,2}×{0,…,k−1}2→Ru:\{0,1,2\}\times\{0,\ldots,k-1\}^2\to Ru:{0,1,2}×{0,…,k−1}2→R to BBB specified by

wordMap⁡P(u)=∑i,j=0k−1(u(0,(i,j)) yieyj+u(1,(i,j)) yixyj+u(2,(i,j)) xyixyj),\operatorname{wordMap}_P(u)= \sum_{i,j=0}^{k-1} \left( u(0,(i,j))\,y^iey^j+ u(1,(i,j))\,y^ixy^j+ u(2,(i,j))\,xy^ixy^j \right),wordMapP​(u)=i,j=0∑k−1​(u(0,(i,j))yieyj+u(1,(i,j))yixyj+u(2,(i,j))xyixyj),

where coefficients act through the RRR-algebra structure of BBB. Thus it sends each standard coordinate basis vector to the corresponding displayed word; no injectivity or surjectivity is asserted.

QAlgorithms.Papers.Independent.Intake100.P58.wordSpan

Let RRR be a commutative unital ring, possibly the zero ring, and let PPP specify k≥1k\ge1k≥1, units q,λ,cq,\lambda,cq,λ,c, and elements cj,Aj∈Rc_j,A_j\in Rcj​,Aj​∈R for 0≤j<k0\le j<k0≤j<k, with c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). Put δ=q−q−1\delta=q-q^{-1}δ=q−q−1. In the associative unital RRR-algebra BBB presented by invertible x,yx,yx,y and an element eee satisfying

x−x−1=δ(1−e),xe=ex=λe,e2=A0e,yk=∑r=0k−1cryr,xyxy=yxyx,yxye=eyxy=λ−1e,eyre=Are (0≤r<k),x-x^{-1}=\delta(1-e),\quad xe=ex=\lambda e,\quad e^2=A_0e,\quad y^k=\sum_{r=0}^{k-1}c_ry^r,\quad xyxy=yxyx,\quad yxye=eyxy=\lambda^{-1}e,\quad ey^re=A_re\ (0\le r<k),x−x−1=δ(1−e),xe=ex=λe,e2=A0​e,yk=r=0∑k−1​cr​yr,xyxy=yxyx,yxye=eyxy=λ−1e,eyre=Ar​e (0≤r<k),

the definition is the RRR-submodule

wordSpan⁡P=span⁡R{yieyj, yixyj, xyixyj:0≤i,j<k}.\operatorname{wordSpan}_P =\operatorname{span}_R \bigl\{y^iey^j,\ y^ixy^j,\ xy^ixy^j:0\le i,j<k\bigr\}.wordSpanP​=spanR​{yieyj, yixyj, xyixyj:0≤i,j<k}.

Its elements are precisely finite RRR-linear combinations of these words, including the zero combination; the definition does not assert that this submodule is all of BBB.

QAlgorithms.Papers.Independent.Intake100.P58.x

Let RRR be a commutative ring, k>0k>0k>0 a natural number, and PPP consist of units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R× and coefficients cj,Aj∈Rc_j,A_j\in Rcj​,Aj​∈R for 0≤j<k0\le j<k0≤j<k, with c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). Write δ=q−q−1\delta=q-q^{-1}δ=q−q−1, identifying units with their images in RRR. In the quotient of the free associative unital RRR-algebra on u,u′,v,v′,fu,u',v,v',fu,u′,v,v′,f defined by

uu′=u′u=1,vv′=v′v=1,u−u′=δ(1−f),uf=fu=λf,f2=A0f,vk=∑j=0k−1cjvj,uvuv=vuvu,vuvf=fvuv=λ−1f,fvjf=Ajf(0≤j<k),\begin{gathered} uu'=u'u=1,\qquad vv'=v'v=1,\qquad u-u'=\delta(1-f),\\ uf=fu=\lambda f,\qquad f^2=A_0f,\qquad v^k=\sum_{j=0}^{k-1}c_jv^j,\\ uvuv=vuvu,\qquad vuvf=fvuv=\lambda^{-1}f,\qquad fv^jf=A_jf\quad(0\le j<k), \end{gathered}uu′=u′u=1,vv′=v′v=1,u−u′=δ(1−f),uf=fu=λf,f2=A0​f,vk=j=0∑k−1​cj​vj,uvuv=vuvu,vuvf=fvuv=λ−1f,fvjf=Aj​f(0≤j<k),​

the element x(P)x(P)x(P) is the residue class of the generator uuu.

QAlgorithms.Papers.Independent.Intake100.P58.xColumn

Let RRR be a commutative ring, k∈Nk\in\mathbb Nk∈N, and PPP specify k>0k>0k>0, units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R×, and coefficients bj,Aj∈Rb_j,A_j\in Rbj​,Aj​∈R for 0≤j<k0\le j<k0≤j<k, with b0=cb_0=cb0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). Set δ=q−q−1\delta=q-q^{-1}δ=q−q−1, let V=R{0,…,k−1}V=R^{\{0,\ldots,k-1\}}V=R{0,…,k−1} have coordinate basis vjv_jvj​, and put v^i=vi\widehat v_i=v_ivi​=vi​ for i<ki<ki<k and v^i=0\widehat v_i=0vi​=0 otherwise. Also put A^i=Ai\widehat A_i=A_iAi​=Ai​ for i<ki<ki<k and A^i=0\widehat A_i=0Ai​=0 otherwise. Let UUU be the RRR-linear map with U(v0)=c−1vk−1−c−1∑0≤j<k−1bj+1vjU(v_0)=c^{-1}v_{k-1}-c^{-1}\sum_{0\le j<k-1}b_{j+1}v_jU(v0​)=c−1vk−1​−c−1∑0≤j<k−1​bj+1​vj​ and U(vi)=vi−1U(v_i)=v_{i-1}U(vi​)=vi−1​ for 1≤i<k1\le i<k1≤i<k. This defines vectors wi∈Vw_i\in Vwi​∈V for every i∈Ni\in\mathbb Ni∈N by

w0=λv0,w1=λ−1U(v0),wi+2=U(wi+1)−δv^i+δA^i+1U(v0)(i≥0).w_0=\lambda v_0,\qquad w_1=\lambda^{-1}U(v_0),\qquad w_{i+2}=U(w_{i+1})-\delta\widehat v_i +\delta\widehat A_{i+1}U(v_0)\quad(i\ge0).w0​=λv0​,w1​=λ−1U(v0​),wi+2​=U(wi+1​)−δvi​+δAi+1​U(v0​)(i≥0).

The recursion continues beyond i=k−1i=k-1i=k−1, using the stated zero extensions.

QAlgorithms.Papers.Independent.Intake100.P58.xInv

Let RRR be a commutative ring, k>0k>0k>0 a natural number, and PPP consist of units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R× and coefficients cj,Aj∈Rc_j,A_j\in Rcj​,Aj​∈R for 0≤j<k0\le j<k0≤j<k, with c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). Write δ=q−q−1\delta=q-q^{-1}δ=q−q−1, identifying units with their images in RRR. In the quotient of the free associative unital RRR-algebra on u,u′,v,v′,fu,u',v,v',fu,u′,v,v′,f defined by

uu′=u′u=1,vv′=v′v=1,u−u′=δ(1−f),uf=fu=λf,f2=A0f,vk=∑j=0k−1cjvj,uvuv=vuvu,vuvf=fvuv=λ−1f,fvjf=Ajf(0≤j<k),\begin{gathered} uu'=u'u=1,\qquad vv'=v'v=1,\qquad u-u'=\delta(1-f),\\ uf=fu=\lambda f,\qquad f^2=A_0f,\qquad v^k=\sum_{j=0}^{k-1}c_jv^j,\\ uvuv=vuvu,\qquad vuvf=fvuv=\lambda^{-1}f,\qquad fv^jf=A_jf\quad(0\le j<k), \end{gathered}uu′=u′u=1,vv′=v′v=1,u−u′=δ(1−f),uf=fu=λf,f2=A0​f,vk=j=0∑k−1​cj​vj,uvuv=vuvu,vuvf=fvuv=λ−1f,fvjf=Aj​f(0≤j<k),​

the element xInv(P)xInv(P)xInv(P) is the residue class of the formal inverse generator u′u'u′.

QAlgorithms.Papers.Independent.Intake100.P58.xiBasis

Let RRR be a commutative ring, possibly the zero ring, and let PPP consist of a positive integer kkk, units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R×, and families cr,Ar∈Rc_r,A_r\in Rcr​,Ar​∈R, 0≤r<k0\le r<k0≤r<k, satisfying c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). On the RRR-module Ξ(P)\Xi(P)Ξ(P) of all RRR-valued arrays indexed by (t,i,j)(t,i,j)(t,i,j) with t∈{0,1,2}t\in\{0,1,2\}t∈{0,1,2} and 0≤i,j<k0\le i,j<k0≤i,j<k, the definition chooses the coordinate basis (Btij)(B_{tij})(Btij​), specified by

Btij(u,r,s)={1,(u,r,s)=(t,i,j),0,otherwise.B_{tij}(u,r,s)= \begin{cases} 1,&(u,r,s)=(t,i,j),\\ 0,&\text{otherwise}. \end{cases}Btij​(u,r,s)={1,0,​(u,r,s)=(t,i,j),otherwise.​

This is an RRR-module basis indexed by {0,1,2}×({0,…,k−1}×{0,…,k−1})\{0,1,2\}\times(\{0,\ldots,k-1\}\times\{0,\ldots,k-1\}){0,1,2}×({0,…,k−1}×{0,…,k−1}), including when RRR is the zero ring.

QAlgorithms.Papers.Independent.Intake100.P58.y

Let RRR be a commutative ring, k>0k>0k>0 a natural number, and PPP consist of units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R× and coefficients cj,Aj∈Rc_j,A_j\in Rcj​,Aj​∈R for 0≤j<k0\le j<k0≤j<k, with c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). Write δ=q−q−1\delta=q-q^{-1}δ=q−q−1, identifying units with their images in RRR. In the quotient of the free associative unital RRR-algebra on u,u′,v,v′,fu,u',v,v',fu,u′,v,v′,f defined by

uu′=u′u=1,vv′=v′v=1,u−u′=δ(1−f),uf=fu=λf,f2=A0f,vk=∑j=0k−1cjvj,uvuv=vuvu,vuvf=fvuv=λ−1f,fvjf=Ajf(0≤j<k),\begin{gathered} uu'=u'u=1,\qquad vv'=v'v=1,\qquad u-u'=\delta(1-f),\\ uf=fu=\lambda f,\qquad f^2=A_0f,\qquad v^k=\sum_{j=0}^{k-1}c_jv^j,\\ uvuv=vuvu,\qquad vuvf=fvuv=\lambda^{-1}f,\qquad fv^jf=A_jf\quad(0\le j<k), \end{gathered}uu′=u′u=1,vv′=v′v=1,u−u′=δ(1−f),uf=fu=λf,f2=A0​f,vk=j=0∑k−1​cj​vj,uvuv=vuvu,vuvf=fvuv=λ−1f,fvjf=Aj​f(0≤j<k),​

the element y(P)y(P)y(P) is the residue class of the generator vvv.

QAlgorithms.Papers.Independent.Intake100.P58.yInv

Let RRR be a commutative ring, k>0k>0k>0 a natural number, and PPP consist of units q,λ,c∈R×q,\lambda,c\in R^\timesq,λ,c∈R× and coefficients cj,Aj∈Rc_j,A_j\in Rcj​,Aj​∈R for 0≤j<k0\le j<k0≤j<k, with c0=cc_0=cc0​=c and λ−λ−1=(q−q−1)(1−A0)\lambda-\lambda^{-1}=(q-q^{-1})(1-A_0)λ−λ−1=(q−q−1)(1−A0​). Write δ=q−q−1\delta=q-q^{-1}δ=q−q−1, identifying units with their images in RRR. In the quotient of the free associative unital RRR-algebra on u,u′,v,v′,fu,u',v,v',fu,u′,v,v′,f defined by

uu′=u′u=1,vv′=v′v=1,u−u′=δ(1−f),uf=fu=λf,f2=A0f,vk=∑j=0k−1cjvj,uvuv=vuvu,vuvf=fvuv=λ−1f,fvjf=Ajf(0≤j<k),\begin{gathered} uu'=u'u=1,\qquad vv'=v'v=1,\qquad u-u'=\delta(1-f),\\ uf=fu=\lambda f,\qquad f^2=A_0f,\qquad v^k=\sum_{j=0}^{k-1}c_jv^j,\\ uvuv=vuvu,\qquad vuvf=fvuv=\lambda^{-1}f,\qquad fv^jf=A_jf\quad(0\le j<k), \end{gathered}uu′=u′u=1,vv′=v′v=1,u−u′=δ(1−f),uf=fu=λf,f2=A0​f,vk=j=0∑k−1​cj​vj,uvuv=vuvu,vuvf=fvuv=λ−1f,fvjf=Aj​f(0≤j<k),​

the element yInv(P)yInv(P)yInv(P) is the residue class of the formal inverse generator v′v'v′.

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

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 30, 2026

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

View graph

Get started

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

About Prove2Me

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

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me