In this paper we study various properties of algorithmically random infinite structures. Our results address the following questions. How would one define algorithmic randomness for infinite structures? Could algorithmically random structures be computable? What are the similarities and differences between algorithmically random structures and algorithmically random infinite strings? What are the possible Turing degrees of algorithmically random structures? Are there algorithmically random infinite groups? For instance, we prove the following in this paper: (1) there are classes which contain algorithmically random yet computable structures, (2) there exist algorithmically random universal algebras with co-computably enumerable as well as computably enumerable word problems, (3) there are natural classes of structures in which the Turing degrees of algorithmically random structures can only be either computable or equivalent to the halting set, and (4) there are examples of algorithmically random groups. The first result shows a dramatic difference between algorithmically random strings and algorithmically random structures. The second result significantly improves the known theorem that algorithmically random structures computable in the halting set exist; these examples of algebras are sharp in terms of arithmetical hierarchy of the word problem for random algebras. The third result is a dichotomy theorem that characterises all possible Turing degrees of algorithmically random structures. Finally, the fourth result answers a nontrivial open question about the existence of algorithmically random groups.
Algorithmic randomness of infinite strings has a captivating history going back to Kolmogorov [11], Martin-Löf [16], Chaitin [2], Schnorr [20,21], Levin [24]. In the last two decades the topic has attracted the attention of experts in complexity, computability, logic, philosophy, and algorithms. For instance, see the monographs by Downey/Hirschfeldt [3], Nies [17] and textbooks by Li/Vitanyi [13], Calude [1]. Martin-Löf gave one of the foundational definitions of algorithmic randomness for infinite strings. The key ingredient in the definition is the natural measure present on the Cantor space . Martin-Löf randomness states that random strings are those that avoid all effective measure zero sets.
Martin-Löf random (ML-random) infinite strings possess many properties that are intuitively clear (and that can formally be proved; see [3,17]): they are incompressible; they do not contain infinite computable substrings; they satisfy the law of large numbers; no winning strategies exist that given an initial segment of the string bet on the next bit of it.
How would one define algorithmic randomness for infinite structures such as graphs, trees, groups, or universal algebras? What properties would these algorithmically random structures possess? Can algorithmically random structures be computable? Can algorithmically random universal algebras have computably enumerable word problem? What are the similarities and differences between algorithmically random structures and random infinite strings? Are there algorithmically random infinite groups? What are the possible Turing degrees of algorithmically random structures? In this paper we address and (partially) answer all these questions.
A natural yet naive way to introduce algorithmic randomness for structures is this. Let be a relational structure, say in the language of undirected graphs. So, G is a graph. List all unordered pairs from ω. Now we code into the following binary string : if and only if R is true on the ith unordered pair. Call the graph algorithmically random if the string is Martin-Löf random. Is this a good definition? One proves that if is ML-random then is the Fraïssé limit of all finite graphs [9]. So, from model theory [7] we know that (1) the first order theory of graph is -categorical, (2) the graph is isomorphic to a computable graph, (3) the graph satisfies the extension axioms, and (4) the theory of admits effective quantifier elimination. Property (1) implies that all algorithmically random structures (as defined above) are isomorphic. Erdös and Spencer [4] remark that this phenomenon “demolishes the theory of infinite random graphs”. As far as algorithmic randomness is concerned, property (2) is counter-intuitive in two ways. The first is that one would like algorithmic randomness to be a property of the isomorphism type rather than a property of the presentation of the structure. The second is that it is not clear at all why computability of a structure is compatible with algorithmic randomness; certainly this fails for infinite binary strings. Properties (3) and (4) provide an effective description of the structure in the first order logic and decidability of its the first order theory. All these defy the intuitive notion of algorithmic randomness and suggest alternative approaches should be taken towards defining algorithmic randomness for infinite structures.
As the natural measure in the Cantor space is central in defining algorithmic randomness for infinite strings, ultimately the task (of defining algorithmically random structures) consists of introducing meaningful measures into the classes of infinite algebraic structures. The second author accomplishes this task in papers [9] and [8] thus initiating a systematic study of algorithmic randomness for infinite algebraic structures. This paper continuous the line of research for studying algorithmic randomness for infinite structures proposed in [9] and [8]. In particular, the paper answers some of the important questions, including the ones we posed earlier, necessary for deep understanding of algorithmic random algebraic structures.
Outline and contributions
1. Algorithmic randomness for infinite structures is introduced through the concept of branching classes (B-classes for short) defined in [8]. Informally, a branching class provides a context in which one can reason about algorithmic randomness of algebraic structures. Section 2 recalls the definition and provides examples of branching classes. Every branching class consists of finite structures and determines the class of infinite structures that are direct limits of structures from . The class also determines a finitely branching tree such that there is a bijective operator mapping infinite paths η of to structure from . Using the tree , we naturally equip the class with measure. Having the measure, one defines Martin-Löf random structures in . This implies, just like for infinite bit strings, that ML-random structures in the class forms the continuum (Theorem 3.6), and among them there are ML-random structures computable in the halting set (Theorem 4.11).
2. It is an expected phenomenon that there exist ML-random structures computable in the halting set . Such structures correspond to the leftmost paths of computable infinite finitely branching trees, and such paths are computable in . The mapping mentioned above is a computable operator; hence, the structure is computable in any oracle computing η. In contrast, building η from requires the jump of the open diagram of . We exploit this in constructing ML-random and yet computable structures (Theorem 5.1). Such example is also built in [8], but our construction here is considerably simpler and shorter. This example is also essential for understanding results appearing later in the paper. We remarked earlier that it is counter-intuitive that a computable object might be algorithmically random; it is because ML-randomness does not preclude computability just like ML-randomness of strings does not preclude computability in the halting set . But, we prove that no 2-ML-random structure is computable (Theorem 5.4), where 2-ML-randomness is ML-randomness relative to the halting set .
3. We construct ML-random universal algebra with computably enumerable word problem (Theorem 6.8). We also construct ML-random universal algebra with co-computably enumerable word problem (Theorem 6.2). These examples are important because of the following reasons. The first is that no ML-random algebra has a computable word problem [9]. So, there are no computable ML-random algebras. Compare this with existence of ML-random computable structures mentioned above. However, ML-random algebras computable in the halting set exist by Theorem 4.11. The word problems in such algebras are -sets. The examples and show that the word problem in ML-random algebras can be and thus significantly improving the bound. The second reason is that these are the only possible imrpovements in terms of arithmetical hierarchy. Finally, drawing a parallel to infinite strings, it is known that there exist ML-random computably enumerable from the left (and also there exist ML-random computably enumerable from the right) strings, e.g. the halting probability of the prefix free universal Turing machine [2]. The existence of structures and can be viewed as a reflection of this phenomenon in the case of universal algebras.
4. We study the degrees of ML-random structures. The degree of a structure is a fundamental concept used in modern model theory and computability [10,19,23]. Let be an infinite structure with domain ω. The open diagram of is the set of atomic relations or their negations true in . The degree of a structure , denoted by , is the least Turing degree among all Turing degrees of open diagrams of structures isomorphic to in case such degree exists. So, x is the degree of if the following two properties are satisfied: (a) x computes a copy of the structure, and (b) all copies of compute x. The degree represents the least amount of computability needed to represent the structure. We prove a dichotomy theorem showing that for natural branching classes , the only possible degrees of ML-random structures are the computable degree and the degree of the halting set, and both degrees are realisable (Theorem 7.5). This is an unexpected phenomenon and stands in a stark contrast with algorithmic randomness for infinite strings.
5. The study of random finitely generated groups has a long history [5,22]. Traditionally, this is done by fixing generators and choosing for each n a relator of length n at random. By Gromov [5], random groups are hyperbolic (with probability 1), and hence have decidable word problem. The approach to randomness taken in this paper gives a different notion of randomness for groups, which corresponds to randomly determining larger and larger balls in Cayley graphs. Our approach contrasts Gromov’s one in the sense that all ML-random groups have undecidable word problem. But, to exhibit ML-random groups we need to build branching classes of groups, the problem asked in [9]. The problem of finding branching classes of groups is hard because it intuitively relates to the word problem in groups. Using small cancellation theory developed in [14], we solve the problem and provide an example of a branching class of groups. So, there are ML-random groups (Theorem 8.6). The reason Gromov’s random groups contrast with our random groups is that Gromov’s definition is syntactic (select relators at random) while our definition is semantic and algebraic (select extensions of Cayley graphs at random).
Branching classes
In this section we review the branching classes of [8,9]. A relational signature σ is , where is a relational symbol of arity and is a constant symbol. We identify structures of the signature up to isomorphisms and call them σ-structures or structures if σ is clear from the content. All our structures are countable. Structures that contain functional operations can be identified with relational structures by replacing operations with their graphs.
An embedded system is a sequence such that each is a finite structure, the cardinality of is smaller than the cardinality of , and is an embedding from into . Call the sequence the base of the system.
Each embedded system determines the limit structure denoted by . Formally, the limit structure is the quotient of by a particular equivalence relation: for and with , iff . The limit structure depends on embeddings . For instance, each countable linear order is a direct limit of an embedded system with base . We want the limit to be independent of the embeddings, and formalise this through the following definition.
An embedded system is strict if is isomorphic to the direct limit of any embedded system with the base .
Let be a decidable class of finite structures. We assume that the structures are given by their explicit representations. Our goal is to define classes of structures in which all embedded systems are strict.
(Height function).
A computable function is called a height function for the class if it satisfies the following properties:
The set is finite for all , and we can compute the cardinality of for every i. A structure has height i if .
For every of height i there is a substructure of height such that all substructures of of height are contained in .
For all of height i and all with and , we have .
Note that h is an isomorphism invariant. Also, condition (2) implies that the substructure is unique, as it is the largest substructure of A of height . In addition, for all of height i and there exists a substructure of height j such that all substructures of of height are contained in . Also, , where , and for , . Thus:
For all, the structuresandare isomorphic if and only ifandfor all.
The next lemma states the main property of classes with height functions.
Letand h be as above. Every embedded system of structures fromis strict.
Briefly, this is because of the uniqueness of the substructure . Let and be embedded systems with the same base. For , let and by the obvious compositions of maps. Let and be the direct limits of these two systems, respectively. We prove that and are isomorphic. If need be, by selecting subsequences, we can assume that the heights of and are at least i, and and for all . This can be done since the number of structures of height j is finite and , are increasing in size.
For all i, consider all isomorphisms . Such an isomorphism necessarily exists, since , and and is unique. By the uniqueness of , we have for all . By uniqueness of and our assumption, . Similarly, . Thus the composition is an isomorphism from to .
For , and , write if . As we have just argued, for every there is an with . The set of all such isomorphisms α thus forms a tree T under ⊴. Namely, nodes of this tree at level i are isomorphisms from onto . This tree T is finitely branching, since each is finite. By König’s lemma, there is an infinite path on the tree. By definition of ⊴, this path induces a well-defined map from to .
It remains to show that α is total and surjective. For of height i, there is an embedding of into , and so . Thus . So α is total. A symmetric argument shows that it is surjective. □
Thus, for every embedded system from there is an embedded system of structures from the same class such that: (1) the direct limits and are isomorphic; (2) the height of each is i; (3) the embeddings are identity embeddings; and (4) for all we have . First, we can assume that the , and then we can simply take for sufficiently large j.
Let and h be as above. Set:
Here is now our definition (from [8]) that provides the context for defining algorithmically random structures:
The class together with the height function h is called a branching class, or B-class for short, if for all of height i there exist distinct structures such that and . If a class is a B-class, then we refer to the class also as a B-class.
We use the following examples of B-classes. The first two examples are from [9]. Many more examples are in [8].
(Rooted trees).
Consider the class of all finite rooted trees T such that every node of T has not more than d immediate successors. The height of T is the length of the longest path from the root to the leaves of T. The gives a B-class.
(c-generated algebras).
An algebra is a tuple , where is the domain of , each is a total function called an atomic operation of arity , and each is a constant of . The algebra is c-generated if every element a of is the interpretation of some ground term t. Call the term t a representation of a.
We define the height of a ground term t: if then ; if , then . The height of the element is the minimal height among the heights of all the ground terms representing a. The height of the algebra is the supremum of all the heights of its elements.
For a c-generated algebra and , we define: . Each -ary operation of defines the partial operation on : if for , and else undefined.
Call the partial algebras of the form proper partial algebras. The term “proper” refers to the fact in we do not decide the operations on elements of height n, even if the result is also of height n (this is vital to make the class branching). Define the height of to be n. Every infinite c-generated algebra is the direct limit of the sequence . Define:
The class is a B-class. The class consists of all c-generated infinite algebras.
(Binary rooted ordered trees).
Let be the class of all binary rooted trees where the children of internal node are linearly ordered. Since the trees are binary, every internal node has either left-child or right-child. These trees have signature , where c is the root, indicates that y is the left child of x, and that y is the right child of x. The class is a B-class.
Topology and measure
In this section we will review the definition of a random structure from [8,9]. Let be a branching class, be the number of structures in of height n. We define the tree .
The root of is the empty set. This is level . The nodes of at level are all structures from of height n. There are exactly of them. Let be a structure from of height n. Its successors in are the structures of height such that .
To generate a random structure, we randomly choose a height zero structure, and then a height one structure extending that, a height two structure extending that, and so on, to obtain the structure which is the union of all of them. This corresponds essentially to picking a random path through the tree . We need to show that this tree is effective, following which we will put a probability measure on paths through the tree, similar to the way in which one puts a measure on when considering binary strings.
The proof of the next lemma is easy:
(Computable tree lemma).
Forwe have the following:
Given a node x of, we can effectively compute the structureassociated with x. We identify the nodes x and the structures.
For each node x in, the structurehas an immediate successor. Moreover, we can compute the number of immediate successors of x.
For each pathinwe have:. Thus, the union of this chain determines the structure.
The mappingis a bijection between all infinite paths ofand the class.
For , let be the largest substructure of of height i. This is well-defined. The structure contains all substructures of of height .
Using the tree we introduce topology in :
(Topology).
For , set:
These are base open sets. Call the base of the cone.
We now define the following measures on :
(Measure).
For the root r, define . Let be of height n. Let be the number of immediate successors of in the tree . For any immediate successor y of x, set .
(Metric).
For structures , let n be the maximal level at which and coincide. Let be the node of the tree such that . The distance between and is then: .
The space has the following properties: (1) The function d is a metric on ; (2) is compact; (3) Finite unions of cones form clopen sets in the topology; (4) All μ-measurable sets is a σ-algebra.
Now we define ML-random structures in using definitions from algorithmic randomness. A class is a -class if there is a computably enumerable (c.e.) sequence of structures from such that .
Let be a B-class. Consider the class of infinite structures.
A Martin-Löf (ML) test is a uniformly c.e. sequence of -classes with and for all n.
A structure from fails a ML-test if belongs to . Otherwise, we say that the structure passes the test.
A structure from is ML-random if it passes every Martin-Löf test.
If is contained in a ML-test, then we say that C has effective measure 0.
It is standard to show that there is a universal ML-test in the sense that passing that test is equivalent to passing all ML-tests [17]. Formally, a ML-test is universal if for any ML-test it is the case that . A construction of a universal ML-test is easy: list all ML-tests uniformly on e and k, and set . The resulting sequence is a universal ML-test. Hence, to prove that a structure is ML-random it suffices to show that passes the universal ML-test . The class of non-ML-random structures has effective measure 0. Thus, we have:
(Theorem 6.7 of [8]).
Letbe a B-class. The number of ML-random structures inis continuum.
Randomness and the halting set
We study elementary effective aspects of ML-random structures from . We start with the following definition that goes back to Malcev [15] and Rabin [18].
An infinite structure is computable if it is isomorphic to a structure with domain ω such that all atomic operations and relations of the structure are computable.
Computability is an isomorphism property. A structure is computable iff it is isomorphic to a structure that has a computable open diagram. A stronger definition that involves the height function and fits the setting of this paper is this:
A computable structure from is strictly computable if the size of the substructure can be effectively computed for all .
There exists an effective procedure that given n computes the structure . Hence, for an appropriately chosen sequence , the sequence of cones forms a Martin-Löf test that the structure fails. □
We derive several corollaries. The first corollary is the following logical property of ML-random structures. For consider the binary predicate L:
Call L the level predicate. Extend with L thus defining the extended structure .
The extension of is a natural extension in the sense that the automorphism group of coincides with the automorphism group of .
Ifis a computable structure and the ∃-theory of, that is the setis decidable, thenis not ML-random.
We can determine the elements of of height i, and for each such finite structure we can construct an existential sentence stating that is a substructure of . Thus we can determine the substructures of of height i. The largest is , allowing us to effectively compute for all i. □
The second property concerns c-generated algebras:
No computable c-generated ML-random algebra exists.
If is c-generated, then one computes for any given i. Hence, is strictly computable. □
In particular, we have the following property for classical algebraic structures such as groups and rings:
No finitely generated computable group or ring exists that is ML-random.
Say G is a finitely generated group with generators a and b. We can view G as a universal algebra with generators a and b (from the signature). Hence, since G is computable, for each i we can compute the domain . Hence, G is strictly computable. □
The next property concerns connected graphs:
A connected computable locally finite graph is highly computable if for each we can effectively compute all neighbours (that is, the set ) of v.
In order to form a B-class of locally finite connected graphs, one must fix a vertex as the origin and add a constant for this vertex to the language. However, it is shown in [9] that the randomness of a such a graph does not depend on the choice of constant, and so we shall speak of random locally finite connected graphs, rather than random locally finite connected pointed graphs.
No connected highly computable graph G is ML-random.
For each fixed vertex g in the graph G, the naturally defined height function
is computable since G is highly computable. In any branching class of graphs (as formally defined in [8]), the height function for the class is compatible with the height function f defined above. Now note that for each i we can compute (that is all vertices at distance from g). Therefore, G is strictly computable, and hence G is not ML-random. □
Note that the hypotheses of the theorem and all the corollaries above depend only on the structures chosen, and not on the branching classes . Namely, if is strictly computable and (no matter what the branching class is) then is not ML-random in the class . Thus, non-randomness of strictly computable structures is context independent.
A structure is -computable if it is isomorphic to a structure with domain ω such that all atomic relations, including equality, and operations of are computable in .
Each computable structure is -computable. The reverse is false: there are finitely presented groups with undecidable word problem. The next theorem shows that Theorem 4.3 can’t be extended to -computable structures.
(Theorem 6.14 of [8]).
Every branching classcontains a-computable ML-random structure.
Consider the mapping that maps all paths of the tree onto the structures . The mapping is such that the structure is a computable operator. Hence is computable in any oracle that computes η. It is standard to show that there exists an ML-random path η in the tree such that η is computable in the halting set [3,17]. Hence the structure is computable in . □
Randomness and computability
For any structure from a branching class there is a path such that the structure (determined by η) is isomorphic to . As we noted the path η can be constructed in the jump of the open diagram of . In particular, if is computable then η is computable in the halting set . We exploit this observation to prove the following theorem.
There exists a branching classthat has a computable ML-random structure.
The proof we give here is better than that from [8]; in particular, it highlights certain combinatorial properties of the branching class which we will motivate results later in the paper.
Consider the full binary tree (whose elements are finite binary strings). The signature of this tree consists of the root symbol c and two binary predicates L and R such that if and only if and if and only if .
Let ⪯ be the lexicographic order. For each consider the structure whose domain consists of all strings y such that and . Clearly is a tree in the signature .
We set . The height function of the class associates with every structure the length of x. Obviously, is a branching class; also, can naturally be identified with the binary tree . We have the following easy lemma:
(Algebraic left-embedding lemma).
Suppose that. Then:
Ifthenis embedded into.
Ifthenis embedded intofor all z such thatand.
Let be the universal ML-test. Consider the set . All infinite paths in this set are paths through a computable binary tree. Let η be the leftmost infinite path of the tree. The path is a ML-random path. So, the structure is ML-random. The path is effectively approximable from the left.
Let be computable approximation to η such that . By the lemma above we have a computable sequence of embedded structures: . The direct limit of this structure is isomorphic to . Thus we have built a ML-random structure which is computable. □
In the introduction, we remarked that a ML-random string cannot be computable, and yet by the theorem ML-random structures can be computable. The issue is that an ML-random structure is not sufficiently random to preclude being computable just as an ML-random string is not sufficiently random to preclude being computable in the halting set. Nevertheless, below we show that no computable structure is 2-ML-random.
Consider a B-class . One defines what it means for a structure from the class to be 2-ML-random by replacing the -classes in the definition of ML-randomness by -classes relative to the halting set .
Clearly, 2-ML-randomness implies ML-randomness. The theorem below shows that 2-ML-randomness precludes computable structures to be 2-ML-random (just like ML-randomness for strings precludes ML-random strings to be computable).
If structureis computable thenis not 2-ML-random.
The proof is just recasting of the proof of Theorem 4.3 with an oracle for . There is a -computable function that computes, for each n, the finite structure . Then we can use the same argument as in Theorem 4.3: for an appropriately chosen sequence , the sequence of cones forms a Martin-Löf test relative to that the structure fails. □
Co-c.e. and c.e. ML-random algebras
Our interest is in ML-random c-generated algebras as explained in Example 3. From Corollary 4.6 no finitely generated computable algebra is ML-random. But we also know, from Theorem 4.11, that the class contains ML-random structures computable in the halting set. It is not too hard to see that the word problem in such an ML-random algebra is always a -set. Thus, a natural question is whether it is possible to sharpen these results. We sharpen these results by showing that there exist computably enumerable as well as co-computably enumerable ML-random algebras. Clearly, the word problems in such algebras are and -sets.
Formally, the word problem is defined as follows. Let be a c-generated algebra. Elements of this algebra are represented by ground terms. The word problem for algebra refers to the set
Let be a c-generated algebra.
Call computably enumerable if the word problem for is computably enumerable.
Call co-computably enumerable if the word problem for is co-computably enumerable.
There are a plethora of examples of c.e. and co-c.e. algebras. For instance, all finitely presented groups (in fact, all finitely presented algebras) are c.e. algebras. An example of a co-c.e. algebra is any group generated by finitely many computable permutations of ω. Every c.e. or co-c.e. algebra is computable in the halting set . So, the next theorem strengthens Theorem 4.11 for the class of algebras.
There is a branching class of finitely generated algebras that contains a co-computably enumerable ML-random structure.
Consider the B-class of all finite ordered trees T as where each non-leaf node has at most two children. The children of the node are ordered from left to right. Order the nodes of the tree T on the same level (from left to right) in the natural way. We call to this order the level order of the nodes. The tree T is a structure in the signature .
We now transform any tree T from into a partial-tree algebra as follows. The signature of has unary operation L and R, and the generator, or constant, c (root). The domain of is T. Operations L and R are defined as follows. For a leaf x, and are undefined. For a non-leaf node x, if x has a left child y and right child z then and . If x has one child only, say y, then . This transformed the tree T to the partial algebra . We identify T with .
To define the desired class S, consider the concatenation operations on partial tree–algebras and . The concatenation of and , written , is obtained by attaching to every leaf of the tree and by identifying the leaf with the root of . Formally, the domain of is the set . The L and R operations on are inherited from the original L and R. For elements , we have if and if .
We need some notation: denote the full binary partial-tree algebra of height k by ; the tree denotes the partial tree-algebra isomorphic to where for , and the root is ; finally, denotes the partial tree-algebra , where .
The partial tree-algebrashave the same height. In addition, each partial algebrais a homomorphic image of the partial algebra, and the homomorphism is unique.
We define, by induction, our branching class by directly constructing the tree that represents structures from . At stage n we define partial-tree algebras at level n of the tree . We also define an ordering on the elements of level n.
Stage 0. The root of is the partial-tree algebra (and so, the root is also ).
Stage . Suppose we constructed partial tree-algebras at level n of the tree , listed from left to right. At level n the tree has exactly nodes. Namely, each node (partial tree-algebra) has exactly two immediate successors: and . We order to the left of . For , we order the successors of to the left of the successors of .
Thus, the class consists of all partial tree-algebras T that appear at some stage n of the construction above. All the partial tree-algebras at level n of the tree are defined to have height n. We provide several lemmas about the partial tree-algebras of the class . The next lemma is obvious:
The classis a B-class. Moreover, the treeis isomorphic to the infinite binary tree.
From this lemma above we immediately get:
For all,.
The next lemma proves an algebraic property of tree-algebras of height n.
Ifare the partial tree-algebras at level n oflisted from left to right, then eachis a homomorphic image of. Further, each homomorphism is unique.
The proof is by induction on n. When the statement is clear. Assume that we have proved the lemma for all trees that correspond to nodes at level n of the tree . Consider . This has exactly two immediate successors: and . By Lemma 6.3 there is a unique homomorphism from onto . Hence, there exists a homomorphism from onto . It is clearly unique.
Consider , which is the element at level immediately to the left of . There is a unique homomorphism , by inductive hypothesis, from onto . This implies that there exists a unique homomorphism from onto . This proves that all the partial tree-algebras at level n of form a chain of homomorphically embedded structures. □
Thus there is a natural bijection from the set of all binary strings onto the class . We identify the tree with the full binary tree.
If, thenis homomorphically mapped onto.
Let be the universal ML-test in the class (which we identify with the Cantor space ). Consider the set . Since , all infinite paths in can be considered as paths through a computable binary tree. Let η be the leftmost infinite path of the tree.
Let be computable approximation to η such that . We have the sequence of partial tree-algebras: . The direct limit of this structure is isomorphic to . This structure is ML-random. Our goal is to show that is a co-c.e. algebra.
Consider all terms of the signature built from the constant c and operation symbols L and R: . The set of all terms forms an algebra; in this algebra for terms t the values of L and of R on t are terms and . This is known as the term algebra . The algebra is a homomorphic image of the term algebra . Let be the onto homomorphism, and let be the kernel of the homomorphism. The quotient algebra is isomorphic to . It suffices to explain why E is a co-c.e. relation.
To show that E is co-c.e. consider the partial algebra in the sequence above. We can assume that we have an equivalence relation on the partial algebra such that the factor structure is isomorphic to . At stage either extends or is a substructure of a homomorphic image of . In the second case some -equivalent elements become non--equivalent. These elements can effectively be computed. If two elements are not -equivalent then they will never be -equivalent for all . So, non-equality in the algebra is co-c.e. □
There exists a branching class of finitely generated algebras that contains a computably enumerable ML-random structure.
The proof of Theorem 6.2 can be changed slightly to construct the desired algebra. Simply replace η with the rightmost infinite path, say , which instead of being computable from the left below, is computable from the right. Consider an effective sequence of strings that converges to from the right. The resulting structure is a desired algebra. This is because, by Corollary 6.7, whenever we move from to , we pass to a homomorphic image and then extend. □
Degrees of random structures
In this section we study Turing degrees of algorithmically random structures in branching classes .
For a structure , the degree of is the least Turing degree computing an isomorphic copy of , if such degree exists.
Degrees of structures play important role in understanding effective aspects of structures and their interactions with model theory [10,19,23]. Here we show that the degrees of ML-random structures depend on the underlying branching classes . Here is one natural example of branching classes:
A branching class is jumpless if for every path η in , every isomorphic copy of computes η.
For instance, the class of c-generated algebras is jumpless. There are many other examples of jumpless classes among graphs and trees. The following proposition is easy to prove:
If the classis jumpless, then every structure inhas a degree, and the degrees of ML-random structures in the class are precisely the Turing degrees which contain random binary strings.
Motivated by the algebraic left-embedding lemma (Lemma 5.2), we give the next definition:
A B-class is left-algebraic if there is a computable ordering on the elements of each level of such that for the induced lexicographic ordering ⪯ the following holds:
For every path η through , for every sequence with limit η, the sequence computes an isomorphic copy of .
For every path η through , for every isomorphic copy of , the copy computes a sequence with limit η.
An example of a left-algebraic branching class is the class constructed in the proof of Theorem 5.1.
If a B-classis left-algebraic, then the classcontains ML-random structures of degreeand, but of no other degree.
Let be the universal ML-test for . Then , and the elements of are the paths through a computable tree. Let η be the leftmost path. Then there is a computable sequence with limit η. Since is left-algebraic, there is a computable copy of . Hence, the class has an ML-random structure of degree 0.
The following fact is analogous to one by Kučera and Slaman [12] for random infinite binary strings, and the proof is similar (see Sections 6.1 and 9.2 of [3]):
Ifis ML-random and there is a computable sequencewith limit η, or a computable sequencewith limit η, then η has degree.
The path η in this lemma should not be confused with the sequence ; we do not, in general, expect them to have the same Turing degree.
Now consider the computable tree for which the paths are elements of , and let η be the rightmost path. There exists a computable sequence converging to η. Since is left-algebraic, every isomorphic copy of computes a sequence with limit η. So every isomorphic copy of computes η as follows: for an input i, search for an ℓ such that for all . Such an ℓ must exist. Then . Since η has degree , this shows that has degree . So, contains a random structure of degree .
Thus, the class has ML-random structures of degrees and . To show that no other random degrees are possible, we need a deeper analysis provided by the next lemmas.
Ifandhas a degree, then there is a sequencewith limit η and a computably enumerable setsuch thatiff there is awith.
Consider an isomorphic copy of realising the degree of the structure . Since is left-algebraic, this copy computes a sequence with limit η. From now on we fix this sequence. As realises the least degree, every other copy of computes this fixed sequence . Also, every other sequence with limit η computes a copy of . Hence, the sequence also computes the specified sequence .
The idea is now the following. We will attempt to build a sequence with limit η which does not compute . Any such attempt must fail, and we use this failure to construct the desired c.e. set F.
Let be an effective listing of all Turing functionals, and let be a listing of the elements of such that for all i. We construct in stages, although we do not claim that our construction is effective.
Stage 0. We begin by letting .
Stage . Suppose we defined through . At this stage, we must ensure that does not compute . To ensure this, we search for an n and a finite sequence such that , and
Define for . Otherwise, we make no new definitions at this stage.
Stage . Suppose we have defined through . At this stage, we must ensure that our sequence surpasses without exceeding η. We define if . Otherwise, we make no new definitions at this stage.
Note that even numbered stages guarantee that the limit of is η. As we argued earlier, this sequence computes the specified sequence . Therefore there must exists the least i such that
Consider now the way the construction acts at stage . There must be no sequence as desired. Now we define F. A triple belongs to F iff there is a sequence with and . Observe that F is computably enumerable. We now argue that F has the desired properties.
Suppose and . Then there is some sequence which witnessed that belongs in F. If , then this sequence is as desired for Stage , contrary to our choice of i. So .
Conversely, suppose . There is an m with . Define the sequence by , where . This sequence witnesses that , and . □
Ifhas a degree, then either there is a computable sequencewith limit η, or there isa computable sequence with limit η.
Consider the set F and the sequence as in the previous lemma and its proof. We attempt to effectively construct as stated in the lemma. If this fails, we will be able to argue that is a computable sequence. We proceed in stages, building at stage n.
Stage n. We enumerate F until we see two triples and with and . If , we also require . If we find such a pair of triples, we know that . Otherwise, we would have , and so by the nature of F, we would have . We set for the first pair of triples we find.
Now, suppose that for every , there is a pair of triples and as above with . Then our construction will always find such a pair, and we will eventually define a for every such z. So we will have with limit η.
Suppose instead there is a such that there is no pair of desired triples with . We know that for every m there is a triple with and . So it must be that there is no triple with and . Then we can compute by enumerating F until we see a triple with . When we see such a triple, we know that . □
To finish the proof of the theorem, suppose has a degree and is random. Then there is either a computable sequence or a computable sequence with limit η. As we earlier argued, in the first case has a computable copy, and in the second case has degree . □
We do not know anything about the degrees realised by random structures from B-classes which are neither jumpless nor left-algebraic.
A branching class of groups
In this section, we build a branching class of finitely generated groups. We want to define a class of finite partial groups on a fixed set of generators, in the style of Example 3, so that consists of groups. There are two difficulties. First, cannot include any finite group, as that would violate the branching condition; nor can it include any finite partial group which only has one extension to an infinite group. Second, there is the problem of effectiveness. The class must be decidable but because the word problem for groups is undecidable, we cannot decide whether a finite partial atomic diagram can be extended to a group.
Our construction uses ideas from [6], namely the application of small cancellation to code structure into a finitely generated groups. We begin by recalling the basic definitions of small cancellation. For a reference on small cancellation, see Chapter 5 of [14].
A presentation is symmetrized if every relator in R is cyclically reduced (which means that every cyclic permutation is reduced) and the relator set R is closed under inverses and cyclic permutation. For the symmetrized presentation , a word is a piece if there are two distinct such that u is an initial subword of both and .
The presentation has the small cancellation hypothesis if for each and every piece u with , we have . We also say that a presentation satisfies the small cancellation hypothesis if it does after we replace the relators set with its symmetrized closure.
The key lemma on small cancellation groups is Greendlinger’s Lemma. It says that in a small cancellation group, every presentation of the trivial word must share a long subword in common with a relator.
(Greendlinger’s Lemma).
Assume thatis asmall cancellation group with. Let w be a non-trivial freely reduced word representing e of G. Then there is a subword v of w and a defining relator r such that v is also a subword of r and such that.
We are now ready to define the branching class of groups. Given , define the group generated by , b, and c. The group is such that it is generated with and relations
, and
for each i with ,
where . A standard argument shows that the group is a small cancellation group. Indeed, the length of each relator is greater than 5000. Let r be a relator, and write with . Then u must contain a subword which looks like one of the following for some k, or the inverse of one of the following:
or
Suppose that u is one of these two; the case of an inverse of one of these two is similar. The first is only a subword of the relator and its cyclic permutations, and the second is only a subword of the relator and its cyclic permutation. Moreover, each of these two types of words only appear in one place as a subword of the corresponding relator (including “wrapping around” from the end of the relator to the beginning). Thus the initial segment u of r cannot be an initial segment of any other cyclic permutation of r, and cannot be an initial segment of any other relator other than r. Thus no relator r has a piece u with .
Given a group G generated by , let be the finite partial group consisting of the elements represented by words of length at most i (in , b, c). It is important to note that we think of as being generated by when we think of it as a small cancellation group, but as being generated by when we consider the lengths of elements. Our branching class is the class of finite partial groups which arise from the groups , where .
Let be the class of finite partial groups where and . The height function on is .
The next two lemmas show that there is a connection between and an initial segment of x, with the length of this initial segment depending on i. These lemmas will show that is a B-class.
If, then. Moreover, from, we can effectively determine the atomic diagram of.
Using this Lemma, it makes sense to define whenever and .
Given a freely reduced word w in , for each , let be the number of occurrences of or in w. Define the weight to be
We will often say “the number of ’s” when we mean “the number of occurrences of ’s and ’s”.
Suppose and are words in , b, c, of length at most , such that in . We claim that in . From this and a similar argument reversing the roles of x and y, it will follow that .
Let . Note that . We will argue that for each non-trivial word v with , with v equal to the identity in , there is a word of shorter length than v, with v equivalent to in both and . From this it will follow that in , and so in .
Given v as above, since in , by Greendlinger’s Lemma there is a generating relator of , with a subword of v and . We consider a number of cases:
r is an inverse or cyclic permutation of . Then r is a relator in both and . Note that , so . Thus can have at most 1546 ’s and one . Also, has at least 3504 ’s (as has 5050 ’s in it). Thus replacing by in v to obtain , we get that the number of ’s in v is at least 1958 more than the number of ’s in , and the number of ’s is at most one more in than in v. Thus . Since r was a relator in both and , v and are equivalent in both and .
r is an inverse or cyclic permutation of . Then , and hence v, has at least 3504 ’s. Since
we have that . Since , r is also a relator in . Replacing in v by to get , we have that as has at most 1546 ’s.
Notice that this procedure also gives a method for determining whether in using only . □
From, we can effectively determine.
We claim that iff in . If , then is a defining relator. Assume that in . We will show that . Since is a reduced word equivalent to e in , there is an inverse or cyclic permutation of a defining relator of such that is a subword of , and . Then must contain at least two instances of and at least one instance of c, and so the only option is that is a defining relator of and r is an inverse or cyclic permutation of it. This implies that .
Finally, it suffices to see that for , is a word of length at most in , b, c, in . We argue by induction that is equivalent to a word of length at most in . For , this is true trivially. Suppose that we know that is equivalent to a word of length at most . Then is equivalent to a word of length at most . This completes our inductive argument. Then if , is equivalent to a word of length at most , and so is a word of length at most . □
The two lemmas above show that h is a computable height function. Moreover, we can compute for every i. The other properties of the height function are clear. We show t is branching. Given a finite partial group , choose y such that , but . Then by Lemma 8.4, , but by Lemma 8.5, . Thus we have:
The classis a branching class. Moreover, eachis a group.
Thus we have the following corollary.
The branching classcontains countinuumly many ML-random groups. Some of these ML-random groups are computable in.
References
1.
C.S.Calude, Information and Randomness – an Algorithmic Perspective, 2nd edn, revised and extended, Springer-Verlag, Berlin, 2002.
2.
G.J.Chaitin, On the length of programs for computing finite binary sequences: Statistical considerations, Journal of the ACM16 (1969), 145–159. doi:10.1145/321495.321506.
3.
R.Downey and D.Hirschfeldt, Algorithmic Randomness and Complexity, Theory and Applications of Computability, Springer, New York.
4.
P.Erdös and J.Spencer, Probabilistic Methods in Combinatorics, Probability and Mathematical Statistics, Vol. 17, Academic Press, New York–London, 1974.
5.
M.Gromov, Random walk in random groups, Geom. Funct. Anal.13(1) (2003), 73–146. doi:10.1007/s000390300002.
6.
M.Harrison-Trainor and M.-C.Ho, On optimal Scott sentences of finitely generated structures, Proceedings of the American Mathematical Society146 (2018), 4473–4485.
7.
W.Hodges, Model Theory, Encyclopedia of Mathematics and its Applications, Vol. 42, Cambridge University Press, 1993.
8.
B.Khoussainov, A quest for algorithmically random infinite structures, II, in: Proceedings of LFCS, 2015.
9.
B.Khoussainov, A quest for algorithmically random infinite structures, in: Proceedings of LICS-CSL 2014 Conference, Vienna, Austria.
10.
J.F.Knight, Degrees coded in jumps of orderings, Journal of Symbolic Logic51 (1986), 1034–1042. doi:10.2307/2273915.
11.
A.Kolmogorov, Three approaches to the quantitative definition of information, Problems of Information Transmission1 (1965), 1–7.
12.
A.Kučera and T.Slaman, Randomness and recursive enumerability, SIAM Journal on Computing31 (2001), 199–211. doi:10.1137/S0097539799357441.
13.
M.Li and P.Vitanyi, An Introduction to Kolmogorov Complexity and Its Applications, 3rd edn, Springer-Verlag, 2008, (xx + 792 pp.).
14.
R.C.Lyndon and P.E.Schupp, Combinatorial Group Theory, Springer-Verlag, Berlin, 1977.
15.
A.I.Mal’cev, Constructive algebras. I, Uspehi Mat. Nauk16(3(99)) (1961), 3–60.
16.
P.Martin-Löf, The definition of random sequences, Information and Control9(6) (1966), 602–619. doi:10.1016/S0019-9958(66)80018-9.
17.
A.Nies, Computability and Randomness, Oxford University Press, 2009.
18.
M.O.Rabin, Computable algebra, general theory and theory of computable fields, Trans. Amer. Math. Soc.95 (1960), 341–360.
19.
L.J.Richter, Degrees of structures, J. Symbolic Logic46(4) (1981), 723–731. doi:10.2307/2273222.
20.
C.P.Schnorr, A unified approach to the definition of random sequences, Mathematical Systems Theory5(3) (1971), 246–258. doi:10.1007/BF01694181.
21.
C.P.Schnorr, The process complexity and effective random tests, in: Proceedings of the Fourth ACM Symposium of Theory of Computing, Vols 1–3, Denver, Colorado, 1972.
22.
L.Silberman, Addendum to: “Random walk in random groups”, Geom. Funct. Anal.13(1) (2003), 147–177. doi:10.1007/s000390300003.
23.
T.A.Slaman, Relative to any nonrecursive set, Proceedings of the American Mathematical Society126 (1998), 2117–2122. doi:10.1090/S0002-9939-98-04307-X.
24.
A.K.Zvonkin and L.A.Levin, The complexity of finite objects and the development of the concepts of information and randomness by means of the theory of algorithms, Russian Math. Surveys25(6) (1970), 83–124. doi:10.1070/RM1970v025n06ABEH001269.