FINITE INTEGRAL RELATION ALGEBRAS

Similar documents
TECHNICAL REPORTS from the ELECTRONICS GROUP at the UNIVERSITY of OTAGO. Table of Multiple Feedback Shift Registers

The reverse order law (ab) # = b (a abb ) a in rings with involution

IMA Preprint Series # 2035

FOUNDATIONS OF ALGEBRAIC GEOMETRY CLASS 31

CDI15 6. Haar wavelets (1D) 1027, 1104, , 416, 428 SXD

Fourth Grade. Multiplication Review. Slide 1 / 146 Slide 2 / 146. Slide 3 / 146. Slide 4 / 146. Slide 5 / 146. Slide 6 / 146

Fourth Grade. Slide 1 / 146. Slide 2 / 146. Slide 3 / 146. Multiplication and Division Relationship. Table of Contents. Multiplication Review

Reverse order law for the Moore-Penrose inverse in C*-algebras

Some new distance-4 constant weight codes

Name Date Period. MATERIALS: Light bulb Battery Wires (2) Light socket Switch Penny

Some new distance-4 constant weight codes

Busy Ant Maths and the Scottish Curriculum for Excellence Foundation Level - Primary 1

Cost-Efficiency by Arash Method in DEA

ARKANSAS DEPARTMENT OF EDUCATION MATHEMATICS ADOPTION. Common Core State Standards Correlation. and

Lecture 2. Review of Linear Regression I Statistics Statistical Methods II. Presented January 9, 2018

Monadic Design for Universal Systems

Locomotive Allocation for Toll NZ

Fractional Factorial Designs with Admissible Sets of Clear Two-Factor Interactions

Introduction. Kinematics and Dynamics of Machines. Involute profile. 7. Gears

MAGNETIC EFFECTS ON AND DUE TO CURRENT-CARRYING WIRES

LECTURE 3: Relational Algebra THESE SLIDES ARE BASED ON YOUR TEXT BOOK

On Smarandache's Periodic Sequences

RDS. For Windows TORSION SPRING CALCULATOR For ROLLING DOORS Version 4 REFERENCE MANUAL

Correlation S T A N D A R D S F O R M A T H E M A T I C A L C O N T E N T. Know number names and the count sequence.

Small partial latin squares that cannot be embedded in a Cayley table

PHY222 Lab 4 Ohm s Law and Electric Circuits Ohm s Law; Series Resistors; Circuits Inside Three- and Four-Terminal Black Boxes

Data envelopment analysis with missing values: an approach using neural network

AN RPM to TACH Counts Conversion. 1 Preface. 2 Audience. 3 Overview. 4 References

Tutorial: Shafts calculation with angular contact ball bearing sets

Dynamics of Machines. Prof. Amitabha Ghosh. Department of Mechanical Engineering. Indian Institute of Technology, Kanpur. Module No.

Learning Objectives:

Correlation to the New York Common Core Learning Standards for Mathematics, Grade K

Correlation to the. Common Core State Standards. Go Math! 2011 Grade K

Correlation to the New York Common Core Learning Standards for Mathematics, Grade 1

Adaptive Routing and Recharging Policies for Electric Vehicles

INVESTIGATION ONE: WHAT DOES A VOLTMETER DO? How Are Values of Circuit Variables Measured?

Capacity-Achieving Accumulate-Repeat-Accumulate Codes for the BEC with Bounded Complexity

The purpose of this lab is to explore the timing and termination of a phase for the cross street approach of an isolated intersection.

Technical Note. Management of Sealed Lead Acid Batteries in Reliable Small DC Standby Power Supply Systems

Topic 5 Lecture 3 Estimating Policy Effects via the Simple Linear. Regression Model (SLRM) and the Ordinary Least Squares (OLS) Method

VHDL (and verilog) allow complex hardware to be described in either single-segment style to two-segment style

Correlation to the Common Core State Standards

Chapter 7: DC Motors and Transmissions. 7.1: Basic Definitions and Concepts

Laboratory Exercise 12 THERMAL EFFICIENCY

INSTRUCTIONS FOR TRI-METRIC BATTERY MONITOR May 8, 1996

Name Period. (c) Now replace the round bulb(s) with long bulb(s). How does the brightness change?

Chapter 28. Direct Current Circuits

Your interest is appreciated and hope the next 37 pages offers great profit potential for your new business. Copyright 2017 Frank Seghezzi

An improved algorithm for PMU assisted islanding in smart grid

Charles Flynn s Permanent Magnet Motor.

V 2.0. Version 9 PC. Setup Guide. Revised:

Chapter 9 Real World Driving

1. (a) Discuss various types of Kinematic links with examples. (b) Explain different types of constrained motions with examples.

Modeling and Simulation of A Bldc Motor By Using Matlab/Simulation Tool

CHAPTER 19 DC Circuits Units

ELECTRIC CURRENT. Name(s)

Missouri Learning Standards Grade-Level Expectations - Mathematics

Graphically Characterizing the Equilibrium of the Neoclassical Model

On the Applicability of Convex Relaxations for Matching Symmetric Shapes

NOTES ON MULTI FUZZY RW-OPEN MAPS, MULTI FUZZY RW-CLOSED MAPS AND MULTI FUZZY RW- HOMEOMORPHISMS IN MULTI FUZZY TOPOLOGICAL SPACE

ImprovingtheFlowRateofSonicPumpbyMeansofParabolicDeflector

Scientific Notation. Slide 1 / 106. Slide 2 / 106. Slide 3 / th Grade. Table of Contents. New Jersey Center for Teaching and Learning

Lab Electrical Power Engineering I

correlated to the Virginia Standards of Learning, Grade 6

ESTIMATING THE LIVES SAVED BY SAFETY BELTS AND AIR BAGS

DC Food Truck Secondary Trading Platform

Advisory Opinion. Tokyo, Japan YAZAKI ENERGY SYSTEM CORPORATION

2005 Technological Studies. Standard Grade Credit. Finalised Marking Instructions

UNIT 2. INTRODUCTION TO DC GENERATOR (Part 1) OBJECTIVES. General Objective

Series and Parallel Networks

Electric Motors and Drives

memorandum Sasaki Associates, Inc. Coastal Carolina University Master Plan

Capacity-Achieving Accumulate-Repeat-Accumulate Codes for the BEC with Bounded Complexity

Chapter 2 & 3: Interdependence and the Gains from Trade

Unit 1 Chapter 3 Factors and Products

Busy Ant Maths and the Scottish Curriculum for Excellence Year 6: Primary 7

Sapling Converter Box

Principles of Electrical Engineering

ENGR 40M Problem Set 1

Unraveling the secret of Benjamin Franklin: Constructing Franklin squares of higher order

ELECTRICITY: INDUCTORS QUESTIONS

International Journal of Mathematical Archive-7(4), 2016, Available online through ISSN

Linking the Indiana ISTEP+ Assessments to the NWEA MAP Growth Tests. February 2017 Updated November 2017

Digital Command & Control (DCC) has progressed a great deal over recent years and can now provide a myriad of actions which can be made to precisely r

Class X Chapter 09 Electrical Power and Household circuits Physics

At the end of this lesson, the students should be able to understand:

Primer. Stepper Motors

Statistics and Quantitative Analysis U4320. Segment 8 Prof. Sharyn O Halloran

M2010 Time Line and Test Issues EBB, October 10, 2007

Propeller Power Curve

Familiarize yourself with the pressure loss phenomenon. The Discussion of this exercise covers the following point:

Objective: Estimate and measure liquid volume in liters and milliliters using the vertical number line.

PRODUCT INTRODUCTION AND LOGISTICS

Level 3 Physics: Demonstrate understanding of electrical systems Batteries and Kirchoff s Laws - Answers

A Viewpoint on the Decoding of the Quadratic Residue Code of Length 89

Benchmarking Inefficient Decision Making Units in DEA

PHYS 1444 Section 004. Lecture #19. DC Generator Transformer. Generalized Faraday s Law Mutual Inductance Self Inductance. Wednesday, Apr.

In order to discuss powerplants in any depth, it is essential to understand the concepts of POWER and TORQUE.

Algebra 2 Plus, Unit 10: Making Conclusions from Data Objectives: S- CP.A.1,2,3,4,5,B.6,7,8,9; S- MD.B.6,7

Represent and solve problems involving addition and subtraction. Work with equal groups of objects to gain foundations for multiplication.

Transcription:

