Definitions for Affine Birman-Wenzl-Murakami Algebras and Tangles in the Solid Torus
DefinitionQAlgorithms_Papers_Independent_Intake100_P55The 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.
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
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Intake100.P55.BMWAdjacent
For natural numbers and , this predicate holds exactly when or . Both indices may be zero where these equations permit it; in particular, and satisfy the predicate. No upper bound on either index is imposed.
QAlgorithms.Papers.Independent.Intake100.P55.BMWGenerator
For a Boolean and a natural number , this inductive type consists of distinct formal constructors , with satisfying and a Boolean; , with ; and , with a Boolean and a natural number satisfying
Consequently, the -constructors exist exactly when and , in which case their only possible index is , giving one constructor for each Boolean. The Boolean arguments are labels and impose no inverse equations. For the type is empty; for it is empty when and consists of the two -constructors when .
QAlgorithms.Papers.Independent.Intake100.P55.BMWIndex
For natural numbers and , this predicate holds exactly when . Thus never satisfies it, and there are no satisfying indices when or .
QAlgorithms.Papers.Independent.Intake100.P55.Ground
For any commutative ring , a ground datum consists of two units , an element , and a proof of the identity
in , where the units and the inverse unit are viewed as elements of . There are no further assumptions on or these parameters; in particular, the zero ring is allowed.
QAlgorithms.Papers.Independent.Intake100.P55.OrdinaryAffineBMW
For any commutative ring , units and element satisfying , function , Boolean , and natural number , this abbreviates the following quotient -algebra. Set , and take the free associative unital -algebra on independent generators for , with two additional independent generators exactly when and ; the signs label the Boolean values and , respectively. The quotient is , where 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 :
In addition, precisely when , the defining equations include
No additional defining equations are imposed. The parameter may be zero: then there are no generators and no defining equations; the same holds for with . For with , the only generators are , and the only defining equations are their two inverse equations. No condition on , including its value at zero, is required; does not occur in the defining equations.
QAlgorithms.Papers.Independent.Intake100.P55.OrdinaryAffineBMWRel
Let be any commutative ring; let consist of units and satisfying ; let be any function; and let be a Boolean and . Put . Let be the free associative unital -algebra on independent symbols for , together with independent symbols exactly when and . Here labels the Boolean , and labels ; these labels do not assert inverses in . Extend to be zero outside , and put when their symbols are absent. View all coefficients from as their images in . This declaration defines a binary relation on consisting exactly of the following ordered pairs, with every displayed index universally ranging over the stated conditions:
Membership of an ordered pair in this relation does not itself assert equality of its entries in , and the definition does not close these pairs under reflexivity, symmetry, transitivity, or algebra operations. The relation is empty when , and also when and ; for and , only the two pairs involving and occur. The value is unused, and no condition on is imposed.
QAlgorithms.Papers.Independent.Intake100.P55.alternatingWord
For a type with multiplication, identity, and natural-number powers, an arbitrary , a natural number , a family , and a family , this defines
where the product is ordered by increasing . The exponents may be zero, and no invertibility or commutation conditions are required. When , the exponent family is empty and the value is .
QAlgorithms.Papers.Independent.Intake100.P55.backward
For a type equipped with the multiplication and identity used for finite products, a function , and arbitrary , this defines the ordered product
with factors taken in decreasing order of their indices. When , the product is empty and its value is ; there is no restriction on , and the formula does not replace any factor by its inverse.
QAlgorithms.Papers.Independent.Intake100.P55.bmwCornerSpan
For the commutative scalar ring , the ambient -algebra , any element , and any subset , the definition is
the -submodule consisting of all finite -linear combinations of products with . The element is arbitrary and need not be idempotent; if is empty or , this is the zero submodule.
QAlgorithms.Papers.Independent.Intake100.P55.bmwFreeE
For any commutative ring , Boolean , and natural numbers , this defines an element of the free associative unital -algebra on formal symbols and for , with Boolean, together with for both Boolean values precisely when and . Its value is the free algebra generator associated with if , and is zero otherwise. Thus it is zero for , for , and for every when .
QAlgorithms.Papers.Independent.Intake100.P55.bmwFreeG
For any commutative ring , Boolean , natural numbers , and Boolean , this defines an element of the free associative unital -algebra on the following formal symbols: and for , with Boolean, together with for both Boolean values precisely when and . Its value is the free algebra generator associated with if , and is zero otherwise. In particular, it is zero for , for , and for every when . The Boolean label does not itself assert invertibility.
QAlgorithms.Papers.Independent.Intake100.P55.bmwFreeX
For any commutative ring , Boolean , natural number , and Boolean , this defines an element of the free associative unital -algebra on formal symbols and for , with Boolean, together with for both Boolean values precisely when and . The defined element is the free generator associated with when and , and is zero when or . The two Boolean labels specify independent formal generators, without imposing inverse equations.
QAlgorithms.Papers.Independent.Intake100.P55.bmwLevel
Let be a commutative ring, let and satisfy , let , let be arbitrary Booleans, and let . Let be the quotient of the free associative -algebra on , for , with additional symbols precisely when and , by
When , also impose
with scalars mapped into the quotient. Set outside , and set when or . The defined object is the smallest -subalgebra of containing all with , and additionally containing if and . The numbers and Booleans are independent, so is allowed and then the listed indices outside the ambient range contribute zero. When , the generating set is empty and the subalgebra is the image of ; when , there are no indexed generators, and only the conditional generators may be included.
QAlgorithms.Papers.Independent.Intake100.P55.bmwWinding
Let be a commutative ring, let and satisfy , let , and let . Work in the quotient of the free associative -algebra on , for , and when , by the equations
with scalars mapped into the quotient. Extend by zero at indices outside , and set when . For a Boolean , write and when , and and when . For every , the defined element is
Both surrounding products are empty when , giving . There is no hypothesis : the value is zero whenever , and all values are zero when .
QAlgorithms.Papers.Independent.Intake100.P55.bmwX
Let be a commutative ring, let and satisfy , let , let be a Boolean, and let . Define to be the quotient of the free associative -algebra on symbols , for , and additionally when and , by the following equations, with scalars interpreted through the -algebra map:
When , the additional equations are
For each Boolean , the defined element is the image of in this quotient if , or the image of if , provided and ; otherwise it is . Thus both Boolean choices give when or .
QAlgorithms.Papers.Independent.Intake100.P55.diamondColumn
For a type with multiplication and identity, a function , and arbitrary , this defines
with factors multiplied in increasing order of . The subtraction is natural-number subtraction and therefore truncates at zero before is added: when , the factors are . There are always factors; in particular, gives .
QAlgorithms.Papers.Independent.Intake100.P55.diamondWord
For a type with multiplication and identity, a function , and , put
where the factors are ordered by increasing . The defined element is the product of for in increasing order, followed by the product of for in decreasing order. Thus, for , it is
Every empty product is ; consequently the value is when , and when . Both subtractions used in the definition are truncated natural-number subtractions.
QAlgorithms.Papers.Independent.Intake100.P55.fElement
Let be a commutative ring, let and satisfy , let be arbitrary, and let . Let be the quotient of the free associative -algebra on , for , by
with scalars mapped into the quotient; the parameter contributes no equations here. Extend by zero outside . For each offset , define
The defined element is . Both surrounding products are empty when , so . No bounds relating are assumed: unavailable generator indices give zero, always gives , and when or , every gives zero.
QAlgorithms.Papers.Independent.Intake100.P55.fWord
For a type with multiplication and identity, arbitrary functions , and an arbitrary offset , this defines a sequence recursively by
The first product is ordered by increasing , and the last by decreasing ; both are empty and equal to when , giving . All offsets and sequence indices, including zero, are allowed, and no relations between the values of and are required.
QAlgorithms.Papers.Independent.Intake100.P55.forward
For a type equipped with the multiplication and identity used for finite products, a function , and arbitrary , this defines the ordered product
with factors taken in increasing order of their indices. When , the product is empty and its value is ; there is no restriction on , and no commutativity is imposed by this formula.
QAlgorithms.Papers.Independent.Intake100.P55.ghContraction
For any commutative ring , ground datum consisting of units and satisfying , arbitrary function , Boolean , and natural numbers , this defines an element of a quotient algebra as follows. Put , and let be the free associative unital -algebra on independent symbols for , together with independent symbols exactly when and ; denotes the Boolean label , and denotes . The two-sided ideal is generated by the differences between the sides of the following equations, with scalar coefficients mapped from :
If , the defining equations also include
The defined element is the quotient class when , and is zero otherwise. In particular, it is zero for , for , and for every when or . The function is unrestricted, and does not occur in the defining equations.
QAlgorithms.Papers.Independent.Intake100.P55.ghCrossing
For any commutative ring , ground datum consisting of units and satisfying , arbitrary function , Boolean , natural numbers , and Boolean , this defines an element of the following quotient algebra . Put ; let be the free associative unital -algebra on independent symbols for , with additional independent symbols exactly when and . The signs and correspond respectively to the Boolean values and . The two-sided ideal is generated by the differences of the sides of these equations, with all scalar coefficients interpreted through the map from :
When , the defining equations additionally include
The defined element is if and , is if and , and is zero if or . Thus it is zero for every when or , for either Boolean value. No restriction on is imposed, and its value at zero is unused.
QAlgorithms.Papers.Independent.Intake100.P55.insertionSpan
For the commutative scalar ring , the ambient -algebra , and any subsets , the definition is
the -submodule consisting of all finite -linear combinations of these products, with chosen independently subject to their indicated memberships. If either or is empty, this is the zero submodule.
QAlgorithms.Papers.Independent.Intake100.P55.laurent
Let be a commutative ring, let and satisfy , and let be arbitrary. For , let be the quotient of the free associative unital -algebra on for , together with when , by the relations
Here all scalar coefficients denote their images in the algebra, and generator expressions with unavailable indices are defined to be . For , define
with empty products equal to , so and . For every function , the definition is
where the factors occur in increasing order of and all displayed exponents are nonnegative integers. A zero exponent contributes ; for , the domain of is empty and the whole product is .
QAlgorithms.Papers.Independent.Intake100.P55.leftSpan
For the commutative scalar ring , the ambient -algebra , any element , and any subset , the definition is
the -submodule consisting of all finite -linear combinations of products with . No condition such as idempotence is imposed on ; if is empty or , this is the zero submodule.
QAlgorithms.Papers.Independent.Intake100.P55.oddContractions
Let be a commutative ring, let and satisfy , and let be arbitrary. For each , let be the quotient of the free associative unital -algebra on symbols , indexed by , by the following relations, where coefficients from mean their images in the algebra:
Set whenever does not satisfy . For every , the definition is the ordered product
The product is taken in increasing order of ; it is when , including when , and it is when , because then at least one factor has an index outside the allowed range.
QAlgorithms.Papers.Independent.Intake100.P55.presentation
Let be a commutative ring, let consist of units and satisfying , let be arbitrary, let be a Boolean, and let . Set . Form the free associative unital -algebra on independent symbols for , and also exactly when and ; corresponds to the Boolean and to . This definition is the canonical -algebra homomorphism
where is the two-sided ideal generated by the differences of the two sides of the following equations, with scalar coefficients mapped from :
When , include also
These generate all the imposed identifications. The map is defined also for , when there are no generators or defining equations, and for , when the only possible generators and equations are and their two inverse equations if . The function is unrestricted, and is unused.
QAlgorithms.Papers.Independent.Intake100.P55.rightSpan
For the commutative scalar ring , the ambient -algebra , any subset , and any element , the definition is
the -submodule consisting of all finite -linear combinations of products with . No condition such as idempotence is imposed on ; if is empty or , this is the zero submodule.
QAlgorithms.Papers.Independent.Intake100.P55.sandwichSpan
For the commutative scalar ring , the ambient -algebra , any subset , and any element , the definition is
the -submodule consisting of all finite -linear combinations of such products, where and are chosen independently from . The element is arbitrary; if is empty or , this is the zero submodule.
QAlgorithms.Papers.Independent.Intake100.P55.signedPower
For a type with the indicated natural-number powers, arbitrary , and any integer , this defines
where each exponent on the right is a nonnegative integer. In particular, the value at is ; the definition requires no equation relating and , so negative values of use powers of the separately supplied element .
QAlgorithms.Papers.Independent.Intake100.P55.translateSpan
For the commutative scalar ring , the ambient -algebra , any element , and any -submodule , the definition is
the -submodule consisting of all finite -linear combinations of products with . There is no invertibility assumption on ; if or is the zero submodule, the result is the zero submodule.
QAlgorithms.Papers.Independent.Intake100.P55.windingPower
Let be a commutative ring, let and satisfy , let , and let and . Let be the quotient of the free associative -algebra on , for , and when , by
where scalars are mapped into the quotient. Interpret as zero outside , and as zero when . Define , and, for , define
with empty surrounding products equal to . The defined element is if , and if , using nonnegative integer exponents in both cases. Its value at is always . If , , or , its value for every nonzero is .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.