How this calculation works
Enumerate right cosets of a subgroup in a finitely presented group using bounded Todd–Coxeter deductions and coincidences. A completed table certifies a finite index; budget exhaustion remains unresolved.
(Hg)·x=H(gx); every relator fixes every coset, and every subgroup word fixes HA worked example
For <a,b | a³=b²=(ab)²=1> and H=<b>, the completed coset table has index3. Using the trivial subgroup instead gives index6.
Good to know
1–3 generators; ≤20 relators and≤10 subgroup words, each length≤32. Signed integer word syntax only. Allocated coset cap4–256 and10000 scan rounds. Allocation exhaustion returns an unresolved partial table; it proves neither infinite index nor infinite group order.
Reference: GAP reference: coset enumeration (opens in a new tab) ↗
What a coset enumeration answers
A presentation describes a group through generators and words that equal the identity. Coset enumeration asks how many right cosets a specified subgroup has in that group. It can answer this without first producing a multiplication table for every individual group element or identifying the group by name.
The subgroup matters as much as the presentation. A finite subgroup index can occur in an infinite group, and a completed index does not generally report group order. Only when the supplied subgroup is trivial does a completed enumeration count the elements of the whole presented group.
Compare this with the Subgroup and coset finder. Enumerate subgroup cosets from generators and relators without an already known complete group table.
Translate words into signed integers
Number the generators one through the chosen generator count. Write a positive number for a generator and its negative for the inverse. One row is one complete word, read from left to right. Thus a cubed becomes 1,1,1, while aba inverse becomes 1,2,-1.
Each relator row asserts that its word is the identity. Subgroup rows instead generate the subgroup whose cosets are being enumerated; their words must fix the base coset. Enter none for an empty list. The tool does not interpret exponent notation, parentheses, generator letters or equations pasted from a textbook.
Understand deductions and coincidences
A coset-table entry records where multiplying a current right coset by one generator leads. Inverse columns enforce reverse moves. Scanning a relator forward and backward may leave a single missing transition, which can then be deduced without inventing an unnecessary new coset or making an arbitrary identification.
When two paths are forced to represent the same coset, a coincidence merges their rows and propagates compatible transitions. A new row is allocated only after the current deductions stabilize and some transition remains unknown. The accounting separates allocated rows from surviving cosets because merged rows still consumed the allocation budget.
Work through the symmetric-group presentation
Use generators a and b, relators a cubed, b squared, and abab, and the subgroup generated by b. The three right cosets can be pictured as the three possible images in a transitive action. In the returned table, a acts cyclically and b fixes one coset while swapping two.
With the default numbering, the a column cycles cosets zero, one and two. The b column fixes coset zero and interchanges cosets one and two. Every a-cubed, b-squared and abab path returns to its start. Replacing the subgroup word by none gives six cosets, matching the six-element group.
Recognize a complete certificate
Completion requires every surviving row to have every generator and inverse transition. The program then checks inverse-column consistency, traces every relator from every coset, and traces every subgroup generator from the base coset. Only after these checks does the index field contain a certified integer.
The displayed column order alternates each positive generator with its inverse. This remains true when a relation makes a generator an involution, so the two columns can coincide. Keep the column labels with the table: numerical rows alone cannot communicate which permutation corresponds to which original presentation generator.
Interpret an unfinished computation
A partial table can have many live rows without establishing the final index. Later coincidences might merge those rows, or additional rows might still be required. Consequently, the unresolved status deliberately leaves the index empty and reports only live rows, allocations, coincidences and scans as computation diagnostics.
Increasing the allocation cap can finish some examples, but failure at a larger cap still proves no infinitude statement. Presentations that describe small finite groups can behave poorly under a particular enumeration strategy. A different presentation or subgroup generating set can change intermediate resource use without changing the mathematical answer.
Choose examples with manageable bounds
Start with cyclic and small dihedral presentations whose expected indices you can independently calculate. These reveal inverse-syntax errors and subgroup misunderstandings quickly. Adding a relation changes the group, whereas adding a generator word to the subgroup can shrink its index; those are distinct changes to the question being asked.
This is a bounded educational enumerator rather than a general decision procedure for presentations. It neither solves arbitrary word problems nor classifies infinite groups. Save the original relator and subgroup lists alongside a completed table, since the certificate is meaningful only relative to the precise words supplied as input.
A few questions, answered
Does a cap failure mean infinite index?
No. It only means this bounded enumeration did not finish.
When does the index equal group order?
When the supplied subgroup is trivial and the enumeration completes.
How are inverses entered?
Use a negative generator number, such as -1 for the inverse of generator1.
Why can allocated cosets exceed live cosets?
Coincidences merge rows after those rows have already consumed allocation slots.