FINITE INTEGRAL RELATION ALGEBRAS ROGER D. MADDUX 1. Nonexistence Please note that this paper does not exist. It consists entirely of excerpts from the forthcoming book Relation Algebras, Studies in Logic, Vol. 150, Elsevier, scheduled for publication in July 2006. Consequently any reference to this (nonexistent) paper should instead be directed to the book. 2. Cycles in structures The method of forming complex algebras of finite ternary relations will produce all finite nonassociative relation algebras. We use this method to construct many interesting algebras. Every atomic NA determines an involution on atoms, which in turn determines both the cycles of the algebra and also the missing, or forbidden cycles. So we begin by studying the cycles of an arbitrary involution. Suppose is an involution on U, that is, : U U and ŭ = u for all u U. For any x, y, z U let [x, y, z] = { x, y, z, x, z, y, y, z, x, y, x, z, z, x, y, z, y, x }. The set [x, y, z] is called a -cycle, or simply a cycle in case the involution may be deduced from the context. Notice that [x, y, z] is the closure of { x, y, z } under these two involutions on U 3 : f 1 := x, z, y : x, y, z U 3, f 2 := z, y, x : x, y, z U 3. Furthermore, every triple in [x, y, z] generates [x, y, z] using f 1 and f 2 : a, b, c [x, y, z] [a, b, c] = [x, y, z]. It follows that, for all a, b, c, x, y, z U, the cycles [a, b, c] and [x, y, z] are either identical or disjoint. A cycle can be classified according to various criteria, such as the cardinality of {x, y, z}, whether x is symmetric (x = x) or asymmetric (x x = 0), etc. We regard two cycles as having the same type if there is a permutation of U that preserves and carries one cycle into the other. In more detail, if p 1 p = p p 1 = U 1 and p = p, then [x, y, z] (p ) is the same type of cycle as [x, y, z]. It turns out that there are 13 types of cycles. These types are illustrated below under these assumptions: a, b, c, q, q, r, r, s, s U, {a, b, c, q, q, r, r, s, s} = 9. Date: 10 February 2006. 1991 Mathematics Subject Classification. Primary: 03G15. 1

2 ROGER D. MADDUX The notation used in these assumptions determines the action of on the atoms a, b, c, q, q, r, r, s, and s. Note that every type of cycle has cardinality 1, 2, 3, or 6. (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11) (12) (13) [a, a, a] = { a, a, a }, [r, r, r] = { r, r, r, r, r, r }, [a, b, b] = { b, a, b, b, b, a, a, b, b }, [r, a, r] = { r, a, r, r, r, a, a, r, r }, [a, b, c] = { a, b, c, a, c, b, b, c, a, b, a, c, c, a, b, c, b, a }, [r, a, a] = { r, a, a, r, a, a, a, a, r, a, r, a, a, r, a, a, a, r }, [r, a, b] = { r, a, b, r, b, a, a, b, r, a, r, b, b, r, a, b, a, r }, [r, r, a] = { r, r, a, r, a, r, r, a, r, r, r, a, a, r, r, a, r, r }, [r, s, a] = { r, s, a, r, a, s, s, a, r, s, r, a, a, r, s, a, s, r }, [r, r, r] = { r, r, r, r, r, r, r, r, r, r, r, r, r, r, r, r, r, r }, [r, r, s] = { r, r, s, r, s, r, r, s, r, r, r, s, s, r, r, s, r, r }, [r, s, r] = { r, s, r, r, r, s, s, r, r, s, r, r, r, r, s, r, s, r }, [r, s, q] = { r, s, q, r, q, s, s, q, r, s, r, q, q, r, s, q, s, r }. We use some special terminology when dealing with cycles whose atoms are all symmetric. Cycles of type (1) are called 1-cycle, cycles of type (3) are called 2-cycle, and cycles of type (5) are called 3-cycle. Although the involution determines the cycles it does not, by itself, determine the identity element. To see this, suppose that arises from a ternary relation T on U whose complex algebra is in NA. This means that (i) T is a ternary relation on U, i.e., T U 3, (ii) the field of T is U, (iii) T is consistent with, (iv) Cm (T ) NA. Let I be I is the identity element of the complex algebra Cm (T ). What we can say on the basis of these assumptions about the individual elements of I is that (i) if i I then ĭ = i, (ii) [i, i, i] T and [i, i, i] is a cycle of type (1), (iii) for every u U, if ŭ = u then [i, u, u] is a cycle of type (3) and either [i, u, u] T or [i, u, u] T =, (iv) for every u U, if ŭ u then [u, i, u] is a cycle of type (4) and either [u, i, u] T or [i, u, u] T =. For any given u U, there are i, e I such that T iuu and T eŭŭ, hence [i, u, u] [e, ŭ, ŭ] T. If ŭ = u, then i = e and [i, u, u] is a cycle of type (3). Suppose, on the other hand, that ŭ u. Then it is possible but not necessary that i e. Because [i, u, u] = [ŭ, i, ŭ] and [e, ŭ, ŭ] = [u, e, u], we see that [i, u, u] and [i, ŭ, ŭ] are cycles of type (3). We now survey the simplest case, in which I contains a single element. In this case the identity element of Cm (T ) is an atom. In spite of the notational clash thereby created, we will let 1, be the sole element of I, so we know that T 1, uu for every u U. The clash is illustrated by the fact that we may now correctly write 1, = 1, Cm(T ) = {1, }.

FINITE INTEGRAL RELATION ALGEBRAS 3 Over the years several mathematicians have attempted to enumerate small finite relation algebras in which 1, is an atom. This includes R. Lyndon [16, fn. 13], F. Backer [2], R. McKenzie [19], U. Wostner [21], B. McEvoy, S. Comer [3, 13], P. Jipsen, E. Lukács, R. Kramer, myself, and quite probably several others. The numbers are shown in Table 1. Lyndon found the numbers of relation algebras with at most three atoms. Comer first computed the numbers of integral relation algebras with exactly four atoms. The numbers of integral relation algebras with five atoms were first computed using programs written in Pascal and run on a VAX 11/780 and a Zenith Z-100 in the 1980s. The numbers of integral relation algebras with six atoms were computed using a very efficient program written in Pascal by P. Jipsen and E. Lukács. To explain the meanings of the entries, let us consider the line in Table 1 beginning with 37. This entry tells us that there are 37 isomorphism types of relation algebras in which the atoms are 1,, a, r, r. Note that when we construct the complex algebra from T, the atoms are actually {1, }, {a}, {r}, { r}. For convenience we will ignore this distinction. In the first column are listed the symmetric atoms. These can be deduced by our notational convention, and are just 1, and a. The asymmetric atoms are listed in the second column; they are r and r. The number i in the fourth column is the number of identity cycles. The identity cycles for every one of the 37 algebras are [1,, 1,, 1, ], [i, a, a], [r, i, r], and [i, r, r]. For relation algebras in which 1, is an atom, the number of identity cycles is always equal to the number of atoms. The sixth column tells us the total number c of cycles available, according to the structure of. For the case at hand, in which every algebra has atoms 1,, a, r, r, the available cycles are the four identity cycles listed above, plus these seven diversity cycles: [a, a, a], [r, r, r], [r, r, r], [a, r, r], [r, a, r], [r, a, a], and [r, r, a]. The number of diversity cycles, called d in the table, is given in the fifth column. Thus we have i + d = c. Each individual relation algebra among the 37 isomorphism types is determined by a selection from the list of diversity cycles. To guarantee that the identity law R 6 holds in Cm (T ), it is necessary and sufficient to include in T the four identity cycles listed above. If T is the union of these required identity cycles plus some of the seven available diversity cycles, then Cm (T ) NA. Hence the maximum number of isomorphism types of nonassociative relation algebras having atoms 1,, a, r, r is 2 7. Of course, many of these 128 algebras are isomorphic. The potential isomorphisms must preserve and must map 1, to itself. The number aut of such maps in Table 1 and is given in the seventh column. For nonassociative relation algebras with atoms 1,, a, r, r there are only two such maps, the identity map and the one which interchanges r and r. Each NA formed by selecting some diversity cycles therefore has the potential to have at most one other copy of itself among the 128 nonassociative relation algebras. Hence the number of nonassociative relation algebras with atoms 1,, a, r, r is at most 128 and at least 64. From Table 1 we see that there are 4527 relation algebras in which 1, is an atom and the total number of atoms is five or less. In Table 2 we have listed the identity and diversity cycles from which each of these 4527 algebras can be created. To save space, commas have been omitted from the notation for the cycles. Note that no algebra with five or fewer atoms can contain three pairs of asymmetric atoms, so none of these 4527 algebras contains a cycle of type (13). Similarly, none of these 4527 algebras contains a cycle of type (9) since that type of cycle only occurs in

