Advanced maths

Quasigroup isotopy calculator with three permutation witnesses

Test whether two finite quasigroups are related by separate permutations of rows, columns and products.

Your numbers

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

Test whether two finite quasigroups are related by separate permutations of rows, columns and products.

THE FORMULAγ(A(i,j))=B(α(i),β(j)) for every i,j, with α,β,γ bijections.

A worked example

The addition table modulo three is isotopic to B(i,j)=i+2j mod 3 via α=id, β=(0,2,1), γ=id.

Good to know

Two complete quasigroup tables of the same order 1–6. Validate each row/column as a permutation. Enumerate alpha and the image beta(0), derive gamma and beta from the first column/row, and verify all pairs. Exact existence and a triple witness; no all-isotopy-class classification, paratopy or transpose equivalence.

Validate both Latin tables

Enter two square multiplication tables of the same order from one through six, using labels zero through n−1. Every row and every column must contain each label exactly once. This Latin condition gives unique left and right division and is the defining finite-table requirement for a quasigroup.

Associativity and an identity element are not required. A table can be a valid quasigroup without being a group or loop. Repeated entries in a row or column invalidate the input before isotopy is considered. Keep the two table labelings separate: matching numerical labels does not require the corresponding elements to play the same role.

Quasigroup isotopy with three permutation witnesses exampleThree maps certify an isotopyrow i → α(i)column j → β(j)value k → γ(k)γ(A(i,j)) = B(α(i),β(j))A(i,j) = i+j mod 3; B(i,j) = i+2j mod 3α = γ = identity; β images 0,2,1
Scroll across to see the full diagram.
The addition table modulo three is isotopic to B(i,j)=i+2j mod 3 via α=id, β=(0,2,1), γ=id.

Compare this with the Partial Latin square completion calculator with exact solution counts. Compare two complete Latin-square operation tables up to three independent permutations of rows, columns and symbols; solve alpha(x)*beta(y)=gamma(x·y). Existing tool fills blanks in one labeled Latin square and explicitly does not quotient by relabelings; group homomorphism requires associativity and one common map.

Allow three independent relabelings

An isotopy consists of a row permutation α, a column permutation β and a product permutation γ. The equation γ(A(i,j))=B(α(i),β(j)) must hold at every cell. An isomorphism is the more restrictive case using the same permutation in all three positions, so an isomorphism test can miss an existing isotopy.

Independent relabelings can alter visible features such as a distinguished identity. They preserve the Latin structure but need not preserve associativity in the way a single operation isomorphism does. This page asks whether such a triple exists, and if successful returns concrete permutations rather than declaring the tables equivalent from a superficial row comparison.

Derive most of the witness

Choose a candidate row permutation α and the image β(0). Since the first column of A is a permutation, the equations at j=0 determine γ on every product label. The equations at i=0 then determine every β(j) uniquely, because the selected row of B is also a permutation.

Verify that the derived maps are bijections and test all n squared cells. This reduces enumeration to n! times n seed choices rather than independently searching three factorial-sized spaces. The derivation relies on the Latin property, which is why validating both tables first is essential. A verified candidate proves existence; exhausting all seeds proves nonexistence in this bounded model.

Check a three-element isotopy

For A(i,j)=i+j modulo three, take B(i,j)=i+2j modulo three. Use α(i)=i, β(j)=2j modulo three and γ(k)=k. Then B(α(i),β(j))=i+4j=i+j modulo three, agreeing with γ(A(i,j)) at every cell.

The default tables therefore have an explicit positive witness, with column images 0,2,1. Checking a few cells illustrates the map, but the certificate must satisfy all nine equations. For example, A(1,2)=0 and B(1,1)=0. The same argument applies uniformly to the remaining entries and explains why the witness works.

Read maps by their roles

The figure shows the three label spaces and the equation connecting them. Row images and column images act on table arguments, whereas product images act on table entries. Confusing γ with a row permutation can produce a plausible-looking rearrangement that fails the cell equations. The displayed one-line arrays list images, not inverse images.

To audit a witness, choose an original cell (i,j), compute its product in A, apply γ, and compare with the cell of B at row α(i), column β(j). Repeat across the full table. A successful comparison should retain all three arrays because a row-and-column rearrangement alone does not specify how product labels were changed.

Keep transpose and paratopy separate

The equation fixes which coordinate is the row argument, which is the column argument and which is the product. It does not allow swapping these roles. Transposition or a more general parastrophe can relate quasigroups under broader notions even when the direct isotopy tested here does not exist.

The calculator reports existence and one witness, not all isotopies or a catalog of isotopy classes. Different triples may work for the same pair, especially for symmetric tables. A different valid witness is not a disagreement. Only a failure of the full equation, or a proven difference in existence, would indicate incompatible results under the same convention.

Use isotopy as a finite structural test

Isotopy is useful when row, column and symbol labels have independent meanings, as in comparing Latin squares after separate relabelings. It is stronger evidence than matching counts of visible patterns, since the full cell structure is checked. Yet it answers a narrower question than classifying every operation obtainable through coordinate-role changes.

Save the original tables and the witness triple together. Reordering just one table after obtaining a witness changes its interpretation and requires updating the maps. For order above six, factorial growth makes this bounded algorithm unsuitable; a larger table is outside the stated resource contract rather than evidence that the two structures are unrelated.

A few questions, answered

Must the tables be groups?

No. They need only satisfy the Latin row and column conditions.

How is isotopy different from isomorphism?

Isotopy permits separate permutations of the two arguments and the product.

Are table transposes included automatically?

No. Argument-role swaps belong to a broader comparison and are not silently included.

Will the witness be unique?

Not necessarily. Any triple satisfying every cell equation is a valid certificate.

Find your calculator

Start typing to explore the library.