An α-automaton (for α some ordinal) is an automaton similar to a Muller automaton that processes words of length α. A structure is called α-automatic if it can be presented by α-automata (completely analogous to the notion of automatic structures which can be presented by the well-known finite automata). We call a structure ordinal-automatic if it is α-automatic for some ordinal α. We continue the study of ordinal-automatic structures initiated by Schlicht and Stephan as well as by Finkel and Todorčević. We develop a pumping lemma for α-automata (processing finite α-words, i.e., words of length α that have one fixed letter at all but finitely many positions). Using this pumping, we provide counterparts for the class of ordinal-automatic structures to several results on automatic structures:
∙ Every finite word α-automatic structure has an injective finite word α-automatic presentation for all . This bound is sharp.
∙ We classify completely the finite word -automatic Boolean algebras. Moreover, we show that the countable atomless Boolean algebra does not have an injective finite-word ordinal-automatic presentation.
∙ We separate the class of finite-word ordinal-automatic structures from that of tree-automatic structures by showing that free term algebras with at least 2 generators (and one binary function) are not ordinal-automatic while the free term algebra with countable infinitely many generators is known to be tree-automatic.
∙ For every ordinal , we provide a sharp bound on the height of the finite word α-automatic well-founded order forests.
∙ For every ordinal , we provide a structure that is complete for the class of finite-word α-automatic structures with respect to first-order interpretations.
∙ As a byproduct, we also lift Schlicht and Stephans’s characterisation of the injectively finite-word α-automatic ordinals to the noninjective setting.
Finite automata play a crucial role in many areas of computer science. In particular, finite automata have been used to represent certain infinite structures. The basic notion of this branch of research is the class of automatic structures (cf. [20]). A structure is automatic if its domain as well as its relations are recognised by (synchronous multi-tape) finite automata processing finite words. This class has the remarkable property that the first-order theory of any automatic structure is decidable. One goal in the theory of automatic structures is a classification of those structures that are automatic (cf. [7,19,22,23,25]). Besides finite automata reading finite or infinite words there are also finite automata reading finite or infinite trees. Using such automata as representation of structures leads to the notion of tree-automatic structures [2]. The classification of tree-automatic structures is less advanced but some results have been obtained in the last years (cf. [7,14,15]). Schlicht and Stephan [29] and Finkel and Todorčević [8] have started research on a new branch of automatic structures based on automata processing α-words where α is some ordinal. An α-word is a map for Σ some finite alphabet. Büchi [4] already introduced an extension of finite automata, which we call α-automata, that processes α-words. If α is countable, α-automata enjoy basically all the good properties of finite automata whence structures represented by α-automata have uniformly decidable first-order theories. Strictly speaking, there are a priori several classes of structures that one could call α-automatic. As for usual words or trees, one can distinguish between injective or noninjective representations and one can decide whether the representing automata should be deterministic or nondeterministic. Moreover, the mentioned works of Schlicht and Stephan and Finkel and Todorčević even disagree on the definition on the input to an α-automata: while Finkel and Todorčević allow any α-word as input, Schlicht and Stephan only allow α-words that are labelled by a fixed symbol ◇ at all but finitely many positions (we call such words finite α-words). In this article, we focus on finite word α-automatic structures with noninjective presentations by nondeterministic ordinal-automata. If a structure is presentable in this setting, we call it -automatic (where refers to the fact that it is automatic over words from for some finite alphabet Σ). Schlicht and Stephan [29] classified the ordinals that allow injective -automatic presentations and provided bounds on the finite-condensation ranks of scattered linear orders that are injectively -automatic. Finkel and Todorčević [9,11] lifted the former result in the case of ordinals of the form where n is a natural number to the infinite word setting: an ordinal is (infinite word) injectively -automatic if and only if it is finite word injectively -automatic if and only if it is below (where the latter equivalence is Schlicht and Stephan’s result).
We should also mention that Finkel and Todorčević [8,10] showed that the isomorphism problem of infinite word -automatic Boolean Algebras is independent of the axiomatic system ZFC.
Moreover, there is a connection between automata and ordinals and monadic second-order logic in the work of Büchi and more recently Neeman [26,27].
We develop the theory of finite word α-automatic structures and obtain the following counter-parts to results from the setting of automatic structures.
Emptiness of α-automata is decidable in polynomial time.
For (where denotes the first uncountable ordinal), the finite word α-automata can be determinised whence the class of languages of finite word α-automata are closed under complementation. The bound on α is strict in the sense that both results fail if .
Note that the bound is rather surprising. Büchi has already pointed out that in the setting of α-automata where the input may be an infinite α-word, complementation and determinisation are only possible if .
Together with the fact that there is an -automatic well-order of all finite α-words, the classical techniques allow to show that for each , the class of -automatic structures coincides with the class of -automatic structures with injective presentations by deterministic automata.
We lift the classical Pumping Lemma to the finite word α-automata setting. This allows to adapt other techniques from the classical setting to prove limitations on the class of -automatic structures as follows:
We classify the -automatic Boolean algebras (cf. [22] for the classical word-automatic case). A Boolean algebra is -automatic if and only if it is isomorphic to the interval algebra for some ordinal . Moreover, we can show that atomless Boolean algebras are not injectively finite word -automatic. This contrasts the fact that the countable atomless Boolean algebra has a tree-automatic presentation.
The free (semi)-group and the free term algebras with at least two generators are not -automatic. This result is a stronger separation result than the previous one because it even holds for noninjective presentations. The latter is the first example of a tree-automatic structure which is not -automatic for any ordinal α. Since Schlicht and Stephan [29] showed that there are ordinals that are -automatic but not tree-automatic for all , our result completes the separation of the class of tree-automatic structures and the class of finite-word ordinal-automatic structures.
The pumping lemma also allows to lift a classical result of Blumensath [2] to this setting. There is an -automatic structure that is complete under first-order interpretations for the class of -automatic structures, i.e., there is a structure such that is -automatic and every -automatic structure is first-order interpretable in .
Exhibiting a connection between -automatic order trees and -automatic ordinals from Kartzow et al. [17] (first used by Kuske et al. [25] in the finite word case), we derive a bound on the (ordinal) height (also called the rank) of well-founded -automatic order forests: for each ordinal , an -automatic order forest has height strictly below . We construct examples which show the bound to be strict.
We would like to thank the anonymous referees for detailed comments.
Outline of the paper
In Section 2 we briefly recall some basic facts and fix some notation. Section 3 introduces α-automata and -automatic structures and discusses basic properties of these concepts. For this purpose we prove two pumping lemmas for α-automata in Section 3.2. These can be seen as the most important technical contribution underlying all of our results. For instance, the basic results that emptiness of α-automata is decidable (Section 3.3) and that α-automata can be determinised if (Section 3.4) rely on these pumping arguments. Section 4 then introduces structures that are complete under first-order interpretations for the class of -automatic structures. After this, Section 5 contains a second series of technical results. Here we lift the notion of growth lemma from the classical automatic structures setting to our setting. These results can be seen as a way of transforming the pumping lemmas into statements about -automatic Boolean Algebras, (semi-)groups, term algebras, etc. Sections 6 and 7 then apply the growth lemmas first to Boolean Algebras and then to free (semi-)groups and free term algebras. Finally, Section 8 contains our results on -automatic forests.
Preliminaries
In this section, we briefly recall some basic facts and fix some notation.
Ordinals
As usual, we identify an ordinal α with the set of smaller ordinals . We say α has countable cofinality if or there is a sequence of ordinals such that . Otherwise we say α has uncountable cofinality. We denote the first uncountable ordinal by . Note that it is the first ordinal with uncountable cofinality.
For every ordinal α and every , let be the ordinal of the form for some ordinal β such that
for some natural numbers .
Logics
We assume that the reader is familiar with first-order logic and its usual extensions. denotes first-order logic. is its extension by the quantifier “there are infinitely many”. Given a signature σ, the set of positive existential first-order formulas, denoted by is the set of formulas build from the relations in σ using ∃, ∧, and ∨. Similarly, denotes the set of formulas of the form where , and its extension where we also allow inequality as an additional binary relation.
Ordinal-automatic structures
First of all, we agree on the following convention: Throughout the whole article, every alphabet Σ contains a distinguished blank symbol which is denoted by or, if the alphabet is clear from the context, just by ◇. Moreover, for alphabets , the distinguished symbol of the alphabet will always be .
For any limit ordinal , A an arbitrary set and a map we introduce the following notation for the set of images cofinal in β:
An -word (over Σ) (called a finite α-word over Σ) is a map whose support, i.e. the set
is finite. The set of all -words over Σ is denoted by . We write for the constantly ◇ valued word , for all , which we also call the empty input of length α.
If are ordinals and some -word, we denote by the restriction of w to the subword between position γ (included) and δ (excluded).
Ordinal automata
Büchi [4] has already introduced automata that process -words. These behave like usual finite automata at successor ordinals while at limit ordinals a limit transition that resembles the acceptance condition of a Muller-automaton is used.
An (ordinal-)automaton is a tuple where S is a finite set of states, Σ an alphabet, the initial and the final states and Δ is a subset of called the transition relation.
Transitions in are called successor transitions and transitions in are called limit transitions.
A run of on the -word is a map such that
for all
for all limit ordinals .
The run r is accepting if and . For , we write if there is a run r of on w with and .
In the following, we always fix an ordinal α and then concentrate on the set of -words that a given ordinal automaton accepts. In order to stress this fact, we will call the ordinal-automaton an -automaton.
Let α be some ordinal and be an -automaton. The -language of , denoted by , consists of all -words which admit an accepting run of on w. Whenever α is clear from the context, we may omit the subscript α and use just instead of .
Two pumping lemmas
The pumping lemma for finite automata on finite words is perhaps one of the best known theorems in theoretical computer science. It states that a part of a long word accepted by an automaton can be repeated arbitrarily often and the word still is in the language. An analogous argument holds for -automata. More precisely, in each ω-copy of α we can pump within this ω-copy if the word contains a letter different from ◇ at a position far away from the minimal element of this ω-copy. Moreover, we prove a pumping lemma concerning different ω-copies. If , every finite -word contains large subwords which are constantly labelled by ◇. We call such a subword a gap (of the support of the word). Given some ordinal, if an -automaton with n states accepts an -word w with a gap of size at least and then we can pump this gap to size for each in the sense that if is accepted by the automaton where is a constant map (with value ◇) and has size then is also accepted for all words that are constant maps with value ◇ of length at least and shorter than α. Note that implies that is still an -word. Note that Wojciechowski [30] also proved a lemma that is similar to the shrinking part of our pumping lemma. He proved that if there is a run r of an -automaton from state q to state p such that then there is also a run of (seen as a -automaton for a certain ) from state q to state p on a word of length β.
As stated in Definition 3.1, we call the empty input (of length η) for each ordinal η. We first state two pumping lemmas: the first for -automata where α is an ordinal of countable cofinality and the second for -automata where α is of uncountable cofinality. Afterwards we give an example that the first pumping lemma does not hold for ordinals of uncountable cofinality. Finally, we prove both Pumping Lemmas.
(First pumping).
Letbe an ordinal of countable cofinality and letbe an automaton with. For all,
(Second pumping).
Letbe an ordinal of uncountable cofinality and letbe an automaton with. For all, the following are equivalent:
,
there is a state, a set, a transitionand runs on empty inputand
there is a runsuch thatfor all.
The following example, which is copied from Wojciechowski [30], shows that Proposition 3.6 does not hold for ordinals with uncountable cofinality. The automaton used in this example is extended in Example 3.2 below to show that complementation of -automata is in general not possible.
Let where Δ consists of
for all ,
, , and .
There are runs of starting in and ending in on every word where α is a limit ordinal of countable cofinality, but no run of from to on the empty word of length . Fixing a sequence with and , a run on is given by
Now heading for a contradiction assume that r is a run of on the empty word of length which ends in state . Thus, is cofinal and hence uncountable. Let be the minimal element of Γ and the minimal element of . is a countable initial segment of Γ. Thus, state occurs cofinal at in r. But this implies that whence there is no applicable transition from to . As desired, we have arrived at a contradiction.
The rest of this section provides proofs for both Pumping Lemmas. The proofs are lenghty because one has to deal with several case distinctions but the underlying idea of exhibiting state repetitions in a given run is the same as in the case of pumping for finite automata. The next two lemmas provide a proof of the First Pumping Proposition. Note that the condition on the cofinality of γ is only crucial for the first part, i.e., for pumping some run from to . The possibility to shrink a run from length to is independent of the cofinality of γ.
Let, and letbe some ordinal with countable cofinality. Letbe an ordinal automaton. Suppose thatandwith.
If there is a runofon empty input withthen there is a runofon empty input with
The proof is by induction on m and .
First suppose that . Then for some . Let
Now suppose that . Choose with .
If there is an such that
choose with such that . Let
Assume that there is no such n and that γ is a limit ordinal. Let be such that . We may assume that for each is a successor ordinal. We can pump
to a run
for by the induction hypothesis for . Finally, define by
Assume that there is no such n and is a successor ordinal. Note that . Thus, we can apply the induction hypothesis for to this subrun and obtain a run of length . Composition of with and yields a run r on the empty input of length
□
Let,some ordinal andbe an automaton. Suppose thatandwith. If there is a runofon empty input withthen there is a runofon empty input with
The proof is by induction on m, and γ. The claim is obvious for or . Thus, we assume that and and that the claim holds for all tuples where , or and , or and and .
Suppose that . Let denote the least ordinal below such that only states appear in . There are two subcases:
First suppose that for a minimal . Note that is isomorphic to and is isomorphic to for some . Since , we can shrink to a run with domain by the induction hypothesis for m and the smaller set . Since we can finally apply the induction hypothesis to the shorter run that is the composition of and and obtain the desired run .
Second suppose that for all . We conclude immediately that γ is a successor, i.e., and . Now we distinguish the following cases.
Assume that and that . Then there is a such that and for each state such that s occurs in r strictly before also occurs before β. Then the composition of with yields the desired run.
Assume that and that . Thus, there is some such that . Thus, we can apply the induction hypothesis for smaller m and shrinking to a run on domain with and . Since for some , composition of with and yields the desired run of length .
If , we apply the induction hypothesis (for smaller or smaller γ) to and shrink this run to a run of length . The composition of and is a run of length and we can apply one of the previous two cases.
Suppose that . We distinguish the following subcases:
Suppose that there is some with . Then we can apply the induction hypothesis for to the run and obtain a run such that , , and . Since , we can define the run by
Suppose that for each , there is an such that . There are the following subcases:
First suppose that . Since , there is a with . Let for .
Suppose that . By assumption, for each i, there is some with and a state such that for all . Thus, we can apply the induction hypothesis for and smaller to each and shrink it to a run of size . Note that the length of is also bounded by some . Thus, composition of these runs yields the desired run of length .
Suppose that is a limit ordinal. Choose a sequence such that for all . Since , we can apply case 1. to each and obtain a run with image such that . Choose such that . Let given by if there are such that and or , and given by such that there is a with . Now define given by
Now we can apply the induction hypothesis to for . □
Finally, we prove the Second Pumping Proposition.
Let be a run on empty input and set . Suppose that
Let β be minimal such that . By induction on pairs (ordered lexicographically) we can choose a sequence such that
,
,
for all ,
, and
is of the form for some ordinal γ.
Let be numbers such that . By Lemma 3.9, we can shrink to a run with
,
and
,
and to a run with
,
and
.
Composing with ω many copies of extended with as final state yields the desired run.
Let be a run such that for all . Let be such that . Let be numbers such that . Application of Lemma 3.9, gives a run such that and .
Define by
□
Emptiness problem for ordinal-automata
Ordinal automata possess many properties known from the setting of finite word automata (cf. [21] for details on the latter). In particular, the usual constructions for union, intersection and projection carry over to our setting. Thanks to our pumping lemma, we can also show that emptiness of ordinal automata is decidable. Note that our setting is slightly different to the one considered by Wojciechowski [30] and Carton [6] because we consider only words of a fixed length α. This makes a difference since for instance the results in Section 3.4 depend on α.
Let α be an ordinal. Emptiness of-automata is decidable in polynomial time, i.e., there is an algorithm that, given an-automatondecides whether.
Fix an -automaton . Let n be a strict bound on the number of states of . Using closure under projection, we can assume that uses alphabet . Recall that denotes the unique multiple of such that
for certain finite number . We first reduce the emptiness problem to finitely many emptiness problems for -automata where i ranges over . This reduction distinguishes whether has countable cofinality.
First assume that . if and only if there are states
such that
is an initial state and is a final state,
for all , and
for all and , there is a run .
Next assume that has countable confinality. Pumping with Proposition 3.6 (applied to words of length ) shows that is nonempty if and only if there are states
such that
s is an initial state and is a final state,
for all ,
there is a run , and
for all and , there is a run .
Finally assume that has countable confinality. Pumping with Proposition 3.7 (applied to words of length ) shows that is nonempty if and only if there are states
such that
s is an initial state and is a final state,
for all ,
there are runs and such that there is a transition for , and
for all and , there is a run .
Using this case distinction, we can decide emptiness of , if we can decide whether there is a run for given states q, and an and if we can determine the possible image and the possible set of cofinal states of such runs. But this is decidable due to a result of Wojciechowski [30]. Moreover, Carton [6] even showed how to decide such problems in polynomial time. □
Determinisation of ordinal automata
Another important result for finite automata is the fact that finite automata can be determinised whence we can construct an automaton accepting the complement of the language of a given automaton. This result carries only partly over in the sense that the closure under determinisation (and complementation as well) of -automata depends on α. Büchi [4,5] provided a determinisation procedure for α-automata for all countable α (we write α-automaton instead of -automaton because in this setting also words with infinite support are allowed as inputs). For the setting where words with infinite support are allowed, this is optimal as we show by an example in the Appendix.
Interestingly, the picture changes in our setting because we consider automata that only accept -words with finite support. We prove below that an -automaton can be determinised if only contains finite -words and . On the other hand there is an -automaton such that the complement of is not the language of any -automaton.
An -automaton is deterministic if I is a singleton, for each pair there is at most one such that and for each subset , there is at most one such that .
Recall that complementation for deterministic -automata is trivial: exchanging the final and the nonfinal states of a deterministic automaton yields an deterministic automaton such that . Since the set of finite -words is recognised by an automaton as well, we can easily derive an automaton such that .
We first give a simple example that shows that complementation of -automata is in general not possible even if the automaton only accepts finite -words.
Let
L is accepted by the automaton
where Δ consists of
for all ,
,
, ,
, , and
.
This is an extension of the automaton from Example 3.1 that may read one letter a at those positions where the original automaton enters state .
Heading for a contradiction assume that is an automaton that accepts the complement of (with respect to or ). Let r be an accepting run of on the word w defined by
Using Propositions 3.6 and 3.7, we can shrink to a run on empty input of length and we can pump using Proposition 3.6 to a run with domain . Concatenation of these two runs yields an accepting run of on v defined by
which contradicts the assumption that accepts the complement of .
Note that the same example works for all ordinals . In case that α has uncountable cofinality, we only have to replace the second application of Proposition 3.6 by a use of Proposition 3.7.
Now we turn to the proof of the rather surprising fact that for all we can determinise -automata whose language consists of finite -words only. This result relies on three facts.
The determinisation procedure of -automata for countable ordinals γ is independent of the choice of γ.
We can compute all the possible pairs of initial and final states of runs on empty input of length (using decidability of emptiness), and the interval is isomorphic to for all ordinals .
For ordinals a deterministic automaton can detect position in an -word.
Letbe some ordinal andsome-automaton such that(for some alphabet Σ). There is a deterministic-automatonsuch that.
Before we come to the proof, we collect some results from the literature that we exhibit in our construction of .
([5]).
Letbe some ordinal automaton with state set S. Fromone can compute a deterministic automatonwith state set Q and initial state i, and a functionsuch that for all countable ordinals γ and all-words w, alland allthe following are equivalent:
For each, there is a deterministic ordinal automatonthat marks α in the sense that there is a special state s ofsuch that on every input w (of length at least α) the run ofon w is in state s exactly at position α. Similarly, for every numberthere is a deterministic automatonwith a special statesuch that on input any-word w the run ofreaches stateexactly at all positions of the formforsome ordinal.
has states . At successor steps always switches to state . At a limit step where states appear cofinally, switches to state .
The construction of uses similar ideas and is left to the reader. An optimal construction minimizing the number of states can be found in [30]. □
If , just apply Lemma 3.13. Now assume that and let be an -automaton. The basic idea of our determinisation procedure is to compute a deterministic automaton that consists of three components , and with the following behaviour:
is the deterministic variant of obtained from Lemma 3.13. Given a position , the state of at β on input w reports via the function f those pairs such that there is a run .
Using the information from , reports at all positions the possible pairs such that there is a run where . This component only changes its state at positions β with . At such a position, it adds a pair to its state if there is a state such that for s the state of and such that there is a run (since emptiness is decidable, those pairs are effectively computable).
behaves like the deterministic variant of some on the countable tail of α, i.e., on where denotes the automaton obtained from by replacing the initial states with some set that we describe below. Assume that and assume that . At each position with , starts the computation of the deterministic version of from Lemma 3.13 where contains all those states q such that the state of at contains a pair where i is some initial state of . then simulates the deterministic version of up to and then stops its computation.
now accepts input w if and only if simulates some on and reaches a state q at α such that contains a pair such that and q is a final state of .
Using the previous lemmas it is clear that the automaton with the described behaviour can be computed from . We finally prove that . First assume that . Fix a run for an initial state and a final state of . Let and . By definition the state of at is some state s such that . Since witnesses , the state of on is constant and contains the pair . We conclude that simulates the deterministic variant of on for some that contains . Now witnesses whence ’s state reports (via function f) the pair of an initial state of and a final state. Thus, accepts on input w.
Similarly, if accepts on input w, we can reconstruct an accepting run r of on w. □
Ordinal automatic structures
Automata on words (or infinite words or (infinite) trees) have been applied fruitfully for representing structures. This can be lifted to the setting of -words and leads to the notion of -automatic structures. In order to use -automata to recognize relations of -words, we need to encode tuples of -words by one -word:
Let Σ be an alphabet and .
We regard any tuple of -words over some alphabet Σ as an -word over the alphabet by defining
for each .
An r-dimensional-automaton (over Σ) is an -automaton (over ). The r-ary relation on recognized by is denoted by
Recall that we declared to be the blank symbol of . Thus, is indeed a finite set.
Usually, this interpretation of as an -word is called convolution of and denoted . For the sake of convenience, we just omit the ⊗-symbol.
Let be a finite relational signature and let relation symbol be of arity . A structure is -automatic if there are an alphabet Σ and -automata such that
is an -automaton over Σ,
for each , is an -dimensional -automaton over Σ recognizing an -ary relation on ,
is a 2-dimensional -automaton over Σ recognizing a congruence relation on the structure , and
the quotient structure is isomorphic to , i.e., .
In this situation, we call the tuple an -automatic presentation of . This presentation is said to be injective if is the identity relation on . In this case, we usually omit from the tuple of automata forming the presentation.
As in the case of classical automatic structures, for ordinals , the class of -automatic structures behaves well with respect to first-order logic extended by , i.e., the -theory of every -automatic structure is uniformly decidable. Our proof for the -quantifier is inspired by the analogous result for tree-automatic structures. For the tree-automatic result one uses the fact that a set of finite trees is finite if and only if the union of the domains of all trees from this set forms the domain of some finite tree. Analogously, we use the fact that a set of finite sets of ordinals is finite if and only if the union of all these sets is a finite set.
For each, the class of-automatic structures is effectively closed under expansion bydefinable relations.
For each ordinal β, the class of-automatic structures is effectively closed under expansion bydefinable relations.
The proof relies on the closure of recognizable -languages under projection (for ∃), union (for ∨), intersection (for ∧) and complementation (for ¬) and is by induction on the structure of first-order formulas. It is completely analogous to the case of automatic structures whence we omit it. For the quantifier, we use a reduction to first-order logic over some expansion. This technique is known from the setting of tree-automatic structures.
Note that for every α the relation
is recognizable by an -automaton. Given an -automatic structure , elements of and an formula , we have
if and only if
where denotes the expansion of by the relation ⊑ and ≈ denotes the congruence from the presentation of .
The proof of the equivalence of the two formulas can be sketched as follows. If there are only finitely many such that then we can pick one representative from the ≈-class representing . Now let d be a word such that . Any witness for φ is equivalent to one of the and . Thus, does not satisfy ψ.
On the other hand, if there are infinitely many pairwise inequivalent elements satisfying ϕ, then the union of their supports forms an infinite set. Thus, for any given finite -word c we find an that satisfies ϕ and is not equivalent to any word whose support is contained in the support of c because there are only finitely many words whose support is contained in . Thus, satisfies ψ. □
Letbe some ordinal. The-theory of every-automatic structure is decidable.
Forthe-theory of every-automatic structure is decidable.
Fix an -automatic structure . Given an -sentence φ we construct (using the previous lemma) the automaton corresponding to the relation defined by φ. Since φ is a sentence, is inputless. By construction if and only if accepts on empty input. The latter is decidable by Lemma 3.10. □
This result shows that the class of -automatic structures for is a useful tool for proving decidability of first-order logic on some structures.
In the case of an -automatic structure where , we can transform any given presentation into an injective one. This is due to the fact that there is a -automata recognisable well-order on , which allows to select the minimal representative of every equivalence class.
The setadmits an-automatic well-order, i.e., there is a 2-dimensional-automaton over Σ recognizing a well-order on.
Fix a linear order on Σ. It is well-known that the following definition yields a strict well-order < of order type on (cf. [28, Excercise 3.4.5]): if and for the maximal with . It is easy to see that this order can be recognized by a 2-dimensional -automaton. Basically, such an automaton first guesses the position β, then verifies and finally checks that it guessed β correctly. □
Thanks to the previous lemma and closure under first-order definitions, we can apply the same construction as for automatic structures in order to translate non-injective presentations to injective ones.
Letbe an ordinal andan-automatic structure. There is an injective-automatic presentation of.
Let be a -automatic presentation of . Using the automatic well-order ⩽ from the previous lemma, we can construct an automaton such that
Apparently, accepts exactly one member of each -class accepted by . Intersection of with an -dimensional variant of yields an -dimensional automaton such that
Thus forms an injectively -automatic presentation of . □
Complete structures under FO-interpretations
Blumensath [2] characterised the classes of automatic structures represented by finite (infinite, respectively) words (trees, respectively) independently from the notion of automata. These characterisations are based on first-order interpretations.2
Readers who are not familiar with the notion of logical interpretations can obtain the necessary basics from [2].
For instance, consider where iff there is a such that and x is a divisor of y (for some fixed prime number p). is an automatic structure and every automatic structure is first-order interpretable in (cf. [2]). In this sense is the most complex automatic structure. We call a structure with these properties complete for the class of automatic structures under first-order interpretations. Blumensath identified similar structures that are complete for the class of infinite word automatic structures and finite or infinite tree automatic structures.
Analogously, we call complete for the class of -automatic structures if is -automatic and any -automatic structure can be interpreted in via first-order interpretations.
For the rest of this section, we fix the alphabet .
Let where
L is the set of all -words over alphabet for all ,
for , , if w is a -word, v a -word and
⩽ is the prefix order on words of length up to α, i.e., for a -word w and a -word v if and , and
if there is a such that x and y are both -words ( stands for ‘equal length’).
For words , we write for the such that w is a -word.
The main result of this section is the following theorem.
Letbe an ordinal.is complete for the class of-automatic structures.
Let us start with the easy part of the theorem:
For all ordinals α,is-automatic.
For we can encode a -word w over as the -word over alphabet Σ given by
Moreover, we encode an -word w by . The set of -words over Σ encoding -words for some is clearly -automatic. An automaton for just has to check that after the occurrence of □ only label ◇ appears and that the word has finite support.
An automaton for has to check, on input , that at the β with the value of v is i, i.e., that and that (in case that ).
An automaton for ⩽ has to check, on input , that the two words agree up to the occurrence of □ in w.
An automaton for only has to check that there is an occurrence of or no occurrence of symbol □ in either of the two words (in the latter case, both words are of length α). □
The proof that any -automatic structure is first-order definable in (for ) needs a more involved argument. We basically combine Blumensath’s approach from the classical setting with a clever use of the pumping lemma. We first briefly review Blumensath’s approach and then explain how pumping allows to adapt it to our setting.
In the setting of usual (finite) words, given an automatic relation R over alphabet , we can first identify the alphabet with some subset of . Similarly, we can identify the state set of an automaton corresponding to R with some subset of . This allows to represent elements of R as well as runs of as tuples of words over Σ. Then one constructs a first-order formula (over signature )
where
is a tuple of words over Σ of the right size to represent elements from R and is a tuple of size l, i.e., of the right size to represent sequences of states of the automaton ,
max states that the elements from are long enough to code a run on the words encoded by ,
R states that the sequence of states encoded by respects the transition relation of ,
S states that encodes an initial state, and
A states that the last state encoded by is accepting.
Using these formulas , we can now give a first order formula for each automatic relation. In particular, the formulas corresponding to the relations of an automatic structure form a first-order interpretation of this structure in .
In order to lift Blumensath’s approach to we face one problem. We can code a run of an -automaton (with state set ) as an l-tuple of infinite α-words over Σ. But more than one state might appear infinitely often whence this run cannot be encoded directly as an -word. Here, the pumping lemma comes to our rescue: first assume that α is countable. If a run parses an empty subword of length where m is the number of states of and some countable ordinal, there is a run from state q to state on this word if and only if there is one on the empty word of length . Thus, we can hardcode a table of the possible runs on for each in our formulas. This allows to use an -word to encode the states of a run r on -words at the positions from and at finitely many positions in the gaps between the support such that the distance between two such positions is either for some or for some ordinal .
If , we still can apply the idea described above. We only have to take care of a possible gap in of uncountable cofinality. From our basic results on -automata we know that there are less possible runs on an empty input of some length where β has uncountable cofinality than in the case that β has countable cofinality. Fortunately, if for some , then any gap whose right end is of uncountable cofinality ends exactly at . Moreover, position in an α word is characterised by the fact that it is the maximal position p that is of the form for some ordinal γ. As we show below, this position is definable in . Thus, by a special treatment of the gaps ending at we can lift the result to all .
We now provide the details of the proof. As a simplification we first show that it is sufficient to consider -automatic structures over the previously fixed alphabet Σ.
Every-automatic structure is first-order interpretable in an-automatic structure with presentation over the alphabet Σ.
Let be a presentation of some structure over alphabet . We identify with a subset of for big enough n. It is easy to construct automata such that the prime version of every automaton behaves like the original, but on inputs over . It is straightforward to give an n-dimensional first-order interpretation of over the structure . □
What is left to show is the following proposition
Let. Letbe a relation recognisable by some-automaton. Then R is first-order interpretable in.
Fix an automaton that recognises R. Let be the partition into the successor transitions and the limit transitions .
In order to simplify the arguments of our proof we first establish some notation for certain first-order definable relations.
We write if and only if . This is definable from and ⩽.
Set and for all
By an easy induction on one shows that if and only if for some ordinal .
We set
is satisfied in if and only if is maximal such that for some ordinal . In the following, we call such a position an i-limit.
For and y we define
if and only if and the symbols of at position p are , i.e., for .
We extend the -predicate to arbitrary many variables, i.e., we write for .
For all let . if and only if are all -words (as opposed to -words for some ).
We now prove the hard direction of the main theorem for the cases where α is countable. Afterwards we discuss the other cases.
Let. For each-automatonover alphabet, there is a formulasuch thatif and only if.
In the following we describe an encoding of a run r on an -word w (over alphabet for some ) of some automaton with . We identify Q with a subset of for an appropriate l. There are an (see Definition 3.1 for the support of w) and (ordinal) positions
such that
and is an empty word for all .
Each decomposes as
where and some ordinal. We encode a run r of on w by an -word such that
and is given by the following rules.
For all ,
For all , consists of
,
if there is a such that (i.e., ),
and all
for all and all .
We define a formula
such that if and only if . If this formula is satisfied, every witness for the quantification is some word corresponding to some accepting run r of on . Let us explain S, A, and R.
S states that is an initial state of : .
expresses that for an encoding of an arbitrary run r of on . Note that the following set is exactly and that it is easy to translate our description into a formula that defines this set:
Let us briefly sketch why this set is equal to for any run r on . The first line describes the positions in for . The second line puts for each into the set. The third line puts elements of the form
for all and all . The last two lines do the same as the second and third but with respect to the position . The main difference is that position α is not available in . In order to understand the last two lines first note that is satisfied in if and only if for some ordinal . Thus, if for some , the third line collects the position for the maximal β such that . Otherwise this third set is empty. Analogously, the last set contains all i-limits p such that for some constant .
R is a formula that expresses that the states of are compatible with the transition relation. If this requires that there is a successor transition :
Now for each note that for and we have that is the direct successor of p in if and only if is an -limit and . Let be the list of tuples such that there is a run . We say that are compatible with Δ if . For each there is a formula which is satisfied if all positions in of distance are compatible with Δ. Let
where states that is defined at p and but undefined between p and .
Finally, we have to provide a formula dealing with the k-limits in for . Let
We claim that this formula expresses compatibility of a pair for p, direct successors in of distance for any ordinal of countable cofinality. For the reasoning is as in the case of . For we use Proposition 3.6: there is a run on empty input of length if and only if there is a run with the same initial and final state and the same image on the empty input of length .
The definition of A depends on α as follows
If for some , let state that is a state such that there is a final state f such that . In this case is isomorphic to for some . Using the pumping lemma again, we conclude that holds if and only if there is a run for and f some final state.
If
with , let state that is a state such that there is a final state f such that . Note that in this case satisfies
we conclude that holds if and only if there is a run for and f some final state. □
Our proof can easily be adapted for every ordinal α with as follows.
If everything can be done as before, except that we have to adapt A. In this case for any coding of a run, the interval is of the form . Since has uncountable cofinality, not all runs on can be translated to runs on . Nevertheless we can compute all the possible pairs of initial and final states of runs on empty input of length and hardcode these into A instead of the set .
If for some , we can copy everything from the countable case except for one thing: given a word , it might happen that . In this case, there are two positions such that they satisfy and is of order type . For this case we have to add a conjunction to R that requires that the states and satisfy that there is a run of the automaton from state to state on input . Since all those pairs are computable and the position where this happens is the maximal -limit in α, this can easily be done.
In fact, we can also define complete structures for all . Let be the expansion of by a unary predicate (“countable cofinality”) such that if and only if p is a -word for some β of countable cofinality. Using this predicate, we can extend the definition of R to distinguish whether a gap of the form in has countable or uncountable cofinality and require the states to correspond to a run on empty input of length or respectively. Moreover, if α itself has uncountable cofinality we have to adapt the definition of A as in the case of . But recall that for , the class of -automatic structures is probably not closed under first-order definable relations which turns this result less interesting.
Growth lemmas for ordinal-automatic structures
A relation is called locally finite if for every , there are at most finitely many with . In the following, we first characterise the branching degree of locally finite -automatic relations. We first define a function that computes, on input the support of (the representation) of some , an upper bound on the support of (the representation of) any such that for any locally finite -automatic relation whose automata has less than m states.
Let
be an ordinal and X a finite set of ordinals. Let us define the following sets.
Let denote the set of ordinals such that either
or
and for all ,
where k is maximal with .
Let .
Let be those elements of that are strictly below δ.
Let and for , and similarly let and for .
A rough upper bound for the sizes of these sets is provided in the next lemma. In this lemma, we use the following abbreviations (where as before X is a finite set of ordinals and ).
,
(we add 0 to be well-defined if X is empty), and
.
Suppose that X is a finite set of ordinals and. Then
The coefficient of of an element of can take at most many different values for any fixed . Hence for all . Moreover for all .
Finally, note that only contains ordinals of the form
where the same restrictions on the apply as before. □
It follows that there are at most -words w over alphabet Σ with for .
(Growth lemma).
Letbe a locally finite relation of-words which is recognizable by some-automatonwith at most m states. Thenfor all.
Heading for a contradiction, fix an accepting run r of on and assume that
Let be minimal. We aim at proving the following three claims.
There is a such that
i.e., .
We prepare some notation for the second claim. Let be least such that there is some such that
For this fixed k, let γ be maximal with this property. By choice of k, and there are natural numbers and such that
We claim that either or .
are all at most m.
Having proved these three claims, it follows immediately that yielding the desired contradiction. We now prove the claims as follows.
Heading for a contradiction assume that satisfies
Note that (2) implies . Let η be minimal such that is of order type . Since η is minimal, the order type of is for some ordinal . Recall that r is a fixed accepting run of on . Using the Shrinking Lemma 3.9 and then the Pumping Lemma 3.8 we can translate the run (on (a convolution of) empty words of length ) into a run on empty words of length for each . Note that replacing by in r results again in an accepting run of on some tuple of -words because
For the same reason, for all . On the other hand we show that differs from for all . Just recall that is of order type whence there is some such that
Since we obtain by inserting an empty word of length in w at η, it is straightforward to conclude that satisfies
Note that we have constructed infinitely many such that contradicting the fact that R is locally finite. Thus, we arrive at a contradiction and the first claim is proved.
Note that by minimality of k, is not possible. Heading for a contradiction assume that . This implies whence we can conclude that . Thus, is isomorphic to for ordinals and . In particular, for all
is of order type α again (the extra is absorbed by ). By maximality of γ, is the empty word. Moreover, there is a state s of and numbers such that
Let and let be obtained from by inserting at . For each , is an accepting run of on a tuple of -words. Since γ has been chosen as the maximal element of in the copy of β, we immediately conclude that . Moreover, if because either is empty and
or is nonempty whence . Note that we have constructed infinitely many such that contradicting the fact that R is locally finite. Thus, we arrive at a contradiction and the second claim is proved.
Let . By minimality of k,
is an empty word. If , some state s occurs in
at two positions in different copies. The subrun between these positions can be iterated as before and yields infinitely many such that .
Putting all results together, we proved that , , , and for all . This implies contradicting the assumptions on β. Thus, . □
For some real number x, let denote the least with , and log the logarithm with base 2.
(Growth lemma for semigroups).
Suppose the multiplication of the semigroupis recognised by an-automaton with at most m states. Supposeandforwhere. Then.
We follow the proof of [22, Lemma 3.2]. The statement follows from the Growth Lemma for . For let and . Then . Let and . Then by the induction hypothesis for . Thus, by the Growth Lemma applied to t and u. □
We give a variant of the growth lemma that turns out to be very useful in the setting of noninjective presentations of structures with functions, e.g. groups. Instead of using pumping to generate many words related to a fixed one, we now use shrinking in order to get a small element related to a given one. This lemma can be seen as a weak variant of Delhommé’s relative growth arguments [7] for ordinal-automatic structures.
(Inverse growth lemma).
Letbe an-automaton withstates and let w, v be finite-words such thataccepts. Setting, there is a wordsuch thatandaccepts.
Let r be an accepting run of on .
Assume that
exists. Using pumping and shrinking inductively, we can transform v into a word such that accepts and . For this purpose, we define
We have an outer induction on the size of and an inner (transfinite) induction on the size of . The inductive step is a tedious case distinction on the shapes of and . Let us fix natural numbers , , , such that
Since and , one of the following holds.
,
, , , , and , or
, , , , and and there is a maximal such that .
Since and , one of the following holds.
or
, , , , and and there is a maximal such that .
This leads to the following cases.
Set
By minimality of β and maximality of γ, . Hence is of shape for some ordinal . By definition of , is of shape for some ordinal . Choose an ordinal η such that is isomorphic to and define
We claim that is accepted by . Application of the Shrinking Lemma 3.9 to yields a run of on with the same initial and final states as . Application of Pumping (depending on whether has countable cofinality, Proposition 3.6 or Proposition 3.7) to yields a run of on with the same initial and final states as . Since is an empty word, the composition of , , , , and is an accepting run of on .
One concludes easily that either
or
and satisfies the conditions of cases 2 + i or 3 + i.
Note that is the empty word. Since we can find such that
Thus, the composition of
is an accepting run on
and we can conclude by induction hypothesis.
In this case, there are natural numbers such that
Thus, the composition of
is an accepting run on
and we can conclude by induction hypothesis.
Set and
Note that and that is empty. Thus, there are such that the composition of
is an accepting run on
and we can conclude by induction hypothesis.
Note that is empty. There are such that the composition of
is an accepting run on
and we can conclude by induction hypothesis.
Set Note that is empty. Thus, there are such that the composition of
is an accepting run on
and we can conclude by induction hypothesis. □
Ordinal automatic Boolean algebras
In this section, we classify completely the finite word -automatic Boolean algebras. Moreover, we show that the countable atomless Boolean algebra does not have an injective finite-word ordinal-automatic presentation.
Basics on Boolean algebras
This section provides the necessary background on Boolean algebras. For more details, we refer the reader to [12,24].
A Boolean algebra is an algebraic structure such that both and are idempotent commutative monoids, ⊔ and ⊓ distribute over each other, and is a unary operation satisfying the following identities for all :
The operations ⊔, ⊓ and are called union (or disjunction), intersection (or conjunction) and complement (or negation), respectively. Notice that is an involution and that the above axioms imply and .
Each Boolean algebra satisfying contains precisely one element and is called trivial. Clearly, there is – up to isomorphism – only one trivial Boolean algebra.
Let X be some arbitrary set. The power set algebra of X is the Boolean algebra . If X is a singleton set, models classical two-valued logic, where ∅ corresponds to “false” and X to “true”.
Let be some linear ordering. The interval algebra of is the Boolean algebra , where is the set of all finite unions of half-open intervals of the form for and , where for each .
For Boolean algebras and , their direct product, whose domain is and whose operations and constants are defined component-wise, is a Boolean algebra as well.
A useful technique to characterize Boolean algebras is to study the transfinite process of iteratively quotienting out their indecomposable elements. Formally, let be a Boolean algebra. A pair is a decomposition of if , and . An atom of is a non-zero element which admits no decomposition.
An ideal of is a subset such that , for all , and for all and . Any ideal I of induces a congruence on which is defined by if , where is the symmetric difference (or exclusive disjunction) of a and b. The corresponding quotient algebra – which is again a Boolean algebra – is denoted by and its elements by for . If I is an ideal of and J is an ideal of , then the set
is an ideal of with and the quotient algebras and are isomorphic via mapping to .
The set
is an ideal of , called the Frechét ideal of . In fact, it is the smallest ideal of containing all its atoms. For each ordinal α, the iterated Frechét ideal is defined as follows, where λ is a limit ordinal:
Observe that whenever and that there is always an ordinal α such that for all ordinals . The least such α is called ordinal type of and denoted by . If is countable, then is countable as well. The Boolean algebra is called superatomic in case that . If is non-trivial and superatomic, then is a successor ordinal, say , and is a finite Boolean algebra, say it has atoms. In this situation, the pair is called (superatomicity) type of and denoted . An example of a superatomic Boolean algebra of type is the interval algebra . Due to the following proposition, this is indeed the only countable example whenever is countable.
Two non-trivial countable superatomic Boolean algebrasandare isomorphic if and only if.
If superatomic Boolean algebras are regarded as one end of the whole spectrum of Boolean algebras, the other end is populated by atomless Boolean algebras, i.e., those which do not contain any atoms at all. An example of a atomless Boolean algebra is the interval algebra of the rationals. Due to the following proposition, this is the only non-trivial countable example.
Any two non-trivial countable atomless Boolean algebras are isomorphic.
An alternate approach to Boolean algebras is based on partial orders. This is used in Lemma 6.8 below. In fact, every Boolean algebra induces a partial order ⊑ on A which is defined by if , or equivalently, . This partial order is compatible with ⊔ and ⊓, i.e., and whenever and . Moreover, is its least element and its greatest element. An element is an atom of precisely if and there is no such that . Finally, the last condition on ideals, namely that for all and , is equivalent to the requirement that and implies for all .
Classification of the -automatic Boolean algebras
The objective of this section is to characterize the class of -automatic Boolean algebras, see Theorem 6.4 below. To this end, we extend the proof technique used in [22] to characterize the class of automatic Boolean algebras.
Letbe a Boolean algebra and. The following are equivalent:
is-automatic.
is isomorphic to the interval algebrafor some ordinal.
is isomorphic to the direct productfor somewith.
We show the implications (1. ⇒ 2.), (2. ⇒ 3.) and (3. ⇒ 1.) seperately. Aside from the case , which leads to the trivial Boolean algebra , the implication (2. ⇒ 3.) is demonstrated by the proposition below.
For every ordinal, the interval algebrais isomorphic to the direct productfor someand an ordinal γ with.
Using the Cantor normal form, we obtain a number and two ordinals β, γ such that and . Notice that for any two linear orderings and , the interval algebra is isomorphic to the direct product via mapping M to . Thus,
This proves the claim. □
Since the class of -automatic structures is closed under direct products, the implication (3. ⇒ 1.) of Theorem 6.4 is established by the following proposition.
Let. The interval algebrais-automatic for each ordinal.
We show that is -automatic over the alphabet . Every set can be uniquely written as with and . We encode this set M by the -word defined by if , if , and for all other β. Using the fact that an -automaton can identify the th position in any -word (cf. Lemma 3.14), it is a matter of routine to check that this encoding of induces an injectively -automatic presentation of . □
Finally, we turn to the implication (1. ⇒ 2.) of Theorem 6.4, whose proof needs some preparation. Basically, we have to investigate the connection between decompositions and iterated Frechét ideals as well as the -definability of the latter.
Letbe a Boolean algebra and α an ordinal. Anyadmits a decompositionsuch thatand.
Let and . Then can be rephrased as . In particular, is neither zero nor an atom in . Thus, there is a decomposition of . We cannot have both and because that would imply . Without loss of generality, we assume . The remainder of this proof is to show that putting and yields the desired decomposition .
Obviously, and . If we had , then we would obtain
Since , i.e. , this would imply and hence . However, this contradicts the fact that decomposes . Consequently, . For the sake of another contradiction, suppose that . Then and hence
Since , i.e. , and , this implies , i.e. . Again, this is not possible and hence . So far, we have shown that decomposes a. It remains to show that and .
Concerning the first claim, observe that and hence . The latter can be rephrased as . Regarding the second claim, we have
i.e. . Since , we obtain . □
For every, the iterated Frechét idealis uniformly-definable in any Boolean algebraaugmented by some well-order ⩽ on A.
First, we prove the following characterization of , which is obviously expressible in :
First, consider . There are atoms such that . For each and , we have and hence either or . Let be the set of those i with . Then
i.e., b is determined by the set . In particular, there are at most many .
Second, consider some . If there are infinitely many atoms below a, then there is nothing to show, so let us assume that be all atoms below a. Put . It suffices to show that there are infinitely many . Clearly, as well as and hence . Since all atoms below a are also below c and , there is no atom below . Due to this fact, there is an infinite sequence such that . This completes the characterization of .
Now, we show the actual claim of the lemma by induction on n. Since , the claim is trivial for . Henceforth, suppose . By the induction hypothesis, the iterated Frechét ideal is definable in . Applying the same idea as in the proof of Proposition 3.20, namely using the well-order ⩽ to select representatives, we can define the whole quotient algebra in . Thus, we can also define the Frechét ideal and hence the iterated Frechét ideal in . □
Since Proposition 6.2 ensures that the interval algebra is the only countable superatomic Boolean algebra of type for countable β, the following proposition demonstrates the implication (1. ⇒ 2.) of Theorem 6.4.
Let. Every-automatic Boolean algebrais superatomic and its typesatisfies.
If is finite, the claim is trivial. Henceforth, suppose that is infinite and therefore . By Proposition 3.20, there is an injective-automatic presentation of over some alphabet Σ. Without loss of generality, we further assume that . We denote the automatic well-order on defined in Lemma 3.19 by ⩽.
Aiming for a contradiction, suppose that the claim of the proposition is wrong. This would particularly imply and hence . We consider the minimal relation satisfying the following conditions.
For , .
For , we consider the greatest such that . By Lemma 6.7, there is a decomposition of a such that and . Among all these decompositions, for the one with the least b with respect to ⩽ we have and .
Moreover, we inductively define for each a finite subset as follows:
Intuitively, one can visualize as the kth level of a finitely branching tree with root and successor relation R. Finally, we consider for every the set
In the remainder of this proof, we provide contradictory asymptotic lower and upper bounds on the size of .
We have the following lower bound on the size of:
Two elements are called disjoint if . For disjoint and a decomposition of a, the elements , b, c are mutually disjoint as well. Using this fact in an induction on k yields that the elements of are mutually disjoint. Moreover, the definition of decompositions implies . In this situation, every element of is generated by a unique subset and hence . Thus, it suffices to show .
To this end, we show by induction on k that
for , where whenever . Since , the base case is trivial. Henceforth, assume . Every element of induces at least one element in . In combination with the induction hypothesis, we obtain the inequation for :
For , every element of induces two elements in and every element of induces at least one element in . In combination with the induction hypothesis, we obtain:
This completes the inductive proof of Eq. (3). The case immediately implies – the claimed lower bound. □
We have the following upper bound on the size of:
According to Lemma 6.8, the relation R is -definable in augmented by ⩽. By Proposition 3.17, there is an -automaton recognizing R. Let be such that both and have less than m states and put . By the growth lemma (Lemma 5.3), every satisfies . From the definitions of R and , we conclude . Due to the growth lemma for semigroups (Lemma 5.4), every satisfies and hence
By Lemma 5.2, we further obtain
Combining the last two inequations yields – the claimed upper bound. □
Clearly, the provided lower and upper bound on the size of asymptotically contradict one another. □
Atomless Boolean algebras are not injectively -automatic
We prove that any atomless Boolean algebra is not -automatic. For this purpose, we first show by pumping that every -automatic possesses some nonempty -automatic substructure such that, if , then , for all and . If the structure is injectively -automatic, then φ may even come from .
With this result it is easy to conclude that the existence of an injective presentation of some atomless Boolean algebra implies the existence of a -automatic presentation of the countable atomless Boolean algebra. Given such a presentation, it could be turned into an injective one. We then use the growth lemma to show that such a presentation cannot exist.
Letbe some ordinal andbe a nonempty-automatic structure. There is a nonempty-automatic substructurewith the following property. For all formulasand all tuples, if, then. Ifis injectively-automatic, this result extends to all formulas in.
Note that the second part follows from the first part because for all injectively -automatic presentations the expansion by the relation ≠ is also injectively -automatic.
Let be the ordinal such that and let f denote the embedding given by . Let be represented by the -automata .
For any -automaton let denote the automaton which accepts any if and only if accepts . Note that the construction of commutes with the automata constructions for Boolean connectives, i.e., if , , and are -automata such that for , then
Let be the structure represented by . Via f we can identify it with a substructure of . Note that is nonempty: let w be some -word accepted by . We can write w as
with . Note that has countable cofinality if and only if α has. Thus, using the Pumping Lemmas 3.6 and 3.7, we can find for each an empty word of length where m is the number of states of such that has also an accepting run on where
Thus, represents some element of .
Now assume that represent elements such that
for φ a Boolean combination of the relations of . Let be an -automaton corresponding to φ on . Now we conclude that for all representing elements there are words representing elements such that accepts
Applying pumping (Propositions 3.6 and 3.7) to
we can shrink the gaps in the support of below for some . Thus results in -words such that accepts
Recall that corresponds to φ on . By definition, accepts
whence for represented by . Since this argument is independent of the choice of , we conclude that
□
Letbe some ordinal. Every-automatic Boolean algebra has an-automatic subalgebra. In particular, if there is an injectively-automatic atomless Boolean algebra, then the countable atomless Boolean algebra is-automatic.
Note that the axioms of Boolean Algebras are formulas. Moreover, an algebra is atomless if and only if it satisfies
□
There is no non-trivial atomless Boolean algebra which is injectively-automatic for some ordinal α. Thus, there is no non-trivial atomless Boolean algebra which is-automatic for some ordinal.
Due to Corollary 6.11, it suffices to show that the non-trivial countable atomless Boolean algebra is not-automatic. For this purpose, we use the same proof technique as in the proof of Proposition 6.9.
Aiming for a contradiction, assume that the non-trivial countable atomless Boolean algebra is -automatic. This time, we define the relation as follows: For every , we choose among all decompositions of a the one with the least b with respect to ⩽ and put and . Such a decomposition always exists because is atomless. We retain the definitions of and for , but use the new relation R instead of the old one. The intuition about the tree remains the same as before, save that we now obtain the full binary tree. Along the lines of the old proof, one easily shows that the elements of are mutually disjoint and hence as well as . In the remainder of this proof, we establish an upper bound on the size of which asymptotically contradicts this observation.
Again, there is a -automaton recognizing R. Let be such that has less than m states and put . Using the two growth lemmas, we obtain
By Lemma 5.2, we have
Combining the last two inequations yields . Clearly, this asymptotically contradicts . □
Groups and term algebras
The following result generalized the case of automatic structures (cf. [3]), since every automatic structure is equal to an -automatic structure. For the definitions and basic properties of term algebras see [1,13].
For all cardinalitiesand all ordinals α, the free term algebra with one function f of arity 2 and κ many generators is not contained in any-automatic structure.
The same statement holds for the free semigroup and the free group with κ many generators.
We do the proof only for the free term algebra. The other proofs are completely analogous using the product instead of the function f.
Heading for a contradiction, assume that is a (noninjective) -automatic presentation of the free term algebra with κ generators. In the following, we write for the element of A represented by w. Let u, v be -words such that and are two generators of . Define and . Note that and, inductively,
Using Lemma 5.5 we obtain a constant m such that each of the elements of has a representative w such that
Let be representatives of the many pairwise distinct elements of satisfying (4). But by Lemma 5.2, there are constants c, d and e such that is a bound on the number of words with support in . This is clearly a contradiction for large n. □
The free term algebra with countable infinitely many generators separates the class of tree-automatic structures from the class of ordinal-automatic structures. Damian Niwinski introduced a tree-automatic presentation of this algebra to us. Since we are not aware of a citable reference for this result, we sketch it in the next example. Readers that are not familiar to the notion of tree-automatic structures can safely continue reading in Section 8.
Let T be the set of all finite subsets of . We define a function by
Note that is isomorphic to the free term algebra with countable infinitely many generators: the generators are the elements of the set G of all finite subsets such that and f is a injective function such that .
Now we construct a tree-automatic presentation of . For denote by the set of all prefixes of the elements of t. We encode an element as the tree
The set is tree-automatic. It contains all finite trees where all leaves are labelled a. In this presentation, the function f is also trivially automatic because the representation of is obtained from the presentations and by shifting all occurrences of a in to the position at the left successor and all occurrences of a in to the position at the right successor.
Order forests
An (order) forest is a partial order such that for each , the set is a finite linear order.
We want to study the rank (also called ordinal height) of -automatic well-founded forests. For this purpose we recall the definition of the height of a well-founded partial order. Afterwards, we introduce a variant of the height called infinity rank or .
Let be a well-founded partial order. Setting we define the height of by
Let be a well-founded partial order. We define the ordinal valued of a node inductively by
The of is then
The two notions of height have a close connection. Due to this connection, proving bounds on the height of -automatic well-founded forests reduces to proving bounds on the infinity rank. We first state this connection and then announce our main result.
(Kartzow, Liu, and Lohrey [15]).
Fora well-founded partial order, we have
Upper bounds on the height of order forests
The following result generalizes the case of automatic structures (cf. [16,25]), since every automatic structure is equal to an -automatic structure.
Letbe some ordinal. Every-automatic well-founded order foresthasstrictly belowand rank strictly below.
This theorem is our main result on -automatic well-founded order forests. We prove this theorem as follows. Since the set of -words allows an -automatic well-order, we can associate with every -automatic well-founded order forest an -automatic ordinal (the Kleene–Brouwer ordinal with respect to and the -automatic well-order). Extending a result of Kuske et al. [25], we provide a connection between this ordinal and the infinity rank of the forest (which has already been used in [17]). Since Schlicht and Stephan [29] provided upper bounds on the -automatic ordinals, this connection implies bounds on the infinity ranks and height of -automatic forests.
Let be a tree and let be a linear order. Then we define the Kleene–Brouwer order (also called Lusin–Sierpiński order) given by if either or there are , such that and . This generalises the order induced by postorder traversal to infinitely branching trees where the children of each node are ordered corresponding to the linear order ⪯. It is well-known that is a well-order if there are no infinite branches in and is a well-order. Since -automatic structures are closed under first-order definitions, the following observation is immediate.
Let. Ifis an tree anda linear order such that both are-automatic with domain T, thenis-automatic.
Letbe a nonempty well-founded order tree anda well-order with domain T. For all ordinals β, if. then,
The proof is by induction on β.
If , For nonempty we conclude that is nonempty whence it is at least .
Assume that and that for each tree with .
Since is well-founded, there is some node d such that and there is an infinite list of successors of d such that the subtree rooted at satisfies . By induction hypothesis, . Without loss of generality we can assume that the order type of with respect to is ω (otherwise, take a subsequence). We conclude that
Assume that is a limit ordinal. By definition for each there is such that whence by induction hypothesis. Thus,
□
We prove Theorem 8.5 by a combination of this result with the following characterisation of the -automatic ordinals.
For, and δ some ordinal,is injectively-automatic if and only if.
In fact, the result carries over to noninjective presentations:
For, and δ some ordinal,-automatic if and only if.
Let be an -automatic presentation of . Denoting by ≺ the well-order from Lemma 3.19 we construct the automaton corresponding to the quantifier-free positive formula (recall that -automatic structures are closed under quantifier-free positive definable relations). clearly represents some ordinal such that δ injectively embeds into η. Now Schlicht and Stephan’s theorem gives an upper bound on η which is also a bound on δ. □
Assume that is an -automatic order tree (where ). Without loss of generality we may assume that its presentation is injective. Let be the -automatic well-order obtained by restriction of the well-order from Lemma 3.19 to the representatives of T. Since is an -automatic ordinal, due to Theorem 8.8. Due to Lemma 8.7, . By application of Lemma 8.4 we finally obtain .
Note that this result easily extends to forests because for each -automatic forest, we can turn it into an -automatic tree by adding a new root. This tree has the same as the forest we started with. □
Theorem 8.5 also holds in the setting where α is an arbitrary ordinal and is an injective -automatic well-founded order forest with automatic successor-relation, i.e., if is a well-founded order forest and defines the relation
In this setting, note that the strict order relation of can be defined by if or there are r, s, such that , , , , and which is definable in . Thus, is -automatic and we can proceed as before.
Optimality of the bounds on forests
The upper bounds from Theorem 8.5 are optimal in the sense that we can reach all lower ranks as stated in the following theorem.
For allthere is an-automatic treewithand.
For all ordinalsand all, there is an-automatic treewith.
In order to prove the first part of Theorem 8.10, we want to construct for all and an -automatic tree of and rank .
We define an -automatic tree as follows. Let and where
is clearly well-founded, -automatic, and satisfies and .
Next, we show that for any and any given -automatic tree there is also an -automatic tree such that and .
Letandan-automatic tree. Then there is an-automatic treesuch thatand.
Let . Set . The order of is given by
iff , , , and .
Note that and is obtained from by attaching a copy of to each node of . Thus, an easy induction on c proves the claim on the height and the . Moreover, is first-order interpretable in extended by one element using a c-dimensional interpretation whose formulas are all quantifier free and positive. □
By replacing the convolution by composition of -words, we construct an -automatic representation of the forest for any -automatic tree .
Foran-automatic tree, the forestis-automatic.
Let T be the set of -words representing the elements of (over alphabet Σ). Without loss of generality, we assume that . Let F be the set of -words of the form
We equip F with an order ⊑ by setting
if and only if , there is a such that for all , , and for all .
It is straightforward to construct an automaton for ⊑ from automata for T and ⩽.
It is easy to see that is a presentation of the forest : those nodes with support contained in but not in are exactly those elements representing . □
Of course, we can add a new root to and obtain an -automatic tree with and .
Iterated application of this lemma to the tree shows that for each there is an -automatic tree of rank (and ). Application of Lemma 8.11 then proves the first part of Theorem 8.10.
We now use a variant of the previous construction in order to prove the second part of Theorem 8.10, i.e., we construct -automatic trees of high ranks for ordinals .
Let α be an ordinal. Let be the set of finite -words w over such that for all limit ordinals and all the implication
holds. We define a partial order on via the suffix relation: for let if and only if for maximal such that for all we have that , i.e., is an upwards closed subset of and both agree on .
Note that is -automatic. We can even add the successor relation to .
is a tree.
Since contains -words w there are only finitely many positions with . Thus, there are also only finitely many suffixes of w that are undefined up to some position in . This implies that all ascending chains are finite. Moreover, the suffix relation is a linear order when restricted to the suffixes of a fixed word w. □
The following lemma combined with Lemma 8.11 proves the second part of Theorem 8.10.
For all ordinals α,such that,.
The proof is by induction on . For note that consists of all words , where the word is suffix of all other elements. Moreover, these others are pairwise incomparable. Thus, is the infinite tree of depth 1 which has rank 1 as desired. We now proceed by induction.
Assume that is a successor ordinal, i.e., there is some such that . Note that the words directly below are those of the form such that and γ is some limit ordinal and . Fix such a word and note that induces a suborder isomorphic to which by induction hypothesis has rank for such that . Thus, the suborders of maximal rank are induced by the elements for each . Since these are infinitely many nodes of , the rank of is .
Assume that is a limit ordinal and converges to and for each . Then each for is directly below and induces a suborder isomorphic to of . Thus, . But as in the previous case we see that all proper suborders have whence . Thus, its is exactly . □
Footnotes
Determinisation fails at ω 1
References
1.
F.Baader and T.Nipkow, Term Rewriting and All That, Cambridge University Press, 1998.
A.Blumensath and E.Grädel, Automatic structures, in: Proc. 15th IEEE Symp. on Logic in Computer Science, 2000, pp. 51–62.
4.
J.R.Büchi, Decision methods in the theory of ordinals, Bull. Amer. Math. Soc.71 (1965), 767–770.
5.
J.R.Büchi, The monadic second order theory of ω1, in: Decidable Theories II, G.H.Müller and D.Siefkes, eds, Lecture Notes in Mathematics, Vol. 328, Springer, Berlin, Heidelberg, 1973, pp. 1–127.
6.
O.Carton, Accessibility in automata on scattered linear orderings, in: MFCS, K.Diks and W.Rytter, eds, Lecture Notes in Computer Science, Vol. 2420, Springer, 2002, pp. 155–164.
7.
C.Delhommé, Automaticité des ordinaux et des graphes homogènes, C.R. Acad. Sci. Paris Ser. I339 (2004), 5–10.
8.
O.Finkel and S.Todorčević, A hierarchy of tree-automatic structures, CoRR, 2011, http://arxiv.org/abs/1111.1504.
9.
O.Finkel and S.Todorčević, Automatic ordinals, CoRR, 2012, http://arxiv.org/abs/1205.1775.
10.
O.Finkel and S.Todorčević, A hierarchy of tree-automatic structures, J. Symb. Log.77(1) (2012), 350–368.
11.
O.Finkel and S.Todorčević, Automatic ordinals, IJUC9(1,2) (2013), 61–70.
12.
S.S.Goncharov, Countable Boolean Algebras and Decidability, Siberian School of Algebra and Logic, Springer, 1997.
13.
W.Hodges, A Shorter Model Theory, Cambridge University Press, 1997.
14.
M.Huschenbett, The rank of tree-automatic linear orderings, in: STACS, N.Portier and T.Wilke, eds, LIPIcs, Vol. 20, Schloss Dagstuhl–Leibniz-Zentrum fuer Informatik, 2013, pp. 586–597.
15.
A.Kartzow, J.Liu and M.Lohrey, Tree-automatic well-founded trees, in: Proc. CIE 2012, Lecture Notes in Computer Science, Springer-Verlag, 2012.
16.
A.Kartzow, J.Liu and M.Lohrey, Tree-automatic well-founded trees, in: How the World Computes – Turing Centenary Conference and 8th Conference on Computability in Europe, CiE 2012, Cambridge, UK, June 18–23, 2012. Proceedings, S.B.Cooper, A.Dawar and B.Löwe, eds, Lecture Notes in Computer Science, Vol. 7318, Springer, pp. 363–373.
17.
A.Kartzow, J.Liu and M.Lohrey, Tree-automatic well-founded trees, CoRR, http://arxiv.org/abs/1201.5495, 2012, Version 1.
18.
A.Kartzow and P.Schlicht, Structures without scattered-automatic presentation, in: The Nature of Computation. Logic, Algorithms, Applications – 9th Conference on Computability in Europe, CiE 2013, Milan, Italy, July 1–5, 2013. Proceedings, P.Bonizzoni, V.Brattka and B.Löwe, eds, Lecture Notes in Computer Science, Vol. 7921, Springer, 2013, pp. 273–283.
19.
B.Khoussainov and M.Minnes, Model-theoretic complexity of automatic structures, Ann. Pure Appl. Logic161(3) (2009), 416–426.
20.
B.Khoussainov and A.Nerode, Automatic presentations of structures, in: LCC, 1994, pp. 367–392.
21.
B.Khoussainov and A.Nerode, Automata Theory and Its Applications, Progress in Computer Science and Applied Logic, Vol. 21, Birkhäuser, 2001.
22.
B.Khoussainov, A.Nies, S.Rubin and F.Stephan, Automatic structures: Richness and limitations, Logical Methods in Computer Science3(2) (2007), 1–18.
23.
B.Khoussainov, S.Rubin and F.Stephan, Automatic linear orders and trees, ACM Trans. Comput. Log.6(4) (2005), 675–700.
24.
S.Koppelberg, Handbook of Boolean Algebras, Vol. 1, North Holland, 1989.
25.
D.Kuske, J.Liu and M.Lohrey, The isomorphism problem on classes of automatic structures with transitive relations, Transactions of the American Mathematical Society365 (2013), 5103–5151.
26.
I.Neeman, Finite state automata and monadic definability of singular cardinals, J. Symb. Log.73(2) (2008), 412–438.
27.
I.Neeman, Monadic definability of welders, in: Logic, Methodology and Philosophy of Science. Proceedings of the Thirteenth International Congress, W.G.Wei, ed., College Publications, 2009, pp. 108–121.
28.
J.G.Rosenstein, Linear Orderings, Academic Press, 1982.
29.
P.Schlicht and F.Stephan, Automata on ordinals and automaticity of linear orders, Ann. Pure Appl. Logic164(5) (2013), 523–527.
30.
J.Wojciechowski, Classes of transfinite sequences accepted by finite automata, Fundamenta Informaticae7(2) (1984), 191–223.