4 ROGER D. MADDUX no. in RA symm. asymm. i d c aut 1 1, 1 0 1 1 2 1,, a 2 1 3 1 3 1, r, r 3 2 5 2 7 1,, a, b 3 4 7 2 37 1,, a r, r 4 7 11 2 65 1,, a, b, c 4 10 14 6 83 1, r, r, s, s 5 12 17 8 1, 316 1,, a, b r, r 5 16 21 4 3, 013 1,, a, b, c, d 5 20 25 24 47, 865 1,, a r, r, s, s 6 25 31 8 988, 464 1,, a, b, c r, r 6 30 36 12 3, 849, 920 1,, a, b, c, d, e 6 35 41 120? 1, r, r, s, s, q, q 7 38 45 48? 1,, a, b r, r, s, s 7 44 51 16? 1,, a, b, c, d r, r 7 50 57 48? 1,, a, b, c, d, e, f 7 56 63 720 Table 1. Numbers of types of algebras algebras with at least six atoms. There are, altogether, 51 cycles needed for these 4527 algebras. They are shown in Table 2, grouped according to their type. These same cycles appear again in Table 3, this time grouped according to the lists of atoms in Table 1. For example, the two lines in Table 3 beginning with the line in which 1,, a, r, r appears contain the cycles needed for the creation of 37 relation algebras that have atoms 1,, a, r, and r. The first of these two lines contains the four identity cycles that must be included for each of these algebras, while the next line contain the seven optional diversity cycles. For each choice of atoms, the required identity cycles appear in the first line, while the remaining lines contain the diversity cycles. 3. Classification of simple finite algebras Assume A RA and A is finite. Then A is a perfect extension of itself and A = A +. Let 3 n < ω. Let B n A be the set of those n-by-n matrices of atoms of A which satisfy the following conditions for all i, j, k < n: (14) (15) (16) a ii 1,, ă ij = a ji, a ik a ij ;a jk. It is known that A RA n iff A has an n-dimensional relational basis. Since B n A is a finite set and an n-dimensional relational basis for A is a special sort of subset of B n A satisfying conditions that can be mechanically checked, it follows that there is an algorithm for determining whether a finite RA is in RA n : just inspect each subset of B n A to see whether it is an n-dimensional relational basis for A. It follows that a finite RA is in RRA iff it has an n-dimensional relational basis for every finite n 3. This need to perform infinitely many checks suggests that there may be no

FINITE INTEGRAL RELATION ALGEBRAS 5 type size no. names (1) 1 1 [1, 1, 1, ] (3) 3 4 [1, aa] [1, bb] [1, cc] [1, dd] (4) 3 4 [r1, r] [1, rr] [s1, s] [1, ss] (1) 1 4 [aaa] [bbb] [ccc] [ddd] (10) 6 2 [rrr] [sss] (2) 2 2 [rr r] [ss s] (3) 3 12 [abb] [baa] [acc] [caa] [add] [daa] [bcc] [cbb] [bdd] [dbb] [cdd] [dcc] (4) 6 4 [arr] [rar] [brr] [rbr] (6) 6 2 [raa] [rbb] (8) 6 2 [rra] [rrb] (11) 6 4 [rrs] [rr s] [ssr] [ss r] (12) 6 4 [srr] [rsr] [rss] [srs] (5) 6 4 [abc] [abd] [acd] [bcd] (7) 6 2 [abr] [bar] Table 2. Cycles needed for 4527 algebras, by type no. in RA atoms cycles 1 1, [1, 1, 1, ] 2 1,, a [1, 1, 1, ] [1, aa] [aaa] 3 1,, r, r [1, 1, 1, ] [r1, r] [1, rr] [rrr] [rr r] 7 1,, a, b [1, 1, 1, ] [1, aa] [1, bb] [aaa] [bbb] [abb] [baa] 37 1,, a, r, r [1, 1, 1, ] [1, aa] [r1, r] [1, rr] [aaa] [rrr] [rr r] [arr] [rar] [raa] [rra] 65 1,, a, b, c [1, 1, 1, ] [1, aa] [1, bb] [1, cc] [aaa] [bbb] [ccc] [abb] [baa] [acc] [caa] [bcc] [cbb] [abc] 83 1,, r, r, s, s [1, 1, 1, ] [r1, r] [1, rr] [s1, s] [1, ss] [rrr] [sss] [rr r] [ss s] [rrs] [rr s] [ssr] [ss r] [srr] [rsr] [rss] [srs] 1, 316 1,, a, b, r, r [1, 1, 1, ] [1, aa] [1, bb] [r1, r] [1, rr] [aaa] [bbb] [rrr] [rr r] [abb] [baa] [arr] [rar] [brr] [rbr] [raa] [rbb] [rra] [rrb] [abr] [bar] 3, 013 1,, a, b, c, d [1, 1, 1, ] [1, aa] [1, bb] [1, cc] [1, dd] [aaa] [bbb] [ccc] [ddd] [abb] [baa] [acc] [caa] [add] [daa] [bcc] [cbb] [bdd] [dbb] [cdd] [dcc] [abc] [abd] [acd] [bcd] Table 3. Cycles needed for 4527 algebras, by atoms

6 ROGER D. MADDUX algorithm for determing whether a finite RA is in RRA, and indeed there is not, as was proved by Hirsch-Hodkinson [14]. On the other hand, if A RA RRA, then this fact can be detected, either by eventually finding that A has no relational basis of a some finite dimension, or else by checking each of the equations E n r (1 n, ) with n, r < ω until some equation is found that fails in A (or similarly using any other recursive equational basis for RRA). These tests have been carried out on 4527 integral relation algebras, using (J), (L), and (M), where (with the convention that (x ij ) = x ji ) (J) (L) (M) x 01 x 02 ;x 21 x 03 ;x 31 x 20 ;x 03 x 21 ;x 13 x 24 ;x 43 x 01 (x 02 ;x 24 x 03 ;x 34 );(x 42 ;x 21 x 43 ;x 31 ), x 02 ;x 21 x 03 ;x 31 x 04 ;x 41 x 02 ; ( x 20 ;x 03 x 21 ;x 13 (x 20 ;x 04 x 21 ;x 14 );(x 40 ;x 03 x 41 ;x 13 ) ) ;x 31, x 01 (x 02 x 03 ;x 32 );(x 21 x 24 ;x 41 ) x 03 ; ( (x 30 ;x 01 x 32 ;x 21 );x 14 x 32 ;x 24 x 30 ;(x 01 ;x 14 x 02 ;x 24 ) ) ;x 41. and checking for the presence of a 5-dimensional relational basis. (J), (L), and (M) hold in every RA 5. Therefore, if (J), (L), or (M) fails in a finite A RA then A RA 4 RA 5. If (J), (L), and (M) all hold in A, then A may still fall into RA 4 RA 5 by failing to have a 5-dimensional relational basis. Every 5-dimensional relational basis has to be included in B n A Forb n (A), and this set is a 5-dimensional relational basis for a simple RA iff it is not empty. We therefore say that B n A Forb n (A) is the maximum n-dimensional relational basis for A. Note that B n A Forb n (A) is empty iff A RA RA 5. Another possibility is that B 5 A is a 5-dimensional relational basis. If not, and some 5-dimensional relational basis exists, then we say the algebra has a proper 5-dimensional relational basis. Table 4 has the numbers of algebras that fall into ten mutually exclusive categories. The categories and the labels for them are as follows: - JLM is the number of RAs in which (J), (L), and (M) all fail. - JL is the number of RAs in which (J) and (L) fail but (M) holds. - JM is the number of RAs in which (J) and (M) fail but (L) holds. - LM is the number of RAs in which (L) and (M) fail but (J) holds. - J is the number of RAs in which (J) fails but (L) and (M) hold. - L is the number of RAs in which (L) fails but (J) and (M) hold. - M is the number of RAs in which (M) fails but (J) and (L) hold. - N5 is the number of RAs that have no 5-dimensional relational basis, and in which (J), (L), and (M) hold. - P5 is the number of RAs that have a proper 5-dimensional relational basis, - B5 is the number of RAs A in which B 5 A is a 5-dimensional relational basis. The entries in Table 4 may be correlated with those in Table 1. From Table 1 we know there are 37 relation algebras with atoms 1,, a, r, and r. In Table 4 the line with 37 in the first column tells us that, among these 37 algebras, some combination of (J), (L), and (M) fails in nine of them. These nine algebras are therefore not in RA 5 (and not representable). There is one more in which (J), (L), and (M) hold, and yet this algebra is not in RA 5, because it has no 5-dimensional relational basis. There are two more algebras among these 37 in which B 5 A is not a 5-dimensional relational basis. Each of them does have a proper 5-dimensional relational basis. Finally, in the remaining 25 algebras, B 5 A is a 5-dimensional

