Abstract
We characterize the strength, in terms of Weihrauch degrees, of certain problems related to Ramsey-like theorems concerning colourings of the rationals and of the natural numbers. The theorems we are chiefly interested in assert the existence of almost-homogeneous sets for colourings of pairs of rationals respectively natural numbers satisfying properties determined by some additional algebraic structure on the set of colours.
In the context of reverse mathematics, most of the principles we study are equivalent to
Introduction
The infinite Ramsey theorem says that for any colouring c of n-uples of a given arity of an infinite set X, there exists a infinite subset
This paper is devoted to a variant of Ramsey’s theorem with the following restrictions: we colour pairs of rational numbers and we require some additional structure on the colouring, namely that it is additive. A similar statement first appeared in [23, Theorem 1.3] to give a self-contained proof of decidability of the monadic second-order logic of
In the weak second-order arithmetic
We take this analysis one step further in the framework of Weihrauch reducibility that allows to measure the uniform strength of general multi-valued functions (also called problems) over Baire space. Let
We have the following equivalences
Finally, we turn to carrying out the analysis of those Ramseyan theorems over
We have the following equivalences
A diagram summarizing the relationship between the various problems we are studying is given in Fig. 1.

In this section, we will introduce the necessary background for the rest of the paper, and fix most of the notation that we will use, except for formal definitions related to weak subsystems of second-order arithmetic, in particular
Generic notations
We identify
Additive and ordered colourings
For the following definition, fix a linear order
The following are statements of second-order arithmetic:
As mentioned before, a result similar to
We introduce some more terminology that will come in handy later on. Given a colouring
We now give a brief introduction to the Weihrauch degrees of problems and the operations on them that we will use in the rest of the paper. We stress that here we are able to offer but a glimpse of this vast area of research, and we refer to [3] for more details on the topic.
We deal with partial multifunctions
A partial function
We make use of a number of structural operations on problems, which respect the quotient to Weihrauch degrees. The first one is the parallel product
Now let us list some of the most important1
Whereas
The
problem
Another problem of combinatorial nature, introduced in [7], will prove to be very useful for the rest of the paper.
Namely,
A very important result concerning
Another interesting result concerning
([7, Theorem 7]).
Over
Hence, thanks to the results above, it is clear why
Following [20],
Suppose for a contradiction that a reduction exists and is witnessed by functionals H and K. We build an instance p of
Let us consider the colouring
However, for the colouring
We can now assert that the two main problems that we use as benchmarks in the sequel, namely
We start by letting e enumerate the empty set. At a certain stage s, by definition of instances of
Next, we show how the problems
To prove the theorem, we make use of some lemmas. First, we point out that if we have
As we know that one of the instances
If
Consider the input
Together with Lemma
11
, this gives us a reduction If
The finitary part of
In Section 3.4 we will use the notion of finitary part of a Weihrauch degree to sidestep somewhat troublesome combinatorics. Introduced in [6], the k-finitary part of a Weihrauch degree f (denoted by
Here we will calculate the k-finitary part of
Assume that
Sequential versus parallel composition
We use a technical result asserting that the sequential composition of
For all
The proof of
In
The singlevaluedness of
The following shows that the restriction to singlevalued
The problem
First, we argue that
Next, we disprove
Let us consider what happens on an input Next, we consider inputs of the form
Green theory is concerned with analysing the structure of ideals of finite semigroups, be they one-sided on the left or right or even two-sided. This gives rise to a rich structure to otherwise rather inscrutable algebraic properties of finite semigroups. We will need only a few related results, all of them relying on the definition of the Green preorders and of idempotents (recall that an element s of a semigroup is idempotent when
For a semigroup
We conclude this section reporting, without proof, three technical lemmas that will be needed in Section 4 and 5. Although not proved in second-order arithmetic originally, it is clear that their proofs go through in
If
For any pair of elements
For every finite semigroup S and
([21, Corollary A.2.6]).
([21, Corollary A.2.6]).
The shuffle principle and related problems
The shuffle principle in reverse mathematics
We start by giving a proof3
From Leszek A. Kołodziejczyk, personal communication.
Let
Let
The proof above shows an important feature of shuffles: given a certain interval
Over
We do not offer a proof of the reversal here; such a proof can easily be done by taking inspiration from the argument we give for Lemma 32.
With this equivalence in mind, we now introduce Weihrauch problems corresponding to
We regard
Note that the output of
We will first start analysing the weaker problems
Our definitions include the number of colours as part of the input. We discuss in Section 6 how the variants with an unknown but still finite number of colours relate to the versions we focus on.
We first provide a classification of
Without loss of generality, let us show that we have
Let
With the same reasoning, if
To conclude
Let
We will prove that
To see that
We can also prove that finitely many copies of
We actually show that
Let
For every component i, at stage s we do the following:
if If instead
We iterate the construction for every
Let C be a
Putting the previous lemmas together, we have the following:
While Theorem 29 tells us that for any finite number of parallel
What is the relationship between
Let
Fix an enumeration
The idea of the reduction is the following: with the first instance
Although not apparent in the sketch given above, an important part of the proof is that the
At stage s, there are two cases:
if, for every i, In practice, this means that if the set of colours of the points of the current interval seen so far does not have cardinality larger than i, no particular action is required, and we can move to check the next point on the list. otherwise: let In practice, this means that if, for a certain component
We iterate the procedure for every
Let
We now prove the claim. First, suppose that
Next, we notice that for every
Let
Let
Putting things together, we finally have a characterization of
We have the Weihrauch equivalence
We get
The main result of this section is that
From Theorem 29 and Theorem 33, we have that
For the other direction, again, we want to be precise as to the number of
Let
Let
We proceed as follows: let
At stage s, for every component i, there are two cases:
if In plain words, for every component i, we check if the colour of the current point is in If instead In plain words: if we find that for some component i the colour of the current point is not in
We iterate the procedure for every integer s. Let
Hence, all that is left to be done is to prove the claim. By the fact that
Putting the previous results together, we obtain the following.
A weakening of the shuffle principle was studied in [12] under the name
The principle
An important aspect of the definition above to notice is that we require a bound on the number of colours used to be declared in the instance of
While
Taking into account Theorem
33
, it suffices for us to show that
It remains to prove that
If j appears only finitely many times in c, then
How do the restrictions
The proposition above implies that
Fix some enumeration
If we ever find a rational
The backwards reduction witness receives two colours,
To see that the reduction works correctly, first consider the case where every colour is dense everywhere. In this case, everything is a correct answer, and the reduction is trivially correct. Otherwise, there has to be some interval
These bounds allow us to characterize the strength of
Corollary
41
tells us that
Our result that
We now analyse the logical strength of the principle
Additive Ramsey over
in reverse mathematics
As a preliminary step, we figure out the strength of
We start by proving
We now move to prove the second claim. We point out that this claim plays no part in the rest of the paper, and it is only added for completeness. We also point out that the use of “bounded posets” as opposed to “finite posets” is due to the fact that the term “finite” is not well-defined when working over
Suppose that
Suppose that
By
We now show that the shuffle principle is equivalent to
Fix a finite semigroup
We proceed in two stages: first, we find an interval
For every additive colouring c, there exists
If we post-compose c with a map taking a semigroup element to its
Moving on to stage two of the proof, we want to look for a subinterval of
By
Let
All that remains to be proved is that any colour s occurring in
We conclude this section by showing that the implication proved in the Lemma above reverses, thus giving the precise strength of
Let
We now start the analysis of
Let
We define an ordered colouring
At stage 0, we set
We define the
At stage s, for every inactive component if, for every active component i, suppose instead there is an active component i such that
We iterate the procedure above for every integer s.
Let
Now let us discuss Weihrauch problems corresponding to
Regard
Similarly to what we did in Definition 25, we also introduce the problems
We start by noticing that the proof of Theorem 46 can be readily adapted to show the following.
The rest of the section is devoted to find upper bounds for we start with an application of define the colouring the rest of the proof consists simply in showing that
The three results are all proved in a similar manner. We recall that For
Hence, from the uniform point of view, this shows that
□
We finally turn to the case of the additive and ordered theorems over
That the principles
Definitions
We have already covered the principles Define the following Weihrauch problems:
We have
Let
The non-trivial reductions are easily made by amalgamating finite sequences of colouring via a pointwise product, which will always still carry an additive or ordered structure. □
We use
We now explain how to bound the Weihrauch degree of
Now let us describe this construction for a fixed c and p. We begin with
If
Otherwise, if we have some
Otherwise, set
Clearly, we can also define recursive sequences
For any ordered colouring c, there is p such that
The suitable p may be found as follows: say that a colour p occurs after n in c if there is
We have that
Given an input colouring c, compute in parallel all
We have that
Given an input colouring c, compute in parallel all
We have that
Given an input colouring c, consider for every colour p the sequence either there are infinitely many injuries after or
By Lemma 6, a single instance of
By Lemma 55, we even know there is a
This concludes our analysis of the ordered Ramsey theorem.
We now turn to
So this time around, assume a semigroup S and a colouring
For
If
If
Otherwise, if
Otherwise, set
We can define auxiliary binary sequences
If
That the condition is sufficient for X to be infinite is obvious; it only remains to show it is homogeneous. Note that all elements in
There is some s such that
Consider, much as we did in the proof of Lemma 55, a
With these two lemmas in hand, it is easy then to carry out a similar analysis as in the last subsection. We do not expand the proofs, which are extremely similar, but only summarize the results.
We have the following reductions:
Let us now combine the lemmas above to prove each item of Theorem 3:
How the colours are coded
All principles we have studied that receive as input a colouring of some sort also receive explicit finite information about the finite set/finite poset/finite semigroup of colours. This is not the only approach we could have taken: in the case of a plain set of colours, the colouring itself contains the information on how many colours it is using. In the cases where the colours carry additional structure, this could have been provided via the atomic diagram of the structure. This would lead to the requirement that only finitely many colours are used to be a mere promise.
We will first demonstrate the connection between the two versions on a simple example, namely
Instead of
Given a colour c that appears infinitely often in the resulting colouring, we can retrace our steps and identify what
For the converse direction, we observe that
The very same relationship holds for all our principles, i.e. the Weihrauch degree of the version without finite information on the colours is just the composition of the usual version with
Again, we show
The process has to eventually stop, as A is finite. Moreover, the final
For the other direction, we again use the fact that
To see that this observation already fully characterizes the Weihrauch reductions and non-reductions between the usual and the relaxed principles, the notion of a (closed) fractal from [1,19] is useful.
A Weihrauch degree f is called a fractal, if there is some
If f is a fractal and
Summary. We have analysed the strength of an additive Ramseyan theorem over the rationals from the point of view of reverse mathematics and found it to be equivalent to
Perspectives. It would be interesting to study further mathematical theorems that are known to be equivalent to
Two contemporary investigations in the Weihrauch degrees concerning similar principles to
Footnotes
Acknowledgements
The second author warmly thanks Leszek Kołodziejczyk for the proof of Lemma
as well as Henryk Michalewski and Michał Skrzypczak for numerous discussions on a related project.
The authors grant to Swansea University a non-exclusive, irrevocable, sub-licensable, worldwide license to make the accepted manuscript available on its institutional repository.
