Ordered Monoids: Languages and Relations
Szabolcs Mikulás
Department of Computer Science and Information Systems
Birkbeck, University of London
[email protected]
Abstract.
We give a finite axiomatization for
the variety generated by
relational, integral ordered monoids.
As a corollary we get a finite axiomatization for
the language interpretation as well.
Keywords:
finite axiomatizability, algebras of relations, language algebras
1. Introduction
We will focus on algebras of similarity type
Λ⊆(+,⋅,;,0,1′)
where +,⋅,; are binary operations and 0,1′ are constants.
We will consider two types of representations:
as families of binary relations and as families of languages.
Our main concern is whether the varieties generated by these
interpretations are finitely axiomatizable.
Definition 1.1**.**
[Language algebras]
Let A=(A,Λ) be an algebra of similarity type
Λ⊆(+,⋅,;,0,1′).
We say that A is a language algebra if
the following holds.
There is an alphabet Σ such that
A is a family of languages over Σ,
i.e., A⊆℘(Σ∗) where Σ∗ denotes the
set of words (finite strings) over Σ,
and the operations in Λ are interpreted as follows:
join + is union, meet ⋅ is intersection,
composition ; is concatenation
[TABLE]
[math] is the empty language ∅ and
1′ is the singleton language
consisting of the empty word.
We will denote the class of language algebras of similarity type Λ by
L(Λ).
Definition 1.2**.**
[Relation algebras]
Let A=(A,Λ) be an algebra of similarity type
Λ⊆(+,⋅,;,0,1′).
We say that A is a relation algebra if
the following holds.
There is a set U, the base of A, such that
A is a family of binary relations on U,
i.e., A⊆℘(U×U),
and the operations in Λ are interpreted as follows:
join + is union,
meet ⋅ is intersection,
composition ; is relation composition
[TABLE]
and [math] is the empty relation ∅.
We will denote the class of relation algebras of similarity type Λ by
R(Λ).
In passing we note that the representation classes
L(Λ) and R(Λ) are not finitely axiomatizable
whenever (⋅,;,1′)⊆Λ.
Indeed, the class of language algebras is not closed under products (see below),
while the quasivariety R(⋅,;,1′) has no finite base
[HM07].
This is one of the main reasons why we concentrate on the generated varieties below.
Assume that 0,1′∈Λ and let A be a Λ-algebra.
We say that A is integral if 1′ is an atom of A,
i.e., 1′ is a minimal non-zero element.
For a class K(Λ) of Λ-algebras,
let Ki(Λ) denote the subclass of integral Λ-algebras.
Observe that every language algebra is integral, L(Λ)=Li(Λ),
while there are non-integral relation algebras, R(Λ)⊃Ri(Λ).
For a class K(Λ) of Λ-algebras,
let V(K(Λ)) denote the variety generated by K(Λ).
Note that the variety V(Ki(Λ)) generated by integral algebras
may contain non-integral algebras,
since neither products nor homomorphisms preserve the property that 1′ is an atom.
2. Main results
First we look at
Λ=(⋅,;,0,1′).
As usual x≤y is defined by x⋅y=x and we assume that
; binds closer than ⋅, e.g., we write x⋅y;z
for x⋅(y;z).
We define \mboxAx(⋅,;,0,1′)
as the collection of the following axioms.
- Semilattice axioms (for ⋅)
- Monoid axioms (for ; and 1′)
- Monotonicity:
[TABLE]
[TABLE]
[TABLE]
It is easily checked that all these axioms are valid in both relation and language algebras.
We will need additional axioms that are valid in language algebras
and in integral relation algebras.
We define \mboxAxi(⋅,;,0,1′) as
\mboxAx(⋅,;,0,1′) augmented with the integral axioms (7)
and (8) below.
[TABLE]
Note that 1′⋅x;y=0 iff 1′⋅y;x=0
in a relation algebra A.
Hence, if A is integral, then it follows that the two terms in (7)
are either [math] or 1′ at the same time.
Checking validity of the other integral axiom in integral algebras is similar.
The set \mboxAxi(⋅,;,0,1′) is not independent,
e.g., we can derive (6) from (5) with the use of (8).
2.1. Axiomatizations for integral relation algebras
Theorem 2.1**.**
The variety V(Ri(⋅,;,0,1′)) generated by
Ri(⋅,;,0,1′)
is axiomatized by \mboxAxi(⋅,;,0,1′).
Proof.
By the validity of the axioms in integral relation algebras
we get that equations derivable using equational logic from \mboxAxi(⋅,;,0,1′)
are valid in V(Ri(⋅,;,0,1′)).
We will prove the other direction by showing that, for every non-derivable equation,
there is an algebra in Ri(⋅,;,0,1′)
witnessing that the equation is not valid,
see Lemma 3.5.
∎
Next we include union into the signature.
Define \mboxAxi(+,⋅,;,0,1′)
as \mboxAxi(⋅,;,0,1′)
augmented with the distributive lattice axioms (for ⋅ and +)
and that the operation ; is additive:
[TABLE]
for every x,y,z.
Theorem 2.2**.**
The variety V(Ri(+,⋅,;,0,1′)) generated by
Ri(+,⋅,;,0,1′)
is axiomatized by \mboxAxi(+,⋅,;,0,1′).
Proof.
This follows from [Br93, Corollary 2]
(see also [AM11, Proposition 4.4]), we just give a sketch here.
By the validity of the axioms we get that derivable equations are valid.
For the other direction assume that V(Ri(+,⋅,;,0,1′))⊨a=b.
Thus we have both V(Ri(+,⋅,;,0,1′))⊨a≤b
and V(Ri(+,⋅,;,0,1′))⊨b≤a, where
x≤y is defined by x⋅y=x.
Note that, using the additivity of the operations in relation algebras,
we can rewrite every term as a join of join-free terms.
Thus a≤b can be equivalently rewritten as
a1+⋯+an≤b1+⋯+bm
where ai and bj do not contain +.
Furthermore, using the term graphs of [AB95] one can show that
a1+⋯+an≤b1+⋯+bm is valid in
V(Ri(+,⋅,;,0,1′))
iff, for every i, there is j such that ai≤bj is valid in
V(Ri(+,⋅,;,0,1′)).
Thus V(Ri(⋅,;,0,1′))⊨ai≤bj
(since ai and bj do not contain +).
By Theorem 2.1 we get
\mboxAxi(⋅,;,0,1′)⊢ai≤bj, whence
\mboxAxi(+,⋅,;,0,1′)⊢ai≤bj.
Since the distributive lattice axioms ensure that the ordering
x≤y can be equivalently defined by either x⋅y=x or x+y=y,
we get \mboxAxi(+,⋅,;,0,1′)⊢ai≤b1+⋯+bm.
Since this holds for every i, using the additivity axioms we get
\mboxAxi(+,⋅,;,0,1′)⊢a≤b.
By an identical argument we get
\mboxAxi(+,⋅,;,0,1′)⊢b≤a as well,
whence \mboxAxi(+,⋅,;,0,1′)⊢a=b,
as desired.
∎
2.2. Axiomatization for language algebras
Theorem 2.3**.**
The variety V(L(+,⋅,;,0,1′)) generated by
L(+,⋅,;,0,1′)
is axiomatized by
[TABLE]
together with
\mboxAxi(+,⋅,;,0,1′).
Proof.
In [AMN11] it is shown that the equational theory
of L(+,⋅,;,0,1′) is finitely axiomatizable
over the equational theory of R(+,⋅,;,0,1′)
by
the equations (11) and (8).
By a minimal and straightforward modification of the proof of
[AMN11, Corollary 3.7] we get that the equational theory
of L(+,⋅,;,0,1′) is finitely axiomatizable
by (11)
over the equational theory of Ri(+,⋅,;,0,1′),
which is axiomatized by \mboxAxi(+,⋅,;,0,1′).
∎
3. Relational representation of the free algebra
In this section we make the proof of Theorem 2.1 complete.
We will need the following easy consequences of
\mboxAx(+,⋅,;,0,1′):
[TABLE]
[TABLE]
where e,e1,…,e4 are subidentity terms (have the form z⋅1′).
3.1. Step-by-step construction
Fix a countable set X of variables.
Let TX be the set of (⋅,;,0,1′)-terms
using the variables from X and
FX=(FX,⋅,;,0,1′) be the
free algebra of the variety defined by \mboxAxi(⋅,;,0,1′)
which is freely generated by X.
That is, FX is given by factoring the absolutely free algebra
by the congruence of derivability from \mboxAxi(⋅,;,0,1′)
in equational logic.
Thus FX⊨τ≤σ
(under the natural valuation of evaluating every variable to itself)
iff
\mboxAxi(⋅,;,0,1′)⊢τ≤σ,
where ⊢ denotes derivability in equational logic.
By a filter F of FX we mean
a subset closed upward and under meet ⋅,
that is,
τ,σ∈F iff
τ⋅σ∈F.
For a S⊆FX, let F(S) denote the filter generated by S.
In particular, for a term τ, F({τ}) denotes
the principal filter generated by {τ}, i.e.,
the upward closure
{τ}↑ of the singleton set {τ}.
We extend the operation ; to subsets of elements as follows:
[TABLE]
for subsets X,Y.
When X={x} is a singleton, we will also use the notation
x;Y={x;y:y∈Y}, {x}↑=x↑,
F({τ})=F(τ), etc.
For the whole rest of the section we fix a term θ such that
\mboxAxi(⋅,;,0,1′)⊢θ=0.
Next we define special filters that are generated by some set of subidentity elements.
We define
[TABLE]
for each element τ.
It is worth noting that
[TABLE]
since ϵ;τ=ϵ;(τ⋅σ)=τ⋅ϵ;σ≥τ⋅σ=τ by (13) whenever ϵ∈E(σ).
We denote E:=E(θ) for our fixed term θ.
We say that the filter F is fundamental
if the following holds:
there is an element τ such that
F=F(E;τ;E).
Observe that E=F(E;1′;E)
is fundamental, since for subidentity elements ϵ1,ϵ2, we have
ϵ1;1′;ϵ2=ϵ1;ϵ2=ϵ1⋅ϵ2
by (4).
Also note that
F(E;τ;E)=(E;τ;E)↑,
since
(ϵ1;τ;ϵ2)⋅(ϵ3;τ;ϵ4)=(ϵ1⋅ϵ3);τ;(ϵ2⋅ϵ4)
by (12).
We will define a chain of labelled, directed graphs Gn=(Un,ℓn,En,Wn)
for n∈ω, where
Un is the set of nodes,
ℓn:Un×Un→℘(FX) is a labelling of edges,
En:={(u,v)∈Un×Un:ℓn(u,v)=∅}
is the set of edges with non-empty labels,
Wn⊆En is a distinguished set of witness edges.
We will make sure that the following inductive conditions are maintained during the construction:
**RT: **
En is reflexive and transitive.
**Gen: **
Wn generates En by closing under transitivity.
**Fun: **
for every (u,v)∈En, ℓn(u,v) is a proper, fundamental filter:
there is τ such that
ℓn(u,v)=F(E;τ;E).
**DR: **
for every (u,v)∈En,
E(σ)⊆ℓn(u,u)=ℓn(v,v)=E
for every σ∈ℓn(u,v).
**Comp: **
for every (u,v),(u,w),(w,v)∈En, we have
ℓn(u,w);ℓn(w,v)⊆ℓn(u,v).
**Ide: **
for every (u,v)∈En, if 1′∈ℓn(u,v), then u=v.
Observe that DR implies
1′∈ℓn(u,u)=ℓn(v,v) for every u and v.
These conditions, with the exception of Ide, will be easily seen
to be maintained during the construction.
We will check that Ide holds for witness edges (u,v)∈Wn as well,
but we will establish the general case for Ide only at the end of the section.
The construction will terminate in ω steps,
yielding Gω=(Uω,ℓω,Eω,Wω)
where Uω=⋃nUn, ℓω=⋃nℓn,
Eω=⋃nEn and Wω=⋃nWn.
By the end of the construction we will achieve the following
saturation condition:
**Sat: **
for every (u,v)∈Eω and τ;σ∈ℓω(u,v), we have
τ∈ℓω(u,w) and σ∈ℓω(w,v) for some w∈Uω.
In the 0th step of the step-by-step construction we define G0
by creating a witness edge for our fixed term θ.
We choose u0,v0∈ω such that u0=v0 iff θ≤1′ is derivable.
We define
[TABLE]
and we label (v0,u0) by ∅ in case u0=v0.
Observe that ℓ0 is well defined.
Indeed, in case θ≤1′, we have that
E=θ↑=F(θ).
All non-empty edges constructed so far will be witness edges: W0=E0.
It is easy to see that the inductive conditions are true.
For Comp we note that,
for every ϵ,ϵ′∈ℓ0(u0,u0)=ℓ0(v0,v0)=E, we have
ϵ;ϵ′=ϵ⋅ϵ′∈E
by (4),
and
ϵ;θ;ϵ′=θ∈ℓ0(u0,v0)
by
the definition of E.
DR easily follows from (14).
Note that θ′∈/ℓ0(u0,v0) whenever
\mboxAxi(⋅,;,0,1′)⊢θ≤θ′,
since θ′∈/F(θ)=θ↑.
In the (n+1)th step we assume inductively that
Gn=(Un,ℓn,En,Wn) with Un⊂ω and
Wn⊆En⊆Un×Un
has been constructed and that Gn satisfies the inductive conditions.
We also assume that there is a fair scheduling function
Σ:ω→ω×ω×FX,
i.e., every element of ω×ω×FX
appears infinitely often in the range of Σ.
Assume that Σ(n+1)=(u,v,τ;σ),
(u,v)∈En and τ;σ∈ℓn(u,v),
otherwise we define Gn+1=Gn.
Recall that ℓn(u,u)=ℓn(v,v)=E by DR.
Let ρ be such that
ℓn(u,v)=F(E;ρ;E),
and ρ′ be such that
ℓn(v,u)=F(E;ρ′;E)
in case (v,u)∈En as well.
Thus ϵ0;ρ;ϵ0≤τ;σ
for some subidentity ϵ0∈E.
Observe that, for any subidentity ϵ,
[TABLE]
by using ϵ0⋅ϵ=(ϵ0⋅ϵ);(ϵ0⋅ϵ),
(8) and (13).
We will assume that 1′∈/F(E;τ;E)
and 1′∈/F(E;σ;E),
since we would have the required edges otherwise.
Indeed, we have
[TABLE]
because of the following.
Assume that ϵ′;τ;ϵ′≤1′ for some
subidentity ϵ′∈E.
Let ϵ=ϵ0⋅ϵ′.
Then ϵ;ρ;ϵ∈ℓω(u,v) and
[TABLE]
whence σ∈ℓn(u,v).
Next we claim that ϵ;τ;ϵ∈ℓn(u,u).
Indeed, by using (15), (13)
we get
[TABLE]
whence τ≥ϵ;τ;ϵ∈ℓn(u,u) by DR.
The case 1′∈F(E;σ;E)
is treated similarly.
Take a point w∈ω∖Un and define
[TABLE]
whenever (t,u),(v,s)∈En.
In particular,
[TABLE]
since ℓn(u,u)=ℓn(v,v)=E.
By Fun and DR there are ξ and χ such that
ℓn(t,u)=F(E;ξ;E)
and
ℓn(v,s)=F(E;χ;E).
Then using (8)
[TABLE]
when (v,u)∈En.
Thus the labels are fundamental filters.
For all other edges, we let
ℓn+1(x,y)=ℓn(x,y) if (x,y)∈En,
and ℓn+1(x,y)=∅ otherwise.
The witness edges are those of Gn (i.e., Wn)
and (u,w), (w,v) and (w,w).
See Figure 1, where we show typical elements of the labels.
Observe that En+1 is reflexive, transitive and generated by Wn+1
(e.g., in case (v,u)∈En, the edge (w,u) can be “decomposed” to (w,v)∈Wn+1
and (v,u) which is generated by Wn by the inductive condition).
Ide holds for witness edges, since the new irreflexive witness edges
(u,w) and (w,v) avoid 1′ by the assumption on τ and σ.
Next we check that Comp is maintained as well.
Both ℓn+1(w,w);ℓn+1(w,s)⊆ℓn+1(w,s) and
ℓn+1(t,w);ℓn+1(w,w)⊆ℓn+1(t,w)
easily follow from the definition of the labels.
Similarly we get
ℓn+1(w,s);ℓn+1(s,s)⊆ℓn+1(w,s) and
ℓn+1(t,t);ℓn+1(t,w)⊆ℓn+1(t,w)
using that Gn satisfies DR and Comp.
If (w,t),(t,w)∈En+1, we need
ℓn+1(w,t);ℓn+1(t,w)⊆ℓn+1(w,w)
as well.
Let χ∈ℓn+1(v,t) and ξ∈ℓn+1(t,u)
so that ϵ;σ;χ;ϵ∈ℓn+1(w,t)
and ϵ;ξ;τ;ϵ∈ℓn+1(t,w)
for some subidentity ϵ∈E.
Then
[TABLE]
by (7) and Comp for Gn.
Thus
ϵ;σ;χ;ϵ;ξ;τ;ϵ∈E=ℓn+1(w,w)
as desired.
The proof of
ℓn+1(t,w);ℓn+1(w,t)⊆ℓn+1(t,t) is similar.
Next we show
ℓn+1(t,w);ℓn+1(w,s)⊆ℓn+1(t,s).
Indeed, we have
[TABLE]
by Comp for Gn.
For
ℓn+1(s,t);ℓn+1(t,w)⊆ℓn+1(s,w)
we have
[TABLE]
by Comp for Gn,
and similarly for
ℓn+1(w,s);ℓn+1(s,t)⊆ℓn+1(w,t).
Finally we check DR.
First let ξ∈ℓn+1(t,u) and ϵ∈E so that
ξ;τ;ϵ∈F(ℓn+1(t,u);τ;E)=ℓn+1(t,w),
and assume that ϵ′≤1′ such that
ξ;τ;ϵ;ϵ′=ξ;τ;ϵ.
We show that ϵ′∈E=ℓn+1(w,w).
We have
ξ;τ;σ;ϵ;ϵ′=ξ;τ;ϵ;ϵ′;σ=ξ;τ;ϵ;σ=ξ;τ;σ;ϵ∈ℓn(t,v),
whence ϵ′∈ℓn(v,v)=E=ℓn+1(w,w)
by DR for Gn.
That is, E(ξ;τ;ϵ)⊆ℓn+1(w,w).
A similar proof shows DR for ℓn+1(w,s).
This finishes the successor step yielding
Gn+1=(Un+1,ℓn+1,En+1,Wn+1).
After the construction terminates we end up with a labelled structure
Gω=(Uω,ℓω,Eω,Wω)
such that Uω=⋃nUn, ℓω=⋃nℓn,
Eω=⋃nEn and Wω=⋃nWn⊆Eω.
Observe that Gω satisfies Sat,
since the fair scheduling function Σ ensures that every possible
composition “defect” has been taken care of.
But we have not showed yet that Ide is satisfied in general,
we will do this shortly.
Gω satisfies the other inductive conditions
(since so does every Gn).
3.2. Graphs and algebras
We define a valuation ι of variables on Uω×Uω:
[TABLE]
for every variable x∈X.
Let Aθ be the subalgebra of
(℘(Uω×Uω),⋅,;,0,1′)
generated by {ι(x):x∈X}.
Next we show that Aθ∈Ri(⋅,;,0,1′).
Let Aθ(u,v) denote the set of those elements (a filter)
that hold at (u,v).
Lemma 3.1**.**
For every u∈Uω and term τ,
[TABLE]
Proof.
We will prove the lemma together with
[TABLE]
for every (u,v)∈Uω×Uω.
We will use simultaneous induction on the complexity of terms.
The base case, when τ is a variable, the identity constant 1′, or [math] is straightforward
by the definition of the valuation ι and the fact that the labels are proper filters.
Next assume that τ=σ⋅ρ.
Recall that ℓω(u,v) is a filter,
whence τ∈ℓω(u,v) implies σ,ρ∈ℓω(u,v).
First consider the statement (19).
If τ≤1′, then also σ,ρ≤1′,
whence we can apply the induction hypothesis (IH) for (19), yielding
σ,ρ∈Aθ(u,v) and
σ⋅ρ∈Aθ(u,v), since Aθ(u,v) is a filter.
The proof for (18) is analogous.
Finally assume that τ=σ;ρ.
We start with showing (19).
First assume that σ≤1′, whence ρ≤1′ (by τ≤1′).
Then using (16) we get that
σ∈ℓω(u,u) and ρ∈ℓω(u,v).
By the IH for (18) and (19)
we have σ∈Aθ(u,u) and ρ∈Aθ(u,v).
Thus σ;ρ∈Aθ(u,v).
The case ρ≤1′ is treated similarly.
The last case is when σ,ρ≤1′.
By Sat we have w such that σ∈ℓω(u,w) and ρ∈ℓω(w,v).
Using the IH for (19) we get
σ∈Aθ(u,w) and ρ∈Aθ(w,v),
whence σ;ρ∈Aθ(u,v).
For (18) we argue as follows.
First assume that σ≤1′.
Using (16) we get that
σ,ρ∈ℓω(u,u).
By the IH for (18) we get
σ,ρ∈Aθ(u,u),
whence σ;ρ∈Aθ(u,u).
The case for ρ≤1′ is similar.
Finally, the case σ,ρ≤1′ is treated precisely like for (19)
at the end of the previous paragraph.
∎
Lemma 3.2**.**
For every term τ and for every edge (u,v)∈Uω×Uω,
[TABLE]
Proof.
This is an easy induction on the complexity of terms
(using Comp for composition).
∎
Lemma 3.3**.**
Aθ∈Ri(⋅,;,0,1′).
Proof.
Clearly, Aθ is an algebra of relations.
Recall that we have ℓω(u,u)=E(θ)=E for every u∈Uω.
Then by Lemma 3.1 and Lemma 3.2 we get
[TABLE]
Recall that Aθ is generated by {ι(x):x∈X},
thus every element of Aθ is the interpretation of a term.
Now assume indirectly that the interpretation of the identity constant 1′
in Aθ is not an atom, i.e., there is a term τ such that
its interpretation is a proper, nonempty subset T of {(u,u):u∈Uω}.
Then τ∈Aθ(u,u) iff (u,u)∈T, contradicting to
(20).
Thus Aθ is an integral algebra.
∎
Next we show that Aθ is a witness for the non-derivable equations
of the form θ≤θ′ for our fixed θ.
Lemma 3.4**.**
For every term τ and for every edge (x,y)∈Uω×Uω,
[TABLE]
Proof.
We already showed the lemma for the case x=y and for the general case
with the restriction that τ≤1′, see the proof of Lemma 3.1 above.
Then it would suffice to show that 1′ cannot occur in the label of the edge (x,y)
whenever x=y.
Indeed, our proof will show this (see (22) below),
but we will go through all the cases for the sake of clarity.
We use induction over the “distance” between x and y.
To this end we define path(x,y) for (x,y)∈Eω by recursion.
For (x,y)∈E0, we let path(x,y)=(x,y).
Now assume that (x,y)∈En+1∖En and
we already defined path for the elements of En.
Assume that Un+1=Un∪{w} and that we expanded Un by w
because of some σ;ρ∈ℓn(u,v).
Again we let path(x,y)=(x,y) for x,y∈{u,w,v}.
Now assume that t=u, (t,u)∈En and path(t,u)=(t,z0,…,zk,u).
Then we let
[TABLE]
and define path(w,s) for (v,s)∈En analogously.
Finally, d(x,y) is defined as the length of path(x,y).
The base case is when (x,y)∈Wω is a witness edge: d(x,y)=1.
The base case will be established by induction on terms.
The case of a variable is straightforward by the definition (17)
of the valuation ι.
The case of [math] follows from the fact that we used proper filters as labels.
Next assume that τ is the constant 1′.
Observe that 1′∈ℓω(x,y) implies x=y,
since irreflexive witness edges avoid 1′.
Then 1′∈Aθ(x,x), since Aθ is representable.
The case for ⋅ follows from the fact that we used filters as labels.
For the case of ; assume that τ is σ;ρ and
that σ;ρ∈ℓω(x,y).
Recall that
we had either σ∈ℓω(x,x) and ρ∈ℓω(x,y),
or σ∈ℓω(x,y) and ρ∈ℓω(y,y),
or we constructed witness edges
(x,z) and (z,y) such that
σ∈ℓω(x,z) and ρ∈ℓω(z,y).
Thus σ∈Aθ(x,z) and ρ∈Aθ(z,y) by the IH,
whence σ;ρ∈Aθ(x,y) as desired.
For the inductive case assume that d(x,y)=k+1>1.
Again we use induction on terms.
The cases for variables and [math] are as in the base step (x,y)∈Wω.
For the case of 1′ we show that Gω in fact satisfies Ide:
[TABLE]
Assume that (x,y) was created in the (n+1)th step of the construction.
Recall that during the construction we defined ℓn+1(x,y)
as F(ℓn+1(x,z);ℓn+1(z,y)) for some z such that
either (x,z)∈En and (z,y)∈Wn+1,
or (x,z)∈Wn+1 and (z,y)∈En.
Wlog assume the former.
Then, using the notation in Figure 1, we have x=t, y=w and z=u.
Recall that path(t,w) is defined by adding the step (u,w) at
the end of path(t,u), see (21).
Hence d(x,z)=d(t,u)<d(t,w)=d(x,y).
Let ℓn+1(x,z)=F(E;ρ1;E)
and ℓn+1(z,y)=F(E;ρ2;E),
whence
ℓn+1(x,y)=F(E;ρ1;ρ2;E)
by the construction.
Since d(x,z)<d(x,y) and (z,y)∈Wn+1,
we can apply the induction hypothesis:
ϵ;ρ1;ϵ∈Aθ(x,z) and
ϵ;ρ2;ϵ∈Aθ(z,y)
for every ϵ∈E.
Thus we get
ϵ;ρ1;ρ2;ϵ∈Aθ(x,y)∋1′.
Assume, for a contradiction, that 1′∈ℓn+1(x,y).
Then ϵ;ρ1;ρ2;ϵ≤1′ is derivable from
\mboxAxi(⋅,;,0,1′) for some ϵ∈E.
But ϵ;ρ1;ρ2;ϵ≤1′ is not valid in
Ri(⋅,;,0,1′) as witnessed by Aθ, a contradiction.
Hence (22) holds.
Thus we have that 1′∈ℓω(x,y) only if x=y,
and then 1′∈Aθ(x,y) as required.
The case of ⋅ follows as above.
Finally assume that τ=σ;ρ and σ;ρ∈ℓn(x,y).
We have to consider three cases.
The first is when σ∈ℓn(x,x) and ρ∈ℓn(x,y).
Then σ∈Aθ(x,x) (since (x,x)∈Wω)
and ρ∈Aθ(x,y) (since ρ is a simpler term than σ;ρ).
Thus σ;ρ∈Aθ(x,y).
The case σ∈ℓn(x,y) and ρ∈ℓn(y,y) is similar.
Finally, if neither of the above cases apply, then we created witness edges
(x,z) and (z,y) such that
σ∈ℓω(x,z) and ρ∈ℓω(z,y).
By the base case we get
σ∈Aθ(x,z) and ρ∈Aθ(z,y),
whence σ;ρ∈Aθ(x,y) as desired.
∎
Lemma 3.5**.**
For every θ′ such that
\mboxAxi(⋅,;,0,1′)⊢θ≤θ′,
we have Ri(⋅,;,0,1′)⊨θ≤θ′.
Proof.
By Lemma 3.3 we have Aθ∈Ri(⋅,;,0,1′).
By the initial step of the step-by-step construction we have
θ∈ℓω(u0,v0)=F(θ) and θ′∈/ℓω(u0,v0).
So by Lemma 3.4 we get θ∈Aθ(u0,v0) and
by Lemma 3.2 we have θ′∈/Aθ(u0,v0).
∎
Remark 3.6**.**
[Representing the free algebra]
In the above construction we fixed a term θ
and constructed an algebra Aθ∈Ri(⋅,;,0,1′).
We can repeat the same construction for every non-zero element θ of the
free algebra FX, resulting in
Aθ∈Ri(⋅,;,0,1′).
It is not difficult to show that
FX can be embedded into
∏θ=0Aθ∈V(Ri(⋅,;,0,1′)).
4. Conclusions
The varieties V(R(Λ)) generated by algebras of binary relations
of the similarity types
Λ=(⋅,;,1′) and Λ=(+,⋅,;,1′)
were stated to be finitely axiomatizable in [AM11]
(Theorem 4.3 and Theorem 4.1(1), respectively),
but their proofs relied on false lemmas.
See [AM14].
In more detail, the third case of Definition 4.6 is ambiguous,
and Lemmas 4.7 and 4.8 are not true.
These lemmas are used in the proof of Theorem 4.3.
As a consequence, the proof of Theorem 4.3 breaks down for the
equation 1′⋅x;y≤x;(1′⋅y;x);y.
This equation is easily seen to be valid, but so far we did not manage
to derive it from the axioms of Theorem 4.3.
In fact, we conjecture that this equation does not follow from the axioms
presented in [AM11].
Theorem 4.3 is used in the proof of Theorem 4.1(1).
Since the main results of this paper, Theorem 2.1 and 2.2,
give only a solution for the special case of integral algebras, we state the following as an open problem.
Problem 4.1**.**
Are the varieties generated by algebras of binary relations
of the similarity types (⋅,;,1′) and (+,⋅,;,1′)
finitely axiomatizable?
In [AMN11], we stated that V(L(+,⋅,;0,1′))
is finitely axiomatizable by a certain set of axioms, Corollary 3.7.
The proof was based on the theorems of [AM11] mentioned above,
hence it is not correct.
Luckily Theorem 2.3 above provides a satisfactory solution in this case.
Finally we mention a corollary related to commutative algebras.
Let Rc(Λ) denote the class of relation algebras of signature Λ
that satisfy the commutativity axiom
[TABLE]
for every x and y.
It is easy to see that V(Rc(⋅,;,0,1′)) satisfies
\mboxAxi(⋅,;,0,1′).
Thus our construction can be applied in this case as well.
Corollary 4.2**.**
The varieties V(Rc(⋅,;,0,1′)), V(Rc(+,⋅,;,0,1′))
are finitely axiomatized by commutativity (23) and
\mboxAx(⋅,;,0,1′), \mboxAx(+,⋅,;,0,1′), respectively.
Acknowledgements
The author is grateful to Hajnal Andréka, Robin Hirsch and István Németi
for helpful comments.