FINITE INTEGRAL RELATION ALGEBRAS 7 total JLM JL JM LM J L M N5 P5 B5 1 0 0 0 0 0 0 0 0 0 1 2 0 0 0 0 0 0 0 0 0 2 3 0 0 0 0 0 0 0 0 0 3 7 0 0 0 0 0 0 0 0 1 6 37 5 0 2 0 0 0 2 1 2 25 65 5 2 3 0 0 0 6 3 8 38 1316 369 76 127 16 37 0 132 75 60 424 3013 741 168 495 1 132 2 454 224 188 608 Table 4. Classification of 4527 algebras relational basis. Among these 37 algebras, 27 are in RA 5 and the other 10 are not in RA 5 (and not representable). S. D. Comer has accumulated representations for many finite relation algebras with up to four atoms; see Comer [6, 4, 5, 7, 8, 9, 10, 11, 12]. Comer found representations for all but five of the 102 algebras 1 37,..., 37 37, 1 65,..., 65 65. One of these five algebras was 28 37, in which (J), (L), and (M) hold and yet there is no 5-dimensional relational basis. Two others turned out to be in RA 5 RA 6, namely 32 37 and 60 65. 4. Finite integral relation algebras with 0, 1, 2, or 3 atoms An isomorphism type is a class of algebras of the form I{A} for some algebra A. There are exactly 18 isomorphism types of finite relation algebras with no more than three atoms. Thirteen of these types contain only integral algebras. These 13 types account for the first four lines of Table 4. In our survey of these isomorphism types we continue to follow conventional mathematical practice and refer to algebras instead of isomorphism types of algebras. We therefore say, for example, that there are exactly 18 finite relation algebras with no more than three atoms. This leads us to write = in places where it would be more precise to write =. The 13 finite integral relation algebras with 1, 2, or 3 atoms fall into four sets of size 1, 2, 3, and 7. These algebras have been arranged and numbered so that these four sets of algebras are {1 1 }, {1 2, 2 2 }, {1 3, 2 3, 3 3 }, and {1 7, 2 7, 3 7, 4 7, 5 7, 6 7, 7 7 }. For example, 5 7 is the fifth algebra in the list of seven relation algebras whose atoms are 1,, a, b. As was first observed by Jónsson-Tarski [15, 4.18(ii)], integral relation algebras are simple, so these 13 algebras are also simple. The other 5 algebras with no more than three atoms are not integral and also not simple. The smallest non-integral simple relation algebra is the 4-atom square relation algebra Re (2). Lyndon [17, p. 307, fn. 13] initiated the enumeration of finite relation algebras, and reported that every one of the 13 integral relation algebras with no more than three atoms is commutative and isomorphic to a subalgebra of the complex algebra of either a cyclic group of order not exceeding 13 or the group of rational numbers under addition. (See also McKenzie [20, p. 286, 5, P1].) Explicit representations for some small simple relation algebras are given in R. McKenzie s dissertation [19, pp. 38 40], and in F. Backer s seminar report [2, pp. 11 20]. A simple 8-element relation algebra was missed in the latter survey, and an 8-element direct product of two simple relation algebras was omitted from the former. Backer [2] contains

8 ROGER D. MADDUX 1 1 1, 1, 1, 1 1 1, 1, 1, Table 5. Cycle and table for the algebra 1 1 = M 1 = N 11 a representation on infinitely many elements for the relation algebra 7 7, but a representation of 7 7 on 9 elements was found by Ulf Wostner around 1976. The spectrum of a relation algebra A RA is the set of cardinalities of sets on which there is a simple representation of A: spec(a) = {k : A = Re (U), U = k}. For example, the spectrum of the trivial (1-element) algebra Re (0) is {0}, the spectrum of Re (n) is {n} for every n ω, the spectrum of any nonrepresentable relation algebra is, and the spectrum of a nontrivial direct product of finite relation algebras is also. The spectra of the algebras 1 1, 1 2, 2 2, 1 3, 2 3, 3 3, 1 7, 2 7, 3 7, 4 7, 5 7, 6 7, and 7 7 were determined in Andréka-Maddux [1]. We say ρ is a square representation of A RA on U V if ρ is an embedding of A into Re (U). We say that a square representation ρ of A on U is unique if there is no other square representation of A on a set of cardinality U, that is, if σ is a square representation of A on V V and U = V, then there is a bijection f : U V such that σ(x) = f 1 ρ(x) f for every x A. We say that a square representation ρ of A on U is minimal if there is no square representation of A on a smaller set, that is, if σ is a square representation of A on V V then U V. It is shown in Andréka-Maddux [1] that the minimal representation is unique for each of the 13 integral algebras 1 1, 1 2, 2 2, 1 3, 2 3, 3 3, 1 7, 2 7, 3 7, 4 7, 5 7, 6 7, 7 7. Each of the 18 relation algebras with three or fewer atoms is examined below. The first four algebras are the subalgebras of Re (0), Re (1), Re (2), and Re (3) generated by. After these first four algebras this sequence is constant. 4.1. The trivial algebra. The universe of Re (0) is { }, so Re (0) is the trivial algebra has exactly one element. Re (0) is generated by. In Re (0), we have 0 = 1, = 0, = 1. The spectrum of Re (0) is {0}. There is no multiplication table for the atoms of Re (0) because Re (0) has no atoms and no cycles. 4.2. The 1-atom algebra. There is exactly one relation algebra with one atom, called 1 1. There are exactly two elements in the algebra 1 1, and 0 = 0, < 1, = 1. The only atom of 1 1 is 1,, and 1 1 has a single cycle, namely [1,, 1,, 1, ]. This cycle and the multiplication table for the atom of 1 1 are shown in Table 5. The algebra 1 1 is generated by, is the complex algebra of the 1-element group, has a unique minimal square representation on a 1-element set. 1 1 = Sg (Re(1)) = Re (1) = Cm (Z 1 ), spec(1 1 ) = {1}. 4.3. The algebras 1 2 and 2 2. There are just two relation algebras with exactly two atoms, 1 1 and 1 2. Both of these algebras have four elements, namely 0, 1,, 0,, and 1. Their atoms are 1, and 0,. The algebra 1 2 has two cycles, [1,, 1,, 1, ] and [1,, 0,, 0, ], and one forbidden cycle, [0,, 0,, 0, ]. The cycles of 2 2 are [1,, 1,, 1, ], [1,, 0,, 0, ], and [0,, 0,, 0, ]. The cycles and multiplication tables for the atoms of 1 1 and 1 2 are shown in Table 6. The + signs are omitted in the multiplication

FINITE INTEGRAL RELATION ALGEBRAS 9 1 2 1, 1, 1, 1, 0, 0,, 1 2 1 0, 2 2 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0, 2 2 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, Table 6. Cycles and tables for 1 2 = M 2 and 2 2 = M 3 a a a a Figure 1. Square representations of 1 2 = M 2 and 2 2 = M 3 (1 1 ) 2 (1 e 0 e 0 e 0 e 1 e 1 e 1 1 )2 e 0 e 1 (1 2 ) 2 e e 0 e 0 e 0 e 1 e 1 e 1 e 2 e 2 e 0 e 0 0 2 e 1 0 e 1 (1 2 ) 3 e 0 e 1 e 2 e 0 e 0 0 0 e 1 0 e 1 0 e 2 0 0 e 2 Table 7. Cycles and tables for algebras (1 1 ) 2 and (1 2 ) 3 tables for atoms to save space. For example, from the table for 2 2 we find that 0, ;0, = 1, 0, = 1, + 0, = 1. The algebra 1 2 is the proper subalgebra of Re (2) generated by, is the complex algebra of the 2-element group Z 2, and has a square representation on a 2-element set that is minimal and unique. 1 2 = Sg (Re(2)) ( ) = Cm (Z 2 ), spec(1 2 ) = {2}. The square representation ρ of 1 2 on 2, determined by ρ (1, ) = { 0, 0, 1, 1 }, ρ (0, ) = { 0, 1, 1, 0 }, is shown in Figure 1, where 0 and 1 are represented by black spots. The identity relation is not explicitly shown (but could be illustrated by loops connecting each spot to itself), and the two ordered pairs 0, 1 and 1, 0 in ρ (0, ) are indicated jointly by a single line connecting the two spots. On the other hand, the algebra 2 2 has an infinite spectrum, spec(2 2 ) = {k : 3 k}, because, for every cardinal k 3, there is a unique square representation ρ that embeds 2 2 into Re (k), where ρ (1, ) = k 1 and ρ (0, ) = k 2 k 1. This representation is shown in Figure 1 for the case k = 3. This same map embeds 2 2 into Cm (Z k ). Whenever k 3, 2 2 is the proper subalgebra of Re (k) generated by. 2 2 = Sg (Re(k)) ( ) Re (k), 2 2 SCm (Z k ). 4.4. The algebras (1 1 ) 2 and (1 1 ) 3. These are the first two of four algebras that are direct products of some of those already examined. Note that A Re (0) = A so we do not consider products in which one of the factors is Re (0). All the atoms of (1 1 ) 2 are identity atoms, and there are exactly two of them, say e 0 and e 1. The cycles of (1 1 ) 2, which are [e 0, e 0, e 0 ] and [e 1, e 1, e 1 ], and the multiplication table for atoms of (1 1 ) 2 are shown in Table 7. (1 1 ) 2 is a Boolean relation algebra, and (1 1 ) 2 is isomorphic to the Boolean relation algebra obtained from any finite Boolean algebra with exactly two atoms. (1 1 ) 2 is isomorphic to

