SemiBase
← [5, 1156][5, 1158] →

[5, 1157] finitely based

order 5commutativeself-dualtransfer

[5, 1157] is a commutative semigroup with 1 idempotent. It is finitely based: 3 identities in 2 variables define its variety, which 11 other semigroups of order at most six also generate.

Cayley table

·12345
112333
223111
331222
431222
531222

The product of the row element and the column element, numbered as in Smallsemi. Blue: idempotents on the diagonal.

Structure

Smallsemi
SmallSemigroup(5, 1157)
Idempotents
1
Zero
none
Identity
none
Nilpotent
no
Commutative
yes
Regular
no
Group
no
𝒥-classes
3
Rank
2, generated by {4, 5}
Self-dual
yes: anti-isomorphic to itself

Identity basis

Fewest variables: 3 identities in 2 variables

  1. xy ≈ yx
  2. x³ ≈ y³
  3. x⁴y ≈ xy

No basis uses fewer variables: [2, 3] satisfies every identity of V[4, 97] in 1 variable, because its subsemigroups generated by 1 element lie in V[4, 97], but it is not in V[4, 97]. Found by a search among the identities of the variety in 2 variables: they hold in its generator, and Vampire derives from them a certified basis, so they are a basis. This rests on Vampire's proofs, not on Lean.

Fewest identities: 2 identities in 3 variables

  1. xy ≈ yx
  2. x³yz ≈ yz

Certified in Lean: the Lean theorems of 2 semigroups prove that these identities are a basis.

Basis certified in Lean

The Lean theorem below certifies the basis with the fewest identities above.

Lean proof

Theorem: SemigroupBasis.Generated.CyclicTwoThreeTransfers.S5_1157.representative_basis

BasisFor SemigroupBasis.Generated.Catalogue.S5_1157.table.semigroup SemigroupBasis.Generated.CyclicTwoThreeTransfers.S5_1157.targetBasis
Table
The theorem is about the semigroup with exactly this table, with the elements numbered from 0 in Lean.
Method
transfer. A semigroup S with a certified basis lies in the variety of this one, as a subsemigroup, a quotient, or in a direct power of this one, and this semigroup satisfies the basis of S. Then every identity of this semigroup holds in S and follows from the basis, so the basis of S is a basis here too.
Size
Checking this class alone compiles 26 Lean files with 18,281 lines: the endpoint theorem and everything it imports, the shared library included. All of it is shared with the proofs of other classes.
Where
In the public repository, which builds it as part of the proofs of order six.
Transpose
SemigroupBasis.Generated.CyclicTwoThreeTransfers.S5_1157.representative_basis.oppositeReversed: the basis read backwards is a basis of the opposite semigroup, with the transposed table.
Audit
The campaign's audit of the orders one to five checked the statement of each of the 1,309 theorems, in both orientations, with the Lean kernel; for order five, a second replay by the bases-min tools read the bases back from Lean.

Variety

[5, 1157] generates the variety V[4, 97]; 12 semigroups of order at most six generate it, and 19 semigroups of order at most six lie in it. The class is self-dual, so its transpose generates the same variety. [5, 1157] lies in 39 of the 681 varieties, those whose basis it satisfies.

Directly above
Directly below

V[4, 97] in the inclusion graph, with the varieties above and below it.

Generating the same variety