Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Definitions for Affine Birman-Wenzl-Murakami Algebras and Tangles in the Solid Torus

Definition
QAlgorithms_Papers_Independent_Intake100_P55

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

prove2quantum

The objects the formalized statements of Affine Birman-Wenzl-Murakami Algebras and Tangles in the Solid Torus (arXiv:math/0411155) are stated in. Each was checked against the paper by a blind read-back and a moderator.

  • Ground: Ordinary ground data, Definition 2.6, PDF p.7 and §3.1, PDF p.15. Neither z nor any loop parameter is required to be invertible.
  • BMWIndex: One-based generator range, Definitions 3.1 and 3.6, PDF pp.15,17.
  • BMWAdjacent: Both adjacency choices in i±1, Definitions 3.1 and 3.6, PDF pp.15,17.
  • BMWGenerator: Generators of the ordinary (aff=false) or affine (aff=true) presentation, PDF pp.15,17. At level zero there are no letters; ordinary level one is empty.
  • bmwFreeG: Free g_i, or its inverse if inv=true; zero outside 1≤i<n, PDF pp.15,17.
  • bmwFreeE: Free e_i; zero outside 1≤i<n, PDF pp.15,17.
  • bmwFreeX: Free x_1 or x_1 inverse, present only at positive affine levels, PDF p.17.
  • OrdinaryAffineBMWRel: Exactly the seven ordinary relation groups (Definition 3.1, PDF p.15) and, when aff=true, the eight affine groups (Definition 3.6, PDF p.17). The q argument specifies every positive q_r; q_0 is unused. There is no cyclotomic relation or admissibility condition. Adjacent index pairs are ordered.
  • OrdinaryAffineBMW: Presented ordinary or affine BMW algebra, PDF pp.15,17.
  • presentation: Canonical quotient map, Definitions 3.1 and 3.6, PDF pp.15,17.
  • ghCrossing: Source g_i or its inverse, PDF pp.15,17.
  • ghContraction: Source e_i, PDF pp.15,17.
  • bmwX: Source x_1 or its inverse, Definition 3.6, PDF p.17.
  • forward: Ordered product h_a ... h_(a+l-1); empty product is 1, PDF p.18.
  • backward: Ordered product in the reverse order of forward, PDF p.18.
  • signedPower: Positive powers use u, negative powers use its specified inverse v, PDF pp.19--21. This avoids the junk-value inverse operation on a general ring.
  • fWord: Recursive f_k word, Definition 5.22, PDF p.40. The offset is a shift of generator indices; f_0=1 extends the empty word convention.
  • diamondColumn: The j-th diamond column e_(k-j) e_(k-j+2) ... e_(k+j), PDF p.40. Only j<k is used.
  • diamondWord: Diamond columns in forward then reverse order, omitting the repeated middle column, Proposition 5.24, PDF p.40.
  • alternatingWord: Interleaved word z_0 x^r_1 z_1 ... x^r_k z_k, Lemma 3.15, PDF p.21.
  • bmwWinding: x_r and its explicit inverse word, §3.3, PDF p.19. At r=0 the helper is zero; assertions about x_r always have 1≤r≤n.
  • windingPower: Integer bmwWinding powers, §3.4, PDF p.21.
  • bmwLevel: The canonical image of a lower-level algebra in W_n, §3.4, PDF pp.21--25. Adjoining the images of its defining generators gives the canonical image, without assuming tower injectivity. sourceAff=false also gives the ordinary subalgebra in an affine ambient algebra.
  • fElement: The f_k word evaluated in W_n with an optional one-step index shift, Definition 5.22 and Proposition 5.26, PDF pp.40--42.
  • oddContractions: Ordered odd contraction word, Definition 5.29, PDF p.44.
  • laurent: All Laurent monomials x_1^mu_1 ... x_n^mu_n, §6.2, PDF p.56.
  • rightSpan: Linear span of U e, §3.4, PDF p.25.
  • leftSpan: Linear span of e U, §5.4, PDF p.44.
  • bmwCornerSpan: Linear span of e U e, §3.4, PDF p.25.
  • sandwichSpan: Linear span of U e U, §5.4, PDF pp.44--45. With U=univ this is the two-sided ideal generated by e, represented as an R-submodule.
  • insertionSpan: Lower-bmwLevel bimodule span U C U, §3.4, PDF p.21.
  • translateSpan: Left translate of a submodule as a linear span, Lemma 3.19, PDF p.25.
Definition code
import Mathlib

/-!
Goodman--Hauschild, arXiv:math/0411155v2. Algebraic statement targets.
This file constructs the presentations of Definitions 3.1 and 3.6 directly.
Paper-specific names distinguish these multiplicative presentations from the
degenerate/cyclotomic accepted presentations and unrelated short-name collisions.
No geometric tangle algebra is replaced by an algebraic presentation or a free module.
The geometric and remaining combinatorial interfaces are deferred in HARD.md.
Indices are one based. Out-of-range generator helpers return zero; all source
uses carry explicit range guards. Integer powers use the inverse generator word.
Compilation is pending the batch mechanical handoff.
-/

noncomputable section

open scoped Classical

namespace QAlgorithms.Papers.Independent.Intake100.P55

/-- Ordinary ground data, Definition 2.6, PDF p.7 and §3.1, PDF p.15.
Neither z nor any loop parameter is required to be invertible. -/
structure Ground (R : Type*) [CommRing R] where
  lam : Rˣ
  delta : Rˣ
  z : R
  compatibility : (↑lam⁻¹ : R) - ↑lam = z * ((delta : R) - 1)

/-- One-based generator range, Definitions 3.1 and 3.6, PDF pp.15,17. -/
def BMWIndex (n i : ℕ) : Prop := 1 ≤ i ∧ i < n

/-- Both adjacency choices in i±1, Definitions 3.1 and 3.6, PDF pp.15,17. -/
def BMWAdjacent (i j : ℕ) : Prop := i + 1 = j ∨ j + 1 = i