10 ROGER D. MADDUX 1 1 1 2 e 0 e 0 e 0 e 1 e 1 e 1 e 1 0, 0, 1 1 2 2 e 0 e 0 e 0 e 1 e 1 e 1 e 1 0, 0, 0, 0, 0, 1 1 1 2 e 0 e 1 0, e 0 e 0 0 0 e 1 0 e 1 0, 0, 0 0, e 1 1 1 2 2 e 0 e 1 0, e 0 e 0 0 0 e 1 0 e 1 0, 0, 0 0, e 1 0, Table 8. Cycles and tables for algebras 1 1 1 2 and 1 1 2 2 Sb (E) whenever E is an equivalence relation with exactly two equivalence classes, each of which contains exactly one element. The algebra (1 1 ) 3 has three atoms, and all of them are identity atoms, say e 0, e 1, and e 2. The cycles of 1 1 are [e 0, e 0, e 0 ], [e 1, e 1, e 1 ], and [e 2, e 2, e 2 ]. The cycles and the multiplication table for atoms is shown in Table 7. The algebra 1 1 is isomorphic to the Boolean relation algebra obtained from any finite Boolean algebra with exactly three atoms, and 1 1 is isomorphic to Sb (E) whenever E is an equivalence relation with exactly three equivalence classes, each of which contains exactly one element. The algebras 1 1, (1 1 ) 2, and (1 1 ) 3 are the first three in the infinite sequence of algebras (Re (1)) n with 1 n < ω, 1 1 = Re (1), (11 ) 2 = (Re (1)) 2, (1 1 ) 3 = (Re (1)) 3, For 1 n < ω, (Re (1)) n is a finite Boolean relation algebra with n atoms, which is isomorphic to Sb (E) iff E is an equivalence relation with exactly n equivalence classes containing one element each. 4.5. The algebras 1 1 1 2 and 1 1 2 2. Both of these algebras have three atoms. Two of them are identity atoms, say e 0 and e 1, and 0, is the sole diversity atom. The cycles of 1 1 1 2 are [e 0, e 0, e 0 ], [e 1, e 1, e 1 ], and [e 1, 0,, 0, ]. There is one forbidden diversity cycle, [0,, 0,, 0, ]. The cycles of 1 1 2 2 are [e 0, e 0, e 0 ], [e 1, e 1, e 1 ], [e 1, 0,, 0, ], and [0,, 0,, 0, ]. There are no forbidden cycles. The cycles and multiplication tables for the atoms of 1 1 1 2 and 1 1 2 2 are shown in Table 8. We obtain representations for these algebras by combining representations for their factors. Consider the equivalence relation E in Re (3) whose equivalence classes are {0} and {1, 2}, that is, E = { 0, 0, 1, 1, 2, 2, 1, 2, 2, 1 } 3 2. For a representation of 1 1 1 2 over E, set ρ (e 0 ) = { 0, 0 }, ρ (e 1 ) = { 1, 1, 2, 2 }, ρ (0, ) = { 1, 2, 2, 1 }. Consider the equivalence relation E in Re (k + 1) with 3 k where E = { 0, 0 } {1,..., k} 2 (k + 1) 2. For a representation ρ of 1 1 2 2 over E, set ρ (e 0 ) = { 0, 0 }, Finally, we note that and, for all k 3, ρ (e 1 ) = { 1, 1,..., k, k }, ρ (0, ) = {1, 2, 3} 2 {1,..., k} 1. 1 1 1 2 = Re (1) Sg (Re(2)) ( ) 1 1 2 2 = Re (1) Sg (Re(k)) ( ).

