Cayley Table Explorer
Operation table of a small finite group or ring. The learner closes a chosen subset round by round into the generated subgroup, subring or ideal; colours the table by cosets to see Lagrange, normality and the quotient table; forms products HK; reads off units, zero divisors, nilpotents and idempotents; or relabels one table to test an isomorphism against an invariants panel.
Used in: Group Theory, Ring Theory
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | by mode, e.g. "Cayley table of S_3" | Title bar text. |
| controls | string[] | all controls shown | Ids of the hideable controls and text blocks to show (see the component's controls registry, e.g. highlight.inverses, readout.order, side.double, inv.centre). Core controls always show. Page building fills this from the subject's topic scope. |
| mode | "table" | "closure" | "cosets" | "product" | "isomorphism" | inferred: left/right -> isomorphism, generators -> closure, subgroup/side/showQuotient -> cosets, else table | table: click a cell to read its product (and, in a group, the equation it solves and inverses), click a heading to follow a row or column, highlight classes. closure: close a subset S round by round. cosets: colour by (left/right/double) cosets, normality, quotient. product: HK with |HK| = |H||K|/|H∩K| (groups). isomorphism: build a bijection left -> right and check it cell by cell (groups). |
| group | string | "S_3" | Finite group by name (core parseGroup: Z_12, D_4 (order 8), S_4, A_4, Q_8, V_4, U(10), Z_2 x Z_4, ...). Ring names such as "F_2[x]/(x^2+x+1)" are read as rings. Order at most 120 (text in cells up to order 16). |
| ring | string | number | object | none | Finite ring instead of a group: "Z_12", 10 (= Z_10), "F_4", "F_2[x]/(x^2+x+1)", "M_2(F_2)", "Z_2 x Z_3", {"type": "integers-mod", "m": 4}, {"type": "extension", "p": 2, "modulus": "x^2+x+1"}. At most 64 elements. |
| compare | string | number | object | none | Table mode: a second group or ring drawn side by side with the same operation and highlight (e.g. F_4 next to Z_4). |
| operation | "add" | "multiply" | "multiply" (cosets in a ring: "add") | Rings: which table is shown first; the learner can switch. Ignored for groups. |
| selected | string | none | Table mode: element a whose row is selected at start (in cosets mode the cosets gH / Hg of this g are outlined). |
| target | string | none | Table mode, with selected: element b; the cell in row a holding b (the solution of a∘x = b) is selected and outlined, and the readout explains it. |
| highlight | "none" | "inverses" | "centre" | "orders" | "units" | "zero-divisors" | "nilpotents" | "idempotents" | "none" | Table mode: the class to highlight. Groups use inverses/centre/orders, rings units/zero-divisors/nilpotents/idempotents (multiplication table). |
| highlights | Highlight[] | all for the kind (groups: none/inverses/centre/orders; rings: none/units/zero-divisors/nilpotents/idempotents) | Deprecated alias for controls (highlight.* ids). Table mode: the highlight buttons offered, e.g. ["none", "inverses"] on a first page that has not defined centres or orders yet. The starting highlight is always offered; with one button or none the toggle is hidden. |
| details | boolean | true | Deprecated alias for controls. Table mode: false hides element orders and the 'every element once per row' remark in the readout, and the structure panel (order, abelian, centre; ring classes). Use on pages before those ideas are introduced. |
| generators | string[] | [] | Closure mode: the starting set S (may be empty; the learner clicks elements to add or remove them). |
| check | "subring" | "ideal" | "subring" | Closure in a ring: close under +, − and × (subring) or also absorb products r·a, a·r (ideal). |
| step | number | 0 | Closure mode: number of closure rounds already applied at start. |
| showWords | boolean | false | Closure mode (groups): once closed, write every element as a word in the starting set. |
| subgroup | string | string[] | trivial subgroup | Cosets / product mode: H as a list of elements (closed up if needed), "<a, b>", a keyword ("center", "[G,G]") or a name ("A_4" in S_4). Rings: an additive subgroup or ideal ("(2)", ["0", "4", "8"]). The learner can pick any subgroup from a list. |
| secondSubgroup | string | string[] | same as subgroup | K: for double cosets HgK (side "double") and for product mode HK. |
| side | "left" | "right" | "both" | "double" | "left" ("double" when secondSubgroup is given) | Cosets mode: colour by left cosets gH, right cosets Hg, left cosets with a gH vs Hg comparison, or double cosets HgK. |
| conjugateBy | string | none | Cosets mode (groups): show the conjugate subgroup gHg^-1 for this g (the learner can change g). |
| showQuotient | boolean | false | Cosets mode: show the quotient table G/H (or R/I) when H is normal (I an ideal); otherwise explain why coset products are not well defined. |
| showProjection | boolean | false | Cosets mode: show the canonical projection g -> gH with kernel H; clicking a cell checks π(ab) = π(a)π(b). |
| left | string | "Z_4" | Isomorphism mode: the domain group (order at most 24). |
| right | string | "V_4" | Isomorphism mode: the target group. |
| choices | string[] | [] | Isomorphism mode: other target groups the learner can switch to. |
| bijection | object | {} (identity to identity) | Isomorphism mode: partial map {leftLabel: rightLabel} at start, e.g. {"1": "3"}; "Extend from generators" completes it. |
| showInvariants | boolean | true | Isomorphism mode: show order, abelian, cyclic, exponent, element-order counts, centre, classes and commutator size side by side, with mismatches marked. |
PreviousNext