/-- Generators of the ordinary (aff=false) or affine (aff=true) presentation,
PDF pp.15,17. At level zero there are no letters; ordinary level one is empty. -/
inductive BMWGenerator (aff : Bool) (n : ℕ)
  | g : {i : ℕ // BMWIndex n i} → Bool → BMWGenerator aff n
  | e : {i : ℕ // BMWIndex n i} → BMWGenerator aff n
  | x : Fin (if aff then min n 1 else 0) → Bool → BMWGenerator aff n

/-- Free g_i, or its inverse if inv=true; zero outside 1≤i<n, PDF pp.15,17. -/
def bmwFreeG (R : Type*) [CommRing R] (aff : Bool) (n i : ℕ) (inv : Bool) :
    FreeAlgebra R (BMWGenerator aff n) :=
  if h : BMWIndex n i then FreeAlgebra.ι R (.g ⟨i, h⟩ inv) else 0

/-- Free e_i; zero outside 1≤i<n, PDF pp.15,17. -/
def bmwFreeE (R : Type*) [CommRing R] (aff : Bool) (n i : ℕ) :
    FreeAlgebra R (BMWGenerator aff n) :=
  if h : BMWIndex n i then FreeAlgebra.ι R (.e ⟨i, h⟩) else 0

/-- Free x_1 or x_1 inverse, present only at positive affine levels, PDF p.17. -/
def bmwFreeX (R : Type*) [CommRing R] (aff : Bool) (n : ℕ) (inv : Bool) :
    FreeAlgebra R (BMWGenerator aff n) :=
  if h : 0 < (if aff then min n 1 else 0) then
    FreeAlgebra.ι R (.x ⟨0, h⟩ inv) else 0

section Presentation

variable {R : Type*} [CommRing R] (P : Ground R) (q : ℕ → R) (aff : Bool) (n : ℕ)

/-- Exactly the seven ordinary relation groups (Definition 3.1, PDF p.15)
and, when aff=true, the eight affine groups (Definition 3.6, PDF p.17).
The q argument specifies every positive q_r; q_0 is unused. There is no
cyclotomic relation or admissibility condition. Adjacent index pairs are ordered. -/
inductive OrdinaryAffineBMWRel (P : Ground R) (q : ℕ → R) (aff : Bool) (n : ℕ) :
    FreeAlgebra R (BMWGenerator aff n) → FreeAlgebra R (BMWGenerator aff n) → Prop
  | invL (i : ℕ) (hi : BMWIndex n i) : OrdinaryAffineBMWRel P q aff n ((bmwFreeG R aff n) i false * (bmwFreeG R aff n) i true) 1
  | invR (i : ℕ) (hi : BMWIndex n i) : OrdinaryAffineBMWRel P q aff n ((bmwFreeG R aff n) i true * (bmwFreeG R aff n) i false) 1
  | squareE (i : ℕ) (hi : BMWIndex n i) : OrdinaryAffineBMWRel P q aff n ((bmwFreeE R aff n) i ^ 2) ((algebraMap R (FreeAlgebra R (BMWGenerator aff n))) (P.delta : R) * (bmwFreeE R aff n) i)
  | braid (i : ℕ) (hi : 1 ≤ i) (hin : i + 1 < n) :
      OrdinaryAffineBMWRel P q aff n ((bmwFreeG R aff n) i false * (bmwFreeG R aff n) (i+1) false * (bmwFreeG R aff n) i false)
        ((bmwFreeG R aff n) (i+1) false * (bmwFreeG R aff n) i false * (bmwFreeG R aff n) (i+1) false)
  | ggFar (i j : ℕ) (hi : BMWIndex n i) (hj : BMWIndex n j)
      (hd : i + 1 < j ∨ j + 1 < i) :
      OrdinaryAffineBMWRel P q aff n ((bmwFreeG R aff n) i false * (bmwFreeG R aff n) j false) ((bmwFreeG R aff n) j false * (bmwFreeG R aff n) i false)
  | geFar (i j : ℕ) (hi : BMWIndex n i) (hj : BMWIndex n j)
      (hd : i + 1 < j ∨ j + 1 < i) :
      OrdinaryAffineBMWRel P q aff n ((bmwFreeG R aff n) i false * (bmwFreeE R aff n) j) ((bmwFreeE R aff n) j * (bmwFreeG R aff n) i false)
  | eeFar (i j : ℕ) (hi : BMWIndex n i) (hj : BMWIndex n j)
      (hd : i + 1 < j ∨ j + 1 < i) : OrdinaryAffineBMWRel P q aff n ((bmwFreeE R aff n) i * (bmwFreeE R aff n) j) ((bmwFreeE R aff n) j * (bmwFreeE R aff n) i)
  | tripleE (i j : ℕ) (hi : BMWIndex n i) (hj : BMWIndex n j) (ha : BMWAdjacent i j) :
      OrdinaryAffineBMWRel P q aff n ((bmwFreeE R aff n) i * (bmwFreeE R aff n) j * (bmwFreeE R aff n) i) ((bmwFreeE R aff n) i)
  | tangleL (i j : ℕ) (hi : BMWIndex n i) (hj : BMWIndex n j) (ha : BMWAdjacent i j) :
      OrdinaryAffineBMWRel P q aff n ((bmwFreeG R aff n) i false * (bmwFreeG R aff n) j false * (bmwFreeE R aff n) i) ((bmwFreeE R aff n) j * (bmwFreeE R aff n) i)
  | tangleR (i j : ℕ) (hi : BMWIndex n i) (hj : BMWIndex n j) (ha : BMWAdjacent i j) :
      OrdinaryAffineBMWRel P q aff n ((bmwFreeE R aff n) i * (bmwFreeG R aff n) j false * (bmwFreeG R aff n) i false) ((bmwFreeE R aff n) i * (bmwFreeE R aff n) j)
  | skein (i : ℕ) (hi : BMWIndex n i) :
      OrdinaryAffineBMWRel P q aff n ((bmwFreeG R aff n) i false - (bmwFreeG R aff n) i true) ((algebraMap R (FreeAlgebra R (BMWGenerator aff n))) P.z * ((bmwFreeE R aff n) i - 1))
  | untwistL (i : ℕ) (hi : BMWIndex n i) :
      OrdinaryAffineBMWRel P q aff n ((bmwFreeG R aff n) i false * (bmwFreeE R aff n) i) ((algebraMap R (FreeAlgebra R (BMWGenerator aff n))) (↑P.lam⁻¹ : R) * (bmwFreeE R aff n) i)
  | untwistR (i : ℕ) (hi : BMWIndex n i) :
      OrdinaryAffineBMWRel P q aff n ((bmwFreeE R aff n) i * (bmwFreeG R aff n) i false) ((algebraMap R (FreeAlgebra R (BMWGenerator aff n))) (↑P.lam⁻¹ : R) * (bmwFreeE R aff n) i)
  | untwistNear (i j : ℕ) (hi : BMWIndex n i) (hj : BMWIndex n j) (ha : BMWAdjacent i j) :
      OrdinaryAffineBMWRel P q aff n ((bmwFreeE R aff n) i * (bmwFreeG R aff n) j false * (bmwFreeE R aff n) i) ((algebraMap R (FreeAlgebra R (BMWGenerator aff n))) (P.lam : R) * (bmwFreeE R aff n) i)
  | xInvL (haf : aff = true) (hn : 1 ≤ n) : OrdinaryAffineBMWRel P q aff n ((bmwFreeX R aff n) false * (bmwFreeX R aff n) true) 1
  | xInvR (haf : aff = true) (hn : 1 ≤ n) : OrdinaryAffineBMWRel P q aff n ((bmwFreeX R aff n) true * (bmwFreeX R aff n) false) 1
  | affineBraid (haf : aff = true) (hn : 2 ≤ n) :
      OrdinaryAffineBMWRel P q aff n ((bmwFreeX R aff n) false * (bmwFreeG R aff n) 1 false * (bmwFreeX R aff n) false * (bmwFreeG R aff n) 1 false)
        ((bmwFreeG R aff n) 1 false * (bmwFreeX R aff n) false * (bmwFreeG R aff n) 1 false * (bmwFreeX R aff n) false)
  | xgFar (haf : aff = true) (j : ℕ) (hj : 2 ≤ j) (hjn : j < n) :
      OrdinaryAffineBMWRel P q aff n ((bmwFreeX R aff n) false * (bmwFreeG R aff n) j false) ((bmwFreeG R aff n) j false * (bmwFreeX R aff n) false)
  | xeFar (haf : aff = true) (j : ℕ) (hj : 2 ≤ j) (hjn : j < n) :
      OrdinaryAffineBMWRel P q aff n ((bmwFreeX R aff n) false * (bmwFreeE R aff n) j) ((bmwFreeE R aff n) j * (bmwFreeX R aff n) false)
  | loop (haf : aff = true) (r : ℕ) (hr : 1 ≤ r) (hn : 2 ≤ n) :
      OrdinaryAffineBMWRel P q aff n ((bmwFreeE R aff n) 1 * (bmwFreeX R aff n) false ^ r * (bmwFreeE R aff n) 1) ((algebraMap R (FreeAlgebra R (BMWGenerator aff n))) (q r) * (bmwFreeE R aff n) 1)
  | unwrapL (haf : aff = true) (hn : 2 ≤ n) :
      OrdinaryAffineBMWRel P q aff n ((bmwFreeE R aff n) 1 * (bmwFreeX R aff n) false * (bmwFreeG R aff n) 1 false * (bmwFreeX R aff n) false) ((algebraMap R (FreeAlgebra R (BMWGenerator aff n))) (↑P.lam⁻¹ : R) * (bmwFreeE R aff n) 1)
  | unwrapR (haf : aff = true) (hn : 2 ≤ n) :
      OrdinaryAffineBMWRel P q aff n ((bmwFreeX R aff n) false * (bmwFreeG R aff n) 1 false * (bmwFreeX R aff n) false * (bmwFreeE R aff n) 1) ((algebraMap R (FreeAlgebra R (BMWGenerator aff n))) (↑P.lam⁻¹ : R) * (bmwFreeE R aff n) 1)

/-- Presented ordinary or affine BMW algebra, PDF pp.15,17. -/
abbrev OrdinaryAffineBMW := RingQuot (OrdinaryAffineBMWRel P q aff n)

/-- Canonical quotient map, Definitions 3.1 and 3.6, PDF pp.15,17. -/
def presentation : FreeAlgebra R (BMWGenerator aff n) →ₐ[R] OrdinaryAffineBMW P q aff n :=
  RingQuot.mkAlgHom R (OrdinaryAffineBMWRel P q aff n)

/-- Source g_i or its inverse, PDF pp.15,17. -/
def ghCrossing (i : ℕ) (inv : Bool) : OrdinaryAffineBMW P q aff n := presentation P q aff n (bmwFreeG R aff n i inv)

/-- Source e_i, PDF pp.15,17. -/
def ghContraction (i : ℕ) : OrdinaryAffineBMW P q aff n := presentation P q aff n (bmwFreeE R aff n i)

/-- Source x_1 or its inverse, Definition 3.6, PDF p.17. -/
def bmwX (inv : Bool) : OrdinaryAffineBMW P q aff n := presentation P q aff n (bmwFreeX R aff n inv)

/-- Sanity check: the e-square relation descends to the quotient, PDF pp.15,17. -/
example (i : ℕ) (hi : BMWIndex n i) :
    ghContraction P q aff n i ^ 2 = algebraMap R _ (P.delta : R) * ghContraction P q aff n i := by
  simpa [ghContraction, presentation] using (RingQuot.mkAlgHom_rel R (OrdinaryAffineBMWRel.squareE (P := P) (q := q) (aff := aff) (n := n) i hi))

/-- Sanity check: level zero has no e_1 generator, PDF pp.15,17. -/
example : bmwFreeE R aff 0 1 = 0 := by simp [bmwFreeE, BMWIndex]

end Presentation

section Words

variable {A : Type*} [Monoid A]

/-- Ordered product h_a ... h_(a+l-1); empty product is 1, PDF p.18. -/
def forward (h : ℕ → A) (a l : ℕ) : A :=
  ((List.range l).map fun j => h (a+j)).prod

/-- Ordered product in the reverse order of forward, PDF p.18. -/
def backward (h : ℕ → A) (a l : ℕ) : A :=
  ((List.range l).reverse.map fun j => h (a+j)).prod

/-- Positive powers use u, negative powers use its specified inverse v,
PDF pp.19--21. This avoids the junk-value inverse operation on a general ring. -/
def signedPower (u v : A) (s : ℤ) : A :=
  if s < 0 then v ^ (-s).toNat else u ^ s.toNat

/-- Recursive f_k word, Definition 5.22, PDF p.40. The offset is a shift
of generator indices; f_0=1 extends the empty word convention. -/
def fWord (g e : ℕ → A) (offset : ℕ) : ℕ → A
  | 0 => 1
  | k+1 => forward g (offset+1) (2*k) * fWord g e offset k *
      e (offset+2*k+1) * backward g (offset+1) (2*k)

/-- The j-th diamond column e_(k-j) e_(k-j+2) ... e_(k+j), PDF p.40.
Only j<k is used. -/
def diamondColumn (e : ℕ → A) (k j : ℕ) : A :=
  ((List.range (j+1)).map fun a => e (k-j+2*a)).prod

/-- Diamond columns in forward then reverse order, omitting the repeated
middle column, Proposition 5.24, PDF p.40. -/
def diamondWord (e : ℕ → A) (k : ℕ) : A :=
  forward (diamondColumn e k) 0 k * backward (diamondColumn e k) 0 (k-1)

/-- Interleaved word z_0 x^r_1 z_1 ... x^r_k z_k, Lemma 3.15, PDF p.21. -/
def alternatingWord (u : A) (k : ℕ) (zs : Fin (k+1) → A) (rs : Fin k → ℕ) : A :=
  (List.ofFn fun j : Fin k => zs ⟨j.val, Nat.lt_trans j.isLt (Nat.lt_succ_self k)⟩ *
    u ^ rs j).prod * zs ⟨k, Nat.lt_succ_self k⟩

/-- Empty and first diamond checks, PDF p.40. -/
example (g e : ℕ → A) : fWord g e 0 0 = 1 ∧ fWord g e 0 1 = e 1 := by
  simp [fWord, forward, backward]

/-- The middle column is not tripled in the k=1 case, PDF p.40. -/
example (e : ℕ → A) : diamondWord e 1 = e 1 := by
  simp [diamondWord, diamondColumn, forward, backward]

end Words

section Algebras

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

/-- x_r and its explicit inverse word, §3.3, PDF p.19. At r=0 the helper
is zero; assertions about x_r always have 1≤r≤n. -/
def bmwWinding (n : ℕ) (inv : Bool) (r : ℕ) : OrdinaryAffineBMW P q true n :=
  if r = 0 then 0 else
    backward (fun j => ghCrossing P q true n j inv) 1 (r-1) * bmwX P q true n inv *
      forward (fun j => ghCrossing P q true n j inv) 1 (r-1)

/-- Integer bmwWinding powers, §3.4, PDF p.21. -/
def windingPower (n r : ℕ) (s : ℤ) : OrdinaryAffineBMW P q true n :=
  signedPower (bmwWinding P q n false r) (bmwWinding P q n true r) s

/-- Base winding normalization, PDF p.19. -/
example (n : ℕ) : bmwWinding P q n false 1 = bmwX P q true n false := by
  simp [bmwWinding, forward, backward]

/-- The canonical image of a lower-level algebra in W_n, §3.4, PDF pp.21--25.
Adjoining the images of its defining generators gives the canonical image,
without assuming tower injectivity. sourceAff=false also gives the ordinary
subalgebra in an affine ambient algebra. -/
def bmwLevel (aff sourceAff : Bool) (n m : ℕ) : Subalgebra R (OrdinaryAffineBMW P q aff n) :=
  Algebra.adjoin R {a | (∃ i, BMWIndex m i ∧
    (a = ghCrossing P q aff n i false ∨ a = ghCrossing P q aff n i true ∨ a = ghContraction P q aff n i)) ∨
    (sourceAff = true ∧ 1 ≤ m ∧ (a = bmwX P q aff n false ∨ a = bmwX P q aff n true))}

/-- The f_k word evaluated in W_n with an optional one-step index shift,
Definition 5.22 and Proposition 5.26, PDF pp.40--42. -/
def fElement (n offset k : ℕ) : OrdinaryAffineBMW P q false n :=
  fWord (fun i => ghCrossing P q false n i false) (ghContraction P q false n) offset k

/-- Ordered odd contraction word, Definition 5.29, PDF p.44. -/
def oddContractions (n k : ℕ) : OrdinaryAffineBMW P q false n :=
  ((List.range k).map fun j => ghContraction P q false n (2*j+1)).prod

/-- Sanity check for the zero-contraction filtration, PDF p.44. -/
example (n : ℕ) : oddContractions P q n 0 = 1 := rfl

/-- All Laurent monomials x_1^mu_1 ... x_n^mu_n, §6.2, PDF p.56. -/
def laurent (n : ℕ) (mu : Fin n → ℤ) : OrdinaryAffineBMW P q true n :=
  (List.ofFn fun i : Fin n => windingPower P q n (i.val+1) (mu i)).prod

/-- The empty Laurent word is 1 at bmwLevel zero, PDF p.56. -/
example (mu : Fin 0 → ℤ) : laurent P q 0 mu = 1 := by simp [laurent]

end Algebras

section Spans

variable {R A : Type*} [CommRing R] [Ring A] [Algebra R A]

/-- Linear span of U e, §3.4, PDF p.25. -/
def rightSpan (U : Set A) (e : A) : Submodule R A :=
  Submodule.span R {v | ∃ a ∈ U, v = a * e}

/-- Linear span of e U, §5.4, PDF p.44. -/
def leftSpan (e : A) (U : Set A) : Submodule R A :=
  Submodule.span R {v | ∃ a ∈ U, v = e * a}

/-- Linear span of e U e, §3.4, PDF p.25. -/
def bmwCornerSpan (e : A) (U : Set A) : Submodule R A :=
  Submodule.span R {v | ∃ a ∈ U, v = e * a * e}

/-- Linear span of U e U, §5.4, PDF pp.44--45. With U=univ this is
the two-sided ideal generated by e, represented as an R-submodule. -/
def sandwichSpan (U : Set A) (e : A) : Submodule R A :=
  Submodule.span R {v | ∃ a ∈ U, ∃ b ∈ U, v = a * e * b}

/-- Lower-bmwLevel bimodule span U C U, §3.4, PDF p.21. -/
def insertionSpan (U C : Set A) : Submodule R A :=
  Submodule.span R {v | ∃ a ∈ U, ∃ b ∈ U, ∃ chi ∈ C, v = a * chi * b}

/-- Left translate of a submodule as a linear span, Lemma 3.19, PDF p.25. -/
def translateSpan (a : A) (V : Submodule R A) : Submodule R A :=
  Submodule.span R {v | ∃ w ∈ V, v = a * w}

end Spans

section Statements

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

end Statements

end QAlgorithms.Papers.Independent.Intake100.P55
Source
Affine Birman-Wenzl-Murakami Algebras and Tangles in the Solid Torus, arXiv:math/0411155v2, https://arxiv.org/abs/math/0411155v2
Read-back

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

QAlgorithms.Papers.Independent.Intake100.P55.BMWAdjacent

For natural numbers iii and jjj, this predicate holds exactly when i+1=ji+1=ji+1=j or j+1=ij+1=ij+1=i. Both indices may be zero where these equations permit it; in particular, 000 and 111 satisfy the predicate. No upper bound on either index is imposed.

QAlgorithms.Papers.Independent.Intake100.P55.BMWGenerator

For a Boolean aff\mathit{aff}aff and a natural number nnn, this inductive type consists of distinct formal constructors g(i,b)g(i,b)g(i,b), with i∈Ni\in\mathbb Ni∈N satisfying 1≤i<n1\le i<n1≤i<n and bbb a Boolean; e(i)e(i)e(i), with 1≤i<n1\le i<n1≤i<n; and x(t,b)x(t,b)x(t,b), with bbb a Boolean and ttt a natural number satisfying

0≤t<{min⁡(n,1),aff=true,0,aff=false.0\le t< \begin{cases} \min(n,1),&\mathit{aff}=\mathrm{true},\\ 0,&\mathit{aff}=\mathrm{false}. \end{cases}0≤t<{min(n,1),0,​aff=true,aff=false.​

Consequently, the xxx-constructors exist exactly when aff=true\mathit{aff}=\mathrm{true}aff=true and n≥1n\ge1n≥1, in which case their only possible index is t=0t=0t=0, giving one constructor for each Boolean. The Boolean arguments are labels and impose no inverse equations. For n=0n=0n=0 the type is empty; for n=1n=1n=1 it is empty when aff=false\mathit{aff}=\mathrm{false}aff=false and consists of the two xxx-constructors when aff=true\mathit{aff}=\mathrm{true}aff=true.

QAlgorithms.Papers.Independent.Intake100.P55.BMWIndex

For natural numbers nnn and iii, this predicate holds exactly when 1≤i<n1\le i<n1≤i<n. Thus i=0i=0i=0 never satisfies it, and there are no satisfying indices when n=0n=0n=0 or n=1n=1n=1.

QAlgorithms.Papers.Independent.Intake100.P55.Ground

For any commutative ring RRR, a ground datum consists of two units λ,δ∈R×\lambda,\delta\in R^\timesλ,δ∈R×, an element z∈Rz\in Rz∈R, and a proof of the identity

λ−1−λ=z(δ−1)\lambda^{-1}-\lambda=z(\delta-1)λ−1−λ=z(δ−1)

in RRR, where the units and the inverse unit λ−1\lambda^{-1}λ−1 are viewed as elements of RRR. There are no further assumptions on RRR or these parameters; in particular, the zero ring is allowed.

QAlgorithms.Papers.Independent.Intake100.P55.OrdinaryAffineBMW

For any commutative ring RRR, units λ,δ∈R×\lambda,\delta\in R^\timesλ,δ∈R× and element z∈Rz\in Rz∈R satisfying λ−1−λ=z(δ−1)\lambda^{-1}-\lambda=z(\delta-1)λ−1−λ=z(δ−1), function q:N→Rq:\mathbb N\to Rq:N→R, Boolean aff\mathit{aff}aff, and natural number nnn, this abbreviates the following quotient RRR-algebra. Set I={i∈N:1≤i<n}I=\{i\in\mathbb N:1\le i<n\}I={i∈N:1≤i<n}, and take the free associative unital RRR-algebra FFF on independent generators gi+,gi−,eig_i^+,g_i^-,e_igi+​,gi−​,ei​ for i∈Ii\in Ii∈I, with two additional independent generators x+,x−x^+,x^-x+,x− exactly when aff=true\mathit{aff}=\mathrm{true}aff=true and n≥1n\ge1n≥1; the signs label the Boolean values false\mathrm{false}false and true\mathrm{true}true, respectively. The quotient is F/JF/JF/J, where JJJ is the two-sided ideal generated by the left side minus the right side of every equation below, with coefficients interpreted through the scalar map from RRR:

gi+gi−=1,gi−gi+=1,ei2=δei(i∈I),gi+−gi−=z(ei−1),gi+ei=λ−1ei,eigi+=λ−1ei(i∈I),gi+gi+1+gi+=gi+1+gi+gi+1+(1≤i, i+1<n),gi+gj+=gj+gi+,gi+ej=ejgi+,eiej=ejei(i,j∈I, i+1<j or j+1<i),eiejei=ei,gi+gj+ei=ejei(i,j∈I, i+1=j or j+1=i),eigj+gi+=eiej,eigj+ei=λei(i,j∈I, i+1=j or j+1=i).\begin{aligned} g_i^+g_i^-&=1,&g_i^-g_i^+&=1,&e_i^2&=\delta e_i && (i\in I),\\ g_i^+-g_i^-&=z(e_i-1),& g_i^+e_i&=\lambda^{-1}e_i,& e_ig_i^+&=\lambda^{-1}e_i && (i\in I),\\ g_i^+g_{i+1}^+g_i^+&=g_{i+1}^+g_i^+g_{i+1}^+ &&&&& (1\le i,\ i+1<n),\\ g_i^+g_j^+&=g_j^+g_i^+,& g_i^+e_j&=e_jg_i^+,& e_ie_j&=e_je_i && (i,j\in I,\ i+1<j\ \text{or}\ j+1<i),\\ e_ie_je_i&=e_i,& g_i^+g_j^+e_i&=e_je_i &&&& (i,j\in I,\ i+1=j\ \text{or}\ j+1=i),\\ e_ig_j^+g_i^+&=e_ie_j,& e_ig_j^+e_i&=\lambda e_i &&&& (i,j\in I,\ i+1=j\ \text{or}\ j+1=i). \end{aligned}gi+​gi−​gi+​−gi−​gi+​gi+1+​gi+​gi+​gj+​ei​ej​ei​ei​gj+​gi+​​=1,=z(ei​−1),=gi+1+​gi+​gi+1+​=gj+​gi+​,=ei​,=ei​ej​,​gi−​gi+​gi+​ei​gi+​ej​gi+​gj+​ei​ei​gj+​ei​​=1,=λ−1ei​,=ej​gi+​,=ej​ei​=λei​​ei2​ei​gi+​ei​ej​​=δei​=λ−1ei​=ej​ei​​(1≤i, i+1<n),​(i∈I),(i∈I),(i,j∈I, i+1<j or j+1<i),(i,j∈I, i+1=j or j+1=i),(i,j∈I, i+1=j or j+1=i).​

In addition, precisely when aff=true\mathit{aff}=\mathrm{true}aff=true, the defining equations include

x+x−=1,x−x+=1(1≤n),x+g1+x+g1+=g1+x+g1+x+(2≤n),x+gj+=gj+x+,x+ej=ejx+(2≤j<n),e1(x+)re1=q(r)e1(2≤n, r∈N, 1≤r),e1x+g1+x+=λ−1e1,x+g1+x+e1=λ−1e1(2≤n).\begin{aligned} x^+x^-&=1,&x^-x^+&=1 &&(1\le n),\\ x^+g_1^+x^+g_1^+&=g_1^+x^+g_1^+x^+ &&&&(2\le n),\\ x^+g_j^+&=g_j^+x^+,&x^+e_j&=e_jx^+ &&(2\le j<n),\\ e_1(x^+)^re_1&=q(r)e_1 &&&&(2\le n,\ r\in\mathbb N,\ 1\le r),\\ e_1x^+g_1^+x^+&=\lambda^{-1}e_1,& x^+g_1^+x^+e_1&=\lambda^{-1}e_1 &&(2\le n). \end{aligned}x+x−x+g1+​x+g1+​x+gj+​e1​(x+)re1​e1​x+g1+​x+​=1,=g1+​x+g1+​x+=gj+​x+,=q(r)e1​=λ−1e1​,​x−x+x+ej​x+g1+​x+e1​​=1=ej​x+=λ−1e1​​​(1≤n),(2≤n),(2≤j<n),(2≤n, r∈N, 1≤r),(2≤n).​

No additional defining equations are imposed. The parameter nnn may be zero: then there are no generators and no defining equations; the same holds for n=1n=1n=1 with aff=false\mathit{aff}=\mathrm{false}aff=false. For n=1n=1n=1 with aff=true\mathit{aff}=\mathrm{true}aff=true, the only generators are x±x^\pmx±, and the only defining equations are their two inverse equations. No condition on qqq, including its value at zero, is required; q(0)q(0)q(0) does not occur in the defining equations.

QAlgorithms.Papers.Independent.Intake100.P55.OrdinaryAffineBMWRel

Let RRR be any commutative ring; let PPP consist of units λ,δ∈R×\lambda,\delta\in R^\timesλ,δ∈R× and z∈Rz\in Rz∈R satisfying λ−1−λ=z(δ−1)\lambda^{-1}-\lambda=z(\delta-1)λ−1−λ=z(δ−1); let q:N→Rq:\mathbb N\to Rq:N→R be any function; and let aff\mathit{aff}aff be a Boolean and n∈Nn\in\mathbb Nn∈N. Put I={i∈N:1≤i<n}I=\{i\in\mathbb N:1\le i<n\}I={i∈N:1≤i<n}. Let FFF be the free associative unital RRR-algebra on independent symbols gi+,gi−,eig_i^+,g_i^-,e_igi+​,gi−​,ei​ for i∈Ii\in Ii∈I, together with independent symbols x+,x−x^+,x^-x+,x− exactly when aff=true\mathit{aff}=\mathrm{true}aff=true and n≥1n\ge1n≥1. Here +++ labels the Boolean false\mathrm{false}false, and −-− labels true\mathrm{true}true; these labels do not assert inverses in FFF. Extend gi±,eig_i^\pm,e_igi±​,ei​ to be zero outside III, and put x±=0x^\pm=0x±=0 when their symbols are absent. View all coefficients from RRR as their images in FFF. This declaration defines a binary relation R\mathcal RR on FFF consisting exactly of the following ordered pairs, with every displayed index universally ranging over the stated conditions:

conditionordered pairs belonging to Ri∈I(gi+gi−,1),(gi−gi+,1),(ei2,δei)1≤i, i+1<n(gi+gi+1+gi+, gi+1+gi+gi+1+)i,j∈I, i+1<j or j+1<i(gi+gj+,gj+gi+),(gi+ej,ejgi+),(eiej,ejei)i,j∈I, i+1=j or j+1=i(eiejei,ei),(gi+gj+ei,ejei),(eigj+gi+,eiej),(eigj+ei,λei)i∈I(gi+−gi−,z(ei−1)),(gi+ei,λ−1ei),(eigi+,λ−1ei)aff=true, 1≤n(x+x−,1),(x−x+,1)aff=true, 2≤n(x+g1+x+g1+, g1+x+g1+x+),(e1x+g1+x+, λ−1e1),(x+g1+x+e1, λ−1e1)aff=true, 2≤j<n(x+gj+,gj+x+),(x+ej,ejx+)aff=true, 2≤n, r∈N, 1≤r(e1(x+)re1,q(r)e1).\begin{array}{c|l} \text{condition}&\text{ordered pairs belonging to }\mathcal R\\ \hline i\in I& (g_i^+g_i^-,1),\quad(g_i^-g_i^+,1),\quad(e_i^2,\delta e_i)\\ 1\le i,\ i+1<n& (g_i^+g_{i+1}^+g_i^+,\,g_{i+1}^+g_i^+g_{i+1}^+)\\ i,j\in I,\ i+1<j\ \text{or}\ j+1<i& (g_i^+g_j^+,g_j^+g_i^+),\quad (g_i^+e_j,e_jg_i^+),\quad(e_ie_j,e_je_i)\\ i,j\in I,\ i+1=j\ \text{or}\ j+1=i& (e_ie_je_i,e_i),\quad (g_i^+g_j^+e_i,e_je_i),\quad (e_ig_j^+g_i^+,e_ie_j),\quad (e_ig_j^+e_i,\lambda e_i)\\ i\in I& (g_i^+-g_i^-,z(e_i-1)),\quad (g_i^+e_i,\lambda^{-1}e_i),\quad (e_ig_i^+,\lambda^{-1}e_i)\\ \mathit{aff}=\mathrm{true},\ 1\le n& (x^+x^-,1),\quad(x^-x^+,1)\\ \mathit{aff}=\mathrm{true},\ 2\le n& (x^+g_1^+x^+g_1^+,\,g_1^+x^+g_1^+x^+),\\ & (e_1x^+g_1^+x^+,\,\lambda^{-1}e_1),\quad (x^+g_1^+x^+e_1,\,\lambda^{-1}e_1)\\ \mathit{aff}=\mathrm{true},\ 2\le j<n& (x^+g_j^+,g_j^+x^+),\quad(x^+e_j,e_jx^+)\\ \mathit{aff}=\mathrm{true},\ 2\le n,\ r\in\mathbb N,\ 1\le r& (e_1(x^+)^re_1,q(r)e_1). \end{array}conditioni∈I1≤i, i+1<ni,j∈I, i+1<j or j+1<ii,j∈I, i+1=j or j+1=ii∈Iaff=true, 1≤naff=true, 2≤naff=true, 2≤j<naff=true, 2≤n, r∈N, 1≤r​ordered pairs belonging to R(gi+​gi−​,1),(gi−​gi+​,1),(ei2​,δei​)(gi+​gi+1+​gi+​,gi+1+​gi+​gi+1+​)(gi+​gj+​,gj+​gi+​),(gi+​ej​,ej​gi+​),(ei​ej​,ej​ei​)(ei​ej​ei​,ei​),(gi+​gj+​ei​,ej​ei​),(ei​gj+​gi+​,ei​ej​),(ei​gj+​ei​,λei​)(gi+​−gi−​,z(ei​−1)),(gi+​ei​,λ−1ei​),(ei​gi+​,λ−1ei​)(x+x−,1),(x−x+,1)(x+g1+​x+g1+​,g1+​x+g1+​x+),(e1​x+g1+​x+,λ−1e1​),(x+g1+​x+e1​,λ−1e1​)(x+gj+​,gj+​x+),(x+ej​,ej​x+)(e1​(x+)re1​,q(r)e1​).​​

Membership of an ordered pair in this relation does not itself assert equality of its entries in FFF, and the definition does not close these pairs under reflexivity, symmetry, transitivity, or algebra operations. The relation is empty when n=0n=0n=0, and also when aff=false\mathit{aff}=\mathrm{false}aff=false and n=1n=1n=1; for aff=true\mathit{aff}=\mathrm{true}aff=true and n=1n=1n=1, only the two pairs involving x+x−x^+x^-x+x− and x−x+x^-x^+x−x+ occur. The value q(0)q(0)q(0) is unused, and no condition on qqq is imposed.

QAlgorithms.Papers.Independent.Intake100.P55.alternatingWord

For a type AAA with multiplication, identity, and natural-number powers, an arbitrary u∈Au\in Au∈A, a natural number kkk, a family z0,…,zk∈Az_0,\ldots,z_k\in Az0​,…,zk​∈A, and a family r0,…,rk−1∈Nr_0,\ldots,r_{k-1}\in\mathbb Nr0​,…,rk−1​∈N, this defines

(∏j=0k−1(zjurj))zk,\left(\prod_{j=0}^{k-1}(z_j u^{r_j})\right)z_k,(j=0∏k−1​(zj​urj​))zk​,

where the product is ordered by increasing jjj. The exponents may be zero, and no invertibility or commutation conditions are required. When k=0k=0k=0, the exponent family is empty and the value is z0z_0z0​.

QAlgorithms.Papers.Independent.Intake100.P55.backward

For a type AAA equipped with the multiplication and identity used for finite products, a function h:N→Ah:\mathbb N\to Ah:N→A, and arbitrary a,l∈Na,l\in\mathbb Na,l∈N, this defines the ordered product

h(a+l−1) h(a+l−2)⋯h(a),h(a+l-1)\,h(a+l-2)\cdots h(a),h(a+l−1)h(a+l−2)⋯h(a),

with factors taken in decreasing order of their indices. When l=0l=0l=0, the product is empty and its value is 111; there is no restriction on aaa, and the formula does not replace any factor by its inverse.

QAlgorithms.Papers.Independent.Intake100.P55.bmwCornerSpan

For the commutative scalar ring RRR, the ambient RRR-algebra AAA, any element e∈Ae\in Ae∈A, and any subset U⊆AU\subseteq AU⊆A, the definition is

bmwCornerSpan⁡(e,U)=span⁡R{eae:a∈U}⊆A,\operatorname{bmwCornerSpan}(e,U)=\operatorname{span}_R\{eae:a\in U\}\subseteq A,bmwCornerSpan(e,U)=spanR​{eae:a∈U}⊆A,

the RRR-submodule consisting of all finite RRR-linear combinations of products eaeeaeeae with a∈Ua\in Ua∈U. The element eee is arbitrary and need not be idempotent; if UUU is empty or e=0e=0e=0, this is the zero submodule.

QAlgorithms.Papers.Independent.Intake100.P55.bmwFreeE

For any commutative ring RRR, Boolean aff\mathit{aff}aff, and natural numbers n,in,in,i, this defines an element of the free associative unital RRR-algebra on formal symbols g(j,b)g(j,b)g(j,b) and e(j)e(j)e(j) for 1≤j<n1\le j<n1≤j<n, with bbb Boolean, together with x(0,b)x(0,b)x(0,b) for both Boolean values precisely when aff=true\mathit{aff}=\mathrm{true}aff=true and n≥1n\ge1n≥1. Its value is the free algebra generator associated with e(i)e(i)e(i) if 1≤i<n1\le i<n1≤i<n, and is zero otherwise. Thus it is zero for i=0i=0i=0, for i≥ni\ge ni≥n, and for every iii when n≤1n\le1n≤1.

QAlgorithms.Papers.Independent.Intake100.P55.bmwFreeG

For any commutative ring RRR, Boolean aff\mathit{aff}aff, natural numbers n,in,in,i, and Boolean inv\mathit{inv}inv, this defines an element of the free associative unital RRR-algebra on the following formal symbols: g(j,b)g(j,b)g(j,b) and e(j)e(j)e(j) for 1≤j<n1\le j<n1≤j<n, with bbb Boolean, together with x(0,b)x(0,b)x(0,b) for both Boolean values precisely when aff=true\mathit{aff}=\mathrm{true}aff=true and n≥1n\ge1n≥1. Its value is the free algebra generator associated with g(i,inv)g(i,\mathit{inv})g(i,inv) if 1≤i<n1\le i<n1≤i<n, and is zero otherwise. In particular, it is zero for i=0i=0i=0, for i≥ni\ge ni≥n, and for every iii when n≤1n\le1n≤1. The Boolean label does not itself assert invertibility.

QAlgorithms.Papers.Independent.Intake100.P55.bmwFreeX

For any commutative ring RRR, Boolean aff\mathit{aff}aff, natural number nnn, and Boolean inv\mathit{inv}inv, this defines an element of the free associative unital RRR-algebra on formal symbols g(j,b)g(j,b)g(j,b) and e(j)e(j)e(j) for 1≤j<n1\le j<n1≤j<n, with bbb Boolean, together with x(0,b)x(0,b)x(0,b) for both Boolean values precisely when aff=true\mathit{aff}=\mathrm{true}aff=true and n≥1n\ge1n≥1. The defined element is the free generator associated with x(0,inv)x(0,\mathit{inv})x(0,inv) when aff=true\mathit{aff}=\mathrm{true}aff=true and n≥1n\ge1n≥1, and is zero when aff=false\mathit{aff}=\mathrm{false}aff=false or n=0n=0n=0. The two Boolean labels specify independent formal generators, without imposing inverse equations.

QAlgorithms.Papers.Independent.Intake100.P55.bmwLevel

Let RRR be a commutative ring, let λ,δ∈R×\lambda,\delta\in R^\timesλ,δ∈R× and z∈Rz\in Rz∈R satisfy λ−1−λ=z(δ−1)\lambda^{-1}-\lambda=z(\delta-1)λ−1−λ=z(δ−1), let q:N→Rq:\mathbb N\to Rq:N→R, let ε,η\varepsilon,\etaε,η be arbitrary Booleans, and let n,m∈Nn,m\in\mathbb Nn,m∈N. Let BnεB_n^\varepsilonBnε​ be the quotient of the free associative RRR-algebra on gi,gˉi,eig_i,\bar g_i,e_igi​,gˉ​i​,ei​, for 1≤i<n1\le i<n1≤i<n, with additional symbols x,xˉx,\bar xx,xˉ precisely when ε=true\varepsilon=\mathrm{true}ε=true and n≥1n\ge1n≥1, by

gigˉi=gˉigi=1,ei2=δei,gi−gˉi=z(ei−1),giei=eigi=λ−1ei,gigi+1gi=gi+1gigi+1(1≤i, i+1<n),gigj=gjgi,giej=ejgi,eiej=ejei(1≤i,j<n, i+1<j or j+1<i),eiejei=ei,gigjei=ejei,eigjgi=eiej,eigjei=λei(1≤i,j<n, i+1=j or j+1=i).\begin{gathered} g_i\bar g_i=\bar g_i g_i=1,\quad e_i^2=\delta e_i,\quad g_i-\bar g_i=z(e_i-1),\quad g_i e_i=e_i g_i=\lambda^{-1}e_i,\\ g_i g_{i+1}g_i=g_{i+1}g_i g_{i+1}\quad(1\le i,\ i+1<n),\\ g_i g_j=g_j g_i,\quad g_i e_j=e_j g_i,\quad e_i e_j=e_j e_i \quad(1\le i,j<n,\ i+1<j\ \text{or}\ j+1<i),\\ e_i e_j e_i=e_i,\quad g_i g_j e_i=e_j e_i,\quad e_i g_j g_i=e_i e_j,\quad e_i g_j e_i=\lambda e_i \quad(1\le i,j<n,\ i+1=j\ \text{or}\ j+1=i). \end{gathered}gi​gˉ​i​=gˉ​i​gi​=1,ei2​=δei​,gi​−gˉ​i​=z(ei​−1),gi​ei​=ei​gi​=λ−1ei​,gi​gi+1​gi​=gi+1​gi​gi+1​(1≤i, i+1<n),gi​gj​=gj​gi​,gi​ej​=ej​gi​,ei​ej​=ej​ei​(1≤i,j<n, i+1<j or j+1<i),ei​ej​ei​=ei​,gi​gj​ei​=ej​ei​,ei​gj​gi​=ei​ej​,ei​gj​ei​=λei​(1≤i,j<n, i+1=j or j+1=i).​

When ε=true\varepsilon=\mathrm{true}ε=true, also impose

xxˉ=xˉx=1(n≥1),xg1xg1=g1xg1x(n≥2),xgj=gjx,xej=ejx(2≤j<n),e1xte1=q(t)e1(t≥1, n≥2),e1xg1x=xg1xe1=λ−1e1(n≥2),\begin{gathered} x\bar x=\bar x x=1\quad(n\ge1),\quad xg_1xg_1=g_1xg_1x\quad(n\ge2),\\ xg_j=g_jx,\quad xe_j=e_jx\quad(2\le j<n),\\ e_1x^t e_1=q(t)e_1\quad(t\ge1,\ n\ge2),\quad e_1xg_1x=xg_1xe_1=\lambda^{-1}e_1\quad(n\ge2), \end{gathered}xxˉ=xˉx=1(n≥1),xg1​xg1​=g1​xg1​x(n≥2),xgj​=gj​x,xej​=ej​x(2≤j<n),e1​xte1​=q(t)e1​(t≥1, n≥2),e1​xg1​x=xg1​xe1​=λ−1e1​(n≥2),​

with scalars mapped into the quotient. Set gi=gˉi=ei=0g_i=\bar g_i=e_i=0gi​=gˉ​i​=ei​=0 outside 1≤i<n1\le i<n1≤i<n, and set x=xˉ=0x=\bar x=0x=xˉ=0 when ε=false\varepsilon=\mathrm{false}ε=false or n=0n=0n=0. The defined object is the smallest RRR-subalgebra of BnεB_n^\varepsilonBnε​ containing all gi,gˉi,eig_i,\bar g_i,e_igi​,gˉ​i​,ei​ with 1≤i<m1\le i<m1≤i<m, and additionally containing x,xˉx,\bar xx,xˉ if η=true\eta=\mathrm{true}η=true and m≥1m\ge1m≥1. The numbers m,nm,nm,n and Booleans η,ε\eta,\varepsilonη,ε are independent, so m>nm>nm>n is allowed and then the listed indices outside the ambient range contribute zero. When m=0m=0m=0, the generating set is empty and the subalgebra is the image of RRR; when m=1m=1m=1, there are no indexed generators, and only the conditional x,xˉx,\bar xx,xˉ generators may be included.

QAlgorithms.Papers.Independent.Intake100.P55.bmwWinding

Let RRR be a commutative ring, let λ,δ∈R×\lambda,\delta\in R^\timesλ,δ∈R× and z∈Rz\in Rz∈R satisfy λ−1−λ=z(δ−1)\lambda^{-1}-\lambda=z(\delta-1)λ−1−λ=z(δ−1), let q:N→Rq:\mathbb N\to Rq:N→R, and let n∈Nn\in\mathbb Nn∈N. Work in the quotient BnB_nBn​ of the free associative RRR-algebra on gi,gˉi,eig_i,\bar g_i,e_igi​,gˉ​i​,ei​, for 1≤i<n1\le i<n1≤i<n, and x,xˉx,\bar xx,xˉ when n≥1n\ge1n≥1, by the equations

gigˉi=gˉigi=1,ei2=δei,gi−gˉi=z(ei−1),giei=eigi=λ−1ei,gigi+1gi=gi+1gigi+1(1≤i, i+1<n),gigj=gjgi,giej=ejgi,eiej=ejei(1≤i,j<n, i+1<j or j+1<i),eiejei=ei,gigjei=ejei,eigjgi=eiej,eigjei=λei(1≤i,j<n, i+1=j or j+1=i),xxˉ=xˉx=1(n≥1),xg1xg1=g1xg1x(n≥2),xgj=gjx,xej=ejx(2≤j<n),e1xte1=q(t)e1(t≥1, n≥2),e1xg1x=xg1xe1=λ−1e1(n≥2),\begin{gathered} g_i\bar g_i=\bar g_i g_i=1,\quad e_i^2=\delta e_i,\quad g_i-\bar g_i=z(e_i-1),\quad g_i e_i=e_i g_i=\lambda^{-1}e_i,\\ g_i g_{i+1}g_i=g_{i+1}g_i g_{i+1}\quad(1\le i,\ i+1<n),\\ g_i g_j=g_j g_i,\quad g_i e_j=e_j g_i,\quad e_i e_j=e_j e_i \quad(1\le i,j<n,\ i+1<j\ \text{or}\ j+1<i),\\ e_i e_j e_i=e_i,\quad g_i g_j e_i=e_j e_i,\quad e_i g_j g_i=e_i e_j,\quad e_i g_j e_i=\lambda e_i \quad(1\le i,j<n,\ i+1=j\ \text{or}\ j+1=i),\\ x\bar x=\bar x x=1\quad(n\ge1),\quad xg_1xg_1=g_1xg_1x\quad(n\ge2),\\ xg_j=g_jx,\quad xe_j=e_jx\quad(2\le j<n),\\ e_1x^t e_1=q(t)e_1\quad(t\ge1,\ n\ge2),\quad e_1xg_1x=xg_1xe_1=\lambda^{-1}e_1\quad(n\ge2), \end{gathered}gi​gˉ​i​=gˉ​i​gi​=1,ei2​=δei​,gi​−gˉ​i​=z(ei​−1),gi​ei​=ei​gi​=λ−1ei​,gi​gi+1​gi​=gi+1​gi​gi+1​(1≤i, i+1<n),gi​gj​=gj​gi​,gi​ej​=ej​gi​,ei​ej​=ej​ei​(1≤i,j<n, i+1<j or j+1<i),ei​ej​ei​=ei​,gi​gj​ei​=ej​ei​,ei​gj​gi​=ei​ej​,ei​gj​ei​=λei​(1≤i,j<n, i+1=j or j+1=i),xxˉ=xˉx=1(n≥1),xg1​xg1​=g1​xg1​x(n≥2),xgj​=gj​x,xej​=ej​x(2≤j<n),e1​xte1​=q(t)e1​(t≥1, n≥2),e1​xg1​x=xg1​xe1​=λ−1e1​(n≥2),​

with scalars mapped into the quotient. Extend gi,gˉi,eig_i,\bar g_i,e_igi​,gˉ​i​,ei​ by zero at indices outside 1≤i<n1\le i<n1≤i<n, and set x=xˉ=0x=\bar x=0x=xˉ=0 when n=0n=0n=0. For a Boolean bbb, write Gi(b)=giG_i^{(b)}=g_iGi(b)​=gi​ and X(b)=xX^{(b)}=xX(b)=x when b=falseb=\mathrm{false}b=false, and Gi(b)=gˉiG_i^{(b)}=\bar g_iGi(b)​=gˉ​i​ and X(b)=xˉX^{(b)}=\bar xX(b)=xˉ when b=trueb=\mathrm{true}b=true. For every r∈Nr\in\mathbb Nr∈N, the defined element is

Wn,b(r)={0,r=0,(Gr−1(b)Gr−2(b)⋯G1(b))X(b)(G1(b)G2(b)⋯Gr−1(b)),r≥1.W_{n,b}(r)= \begin{cases} 0,&r=0,\\ \bigl(G_{r-1}^{(b)}G_{r-2}^{(b)}\cdots G_1^{(b)}\bigr) X^{(b)} \bigl(G_1^{(b)}G_2^{(b)}\cdots G_{r-1}^{(b)}\bigr),&r\ge1. \end{cases}Wn,b​(r)={0,(Gr−1(b)​Gr−2(b)​⋯G1(b)​)X(b)(G1(b)​G2(b)​⋯Gr−1(b)​),​r=0,r≥1.​

Both surrounding products are empty when r=1r=1r=1, giving X(b)X^{(b)}X(b). There is no hypothesis r≤nr\le nr≤n: the value is zero whenever r>nr>nr>n, and all values are zero when n=0n=0n=0.

QAlgorithms.Papers.Independent.Intake100.P55.bmwX

Let RRR be a commutative ring, let λ,δ∈R×\lambda,\delta\in R^\timesλ,δ∈R× and z∈Rz\in Rz∈R satisfy λ−1−λ=z(δ−1)\lambda^{-1}-\lambda=z(\delta-1)λ−1−λ=z(δ−1), let q:N→Rq:\mathbb N\to Rq:N→R, let ε\varepsilonε be a Boolean, and let n∈Nn\in\mathbb Nn∈N. Define BnεB_n^\varepsilonBnε​ to be the quotient of the free associative RRR-algebra on symbols gi,gˉi,eig_i,\bar g_i,e_igi​,gˉ​i​,ei​, for 1≤i<n1\le i<n1≤i<n, and additionally x,xˉx,\bar xx,xˉ when ε=true\varepsilon=\mathrm{true}ε=true and n≥1n\ge1n≥1, by the following equations, with scalars interpreted through the RRR-algebra map:

gigˉi=gˉigi=1,ei2=δei,gi−gˉi=z(ei−1),giei=eigi=λ−1ei,gigi+1gi=gi+1gigi+1(1≤i, i+1<n),gigj=gjgi,giej=ejgi,eiej=ejei(1≤i,j<n, i+1<j or j+1<i),eiejei=ei,gigjei=ejei,eigjgi=eiej,eigjei=λei(1≤i,j<n, i+1=j or j+1=i).\begin{gathered} g_i\bar g_i=\bar g_i g_i=1,\qquad e_i^2=\delta e_i,\qquad g_i-\bar g_i=z(e_i-1),\qquad g_i e_i=e_i g_i=\lambda^{-1}e_i,\\ g_i g_{i+1}g_i=g_{i+1}g_i g_{i+1}\quad(1\le i,\ i+1<n),\\ g_i g_j=g_j g_i,\quad g_i e_j=e_j g_i,\quad e_i e_j=e_j e_i \quad(1\le i,j<n,\ i+1<j\ \text{or}\ j+1<i),\\ e_i e_j e_i=e_i,\quad g_i g_j e_i=e_j e_i,\quad e_i g_j g_i=e_i e_j,\quad e_i g_j e_i=\lambda e_i \quad(1\le i,j<n,\ i+1=j\ \text{or}\ j+1=i). \end{gathered}gi​gˉ​i​=gˉ​i​gi​=1,ei2​=δei​,gi​−gˉ​i​=z(ei​−1),gi​ei​=ei​gi​=λ−1ei​,gi​gi+1​gi​=gi+1​gi​gi+1​(1≤i, i+1<n),gi​gj​=gj​gi​,gi​ej​=ej​gi​,ei​ej​=ej​ei​(1≤i,j<n, i+1<j or j+1<i),ei​ej​ei​=ei​,gi​gj​ei​=ej​ei​,ei​gj​gi​=ei​ej​,ei​gj​ei​=λei​(1≤i,j<n, i+1=j or j+1=i).​

When ε=true\varepsilon=\mathrm{true}ε=true, the additional equations are

xxˉ=xˉx=1(n≥1),xg1xg1=g1xg1x(n≥2),xgj=gjx,xej=ejx(2≤j<n),e1xte1=q(t)e1(t≥1, n≥2),e1xg1x=xg1xe1=λ−1e1(n≥2).\begin{gathered} x\bar x=\bar x x=1\quad(n\ge1),\qquad xg_1xg_1=g_1xg_1x\quad(n\ge2),\\ xg_j=g_jx,\qquad xe_j=e_jx\quad(2\le j<n),\\ e_1x^t e_1=q(t)e_1\quad(t\ge1,\ n\ge2),\qquad e_1xg_1x=xg_1xe_1=\lambda^{-1}e_1\quad(n\ge2). \end{gathered}xxˉ=xˉx=1(n≥1),xg1​xg1​=g1​xg1​x(n≥2),xgj​=gj​x,xej​=ej​x(2≤j<n),e1​xte1​=q(t)e1​(t≥1, n≥2),e1​xg1​x=xg1​xe1​=λ−1e1​(n≥2).​

For each Boolean bbb, the defined element is the image of xxx in this quotient if b=falseb=\mathrm{false}b=false, or the image of xˉ\bar xxˉ if b=trueb=\mathrm{true}b=true, provided ε=true\varepsilon=\mathrm{true}ε=true and n≥1n\ge1n≥1; otherwise it is 000. Thus both Boolean choices give 000 when n=0n=0n=0 or ε=false\varepsilon=\mathrm{false}ε=false.

QAlgorithms.Papers.Independent.Intake100.P55.diamondColumn

For a type AAA with multiplication and identity, a function e:N→Ae:\mathbb N\to Ae:N→A, and arbitrary k,j∈Nk,j\in\mathbb Nk,j∈N, this defines

∏a=0je(max⁡(k−j,0)+2a),\prod_{a=0}^{j} e\bigl(\max(k-j,0)+2a\bigr),a=0∏j​e(max(k−j,0)+2a),

with factors multiplied in increasing order of aaa. The subtraction k−jk-jk−j is natural-number subtraction and therefore truncates at zero before 2a2a2a is added: when j>kj>kj>k, the factors are e(0),e(2),…,e(2j)e(0),e(2),\ldots,e(2j)e(0),e(2),…,e(2j). There are always j+1j+1j+1 factors; in particular, j=0j=0j=0 gives e(k)e(k)e(k).

QAlgorithms.Papers.Independent.Intake100.P55.diamondWord

For a type AAA with multiplication and identity, a function e:N→Ae:\mathbb N\to Ae:N→A, and k∈Nk\in\mathbb Nk∈N, put

Cj=∏a=0je(max⁡(k−j,0)+2a),C_j=\prod_{a=0}^{j}e\bigl(\max(k-j,0)+2a\bigr),Cj​=a=0∏j​e(max(k−j,0)+2a),

where the factors are ordered by increasing aaa. The defined element is the product of CjC_jCj​ for j=0,…,k−1j=0,\ldots,k-1j=0,…,k−1 in increasing order, followed by the product of CjC_jCj​ for j=0,…,max⁡(k−1,0)−1j=0,\ldots,\max(k-1,0)-1j=0,…,max(k−1,0)−1 in decreasing order. Thus, for k≥2k\ge2k≥2, it is

C0C1⋯Ck−1Ck−2⋯C0.C_0C_1\cdots C_{k-1}C_{k-2}\cdots C_0.C0​C1​⋯Ck−1​Ck−2​⋯C0​.

Every empty product is 111; consequently the value is 111 when k=0k=0k=0, and e(1)e(1)e(1) when k=1k=1k=1. Both subtractions used in the definition are truncated natural-number subtractions.

QAlgorithms.Papers.Independent.Intake100.P55.fElement

Let RRR be a commutative ring, let λ,δ∈R×\lambda,\delta\in R^\timesλ,δ∈R× and z∈Rz\in Rz∈R satisfy λ−1−λ=z(δ−1)\lambda^{-1}-\lambda=z(\delta-1)λ−1−λ=z(δ−1), let q:N→Rq:\mathbb N\to Rq:N→R be arbitrary, and let n,o,k∈Nn,o,k\in\mathbb Nn,o,k∈N. Let BnB_nBn​ be the quotient of the free associative RRR-algebra on gi,gˉi,eig_i,\bar g_i,e_igi​,gˉ​i​,ei​, for 1≤i<n1\le i<n1≤i<n, by

gigˉi=gˉigi=1,ei2=δei,gi−gˉi=z(ei−1),giei=eigi=λ−1ei,gigi+1gi=gi+1gigi+1(1≤i, i+1<n),gigj=gjgi,giej=ejgi,eiej=ejei(1≤i,j<n, i+1<j or j+1<i),eiejei=ei,gigjei=ejei,eigjgi=eiej,eigjei=λei(1≤i,j<n, i+1=j or j+1=i),\begin{gathered} g_i\bar g_i=\bar g_i g_i=1,\quad e_i^2=\delta e_i,\quad g_i-\bar g_i=z(e_i-1),\quad g_i e_i=e_i g_i=\lambda^{-1}e_i,\\ g_i g_{i+1}g_i=g_{i+1}g_i g_{i+1}\quad(1\le i,\ i+1<n),\\ g_i g_j=g_j g_i,\quad g_i e_j=e_j g_i,\quad e_i e_j=e_j e_i \quad(1\le i,j<n,\ i+1<j\ \text{or}\ j+1<i),\\ e_i e_j e_i=e_i,\quad g_i g_j e_i=e_j e_i,\quad e_i g_j g_i=e_i e_j,\quad e_i g_j e_i=\lambda e_i \quad(1\le i,j<n,\ i+1=j\ \text{or}\ j+1=i), \end{gathered}gi​gˉ​i​=gˉ​i​gi​=1,ei2​=δei​,gi​−gˉ​i​=z(ei​−1),gi​ei​=ei​gi​=λ−1ei​,gi​gi+1​gi​=gi+1​gi​gi+1​(1≤i, i+1<n),gi​gj​=gj​gi​,gi​ej​=ej​gi​,ei​ej​=ej​ei​(1≤i,j<n, i+1<j or j+1<i),ei​ej​ei​=ei​,gi​gj​ei​=ej​ei​,ei​gj​gi​=ei​ej​,ei​gj​ei​=λei​(1≤i,j<n, i+1=j or j+1=i),​

with scalars mapped into the quotient; the parameter qqq contributes no equations here. Extend gi,gˉi,eig_i,\bar g_i,e_igi​,gˉ​i​,ei​ by zero outside 1≤i<n1\le i<n1≤i<n. For each offset ooo, define

Fo(0)=1,Fo(t+1)=(go+1go+2⋯go+2t)Fo(t) eo+2t+1(go+2tgo+2t−1⋯go+1).F_o(0)=1,\qquad F_o(t+1)= \bigl(g_{o+1}g_{o+2}\cdots g_{o+2t}\bigr) F_o(t)\,e_{o+2t+1} \bigl(g_{o+2t}g_{o+2t-1}\cdots g_{o+1}\bigr).Fo​(0)=1,Fo​(t+1)=(go+1​go+2​⋯go+2t​)Fo​(t)eo+2t+1​(go+2t​go+2t−1​⋯go+1​).

The defined element is Fo(k)F_o(k)Fo​(k). Both surrounding products are empty when t=0t=0t=0, so Fo(1)=eo+1F_o(1)=e_{o+1}Fo​(1)=eo+1​. No bounds relating n,o,kn,o,kn,o,k are assumed: unavailable generator indices give zero, k=0k=0k=0 always gives 111, and when n=0n=0n=0 or n=1n=1n=1, every k>0k>0k>0 gives zero.

QAlgorithms.Papers.Independent.Intake100.P55.fWord

For a type AAA with multiplication and identity, arbitrary functions g,e:N→Ag,e:\mathbb N\to Ag,e:N→A, and an arbitrary offset o∈No\in\mathbb No∈N, this defines a sequence Fo:N→AF_o:\mathbb N\to AFo​:N→A recursively by

Fo(0)=1,Fo(k+1)=(∏j=02k−1g(o+1+j))Fo(k) e(o+2k+1)(∏j=2k−10g(o+1+j)).F_o(0)=1,\qquad F_o(k+1)= \left(\prod_{j=0}^{2k-1}g(o+1+j)\right) F_o(k)\,e(o+2k+1) \left(\prod_{j=2k-1}^{0}g(o+1+j)\right).Fo​(0)=1,Fo​(k+1)=(j=0∏2k−1​g(o+1+j))Fo​(k)e(o+2k+1)​j=2k−1∏0​g(o+1+j)​.

The first product is ordered by increasing jjj, and the last by decreasing jjj; both are empty and equal to 111 when k=0k=0k=0, giving Fo(1)=e(o+1)F_o(1)=e(o+1)Fo​(1)=e(o+1). All offsets and sequence indices, including zero, are allowed, and no relations between the values of ggg and eee are required.

QAlgorithms.Papers.Independent.Intake100.P55.forward

For a type AAA equipped with the multiplication and identity used for finite products, a function h:N→Ah:\mathbb N\to Ah:N→A, and arbitrary a,l∈Na,l\in\mathbb Na,l∈N, this defines the ordered product

h(a) h(a+1)⋯h(a+l−1),h(a)\,h(a+1)\cdots h(a+l-1),h(a)h(a+1)⋯h(a+l−1),

with factors taken in increasing order of their indices. When l=0l=0l=0, the product is empty and its value is 111; there is no restriction on aaa, and no commutativity is imposed by this formula.

QAlgorithms.Papers.Independent.Intake100.P55.ghContraction

For any commutative ring RRR, ground datum PPP consisting of units λ,δ∈R×\lambda,\delta\in R^\timesλ,δ∈R× and z∈Rz\in Rz∈R satisfying λ−1−λ=z(δ−1)\lambda^{-1}-\lambda=z(\delta-1)λ−1−λ=z(δ−1), arbitrary function q:N→Rq:\mathbb N\to Rq:N→R, Boolean aff\mathit{aff}aff, and natural numbers n,in,in,i, this defines an element of a quotient algebra F/JF/JF/J as follows. Put I={j∈N:1≤j<n}I=\{j\in\mathbb N:1\le j<n\}I={j∈N:1≤j<n}, and let FFF be the free associative unital RRR-algebra on independent symbols gj+,gj−,ejg_j^+,g_j^-,e_jgj+​,gj−​,ej​ for j∈Ij\in Ij∈I, together with independent symbols x+,x−x^+,x^-x+,x− exactly when aff=true\mathit{aff}=\mathrm{true}aff=true and n≥1n\ge1n≥1; +++ denotes the Boolean label false\mathrm{false}false, and −-− denotes true\mathrm{true}true. The two-sided ideal JJJ is generated by the differences between the sides of the following equations, with scalar coefficients mapped from RRR:

gj+gj−=1,gj−gj+=1,ej2=δej(j∈I),gj+−gj−=z(ej−1),gj+ej=λ−1ej,ejgj+=λ−1ej(j∈I),gj+gj+1+gj+=gj+1+gj+gj+1+(1≤j, j+1<n),gj+gk+=gk+gj+,gj+ek=ekgj+,ejek=ekej(j,k∈I, j+1<k or k+1<j),ejekej=ej,gj+gk+ej=ekej(j,k∈I, j+1=k or k+1=j),ejgk+gj+=ejek,ejgk+ej=λej(j,k∈I, j+1=k or k+1=j).\begin{aligned} g_j^+g_j^-&=1,&g_j^-g_j^+&=1,&e_j^2&=\delta e_j && (j\in I),\\ g_j^+-g_j^-&=z(e_j-1),& g_j^+e_j&=\lambda^{-1}e_j,& e_jg_j^+&=\lambda^{-1}e_j && (j\in I),\\ g_j^+g_{j+1}^+g_j^+&=g_{j+1}^+g_j^+g_{j+1}^+ &&&&& (1\le j,\ j+1<n),\\ g_j^+g_k^+&=g_k^+g_j^+,& g_j^+e_k&=e_kg_j^+,& e_je_k&=e_ke_j && (j,k\in I,\ j+1<k\ \text{or}\ k+1<j),\\ e_je_ke_j&=e_j,& g_j^+g_k^+e_j&=e_ke_j &&&& (j,k\in I,\ j+1=k\ \text{or}\ k+1=j),\\ e_jg_k^+g_j^+&=e_je_k,& e_jg_k^+e_j&=\lambda e_j &&&& (j,k\in I,\ j+1=k\ \text{or}\ k+1=j). \end{aligned}gj+​gj−​gj+​−gj−​gj+​gj+1+​gj+​gj+​gk+​ej​ek​ej​ej​gk+​gj+​​=1,=z(ej​−1),=gj+1+​gj+​gj+1+​=gk+​gj+​,=ej​,=ej​ek​,​gj−​gj+​gj+​ej​gj+​ek​gj+​gk+​ej​ej​gk+​ej​​=1,=λ−1ej​,=ek​gj+​,=ek​ej​=λej​​ej2​ej​gj+​ej​ek​​=δej​=λ−1ej​=ek​ej​​(1≤j, j+1<n),​(j∈I),(j∈I),(j,k∈I, j+1<k or k+1<j),(j,k∈I, j+1=k or k+1=j),(j,k∈I, j+1=k or k+1=j).​

If aff=true\mathit{aff}=\mathrm{true}aff=true, the defining equations also include

x+x−=1,x−x+=1(1≤n),x+g1+x+g1+=g1+x+g1+x+(2≤n),x+gj+=gj+x+,x+ej=ejx+(2≤j<n),e1(x+)re1=q(r)e1(2≤n, r∈N, 1≤r),e1x+g1+x+=λ−1e1,x+g1+x+e1=λ−1e1(2≤n).\begin{aligned} x^+x^-&=1,&x^-x^+&=1 &&(1\le n),\\ x^+g_1^+x^+g_1^+&=g_1^+x^+g_1^+x^+ &&&&(2\le n),\\ x^+g_j^+&=g_j^+x^+,&x^+e_j&=e_jx^+ &&(2\le j<n),\\ e_1(x^+)^re_1&=q(r)e_1 &&&&(2\le n,\ r\in\mathbb N,\ 1\le r),\\ e_1x^+g_1^+x^+&=\lambda^{-1}e_1,& x^+g_1^+x^+e_1&=\lambda^{-1}e_1 &&(2\le n). \end{aligned}x+x−x+g1+​x+g1+​x+gj+​e1​(x+)re1​e1​x+g1+​x+​=1,=g1+​x+g1+​x+=gj+​x+,=q(r)e1​=λ−1e1​,​x−x+x+ej​x+g1+​x+e1​​=1=ej​x+=λ−1e1​​​(1≤n),(2≤n),(2≤j<n),(2≤n, r∈N, 1≤r),(2≤n).​

The defined element is the quotient class [ei][e_i][ei​] when 1≤i<n1\le i<n1≤i<n, and is zero otherwise. In particular, it is zero for i=0i=0i=0, for i≥ni\ge ni≥n, and for every iii when n=0n=0n=0 or n=1n=1n=1. The function qqq is unrestricted, and q(0)q(0)q(0) does not occur in the defining equations.

QAlgorithms.Papers.Independent.Intake100.P55.ghCrossing

For any commutative ring RRR, ground datum PPP consisting of units λ,δ∈R×\lambda,\delta\in R^\timesλ,δ∈R× and z∈Rz\in Rz∈R satisfying λ−1−λ=z(δ−1)\lambda^{-1}-\lambda=z(\delta-1)λ−1−λ=z(δ−1), arbitrary function q:N→Rq:\mathbb N\to Rq:N→R, Boolean aff\mathit{aff}aff, natural numbers n,in,in,i, and Boolean inv\mathit{inv}inv, this defines an element of the following quotient algebra F/JF/JF/J. Put I={j∈N:1≤j<n}I=\{j\in\mathbb N:1\le j<n\}I={j∈N:1≤j<n}; let FFF be the free associative unital RRR-algebra on independent symbols gj+,gj−,ejg_j^+,g_j^-,e_jgj+​,gj−​,ej​ for j∈Ij\in Ij∈I, with additional independent symbols x+,x−x^+,x^-x+,x− exactly when aff=true\mathit{aff}=\mathrm{true}aff=true and n≥1n\ge1n≥1. The signs +++ and −-− correspond respectively to the Boolean values false\mathrm{false}false and true\mathrm{true}true. The two-sided ideal JJJ is generated by the differences of the sides of these equations, with all scalar coefficients interpreted through the map from RRR:

gj+gj−=1,gj−gj+=1,ej2=δej(j∈I),gj+−gj−=z(ej−1),gj+ej=λ−1ej,ejgj+=λ−1ej(j∈I),gj+gj+1+gj+=gj+1+gj+gj+1+(1≤j, j+1<n),gj+gk+=gk+gj+,gj+ek=ekgj+,ejek=ekej(j,k∈I, j+1<k or k+1<j),ejekej=ej,gj+gk+ej=ekej(j,k∈I, j+1=k or k+1=j),ejgk+gj+=ejek,ejgk+ej=λej(j,k∈I, j+1=k or k+1=j).\begin{aligned} g_j^+g_j^-&=1,&g_j^-g_j^+&=1,&e_j^2&=\delta e_j && (j\in I),\\ g_j^+-g_j^-&=z(e_j-1),& g_j^+e_j&=\lambda^{-1}e_j,& e_jg_j^+&=\lambda^{-1}e_j && (j\in I),\\ g_j^+g_{j+1}^+g_j^+&=g_{j+1}^+g_j^+g_{j+1}^+ &&&&& (1\le j,\ j+1<n),\\ g_j^+g_k^+&=g_k^+g_j^+,& g_j^+e_k&=e_kg_j^+,& e_je_k&=e_ke_j && (j,k\in I,\ j+1<k\ \text{or}\ k+1<j),\\ e_je_ke_j&=e_j,& g_j^+g_k^+e_j&=e_ke_j &&&& (j,k\in I,\ j+1=k\ \text{or}\ k+1=j),\\ e_jg_k^+g_j^+&=e_je_k,& e_jg_k^+e_j&=\lambda e_j &&&& (j,k\in I,\ j+1=k\ \text{or}\ k+1=j). \end{aligned}gj+​gj−​gj+​−gj−​gj+​gj+1+​gj+​gj+​gk+​ej​ek​ej​ej​gk+​gj+​​=1,=z(ej​−1),=gj+1+​gj+​gj+1+​=gk+​gj+​,=ej​,=ej​ek​,​gj−​gj+​gj+​ej​gj+​ek​gj+​gk+​ej​ej​gk+​ej​​=1,=λ−1ej​,=ek​gj+​,=ek​ej​=λej​​ej2​ej​gj+​ej​ek​​=δej​=λ−1ej​=ek​ej​​(1≤j, j+1<n),​(j∈I),(j∈I),(j,k∈I, j+1<k or k+1<j),(j,k∈I, j+1=k or k+1=j),(j,k∈I, j+1=k or k+1=j).​

When aff=true\mathit{aff}=\mathrm{true}aff=true, the defining equations additionally include

x+x−=1,x−x+=1(1≤n),x+g1+x+g1+=g1+x+g1+x+(2≤n),x+gj+=gj+x+,x+ej=ejx+(2≤j<n),e1(x+)re1=q(r)e1(2≤n, r∈N, 1≤r),e1x+g1+x+=λ−1e1,x+g1+x+e1=λ−1e1(2≤n).\begin{aligned} x^+x^-&=1,&x^-x^+&=1 &&(1\le n),\\ x^+g_1^+x^+g_1^+&=g_1^+x^+g_1^+x^+ &&&&(2\le n),\\ x^+g_j^+&=g_j^+x^+,&x^+e_j&=e_jx^+ &&(2\le j<n),\\ e_1(x^+)^re_1&=q(r)e_1 &&&&(2\le n,\ r\in\mathbb N,\ 1\le r),\\ e_1x^+g_1^+x^+&=\lambda^{-1}e_1,& x^+g_1^+x^+e_1&=\lambda^{-1}e_1 &&(2\le n). \end{aligned}x+x−x+g1+​x+g1+​x+gj+​e1​(x+)re1​e1​x+g1+​x+​=1,=g1+​x+g1+​x+=gj+​x+,=q(r)e1​=λ−1e1​,​x−x+x+ej​x+g1+​x+e1​​=1=ej​x+=λ−1e1​​​(1≤n),(2≤n),(2≤j<n),(2≤n, r∈N, 1≤r),(2≤n).​

The defined element is [gi+][g_i^+][gi+​] if 1≤i<n1\le i<n1≤i<n and inv=false\mathit{inv}=\mathrm{false}inv=false, is [gi−][g_i^-][gi−​] if 1≤i<n1\le i<n1≤i<n and inv=true\mathit{inv}=\mathrm{true}inv=true, and is zero if i=0i=0i=0 or i≥ni\ge ni≥n. Thus it is zero for every iii when n=0n=0n=0 or n=1n=1n=1, for either Boolean value. No restriction on qqq is imposed, and its value at zero is unused.

QAlgorithms.Papers.Independent.Intake100.P55.insertionSpan

For the commutative scalar ring RRR, the ambient RRR-algebra AAA, and any subsets U,C⊆AU,C\subseteq AU,C⊆A, the definition is

insertionSpan⁡(U,C)=span⁡R{aχb:a∈U, b∈U, χ∈C}⊆A,\operatorname{insertionSpan}(U,C) =\operatorname{span}_R\{a\chi b:a\in U,\ b\in U,\ \chi\in C\}\subseteq A,insertionSpan(U,C)=spanR​{aχb:a∈U, b∈U, χ∈C}⊆A,

the RRR-submodule consisting of all finite RRR-linear combinations of these products, with a,b,χa,b,\chia,b,χ chosen independently subject to their indicated memberships. If either UUU or CCC is empty, this is the zero submodule.

QAlgorithms.Papers.Independent.Intake100.P55.laurent

Let RRR be a commutative ring, let λ,δ∈R×\lambda,\delta\in R^\timesλ,δ∈R× and z∈Rz\in Rz∈R satisfy λ−1−λ=z(δ−1)\lambda^{-1}-\lambda=z(\delta-1)λ−1−λ=z(δ−1), and let q:N→Rq:\mathbb N\to Rq:N→R be arbitrary. For n∈Nn\in\mathbb Nn∈N, let B^n\widehat B_nBn​ be the quotient of the free associative unital RRR-algebra on gi,hi,eig_i,h_i,e_igi​,hi​,ei​ for 1≤i<n1\le i<n1≤i<n, together with X,TX,TX,T when n≥1n\ge1n≥1, by the relations

gihi=higi=1,ei2=δei,gi−hi=z(ei−1),giei=eigi=λ−1ei,gigi+1gi=gi+1gigi+1(1≤i, i+1<n),gigj=gjgi,giej=ejgi,eiej=ejei(1≤i,j<n, i+1<j or j+1<i),eiejei=ei,gigjei=ejei,eigjgi=eiej,eigjei=λei(1≤i,j<n, i+1=j or j+1=i),XT=TX=1(n≥1),Xg1Xg1=g1Xg1X,e1Xse1=q(s)e1(s≥1),e1Xg1X=Xg1Xe1=λ−1e1(n≥2),Xgj=gjX,Xej=ejX(2≤j<n).\begin{gathered} g_ih_i=h_ig_i=1,\qquad e_i^2=\delta e_i,\qquad g_i-h_i=z(e_i-1),\qquad g_ie_i=e_ig_i=\lambda^{-1}e_i,\\ g_ig_{i+1}g_i=g_{i+1}g_ig_{i+1} \quad(1\le i,\ i+1<n),\\ g_ig_j=g_jg_i,\qquad g_ie_j=e_jg_i,\qquad e_ie_j=e_je_i \quad(1\le i,j<n,\ i+1<j\text{ or }j+1<i),\\ e_ie_je_i=e_i,\qquad g_ig_je_i=e_je_i,\qquad e_ig_jg_i=e_ie_j,\qquad e_ig_je_i=\lambda e_i \quad(1\le i,j<n,\ i+1=j\text{ or }j+1=i),\\ XT=TX=1\quad(n\ge1),\\ Xg_1Xg_1=g_1Xg_1X,\qquad e_1X^s e_1=q(s)e_1\quad(s\ge1),\qquad e_1Xg_1X=Xg_1Xe_1=\lambda^{-1}e_1 \quad(n\ge2),\\ Xg_j=g_jX,\qquad Xe_j=e_jX\quad(2\le j<n). \end{gathered}gi​hi​=hi​gi​=1,ei2​=δei​,gi​−hi​=z(ei​−1),gi​ei​=ei​gi​=λ−1ei​,gi​gi+1​gi​=gi+1​gi​gi+1​(1≤i, i+1<n),gi​gj​=gj​gi​,gi​ej​=ej​gi​,ei​ej​=ej​ei​(1≤i,j<n, i+1<j or j+1<i),ei​ej​ei​=ei​,gi​gj​ei​=ej​ei​,ei​gj​gi​=ei​ej​,ei​gj​ei​=λei​(1≤i,j<n, i+1=j or j+1=i),XT=TX=1(n≥1),Xg1​Xg1​=g1​Xg1​X,e1​Xse1​=q(s)e1​(s≥1),e1​Xg1​X=Xg1​Xe1​=λ−1e1​(n≥2),Xgj​=gj​X,Xej​=ej​X(2≤j<n).​

Here all scalar coefficients denote their images in the algebra, and generator expressions with unavailable indices are defined to be 000. For 1≤r≤n1\le r\le n1≤r≤n, define

Wr+=(gr−1⋯g1)X(g1⋯gr−1),Wr−=(hr−1⋯h1)T(h1⋯hr−1),W_r^+=(g_{r-1}\cdots g_1)X(g_1\cdots g_{r-1}), \qquad W_r^-=(h_{r-1}\cdots h_1)T(h_1\cdots h_{r-1}),Wr+​=(gr−1​⋯g1​)X(g1​⋯gr−1​),Wr−​=(hr−1​⋯h1​)T(h1​⋯hr−1​),

with empty products equal to 111, so W1+=XW_1^+=XW1+​=X and W1−=TW_1^-=TW1−​=T. For every function μ:{0,…,n−1}→Z\mu:\{0,\ldots,n-1\}\to\mathbb Zμ:{0,…,n−1}→Z, the definition is

laurent⁡(n,μ)=∏r=1n{(Wr−)−μ(r−1),μ(r−1)<0,(Wr+)μ(r−1),μ(r−1)≥0,\operatorname{laurent}(n,\mu) =\prod_{r=1}^{n} \begin{cases} (W_r^-)^{-\mu(r-1)},&\mu(r-1)<0,\\ (W_r^+)^{\mu(r-1)},&\mu(r-1)\ge0, \end{cases}laurent(n,μ)=r=1∏n​{(Wr−​)−μ(r−1),(Wr+​)μ(r−1),​μ(r−1)<0,μ(r−1)≥0,​

where the factors occur in increasing order of rrr and all displayed exponents are nonnegative integers. A zero exponent contributes 111; for n=0n=0n=0, the domain of μ\muμ is empty and the whole product is 111.

QAlgorithms.Papers.Independent.Intake100.P55.leftSpan

For the commutative scalar ring RRR, the ambient RRR-algebra AAA, any element e∈Ae\in Ae∈A, and any subset U⊆AU\subseteq AU⊆A, the definition is

leftSpan⁡(e,U)=span⁡R{ea:a∈U}⊆A,\operatorname{leftSpan}(e,U)=\operatorname{span}_R\{ea:a\in U\}\subseteq A,leftSpan(e,U)=spanR​{ea:a∈U}⊆A,

the RRR-submodule consisting of all finite RRR-linear combinations of products eaeaea with a∈Ua\in Ua∈U. No condition such as idempotence is imposed on eee; if UUU is empty or e=0e=0e=0, this is the zero submodule.

QAlgorithms.Papers.Independent.Intake100.P55.oddContractions

Let RRR be a commutative ring, let λ,δ∈R×\lambda,\delta\in R^\timesλ,δ∈R× and z∈Rz\in Rz∈R satisfy λ−1−λ=z(δ−1)\lambda^{-1}-\lambda=z(\delta-1)λ−1−λ=z(δ−1), and let q:N→Rq:\mathbb N\to Rq:N→R be arbitrary. For each n∈Nn\in\mathbb Nn∈N, let BnB_nBn​ be the quotient of the free associative unital RRR-algebra on symbols gi,hi,eig_i,h_i,e_igi​,hi​,ei​, indexed by 1≤i<n1\le i<n1≤i<n, by the following relations, where coefficients from RRR mean their images in the algebra:

gihi=higi=1,ei2=δei,gi−hi=z(ei−1),giei=eigi=λ−1ei,gigi+1gi=gi+1gigi+1(1≤i, i+1<n),gigj=gjgi,giej=ejgi,eiej=ejei(1≤i,j<n, i+1<j or j+1<i),eiejei=ei,gigjei=ejei,eigjgi=eiej,eigjei=λei(1≤i,j<n, i+1=j or j+1=i).\begin{gathered} g_ih_i=h_ig_i=1,\qquad e_i^2=\delta e_i,\qquad g_i-h_i=z(e_i-1),\qquad g_ie_i=e_ig_i=\lambda^{-1}e_i,\\ g_ig_{i+1}g_i=g_{i+1}g_ig_{i+1} \quad(1\le i,\ i+1<n),\\ g_ig_j=g_jg_i,\qquad g_ie_j=e_jg_i,\qquad e_ie_j=e_je_i \quad(1\le i,j<n,\ i+1<j\text{ or }j+1<i),\\ e_ie_je_i=e_i,\qquad g_ig_je_i=e_je_i,\qquad e_ig_jg_i=e_ie_j,\qquad e_ig_je_i=\lambda e_i \quad(1\le i,j<n,\ i+1=j\text{ or }j+1=i). \end{gathered}gi​hi​=hi​gi​=1,ei2​=δei​,gi​−hi​=z(ei​−1),gi​ei​=ei​gi​=λ−1ei​,gi​gi+1​gi​=gi+1​gi​gi+1​(1≤i, i+1<n),gi​gj​=gj​gi​,gi​ej​=ej​gi​,ei​ej​=ej​ei​(1≤i,j<n, i+1<j or j+1<i),ei​ej​ei​=ei​,gi​gj​ei​=ej​ei​,ei​gj​gi​=ei​ej​,ei​gj​ei​=λei​(1≤i,j<n, i+1=j or j+1=i).​

Set ei=0e_i=0ei​=0 whenever iii does not satisfy 1≤i<n1\le i<n1≤i<n. For every n,k∈Nn,k\in\mathbb Nn,k∈N, the definition is the ordered product

oddContractions⁡(n,k)=∏j=0k−1e2j+1=e1e3⋯e2k−1∈Bn.\operatorname{oddContractions}(n,k) =\prod_{j=0}^{k-1}e_{2j+1} =e_1e_3\cdots e_{2k-1}\in B_n.oddContractions(n,k)=j=0∏k−1​e2j+1​=e1​e3​⋯e2k−1​∈Bn​.

The product is taken in increasing order of jjj; it is 111 when k=0k=0k=0, including when n=0n=0n=0, and it is 000 when 2k>n2k>n2k>n, because then at least one factor has an index outside the allowed range.

QAlgorithms.Papers.Independent.Intake100.P55.presentation

Let RRR be a commutative ring, let PPP consist of units λ,δ∈R×\lambda,\delta\in R^\timesλ,δ∈R× and z∈Rz\in Rz∈R satisfying λ−1−λ=z(δ−1)\lambda^{-1}-\lambda=z(\delta-1)λ−1−λ=z(δ−1), let q:N→Rq:\mathbb N\to Rq:N→R be arbitrary, let aff\mathit{aff}aff be a Boolean, and let n∈Nn\in\mathbb Nn∈N. Set I={i∈N:1≤i<n}I=\{i\in\mathbb N:1\le i<n\}I={i∈N:1≤i<n}. Form the free associative unital RRR-algebra FFF on independent symbols gi+,gi−,eig_i^+,g_i^-,e_igi+​,gi−​,ei​ for i∈Ii\in Ii∈I, and also x+,x−x^+,x^-x+,x− exactly when aff=true\mathit{aff}=\mathrm{true}aff=true and n≥1n\ge1n≥1; +++ corresponds to the Boolean false\mathrm{false}false and −-− to true\mathrm{true}true. This definition is the canonical RRR-algebra homomorphism

F⟶F/J,a⟼[a],F\longrightarrow F/J,\qquad a\longmapsto[a],F⟶F/J,a⟼[a],

where JJJ is the two-sided ideal generated by the differences of the two sides of the following equations, with scalar coefficients mapped from RRR:

gi+gi−=1,gi−gi+=1,ei2=δei(i∈I),gi+−gi−=z(ei−1),gi+ei=λ−1ei,eigi+=λ−1ei(i∈I),gi+gi+1+gi+=gi+1+gi+gi+1+(1≤i, i+1<n),gi+gj+=gj+gi+,gi+ej=ejgi+,eiej=ejei(i,j∈I, i+1<j or j+1<i),eiejei=ei,gi+gj+ei=ejei(i,j∈I, i+1=j or j+1=i),eigj+gi+=eiej,eigj+ei=λei(i,j∈I, i+1=j or j+1=i).\begin{aligned} g_i^+g_i^-&=1,&g_i^-g_i^+&=1,&e_i^2&=\delta e_i && (i\in I),\\ g_i^+-g_i^-&=z(e_i-1),& g_i^+e_i&=\lambda^{-1}e_i,& e_ig_i^+&=\lambda^{-1}e_i && (i\in I),\\ g_i^+g_{i+1}^+g_i^+&=g_{i+1}^+g_i^+g_{i+1}^+ &&&&& (1\le i,\ i+1<n),\\ g_i^+g_j^+&=g_j^+g_i^+,& g_i^+e_j&=e_jg_i^+,& e_ie_j&=e_je_i && (i,j\in I,\ i+1<j\ \text{or}\ j+1<i),\\ e_ie_je_i&=e_i,& g_i^+g_j^+e_i&=e_je_i &&&& (i,j\in I,\ i+1=j\ \text{or}\ j+1=i),\\ e_ig_j^+g_i^+&=e_ie_j,& e_ig_j^+e_i&=\lambda e_i &&&& (i,j\in I,\ i+1=j\ \text{or}\ j+1=i). \end{aligned}gi+​gi−​gi+​−gi−​gi+​gi+1+​gi+​gi+​gj+​ei​ej​ei​ei​gj+​gi+​​=1,=z(ei​−1),=gi+1+​gi+​gi+1+​=gj+​gi+​,=ei​,=ei​ej​,​gi−​gi+​gi+​ei​gi+​ej​gi+​gj+​ei​ei​gj+​ei​​=1,=λ−1ei​,=ej​gi+​,=ej​ei​=λei​​ei2​ei​gi+​ei​ej​​=δei​=λ−1ei​=ej​ei​​(1≤i, i+1<n),​(i∈I),(i∈I),(i,j∈I, i+1<j or j+1<i),(i,j∈I, i+1=j or j+1=i),(i,j∈I, i+1=j or j+1=i).​

When aff=true\mathit{aff}=\mathrm{true}aff=true, include also

x+x−=1,x−x+=1(1≤n),x+g1+x+g1+=g1+x+g1+x+(2≤n),x+gj+=gj+x+,x+ej=ejx+(2≤j<n),e1(x+)re1=q(r)e1(2≤n, r∈N, 1≤r),e1x+g1+x+=λ−1e1,x+g1+x+e1=λ−1e1(2≤n).\begin{aligned} x^+x^-&=1,&x^-x^+&=1 &&(1\le n),\\ x^+g_1^+x^+g_1^+&=g_1^+x^+g_1^+x^+ &&&&(2\le n),\\ x^+g_j^+&=g_j^+x^+,&x^+e_j&=e_jx^+ &&(2\le j<n),\\ e_1(x^+)^re_1&=q(r)e_1 &&&&(2\le n,\ r\in\mathbb N,\ 1\le r),\\ e_1x^+g_1^+x^+&=\lambda^{-1}e_1,& x^+g_1^+x^+e_1&=\lambda^{-1}e_1 &&(2\le n). \end{aligned}x+x−x+g1+​x+g1+​x+gj+​e1​(x+)re1​e1​x+g1+​x+​=1,=g1+​x+g1+​x+=gj+​x+,=q(r)e1​=λ−1e1​,​x−x+x+ej​x+g1+​x+e1​​=1=ej​x+=λ−1e1​​​(1≤n),(2≤n),(2≤j<n),(2≤n, r∈N, 1≤r),(2≤n).​

These generate all the imposed identifications. The map is defined also for n=0n=0n=0, when there are no generators or defining equations, and for n=1n=1n=1, when the only possible generators and equations are x±x^\pmx± and their two inverse equations if aff=true\mathit{aff}=\mathrm{true}aff=true. The function qqq is unrestricted, and q(0)q(0)q(0) is unused.

QAlgorithms.Papers.Independent.Intake100.P55.rightSpan

For the commutative scalar ring RRR, the ambient RRR-algebra AAA, any subset U⊆AU\subseteq AU⊆A, and any element e∈Ae\in Ae∈A, the definition is

rightSpan⁡(U,e)=span⁡R{ae:a∈U}⊆A,\operatorname{rightSpan}(U,e)=\operatorname{span}_R\{ae:a\in U\}\subseteq A,rightSpan(U,e)=spanR​{ae:a∈U}⊆A,

the RRR-submodule consisting of all finite RRR-linear combinations of products aeaeae with a∈Ua\in Ua∈U. No condition such as idempotence is imposed on eee; if UUU is empty or e=0e=0e=0, this is the zero submodule.

QAlgorithms.Papers.Independent.Intake100.P55.sandwichSpan

For the commutative scalar ring RRR, the ambient RRR-algebra AAA, any subset U⊆AU\subseteq AU⊆A, and any element e∈Ae\in Ae∈A, the definition is

sandwichSpan⁡(U,e)=span⁡R{aeb:a∈U, b∈U}⊆A,\operatorname{sandwichSpan}(U,e) =\operatorname{span}_R\{aeb:a\in U,\ b\in U\}\subseteq A,sandwichSpan(U,e)=spanR​{aeb:a∈U, b∈U}⊆A,

the RRR-submodule consisting of all finite RRR-linear combinations of such products, where aaa and bbb are chosen independently from UUU. The element eee is arbitrary; if UUU is empty or e=0e=0e=0, this is the zero submodule.

QAlgorithms.Papers.Independent.Intake100.P55.signedPower

For a type AAA with the indicated natural-number powers, arbitrary u,v∈Au,v\in Au,v∈A, and any integer sss, this defines

{v−s,s<0,us,s≥0,\begin{cases} v^{-s},&s<0,\\ u^s,&s\ge0, \end{cases}{v−s,us,​s<0,s≥0,​

where each exponent on the right is a nonnegative integer. In particular, the value at s=0s=0s=0 is 111; the definition requires no equation relating uuu and vvv, so negative values of sss use powers of the separately supplied element vvv.

QAlgorithms.Papers.Independent.Intake100.P55.translateSpan

For the commutative scalar ring RRR, the ambient RRR-algebra AAA, any element a∈Aa\in Aa∈A, and any RRR-submodule V⊆AV\subseteq AV⊆A, the definition is

translateSpan⁡(a,V)=span⁡R{aw:w∈V}⊆A,\operatorname{translateSpan}(a,V) =\operatorname{span}_R\{aw:w\in V\}\subseteq A,translateSpan(a,V)=spanR​{aw:w∈V}⊆A,

the RRR-submodule consisting of all finite RRR-linear combinations of products awawaw with w∈Vw\in Vw∈V. There is no invertibility assumption on aaa; if a=0a=0a=0 or VVV is the zero submodule, the result is the zero submodule.

QAlgorithms.Papers.Independent.Intake100.P55.windingPower

Let RRR be a commutative ring, let λ,δ∈R×\lambda,\delta\in R^\timesλ,δ∈R× and z∈Rz\in Rz∈R satisfy λ−1−λ=z(δ−1)\lambda^{-1}-\lambda=z(\delta-1)λ−1−λ=z(δ−1), let q:N→Rq:\mathbb N\to Rq:N→R, and let n,r∈Nn,r\in\mathbb Nn,r∈N and s∈Zs\in\mathbb Zs∈Z. Let BnB_nBn​ be the quotient of the free associative RRR-algebra on gi,gˉi,eig_i,\bar g_i,e_igi​,gˉ​i​,ei​, for 1≤i<n1\le i<n1≤i<n, and x,xˉx,\bar xx,xˉ when n≥1n\ge1n≥1, by

gigˉi=gˉigi=1,ei2=δei,gi−gˉi=z(ei−1),giei=eigi=λ−1ei,gigi+1gi=gi+1gigi+1(1≤i, i+1<n),gigj=gjgi,giej=ejgi,eiej=ejei(1≤i,j<n, i+1<j or j+1<i),eiejei=ei,gigjei=ejei,eigjgi=eiej,eigjei=λei(1≤i,j<n, i+1=j or j+1=i),xxˉ=xˉx=1(n≥1),xg1xg1=g1xg1x(n≥2),xgj=gjx,xej=ejx(2≤j<n),e1xte1=q(t)e1(t≥1, n≥2),e1xg1x=xg1xe1=λ−1e1(n≥2),\begin{gathered} g_i\bar g_i=\bar g_i g_i=1,\quad e_i^2=\delta e_i,\quad g_i-\bar g_i=z(e_i-1),\quad g_i e_i=e_i g_i=\lambda^{-1}e_i,\\ g_i g_{i+1}g_i=g_{i+1}g_i g_{i+1}\quad(1\le i,\ i+1<n),\\ g_i g_j=g_j g_i,\quad g_i e_j=e_j g_i,\quad e_i e_j=e_j e_i \quad(1\le i,j<n,\ i+1<j\ \text{or}\ j+1<i),\\ e_i e_j e_i=e_i,\quad g_i g_j e_i=e_j e_i,\quad e_i g_j g_i=e_i e_j,\quad e_i g_j e_i=\lambda e_i \quad(1\le i,j<n,\ i+1=j\ \text{or}\ j+1=i),\\ x\bar x=\bar x x=1\quad(n\ge1),\quad xg_1xg_1=g_1xg_1x\quad(n\ge2),\\ xg_j=g_jx,\quad xe_j=e_jx\quad(2\le j<n),\\ e_1x^t e_1=q(t)e_1\quad(t\ge1,\ n\ge2),\quad e_1xg_1x=xg_1xe_1=\lambda^{-1}e_1\quad(n\ge2), \end{gathered}gi​gˉ​i​=gˉ​i​gi​=1,ei2​=δei​,gi​−gˉ​i​=z(ei​−1),gi​ei​=ei​gi​=λ−1ei​,gi​gi+1​gi​=gi+1​gi​gi+1​(1≤i, i+1<n),gi​gj​=gj​gi​,gi​ej​=ej​gi​,ei​ej​=ej​ei​(1≤i,j<n, i+1<j or j+1<i),ei​ej​ei​=ei​,gi​gj​ei​=ej​ei​,ei​gj​gi​=ei​ej​,ei​gj​ei​=λei​(1≤i,j<n, i+1=j or j+1=i),xxˉ=xˉx=1(n≥1),xg1​xg1​=g1​xg1​x(n≥2),xgj​=gj​x,xej​=ej​x(2≤j<n),e1​xte1​=q(t)e1​(t≥1, n≥2),e1​xg1​x=xg1​xe1​=λ−1e1​(n≥2),​

where scalars are mapped into the quotient. Interpret gi,gˉi,eig_i,\bar g_i,e_igi​,gˉ​i​,ei​ as zero outside 1≤i<n1\le i<n1≤i<n, and x,xˉx,\bar xx,xˉ as zero when n=0n=0n=0. Define U0=V0=0U_0=V_0=0U0​=V0​=0, and, for r≥1r\ge1r≥1, define

Ur=(gr−1⋯g1)x(g1⋯gr−1),Vr=(gˉr−1⋯gˉ1)xˉ(gˉ1⋯gˉr−1),U_r=(g_{r-1}\cdots g_1)x(g_1\cdots g_{r-1}),\qquad V_r=(\bar g_{r-1}\cdots\bar g_1)\bar x(\bar g_1\cdots\bar g_{r-1}),Ur​=(gr−1​⋯g1​)x(g1​⋯gr−1​),Vr​=(gˉ​r−1​⋯gˉ​1​)xˉ(gˉ​1​⋯gˉ​r−1​),

with empty surrounding products equal to 111. The defined element is Vr−sV_r^{-s}Vr−s​ if s<0s<0s<0, and UrsU_r^sUrs​ if s≥0s\ge0s≥0, using nonnegative integer exponents in both cases. Its value at s=0s=0s=0 is always 111. If r=0r=0r=0, r>nr>nr>n, or n=0n=0n=0, its value for every nonzero sss is 000.

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