FINITE INTEGRAL RELATION ALGEBRAS 11 1 3 1, r r 1, 1, r r r r r 1, r r r r 1, r r r 1, 1, 1, r1, r 1, rr rrr rr r 1 3 1, 1, 1, r1, r 1, rr rrr 2 3 1, 1, 1, r1, r 1, rr rr r 3 3 1, 1, 1, r1, r 1, rr rrr rr r 2 3 1, r r 1, 1, r r r r r 1, r r 1, r 3 3 1, r r 1, 1, r r r r r r 1, r r r r 1, r r r r Table 10. Cycles and tables for algebras 1 3 3 3 4.6. The algebra 1 3. This is the first of three algebras, 1 3 3 3, that are integral and have the atoms 1,, r, and r. The only symmetric atom is 1,. The other two atoms, r and r, are converses of each other. The identity cycles of the algebras 1 3 3 3 are [1,, 1,, 1, ], [1,, r, r], and [r, 1,, r]. These algebras are distinguished by their choice of diversity cycles from these options: [r, r, r] and [r, r, r]. All three nonempty combinations of the diversity cycles produce representable relation algebras. The algebras and their cycles are shown in Table 10. Algebra 1 3 is a subalgebra of Re (Q), where Q is the set of rational numbers. In fact, 1 3 = Sg (Re(Q)) {<}, where < is the natural linear ordering of Q. Conversely, if ρ is a square representation of 1 3, then ρ (r) and ρ ( r) are dense linear orderings without endpoints. We therefore have spec(1 3 ) = {k : ω k} because there is a dense linear ordering without endpoints on every infinite set and on no finite set. Algebra 1 3 is the only one among the 18 relation algebras with no more than three atoms that has no square representation over a finite set. In general, if A is a finite integral relation algebra with an asymmetric atom r such that r;r = r, then r must be assigned by any representation of A to a dense linear ordering without endpoints. Examples of finite integral representable relation algebras that have no square representations on finite set for this reason are 1 37, 2 37, 7 37, 8 37, 13 37, and 15 37. A symmetric representable relation algebra which also has no representation on a finite set, but for a different reason, is 24 65. 4.7. The algebra 2 3. The algebra 2 3 is a subalgebra of Re (3). Let + n be addition modulo n, where 1 n < ω, i.e., for all i, j n, i + n j = { i + j if i + j < n i + j n if n i + j < 2n.

12 ROGER D. MADDUX r r r Figure 2. Unique square representation of 2 3 We may use this operation to describe groups and representations. For example, the cyclic group of order 3 is Z 3 = 3, + 3. If ρ (1, ) = { i, i + 3 0 : i 3} = { 0, 0, 1, 1, 2, 2 }, ρ (r) = { i, i + 3 1 : i 3} = { 0, 1, 1, 2, 2, 0 }, ρ ( r) = { i, i + 3 2 : i 3} = { 0, 2, 1, 0, 2, 1 }, then ρ extends to an embedding of 2 3 into Re (3) and Cm (Z 3 ). In fact, we have 2 3 = Sg (Re(3)) {ρ (r)} Re (3), and the multiplication table for the atoms of 2 3 is the same as the multiplication table for Z 3. Thus 2 3 is the complex algebra of the cyclic group of order 3 and has a small spectrum: 1 3 = Cm (Z3 ), spec(2 3 ) = {3}. The unique minimal square representation ρ of 2 3 is portrayed in Figure 2, in which the arrows represent the relation assigned to the atom r. 4.8. The algebra 3 3. We have 3 3 = Sg (Re(7)) {ρ (r)}, where ρ is the representation defined on the atoms by ρ (1, ) = { i, i : i 7}, ρ (r) = { i, i + 7 j : i 7, j {1, 2, 4}}, ρ ( r) = { i, i + 7 j : i 7, j {3, 5, 6}}. This representation is the unique minimal square representation of 3 3 on a 7-element set. It also embeds 3 3 into Cm (Z 7 ), so 3 3 SCm (Z 7 ). It is a peculiar combinatorial fact that 3 3 has an isolated gap in its spectrum. Indeed, spec(3 3 ) = {7} {k : 9 k}. For a proof, see Andréka-Maddux [1, Th. 4.2]. It would be interesting to know whether other finite relation algebras exhibit this character. 4.9. The algebras 1 7 7 7. The seven algebras 1 7 7 7 are integral and have three symmetric atoms. One of the atoms is 1,, and the other two are a and b. The identity cycles [1,, 1,, 1, ], [1,, a, a], and [1,, b, b] appear in all seven algebras. The diversity cycles are [a, a, b], [a, b, b], [b, b, b], and [a, a, a]. Every combination of diversity cycles produces a representable relation algebra. Up to isomorphism, there are just seven different choices. The cycles and tables for the algebras 1 7 7 7 are shown in Table 12. 4.10. The algebra 1 7. To obtain a representation of 1 7, let ρ (1, ) = { i, i : i 4}, ρ (a) = { i, i + 4 2 : i 4}, ρ (b) = { i, i + 4 j : i 4, j {1, 3}}. Then ρ extends to a unique minimal square representation of 1 7 on 4 = {0, 1, 2, 3} and 1 7 = Sg (Re(4)) {ρ (a)} = Sg (Re(4)) {ρ (b)}.

FINITE INTEGRAL RELATION ALGEBRAS 13 1 7 1, a b 1, 1, a b a a 1, b b b b 1, a 1, 1, 1, 1, aa 1, bb aaa bbb abb baa 1 7 1, 1, 1, 1, aa 1, bb abb 2 7 1, 1, 1, 1, aa 1, bb aaa abb 3 7 1, 1, 1, 1, aa 1, bb bbb abb 4 7 1, 1, 1, 1, aa 1, bb aaa bbb abb 5 7 1, 1, 1, 1, aa 1, bb abb baa 6 7 1, 1, 1, 1, aa 1, bb aaa abb baa 7 7 1, 1, 1, 1, aa 1, bb aaa bbb abb baa 5 7 1, a b 1, 1, a b a a 1, b ab b b ab 1, a 2 7 1, a b 1, 1, a b a a 1, a b b b b 1, a 6 7 1, a b 1, 1, a b a a 1, ab ab b b ab 1, a 3 7 1, a b 1, 1, a b a a 1, b b b b 1, ab 4 7 1, a b 1, 1, a b a a 1, a b b b b 1, ab 7 7 1, a b 1, 1, a b a a 1, ab ab b b ab 1, ab Table 12. Cycles and tables for algebras 1 7 7 7 a b b b a Figure 3. Unique minimal square representation of 1 7 In Figure 3, ρ(a) is the set of pairs connected by solid lines and ρ(b) is the set of pairs connected by dashed lines. Thus 1 7 is a subalgebra of Re (4), and the same map shows that 1 7 SCm (Z 4 ). The algebra 1 7 is also a subalgebra of complex algebra of the 4-element group Z 2 2 via the map σ that sends a to add 1, 0 and b to add 0, 1 or 1, 1. In more detail, if σ (1, ) = { i, j, i, j : i, j 2}, σ (a) = { i, j, i + 2 1, j : i, j 2}, σ (b) = { i, j, i, j + 2 1 : i, j 2} { i, j, i + 2 1, j + 2 1 : i, j 2}, then σ extends to an embedding of 1 7 into Cm ( Z 2 2), hence 1 7 SCm ( Z 2 2). Figure 3 is also an illustration of σ if the dots are properly identified with the elements of Z 2 2. The algebra 1 7 has a small spectrum: spec(1 7 ) = {4}.

14 ROGER D. MADDUX Figure 4. Unique minimal square representation of 2 7 4.11. The algebra 2 7. Suppose ρ is a square representation of 2 7 that embeds 2 7 into Re (U). Let E = ρ (1, + a). Inspection of the multiplication table for 2 7 reveals that E is an equivalence relation with exactly two equivalence classes, each of which contains at least three elements. Hence U 6. Conversely, if E is such an equivalence relation on a set U, then 2 7 can be embedded into Re (U) by the map that takes 1, + a to E and b to U 2 E. Thus we have spec(2 7 ) = {k : 6 k}. For an equivalence relation having two equivalence classes of three elements each, the representation is minimal and unique. This representation is shown in Figure 4. Furthermore, for if we let 2 7 SCm (Z 2 Z 3 ), ρ (1, ) = { i, j, i, j : i 2, j 3}, ρ (a) = { i, j, i, j + 3 k : i 2, j 3, k {1, 2}}, ρ (b) = { i, j, i + 2 1, k : i 2, j, k 3}, then ρ extends to an embedding of 2 7 into Cm (Z 2 Z 3 ), and 2 7 = Sg (Cm(Z 2 Z 3)) {ρ (a)} = Sg (Cm(Z2 Z3)) {ρ (b)}. 4.12. The algebra 3 7. Suppose ρ is an embedding of 3 7 into Re (U). Then ρ (a) must be a transposition because a;a = 1,. Let E = ρ (1, + a). Further inspection of the table shows that E is an equivalence relation with three or more equivalence classes, each of which contains exactly two elements. Thus U 6. Conversely, if E is such an equivalence relation on U, then 3 7 can be embedded in Re (U) by the map that sends 1, + a to E and b to U 2 E. If E is an equivalence relation having exactly three equivalence classes of two elements each, the representation is minimal and unique. This representation is shown in in Figure 5. Thus we have spec(3 7 ) = {2k : 3 k}. Furthermore, 3 7 SCm (Z 2 Z 3 ),

FINITE INTEGRAL RELATION ALGEBRAS 15 Figure 5. Unique minimal square representation of 3 7 Figure 6. Unique minimal square representation of 4 7 for if we let ρ (1, ) = { i, j, i, j : i 2, j 3}, ρ (a) = { i, j, i + 2 1, j : i 2, j 3}, ρ (b) = { i, j, k, j + 3 l : i, k 2, j 3, l {1, 2}}, then ρ extends to an embedding of 3 7 into Cm (Z 2 Z 3 ), and 3 7 = Sg (Cm(Z 2 Z 3)) {ρ (a)} = Sg (Cm(Z2 Z3)) {ρ (b)}. 4.13. The algebra 4 7. Suppose ρ is a square representation of 4 7 that embeds 4 7 into Re (U). Let E = ρ (1, + a). Then E is an equivalence relation on U with three or more equivalence classes (because b b;b), each of which has at least three elements (because a a;a). Any such equivalence relation gives rise to a square representation of 4 7, so we have spec(4 7 ) = {k : 9 k}. If E has exactly three equivalence classes with exactly three elements each, the resulting square representation is minimal and unique. It is shown in Figure 6. We can embed 4 7 into Cm ( Z 2 3) via ρ if we set ρ (1, ) = { i, j, i, j : i 3, j 3}, ρ (a) = { i, j, i + 3 k, j : i, j 3, k {1, 2}}, ρ (b) = { i, j, k, j + 3 l : i, k 3, j 3, l {1, 2}}, then ρ extends to an embedding which shows 4 7 SCm ( Z 2 3), 47 = Sg (Cm(Z 2 3)) {ρ (a)} = Sg (Cm(Z2 3)) {ρ (b)}.

16 ROGER D. MADDUX b a Figure 7. Unique square representation of 5 7 We can also embed 4 7 into Cm (Z 9 ) via σ if we set obtaining σ (1, ) = { i, i : i 9}, σ (a) = { i, i + 3 j : i 3, j {3, 6}}, σ (b) = { i, i + 3 j : i 3, j {2, 4, 5, 7, 8}}, 4 7 SCm (Z 9 ), 4 7 = Sg (Cm(Z 9)) {σ (a)} = Sg (Cm(Z9)) {σ (b)}. These embeddings of 4 7 into Cm ( Z 2 3) and Cm (Z9 ) can be seen in Figure 6 if the spots are properly identified with elements of Z 2 3 and Z 9. 4.14. The algebra 5 7. It is an interesting exercise to show that if ρ is a square representation of 5 7 that embeds 5 7 into Re (U), then U = 5 and ρ must be the representation pictured in Figure 7. Thus we have spec(5 7 ) = {5}. Figure 7 shows ρ (a) as a pentagon and ρ (b) as a pentagram, so 5 7 has been called the pentagonal relation algebra. For an embedding of 5 7 into Cm (Z 5 ), let ρ (1, ) = { i, i : i 5}, ρ (a) = { i, i + 5 j : i 5, j {1, 4}}, ρ (b) = { i, i + 5 j : i 5, j {2, 3}}. It happens that if A RA, A is atomic and integral, and AtA 3, then B 5 A is a 5-dimensional relational basis for A, unless A = 5 7. For a finite A RA let us say that two 4-by-4 basic matrices a, b B 4 A are permutation-equivalent if there is a permutation π : 4 4 such that b = aπ. Furthermore, a B 4 A is a forbidden minor of A if a cannot be obtained from any 5-by-5 matrix in the maximum 5- dimensional relational basis of A by selecting an entry on the main diagonal and deleting the row and column that contain that entry. If a basic matrix is forbidden, then so are all basic matrices that are permutation-equivalent to it. Therefore, if a finite integral relation algebra A has a proper maximum 5-dimensional relational basis, then that basis may be succinctly described just by listing a forbidden minor from each of the permutation-equivalence classes of forbidden minors. The basis then consists of all those matrices in B 5 A that do not contain one of the listed minors. The forbidden minors of each algebra can be completely specified by giving

FINITE INTEGRAL RELATION ALGEBRAS 17 Figure 8. A square representation of 6 7 only the entries above the main diagonal. For example, the forbidden minors of algebra 5 7 are [a 01, a 02, b 03, b 12, a 13, a 23 ], [a 01, b 02, b 03, b 12, b 13, a 23 ] which is a short-hand for the following two matrices: 1, a a b a 1, 1, a b b b a a b 1, a 1, b b a b a a 1, b b 1, a b b a 1, Notice that neither of these two matrices can be found in the representation in Figure 7 (no four spots are related to each other in the way described by the matrices). On the other hand, both of these matrices belong to B 4 A, which is a 4-dimensional relational basis for 5 7, as it is for all finite relation algebras. 4.15. The algebra 6 7. Andréka-Maddux [1, Th. 7] proved spec(6 7 ) = {k : 8 k}. A unique minimal representation of 6 7 in Re (8) is shown in Figure 8, which also illustrates the fact that we obtain via ρ if we set 6 7 SCm (Z 8 ) ρ (1, ) = { i, i : i 8}, ρ (a) = { i, i + 8 j : i 8, j {2, 3, 5, 6}}, ρ (b) = { i, i + 8 j : i 8, j {1, 4, 7}}. 4.16. The algebra 7 7. Andréka-Maddux [1, Th. 8] proved spec(7 7 ) = {k : 9 k}. A unique minimal representation of 6 7 in Re (9) is shown in Figure 9. This representation was found by Ulf Wostner around 1976. It also shows that we can embed

18 ROGER D. MADDUX 7 7 into Cm ( Z 2 3) by setting Figure 9. A square representation of 7 7 ρ (1, ) = { i, j, i, j : i 3, j 3}, ρ (a) = { i, j, i + 3 k, j : i, j 3, k {1, 2}} { i, j, i, j + 3 k : i, j 3, k {1, 2}}, ρ (b) = 9 2 ρ (a) ρ (1, ). By the way, in Figure 9, the graph of the solid lines is isomorphic to the graph of the dashed lines. 5. Finite integral relation algebras with 4 or 5 atoms From Table 3 we see that there are 37 isomorphisms types of integral relation algebras whose atoms are 1,, a, r, and r. The identity cycles for all of these algebras are [1,, 1,, 1, ], 1,, a, a], [r, 1,, r], and [1,, r, r]. The potential diversity cycles are [a, a, a], [r, r, r], [r, r, r], [a, r, r], [r, a, r], r, a, a], [r, r, a]. Any selection of diversity cycles from this list produces an NA. There are 2 7 = 128 such choices. The ordering of the diversity cycles in this list (which is the same as in Table 2) determines an linear ordering on the resulting NAs via reverse lexicographic ordering of the cycles. For example, choosing none of the diversity cycles gives the first NA, and choosing all of them gives the last one. Suppose that A NA is the result of choosing some of these diversity cycles, and that the first cycle, [a, a, a], is not a cycle of A. Adding this cycle to the cycles of A will produce the next NA. In the list of 37 relation algebras below, a choice of diversity cycles appears if it meets two criteria. First, the choice must produce a relation algebra A. Second, no earlier choice produces an algebra isomorphic to A. The remaining lists of cycles thus determine 37 relation algebras that are not isomorphic to each other. These algebras are then numbered from 1 37 to 37 37. This same plan has been used on the lists of cycles in Table 2 to give names to the 4527 integral relation algebras with five or fewer atoms. 6. Cycles of the algebras 1 37 37 37 1, 1, 1, 1, aa r1, r 1, rr aaa rrr rr r arr rar raa rra 1 37 1, 1, 1, 1, aa r1, r 1, rr rrr arr rar

