I am studying universal algebra and getting familiar with the concept of variety of algebra.
As far as I understand, a variety is just a class of all algebras satisfying given set of identities. Also, a variety is always closed under homomorphic images, subalgebras and direct products of its members.
I am also familiar with definition of free algebra.
However, I dont know how to start with this exercise from Bergman´s Fundamentals of Universal Algebra.
Exercise 5 (b) from Exercise set 4.34
Let $\mathcal{V}$ be the variety of algebras $(A, ·)$ satisfying the identities
$x \ast x \approx x$ and $(x \ast y) \ast z \approx (z \ast y) \ast x.$
Let $\mathcal{W}$ be the subvariety of V defined by the additional identity $y \ast (x \ast y) \approx x$.
Determine $\textbf{F}_\mathcal{W}(x, y)$. Write out a Cayley table.
My thoughts
I would just create a multiplication table with x, y, z and start generating the entries according to the operations.
My attempt is this:
$$\begin{array}{|c|c|c|c|} \hline *& x & y & z\\ \hline x & x & ? & ?\\ \hline y & ? & y & ?\\ \hline z & ? & ? & z\\ \hline \end{array}$$
The problem is, I dont know, how to proceed, when I have identity with three different elements, but on the table, I can only combine two (one on row, on on column).
But even if I generate the complete table, I dont know, how to proceed with the free algebra generated by this. (The $\textbf{F}_\mathcal{W}(x, y)$).
I appreciate any advice in this problem or even how to determine a free algebra generaly.
Thank you!
To save typing, I'll write $x\cdot y$ and $xy$ and $\approx$ as $=$.
You left out some important information here: Bergman gives in part (a) a list of identities which follow from the defining identities of $\mathcal{V}$. These identities are very helpful in solving part (b)!
For completeness, I'll give proofs of these five identities inside the spoiler blocks.
Ok, now we add the additional defining identity of $\mathcal{W}$: 6. $y(xy) = x$. Note that in conjunction with identity 4 above, we also have 7. $(yx)y = x$.
Our task is to understand $\mathbf{F}_{\mathcal{W}}(a,b)$, the free algebra in $\mathcal{W}$ on two generators $a$ and $b$. I'm using $a$ and $b$ for the generators so as not to be confused with the variables $x$ and $y$ used in the identities above. Let's try to find all its elements.
Recall that every element of the free algebra $\mathbf{F}_{\mathcal{W}}(a,b)$ is an equivalence class of terms in the generators $a$ and $b$. The terms can be built up in levels, where the terms at Level $0$ are the generators and the terms at Level $(n+1)$ are the generators and the products of two terms at Level $(\leq n)$.
Level $0$: $a$, $b$.
Level $1$: $a$, $b$, $aa$, $ab$, $ba$, and $bb$.
Note that we can eliminate $aa$ and $bb$ since they are redundant: $aa = a$ and $bb = b$.
Now it turns out that any term at Level 2 (any product of $a$, $b$, $ab$, and $ba$) can be shown to be equivalent to a term at Level 1, using the identities above. They multiply according to the following Cayley table: \begin{array}{c|cccc} & a & b & ab & ba\\ \hline a & a & ab & ba & b \\ b & ba & b & a & ab \\ ab & b & ba & ab & a \\ ba & ab & a & b & ba \end{array}
I've hidden the derivations in the spoiler blocks below.
It follows that if the terms $a$, $b$, $ab$, and $ba$ are distinct in the free algebra $\mathbf{F}_{\mathcal{W}}(a,b)$, then the table above is its Cayley table. To prove that the terms are distinct, it suffices to show that there is any algebra in $\mathcal{W}$ with generators $a$ and $b$ such that these four terms are distinct. One way to do this is to check that the Cayley table above actually describes an algebra in $\mathcal{W}$, i.e., that all three defining identities are satisfied. This is mechanical, but tedious.