If a finitely generated group embeds in a finitely presented group, its null words in any fixed finite generating set form a recursively enumerable set. Choose words for the generator images in the larger group. Enumerate finite products of conjugates of its defining relators and their inverses, freely reduce, and compare with substituted words. Dovetailing over input words enumerates exactly the subgroup's identities. Choosing the finite image words is nonuniform, but their existence suffices for existence of an enumeration algorithm.
Many-one completeness of the halting problem Created 2026-09-24 Updated 2026-09-24
Every recursively enumerable set many-one reduces to the diagonal halting set. If a program halts exactly on , the S-m-n theorem produces from an index for a unary program that ignores its input and performs that computation on . Then
Conversely, a computable preimage of a recursively enumerable set is recursively enumerable.
The halting problem asks whether program halts on input , given effective codes for both. Suppose a total decision algorithm returned one exactly when that computation halts. Construct a program which, on input , computes and then loops forever if the answer is one, but halts if it is zero. Let be the code of . If , the specification of makes it diverge, while if the same specification makes it halt. Both alternatives contradict correctness. Therefore the halting problem is . This is a diagonal argument, not merely the observation that individual simulations can run forever.
Let . Simulating the specified program semidecides membership, or dovetailing all simulations enumerates , so is a recursively enumerable set. The same diagonal program rules out a total decision algorithm for . Thus . Encoding a pair also gives an enumerable nonrecursive set of all halting program-input pairs.
A recursive function is a total computable function: an algorithm halts on every input and returns the specified value. Equivalently it is an everywhere-defined member of the partial recursive functions, obtained from the initial zero, successor and projection functions by composition, primitive recursion and unbounded minimization. In minimization , the sequential search must find a zero after all earlier tests have been defined; otherwise the result is undefined. The Church–Turing thesis allows the algorithmic formulation here.
A recursively enumerable set is the domain of a partial computable function. Thus an algorithm halts and accepts exactly on members of , and may run forever on nonmembers. Equivalently an algorithm lists exactly its elements, allowing repetition and allowing an empty output for the empty set. To pass from a listing to a membership semidecision, wait for the input to appear. To pass back, use dovetailing on all inputs and list each whose recognizing computation halts. This differs from a recursive set, whose zero-one characteristic function is total recursive and decides both membership and nonmembership.
Take a recursively enumerable set that is not recursive, for example the diagonal halting set from Question 2 shifted by one. To obtain a finitely generated group with recursive presentation but undecidable word problem for a group, first define the countable Right-angled Artin group
Translation of the indices gives an automorphism . The semidirect product with its infinite cyclic shift is generated by and has presentation
To verify this presentation, the semidirect product satisfies its relators, while the reverse map sends to ; all translated commutation relations follow by conjugation. These maps are inverse on their generators. Thus embeds in .
For , the word is trivial. For , map to the free generators of and every other to one. Every defining commutator of maps to one, since the only possible relation involving both surviving generators would have separation , which is absent. The resulting group homomorphism sends to the nontrivial reduced word . Hence
This proves the shift-invariant graph groups encode arbitrary sets construction rather than supposing that a missing relator automatically means a nontrivial word. A word algorithm for would decide , so none exists. Since is enumerable, the displayed two-generator presentation is a recursive presentation of a group. By the Higman embedding theorem, embeds in a finitely presented group . A word algorithm for , composed with substitution of the two fixed generator-image words, would solve the word problem for . Therefore .
False. We construct a two-generated countable group that cannot embed in any finitely presented group. Choose a subset which is not a recursively enumerable set, for example a positive-integer coding of the complement of the halting set. Such sets exist because there are only countably many finite programs but uncountably many subsets of the positive integers. On generators indexed by , form the possibly infinite-graph Right-angled Artin group
The shift preserves the defining relations and has inverse shift , so it is an automorphism. Form the semidirect product
Its base embeds by the definition of a semidirect product. Since , the group is generated by just and is countable.
The shift-invariant graph groups encode arbitrary sets construction has the exact test
The forward direction for is a defining edge relation. If , kill all vertex generators except . Every defining commutator then either contains a killed generator or is trivial; no relation is imposed between these two retained generators. Thus there is a retraction of onto the rank-two free group on . Their commutator is a nonempty reduced word there, so it is nonidentity in and remains so in .
Now suppose embedded in a finitely presented group . Choose fixed words in its finite generators representing the images of . The null words of are recursively enumerable: enumerate all finite products of conjugates of its relators and their inverses, then freely reduce. Substituting into and dovetailing these enumerations for all would enumerate exactly , contradicting its choice. These finitely many image words may be hard-coded; the argument does not require an algorithm finding an embedding. This proves the enumerable identities of finitely generated subgroups obstruction and supplies a concrete construction of the required countable counterexample.
A recursive set has an indicator function computed by a register machine that halts on every input. A recursively enumerable set is the exact halting set of some register machine; equivalently, it is the domain of a partial computable function.
If is recursive, its decider immediately gives machines that halt exactly on and on , so both sets are recursively enumerable. Conversely, suppose machines and recognize the two sets. On input , use dovetailing to run one step of and one step of alternately. Exactly one must eventually halt. Return one if halts first and zero if halts first. This is a total decider for , so is recursive.
A subset is recursive when its indicator function is a total computable function. It is recursively enumerable when it is the domain of a partial computable function, equivalently when an algorithm can enumerate its members.
If is recursive, its indicator decides both and its complement, so both sets are recursively enumerable. Conversely, suppose programs enumerate and . On input , run the two enumerations in parallel by dovetailing. Exactly one must eventually print ; accept in the first case and reject in the second. This algorithm always halts and decides . Hence
For the given effective enumeration of partial computable functions, the diagonal halting set is
A many-one reduction is a total computable function such that
The S-m-n theorem states that for every there is a total computable function satisfying
whenever either side is defined.
Suppose first that is recursively enumerable. Choose a program that halts exactly on inputs in , and let index a two-variable program that, on , ignores and runs that program on . By the S-m-n theorem,
is total computable and indexes the unary function
Therefore
Thus .
Conversely, suppose through a total computable . On input , compute and simulate machine on its own code. This procedure halts exactly when , equivalently exactly when . Hence is recursively enumerable. We have proved the many-one completeness of the halting problem:
Finally, use the stated fact that and define
Then , so . The total computable map satisfies
and therefore . This is a distinct representative of the halting many-one degree.
By assumption the set of combinators is recursively enumerable. Finite beta reduction sequences, and hence finite certificates of beta equivalence, are also recursively enumerable.
For a closed term , choose a fresh variable . The term is a fixed-point combinator exactly when
Indeed, substitution then gives the required equivalence for every , and the forward direction follows by taking . Dovetail the enumeration of closed terms with all finite beta-equivalence certificates. Whenever a certificate of the displayed equivalence is found, output . This enumerates exactly the fixed-point combinators, proving recursively enumerable fixed-point combinators.
Fix an effective enumeration of register-machine programs. The th register machine is , and its domain
is the th recursively enumerable set. A many-one reduction is a total computable function satisfying . Rice theorem says that every nontrivial property depending only on the computed partial function, or equivalently on an r.e. set in its extensional form, has an undecidable index set.
There is no total equality algorithm: it would decide whether is empty by comparing it with a fixed index for the empty set, contradicting Rice's theorem.
There is no partial algorithm that halts exactly when either. Given , effectively construct an index whose machine enumerates nothing unless halts, after which it enumerates . Then
A semialgorithm for equality with a fixed empty index would enumerate the complement of the halting problem . Since is r.e., both it and its complement would then be r.e., making recursive, a contradiction.
The set of fixed-point combinators is recursively enumerable. Enumerate closed lambda terms and finite proofs of beta equivalence, and output whenever a proof of appears for a fresh variable .
Recursive presentation of a group Created 2026-10-14 Updated 2026-10-25
A recursive presentation has an effectively enumerable alphabet of generators and a recursively enumerable set of relators. Usually the alphabet is finite; when it is countably infinite this is specified explicitly. Enumerating finite products of conjugates of relators and their inverses enumerates all null words. Conversely the enumerable null words can themselves serve as the relators. Recursive presentability does not imply a soluble word problem for a group.