FINITE INTEGRAL RELATION ALGEBRAS 19 1, 1, 1, 1, aa r1, r 1, rr aaa rrr rr r arr rar raa rra 2 37 1, 1, 1, 1, aa r1, r 1, rr aaa rrr arr rar 3 37 1, 1, 1, 1, aa r1, r 1, rr rr r arr rar 4 37 1, 1, 1, 1, aa r1, r 1, rr aaa rr r arr rar 5 37 1, 1, 1, 1, aa r1, r 1, rr rrr rr r arr rar 6 37 1, 1, 1, 1, aa r1, r 1, rr aaa rrr rr r arr rar 7 37 1, 1, 1, 1, aa r1, r 1, rr rrr raa 8 37 1, 1, 1, 1, aa r1, r 1, rr aaa rrr raa 9 37 1, 1, 1, 1, aa r1, r 1, rr rr r raa 10 37 1, 1, 1, 1, aa r1, r 1, rr aaa rr r raa 11 37 1, 1, 1, 1, aa r1, r 1, rr rrr rr r raa 12 37 1, 1, 1, 1, aa r1, r 1, rr aaa rrr rr r raa 13 37 1, 1, 1, 1, aa r1, r 1, rr aaa rrr arr raa 14 37 1, 1, 1, 1, aa r1, r 1, rr rrr arr rar raa 15 37 1, 1, 1, 1, aa r1, r 1, rr aaa rrr arr rar raa 16 37 1, 1, 1, 1, aa r1, r 1, rr rrr rr r arr rar raa 17 37 1, 1, 1, 1, aa r1, r 1, rr aaa rrr rr r arr rar raa 18 37 1, 1, 1, 1, aa r1, r 1, rr rra 19 37 1, 1, 1, 1, aa r1, r 1, rr rrr rr r rra 20 37 1, 1, 1, 1, aa r1, r 1, rr aaa arr rar rra 21 37 1, 1, 1, 1, aa r1, r 1, rr aaa rrr arr rar rra 22 37 1, 1, 1, 1, aa r1, r 1, rr aaa rrr rr r arr rar rra 23 37 1, 1, 1, 1, aa r1, r 1, rr rrr raa rra 24 37 1, 1, 1, 1, aa r1, r 1, rr aaa rrr raa rra 25 37 1, 1, 1, 1, aa r1, r 1, rr rrr rr r raa rra 26 37 1, 1, 1, 1, aa r1, r 1, rr aaa rrr rr r raa rra 27 37 1, 1, 1, 1, aa r1, r 1, rr rrr arr raa rra 28 37 1, 1, 1, 1, aa r1, r 1, rr aaa rrr arr raa rra 29 37 1, 1, 1, 1, aa r1, r 1, rr rrr rr r arr raa rra 30 37 1, 1, 1, 1, aa r1, r 1, rr aaa rrr rr r arr raa rra 31 37 1, 1, 1, 1, aa r1, r 1, rr aaa arr rar raa rra 32 37 1, 1, 1, 1, aa r1, r 1, rr rrr arr rar raa rra 33 37 1, 1, 1, 1, aa r1, r 1, rr aaa rrr arr rar raa rra 34 37 1, 1, 1, 1, aa r1, r 1, rr rr r arr rar raa rra 35 37 1, 1, 1, 1, aa r1, r 1, rr aaa rr r arr rar raa rra 36 37 1, 1, 1, 1, aa r1, r 1, rr rrr rr r arr rar raa rra 37 37 1, 1, 1, 1, aa r1, r 1, rr aaa rrr rr r arr rar raa rra 7. Multiplication tables for algebras 1 37 37 37 1 37 1, a r r 1, 1, a r r a a 1, r r r r r r 1, ar r r r r 1, ar r r 2 37 1, a r r 1, 1, a r r a a 1, a r r r r r r 1, ar r r r r 1, ar r r

20 ROGER D. MADDUX 3 37 1, a r r 1, 1, a r r a a 1, r r r r r r 1, a r r r 1, a r 5 37 1, a r r 1, 1, a r r a a 1, r r r r r r r 1, ar r r r r 1, ar r r r 7 37 1, a r r 1, 1, a r r a a 1, r r a a r r a r 1, r r r r a 1, r r r 9 37 1, a r r 1, 1, a r r a a 1, r r a a r r a r 1, r r a 1, r 11 37 1, a r r 1, 1, a r r a a 1, r r a a r r a r r 1, r r r r a 1, r r r r 13 37 1, a r r 1, 1, a r r a a 1, ar r ar a r r a r 1, ar r r r a r 1, r r r 15 37 1, a r r 1, 1, a r r a a 1, ar r ar a r r r ar r 1, ar r r r a r 1, ar r r 17 37 1, a r r 1, 1, a r r a a 1, ar r ar a r r r ar r r 1, ar r r r a r 1, ar r r r 19 37 1, a r r 1, 1, a r r a a 1, r r r r r ar r 1, r r r r r 1, r r ar r 4 37 1, a r r 1, 1, a r r a a 1, a r r r r r r 1, a r r r 1, a r 6 37 1, a r r 1, 1, a r r a a 1, a r r r r r r r 1, ar r r r r 1, ar r r r 8 37 1, a r r 1, 1, a r r a a 1, ar r a a r r a r 1, r r r r a 1, r r r 10 37 1, a r r 1, 1, a r r a a 1, ar r a a r r a r 1, r r a 1, r 12 37 1, a r r 1, 1, a r r a a 1, ar r a a r r a r r 1, r r r r a 1, r r r r 14 37 1, a r r 1, 1, a r r a a 1, r r ar a r r r ar r 1, ar r r r a r 1, ar r r 16 37 1, a r r 1, 1, a r r a a 1, r r ar a r r r ar r r 1, ar r r r a r 1, ar r r r 18 37 1, a r r 1, 1, a r r a a 1, r r r r r a 1, r r r 1, a 20 37 1, a r r 1, 1, a r r a a 1, a r r r r r r r r a 1, a r r r r 1, a a

