There is a two-colour computable colouring of pairs with no infinite computably enumerable set homogeneous for it. Enumerate these sets as . In stages, give each eligible requirement two markers from its enumerated set, avoiding markers of higher priority, and cancel all lower-priority markers whenever a new assignment is made. Colour by the marker status of at stage : first markers have colour zero, second markers colour one, and unmarked points colour zero. Each requirement is injured only finitely often by induction on its index. If is infinite it eventually has permanent distinct markers ; for every sufficiently large , the pairs and have different colours. Simulating finitely many stages computes each pair's colour, proving both effectiveness and the obstruction.
Here a monochromatic set must mean an infinite homogeneous set for a colouring: every singleton is a finite monochromatic set. The requested phenomenon holds for every finite . For it is impossible, since the colour classes of a finite computable colouring are computable and at least one is infinite. We treat this necessary qualification explicitly.
We construct a finite-injury computable colouring of pairs with no infinite computably enumerable homogeneous set, which is stronger than the requested absence of a recursive one. Enumerate the computably enumerable sets as , with computable finite approximations . Requirement seeks distinct markers . At stage , consider indices not currently assigned markers. Choose the least one, if any, for which has two elements outside all markers of higher-priority indices . Assign two such elements as its markers, using a fixed least-element rule, and cancel all markers at lower-priority indices. Do nothing if no such index exists. The active markers are therefore pairwise distinct at every stage.
For , simulate this finite construction through stage and define
In particular every active first marker has colour zero against larger points. This is a total computable function: no question about eventual enumeration or eventual stabilization is used in computing a given pair.
Induction on proves finite injury. Once the finitely many higher requirements have stabilized, requirement is never cancelled again. If it has markers they stay fixed. If is infinite, it eventually supplies two points outside the finite collection of higher markers, so it becomes eligible and is assigned markers; only finitely many higher indices could delay its assignment. Thus an infinite eventually has permanent distinct markers . Choose beyond both markers and beyond their stabilization stage. Then
So is not homogeneous. Every infinite recursive set is computably enumerable, proving the desired obstruction. For , colour an increasing -tuple by the pair formed by its first two elements. Every pair from an infinite homogeneous candidate can be completed by larger members of that candidate, so it would give an infinite pair-homogeneous set, already ruled out.
The uncountable positive theorem is the Erdős-Rado theorem for finite arities. For every infinite cardinal and finite , define and . Then
The partition relation means that every colouring of -element subsets of the left-hand cardinal by at most colours has a homogeneous subset of size . In particular, taking gives an uncountable homogeneous set for every finite arity, once the domain is sufficiently large.
We prove the end-homogeneity lemma needed for induction. Let be infinite, , finite, and with . In a sufficiently large choose an elementary substructure of size containing and all ordinals below , and closed under externally given sequences of length at most . Here consists of sets whose transitive closures have size below .
To justify that closure, begin with a hull containing the indicated parameters and ordinals. At each successor stage add every sequence of length at most from the preceding stage, then take a Skolem hull. There are at most such sequences. Iterate for stages and take elementary unions at limits. The union still has size , and every sequence of at most of its elements is contained in one earlier stage by regularity of , so appears at the next. This proves the claimed closed first-order model rather than assuming its existence.
Let . The inequality uses regularity of and ; has no largest element, since it is closed under successor. Recursively choose increasing for , imposing, for every -tuple of earlier points,
At any stage there are at most earlier points and constraints. Each constraint consists of a tuple of elements of and a colour below , also in . The entire constraint code therefore belongs to by closure. The bound above the previous points belongs to as well. Although itself need not belong to , it witnesses in the existence of a point above that bound satisfying the coded constraints. Elementarity supplies such a point inside . This proves the recursion.
On the resulting sequence of length , the colour of an -tuple depends only on its first entries: its last entry has the same colour contribution as . This is the required closed elementary-submodel construction of an end-homogeneous sequence.
Now prove the theorem by induction on . The case is the infinite pigeonhole principle: partitioning into at most classes of size at most cannot cover it. For , set and apply the lemma to the colouring on . Define a colouring of -tuples from its end-homogeneous sequence of length by their colour when completed with . The induction hypothesis supplies a subset of size on which this derived colouring is constant. Every original -tuple from that subset has the derived colour of its first entries, and is therefore monochromatic. This completes the proof.
The unrestricted infinite-exponent situation is very different under AC. On , choose one representative of each equivalence class modulo finite symmetric difference, and colour by
If is infinite and , deleting remains in the same equivalence class and flips the colour. Every infinite candidate homogeneous set contains such an and as subsets, so
More generally the same argument works for subsets of any fixed infinite cardinality: deleting one element preserves that cardinality, so there is no unrestricted analogue with a homogeneous set large enough to contain such subsets. For the order-type- convention, choose in increasing order type and delete its first element; both sets still have that order type. Thus the distinction from the finite-arity theorem is genuine, not merely a notational ambiguity. This argument uses choice of representatives and is not a claim about every definability-restricted infinite-arity colouring.
A partial computable function is the function computed by a finite program, with an undefined value when its computation never terminates. A total computable function terminates on every input. Fix an effective enumeration of the partial computable functions, with a universal partial computable function . Composition, primitive recursion and unbounded minimization give a machine-independent description of this class. Unbounded minimization is allowed to diverge. The S-m-n theorem permits parameters in a program to be specialized effectively: an algorithm described uniformly in has an index obtained computably from .
The halting set is computably enumerable: simulate all computations in parallel and enumerate each index whose diagonal computation terminates. It is not a computable set. Otherwise the program which terminates exactly when the proposed decision procedure says its own diagonal computation does not terminate gives a contradiction. There is also no effective enumeration consisting exactly of all total computable functions: from such an enumeration the total computable function differs from every listed function. Thus the effective enumeration of partial programs cannot be replaced by a decidable catalogue of total ones.
For the Rice theorem, let be a nontrivial property of partial computable functions, depending on the computed function rather than the program text. First suppose the nowhere-defined function is not in , and choose a program computing some . Uniformly in , define a program which, on input , first waits for to terminate and then runs the computation of . The S-m-n theorem gives a computable index map , and
Consequently a decision procedure for membership in would decide the halting set. If the nowhere-defined function belongs to , apply the same argument to its complement. Every nontrivial extensional property of partial computable functions has an undecidable index set. Syntactic properties of program descriptions are outside this assertion, and the theorem concerns unrestricted program indices, not merely an assumed list of terminating programs.
Here is an explicit Jockusch triple coloring computing the halting set. Choose computable increasing finite stages with union . For , put
This is a computable colouring. An infinite monochromatic set cannot have color : fix its first element and choose two later elements beyond the stage at which stabilizes. Their triple has color .
Suppose is infinite and homogeneous of color . To decide whether using , find with , and then with . For every above , homogeneity gives . Such are unbounded, so . Testing therefore decides . Hence every homogeneous set computes the halting set, and there is no infinite recursive monochromatic set. The infinity qualification is essential: finite homogeneous sets are recursive.
Take and fix a standard effective enumeration of the unary partial computable functions by program texts. Write
The diagonal halting set is not a computable set: a supposed decision procedure would give a program that halts on input exactly when , contradicting its own index. Each is finite and uniformly decidable by bounded simulation of a computation, and with union .
For , define the computable colouring
This is a two-part decidable set partition on three-element subsets: sort the three inputs and perform the two finite simulations. Here . The halting-stage colouring of triples cannot have an infinite homogeneous set for a colouring of colour . Indeed, fix its least element . The finitely many bits of eventually stabilize. Choose two later elements of the putative homogeneous set for a colouring beyond that stabilization stage; the corresponding triple has colour .
Now suppose is an infinite homogeneous set for a colouring of colour . Its membership oracle computes : to decide whether , search for with , and return whether . For every above , homogeneity gives . Since is unbounded, taking such arbitrarily large proves that this common finite set is . Thus
If were a computable set, the displayed Turing reduction would decide , a contradiction. The displayed decidable two-colouring has no infinite decidable homogeneous set.
For the second construction, let be the finite binary strings, with coordinates starting at , and define the computable binary tree
Membership is decided by finitely many tests using bounded simulation of a computation. It is a binary tree of finite strings: if a string satisfies the tests, each prefix satisfies its shorter and fewer tests. The infinite paths through a binary tree are exactly
This set is nonempty: at a coordinate whose diagonal computation halts with a binary value choose the other value, and choose either bit elsewhere. This is an existence argument, not a proposed computable decision procedure for convergence. No member is a total computable function. If were a total binary-valued function, the condition at would say . Thus each member is a binary diagonally noncomputable function.
Moreover, has no isolated point. There are arbitrarily large indices of programs that never halt: for example, distinct program texts with successively more unused instructions followed by an infinite loop provide infinitely many such indices in the usual syntactic program coding. At every one of these coordinates the bit is unrestricted. Given any and any prefix length , change its bit at one such index and leave all other bits unchanged. The resulting different path still belongs to and has the same length- prefix. Since a path space is closed in Cantor space, is decidable, is nonempty and perfect, and no infinite path is computable.
There is a definition issue with the adjective “perfect”. The preceding conclusion uses perfect path space, allowing finite dead ends in the decidable presentation. If “perfect tree” instead requires every node to have two incompatible extensions in the tree, the requested combination is impossible. Such a nonempty tree has no terminal nodes. Starting at the empty string, test the two immediate successors and choose the first that belongs to the tree; one always exists. This constructs a total computable function whose successive prefixes remain in the tree. Thus computable pruned binary trees have computable paths. Our necessarily has dead ends; its subtree consisting only of prefixes of infinite paths is perfect in the pruned sense but is not decidable. The construction therefore supplies the intended perfect closed path space and also resolves the stronger, inconsistent interpretation.