FINITE INTEGRAL RELATION ALGEBRAS 21 21 37 1, a r r 1, 1, a r r a a 1, a r r r r r r r r ar 1, ar r r r r r 1, ar r a r 23 37 1, a r r 1, 1, a r r a a 1, r r a r ar r r a r ar 1, r r r r ar 1, r r a r 25 37 1, a r r 1, 1, a r r a a 1, r r a r ar r r a r ar r 1, r r r r ar 1, r r ar r 27 37 1, a r r 1, 1, a r r a a 1, r r ar r ar r r a r ar 1, ar r r r ar r 1, r r a r 29 37 1, a r r 1, 1, a r r a a 1, r r ar r ar r r a r ar r 1, ar r r r ar r 1, r r ar r 31 37 1, a r r 1, 1, a r r a a 1, ar r ar r ar r r r ar r a 1, a r r ar r 1, a a 33 37 1, a r r 1, 1, a r r a a 1, ar r ar r ar r r r ar r ar 1, ar r r r ar r 1, ar r a r 35 37 1, a r r 1, 1, a r r a a 1, ar r ar r ar r r r ar r a r 1, a r r ar r 1, a ar 37 37 1, a r r 1, 1, a r r a a 1, ar r ar r ar r r r ar r ar r 1, ar r r r ar r 1, ar r ar r 22 37 1, a r r 1, 1, a r r a a 1, a r r r r r r r r ar r 1, ar r r r r r 1, ar r ar r 24 37 1, a r r 1, 1, a r r a a 1, ar r a r ar r r a r ar 1, r r r r ar 1, r r a r 26 37 1, a r r 1, 1, a r r a a 1, ar r a r ar r r a r ar r 1, r r r r ar 1, r r ar r 28 37 1, a r r 1, 1, a r r a a 1, ar r ar r ar r r a r ar 1, ar r r r ar r 1, r r a r 30 37 1, a r r 1, 1, a r r a a 1, ar r ar r ar r r a r ar r 1, ar r r r ar r 1, r r ar r 32 37 1, a r r 1, 1, a r r a a 1, r r ar r ar r r r ar r ar 1, ar r r r ar r 1, ar r a r 34 37 1, a r r 1, 1, a r r a a 1, r r ar r ar r r r ar r a r 1, a r r ar r 1, a ar 36 37 1, a r r 1, 1, a r r a a 1, r r ar r ar r r r ar r ar r 1, ar r r r ar r 1, ar r ar r 8. Diversity cycles for the algebras 1 65 65 65

22 ROGER D. MADDUX aaa bbb ccc abb baa acc caa bcc cbb abc 1 65 abb acc bcc 2 65 aaa abb acc bcc 3 65 bbb abb acc bcc 4 65 aaa bbb abb acc bcc 5 65 ccc abb acc bcc 6 65 aaa ccc abb acc bcc 7 65 bbb ccc abb acc bcc 8 65 aaa bbb ccc abb acc bcc 9 65 abb baa acc bcc 10 65 aaa abb baa acc bcc 11 65 aaa bbb abb baa acc bcc 12 65 ccc abb baa acc bcc 13 65 aaa ccc abb baa acc bcc 14 65 aaa bbb ccc abb baa acc bcc 15 65 baa acc caa bcc 16 65 aaa baa acc caa bcc 17 65 bbb baa acc caa bcc 18 65 aaa bbb baa acc caa bcc 19 65 aaa ccc baa acc caa bcc 20 65 aaa bbb ccc baa acc caa bcc 21 65 abb baa acc caa bcc cbb 22 65 aaa abb baa acc caa bcc cbb 23 65 aaa bbb abb baa acc caa bcc cbb 24 65 aaa bbb ccc abb baa acc caa bcc cbb 25 65 abc 26 65 aaa abb abc 27 65 aaa bbb abb baa abc 28 65 aaa abb acc abc 29 65 aaa bbb ccc baa caa abc 30 65 aaa ccc abb baa caa abc 31 65 aaa bbb ccc abb baa caa abc 32 65 aaa abb baa acc caa abc 33 65 aaa bbb abb baa acc caa abc 34 65 aaa bbb ccc abb baa acc caa abc 35 65 aaa bbb abb acc bcc abc 36 65 aaa bbb ccc abb acc bcc abc 37 65 aaa bbb abb baa acc bcc abc 38 65 aaa bbb ccc abb baa acc bcc abc 39 65 abb caa bcc abc 40 65 aaa abb caa bcc abc 41 65 aaa bbb abb caa bcc abc 42 65 aaa bbb ccc abb caa bcc abc 43 65 abb baa caa bcc abc 44 65 aaa abb baa caa bcc abc 45 65 bbb abb baa caa bcc abc 46 65 aaa bbb abb baa caa bcc abc 47 65 ccc abb baa caa bcc abc

FINITE INTEGRAL RELATION ALGEBRAS 23 aaa bbb ccc abb baa acc caa bcc cbb abc 48 65 aaa ccc abb baa caa bcc abc 49 65 bbb ccc abb baa caa bcc abc 50 65 aaa bbb ccc abb baa caa bcc abc 51 65 bbb baa acc caa bcc abc 52 65 aaa bbb baa acc caa bcc abc 53 65 aaa bbb ccc baa acc caa bcc abc 54 65 abb baa acc caa bcc abc 55 65 aaa abb baa acc caa bcc abc 56 65 bbb abb baa acc caa bcc abc 57 65 aaa bbb abb baa acc caa bcc abc 58 65 ccc abb baa acc caa bcc abc 59 65 aaa ccc abb baa acc caa bcc abc 60 65 bbb ccc abb baa acc caa bcc abc 61 65 aaa bbb ccc abb baa acc caa bcc abc 62 65 abb baa acc caa bcc cbb abc 63 65 aaa abb baa acc caa bcc cbb abc 64 65 aaa bbb abb baa acc caa bcc cbb abc 65 65 aaa bbb ccc abb baa acc caa bcc cbb abc 9. Multiplication tables for the algebras 1 65 65 65 1 65 1, a b c 1, 1, a b c a a 1, b c b b b 1, a c c c c c 1, ab 3 65 1, a b c 1, 1, a b c a a 1, b c b b b 1, ab c c c c c 1, ab 5 65 1, a b c 1, 1, a b c a a 1, b c b b b 1, a c c c c c 1, abc 7 65 1, a b c 1, 1, a b c a a 1, b c b b b 1, ab c c c c c 1, abc 9 65 1, a b c 1, 1, a b c a a 1, b ab c b b ab 1, a c c c c c 1, ab 2 65 1, a b c 1, 1, a b c a a 1, a b c b b b 1, a c c c c c 1, ab 4 65 1, a b c 1, 1, a b c a a 1, a b c b b b 1, ab c c c c c 1, ab 6 65 1, a b c 1, 1, a b c a a 1, a b c b b b 1, a c c c c c 1, abc 8 65 1, a b c 1, 1, a b c a a 1, a b c b b b 1, ab c c c c c 1, abc 10 65 1, a b c 1, 1, a b c a a 1, ab ab c b b ab 1, a c c c c c 1, ab

24 ROGER D. MADDUX 11 65 1, a b c 1, 1, a b c a a 1, ab ab c b b ab 1, ab c c c c c 1, ab 13 65 1, a b c 1, 1, a b c a a 1, ab ab c b b ab 1, a c c c c c 1, abc 15 65 1, a b c 1, 1, a b c a a 1, bc a ac b b a 1, c c c ac c 1, ab 17 65 1, a b c 1, 1, a b c a a 1, bc a ac b b a 1, b c c c ac c 1, ab 19 65 1, a b c 1, 1, a b c a a 1, abc a ac b b a 1, c c c ac c 1, abc 21 65 1, a b c 1, 1, a b c a a 1, bc ab ac b b ab 1, ac bc c c ac bc 1, ab 23 65 1, a b c 1, 1, a b c a a 1, abc ab ac b b ab 1, abc bc c c ac bc 1, ab 25 65 1, a b c 1, 1, a b c a a 1, c b b b c 1, a c c b a 1, 27 65 1, a b c 1, 1, a b c a a 1, ab abc b b b abc 1, ab a c c b a 1, 12 65 1, a b c 1, 1, a b c a a 1, b ab c b b ab 1, a c c c c c 1, abc 14 65 1, a b c 1, 1, a b c a a 1, ab ab c b b ab 1, ab c c c c c 1, abc 16 65 1, a b c 1, 1, a b c a a 1, abc a ac b b a 1, c c c ac c 1, ab 18 65 1, a b c 1, 1, a b c a a 1, abc a ac b b a 1, b c c c ac c 1, ab 20 65 1, a b c 1, 1, a b c a a 1, abc a ac b b a 1, b c c c ac c 1, abc 22 65 1, a b c 1, 1, a b c a a 1, abc ab ac b b ab 1, ac bc c c ac bc 1, ab 24 65 1, a b c 1, 1, a b c a a 1, abc ab ac b b ab 1, abc bc c c ac bc 1, abc 26 65 1, a b c 1, 1, a b c a a 1, a bc b b b bc 1, a a c c b a 1, 28 65 1, a b c 1, 1, a b c a a 1, a bc bc b b bc 1, a a c c bc a 1, a