In reverse mathematics, one sometimes encounters proofs which invoke some theorem multiple times in series, or invoke different theorems in series. One example is the standard proof that Ramsey’s theorem for 2 colors implies Ramsey’s theorem for 3 colors. A natural question is whether such repeated applications are necessary. Questions like this can be studied under the framework of Weihrauch reducibility. For example, one can attempt to capture the notion of one multivalued function being uniformly reducible to multiple instances of another multivalued function in series. There are three known ways to formalize this notion: the compositional product, the reduction game, and the step product. We clarify the relationships between them by giving sufficient conditions for them to be equivalent. We also show that they are not equivalent in general.
Many mathematical theorems can be thought of as problems; that is, they have the form “for every instance X, there exists a solution Y”. For example, instances of the intermediate value theorem (on ) are continuous functions such that 0 lies strictly between and , and solutions to f are zeroes of f. Another example is König’s lemma, which states that every infinite finitely branching tree has an infinite path. Instances of König’s lemma are infinite finitely branching trees T, and solutions to T are infinite paths on T.
What would it mean to solve a problem? Given an instance of the problem, we must provide some solution to said instance. Since each instance of a problem may have many solutions, there may be many possible mappings which take each instance to a solution. Intuitively, a problem is easily solvable if some such mapping can be constructed in a simple way.
This gives us a way to study the computational content of theorems: we study how difficult it is to solve the associated problem. The machinery to do the latter was first studied by computable analysts: for many theorems of interest, the instances and solutions of their associated problems can be represented as elements of Baire space . The problems are then (possibly partial) multivalued functions on , and the realizers are single-valued functions on with the same domain.
We are particularly interested in the relative computational strength of problems. Given any realizer for problem Q, can we computably transform it into some realizer for problem P? In order to formalize this, we will use a reducibility relation known as Weihrauch reducibility.
Our interest in comparing mathematical theorems up to Weihrauch reducibility is closely related to, and partially motivated by, the program of reverse mathematics, which studies the proof-theoretic strength of mathematical theorems over some base theory. The standard base theory is a weak subsystem of second-order arithmetic known as , which roughly corresponds to computable mathematics. In that context, one considers the following question. For any two theorems P and Q, do we have ?
For example, consider Ramsey’s theorem for k-colorings of n-tuples (): for every coloring , there is an infinite c-homogeneous set. Then (view the given 2-coloring as a 3-coloring). This proof only invokes once, and it can be translated into a Weihrauch reduction from to .
Less trivially, we also have that . The usual proof invokes twice, in series: given a 3-coloring of by red, green, and blue, first define a 2-coloring of by red and “grue”. Then use to obtain an infinite homogeneous set for it. If we obtain a red homogeneous set, then we are done. If we obtain a “grue” homogeneous set, then we apply to the original coloring restricted to this set, and we are done.
In the reverse mathematics setting, Hirst and Mummert [10] gave such a proof in . Their proof was not “uniform”. In the setting of Weihrauch reducibility, Hirschfeldt and Jockusch [9], Brattka and Rakotoniaina [5], and Patey [11] independently showed that there is no reduction.
If not, is there a proof of which invokes twice, but in parallel?2
Note that invoking a theorem in parallel is a special case of invoking a theorem in series.
We want to study such questions from the point of view of Weihrauch reducibility. In order to do so, we must define some reducibility which would capture the notion of P being reducible to multiple instances of Q in series. There are three known ways to formalize this idea:
In this paper, we clarify the relationships between these three notions (for example, Theorems 23, 27, Corollary 29). We conclude that they are (mostly) equivalent, and hence one is (mostly) free to use whichever definition is convenient for one’s purposes. Along the way, we prove some basic properties of these notions, and give counterexamples where appropriate.
We are also interested in capturing the notion of P being reducible to different theorems in series. One motivating example is Cholak, Jockusch, and Slaman’s [6] proof of which proceeds by first using one theorem to obtain an infinite set on which the given coloring is stable, and then restricting to said set and obtaining, by another theorem, an infinite homogeneous set. To formalize this notion, we consider a generalized reduction game and show how it relates to the other formalizations (Theorem 34).
In the rest of the introduction, we give some notation and basic definitions. In this paper, P, Q, , etc., refer to multivalued functions from to . All multivalued functions and single-valued functions are allowed to be partial, unless otherwise stated. Their domains could be empty. Their domains and graphs need not be arithmetically definable, or even definable. If X is in the domain of P, then we say that X is a P-instance. If , then we say that Y is a P-solution to X. If Φ is a Turing functional and X is an oracle for Φ, we will sometimes write instead of . Since Φ formally only takes numbers as input, this should not cause confusion.
We begin by defining Weihrauch reducibility on multivalued functions:
For multivalued functions P and Q, we say that P is Weihrauch reducible (strongly Weihrauch reducible resp.) to Q, written ( resp.), if there is a forward functional Γ and a backward functional Δ such that
for every P-instance X, is a Q-instance;
if X is a P-instance, then for every Q-solution Y to ,
( resp.) is a P-solution to X.
Intuitively, means that one can uniformly computably transform a realizer for Q into a realizer for P. In this paper, we focus on Weihrauch reducibility, but we use strong Weihrauch reducibility to state some of the results we need.
Note the uniformity in the above definitions: Γ and Δ have to satisfy the above conditions for all P-instances X. In fact, Weihrauch reducibility on multivalued functions was independently rediscovered by Dorais, Dzhafarov, Hirst, Mileti, and Shafer [7], who named it uniform reducibility. See Brattka, Gherardi, and Marcone [3] for historical remarks about Weihrauch reducibility, and an equivalent definition.
It is easy to see that is reflexive and transitive, so we can define the associated notion of Weihrauch equivalence and Weihrauch degrees: for multivalued functions P and Q, we say that P and Q are Weihrauch equivalent, written , if and . For a multivalued function P, its Weihrauch degreep is its -class. Weihrauch reducibility lifts to Weihrauch degrees in the usual way; that is, we say that if and only if there is some and such that , if and only if for all and , we have . We will abuse notation and use to mean that there is some such that , or equivalently, for all , we have . We give the analogous meaning.
We can define strong Weihrauch equivalence and strong Weihrauch degrees in the same way.
The Weihrauch degrees form a distributive lattice (Brattka, Gherardi [2], Pauly [12]). The join (coproduct) of multivalued functions and , denoted , has instances . For , is a -solution to if Y is a -solution to X. The meet (sum) of and , denoted , has instances . For , is a -solution to if Y is a -solution to . It is easy to see that the join and meet operations lift to the -degrees.
Another useful notion is that of a uniformly computable multivalued function: a multivalued function P is uniformly computable if it has a computable realizer; that is, there is a functional Γ such that for every P-instance X, is a P-solution to X. Note that the uniformly computable multivalued functions do not all lie in the same degree.3
In fact, it is easy to see that the Medvedev degrees embed into the set of Weihrauch degrees which contain a uniformly computable multivalued function.
Formalizing compositions
In this section, we present several ways to formalize what it means for P to be reducible to multiple instances of Q, and prove some basic properties about them.
Parallel product
We begin by considering what it means for P to be reducible to multiple instances of Q in parallel. This notion is captured by the parallel product:
Given multivalued functions P and Q, the parallel product is the Cartesian product of P and Q. That is, instances are pairs , where X is a P-instance and Y is a Q-instance. is a -solution to if Z is a P-solution to X and W is a Q-solution to Y.
For example, we have that : given a j-coloring and a k-coloring, we can pair them to obtain a -coloring. A homogeneous set for the -coloring will be homogeneous for both the j-coloring and the k-coloring. For other examples, see [3] and [7].
Up to Weihrauch degree, the parallel product is well-defined, associative, and monotone in both components [2, Proposition 3.2].
While we will not study the parallel product in this paper, we will use it to state a later definition.
Compositional product
In this section, we define the compositional product of multivalued functions (Brattka, Gherardi, Marcone [3]; Brattka, Pauly [4]), which attempts to capture the notion of P being reducible to multiple instances of Q in series. We begin by defining the composition of multivalued functions, which forms a building block for the compositional product. Intuitively, corresponds to invoking P and then Q, with no extra steps allowed in between; that is, the solution to the P-instance has to be a Q-instance.
Given multivalued functions P and Q, their composition is the following multivalued function. Instances are P-instances X such that every P-solution Y to X is itself a Q-instance. Z is a -solution to X if there is some P-solution Y to X such that Z is a Q-solution to Y.
Note that the composition of P and Q as multivalued functions is more restrictive than the composition of P and Q as relations. This restriction implies that, for example, the composition of realizers for P and Q is a realizer of the composition .
It is easy to see that ∘ is associative:
∘ is associative up to equality of multivalued functions; that is, for multivalued functions P, Q, R, we have.
However, ∘ is not monotone (in either component) with respect to Weihrauch reducibility. To illustrate what can go wrong, here are some examples.
Take any Q which is not uniformly computable and has a computable instance with a computable solution. (For example, take Q to be .) Take to be the identity function, and take to be the identity function restricted to . It is easy to see that and .
Take any P which is not uniformly computable. For , define as follows: -instances are P-instances, and is a -solution to X if and only if Y is a P-solution to X. Define Q as follows: instances are pairs , for any set Y and . For each , Y is the only Q-solution, and for each , 0 is the only Q-solution. It is easy to see that and .
Take any R which is not uniformly computable. Define P as follows: instances are pairs for any set X and . For each , the P-solutions are pairs , where Y is an R-solution to X, and for each , 0 is the only P-solution. Define to be the identity function restricted to instances , for any set Y. Define to be the identity function with only one instance 0. It is easy to see that and .
Define P as follows: instances are pairs for any set X and . Each has a unique P-solution . For , define to be the identity function restricted to pairs . We have that . But has nonempty domain while has empty domain, so .
Having defined ∘, we are now ready to define the compositional product , which attempts to capture the power of one invocation of P, followed by one invocation of Q in series.
Brattka and Pauly [4] give a different definition of and show that it is equal to the supremum of all , where and are multivalued functions on arbitrary represented spaces, not just . Nevertheless, this definition is equivalent to theirs: suppose f is a multivalued function from to and g is a multivalued function from to . Then , , and .
of Weihrauch degrees p and q, written , is defined to be the Weihrauch degree .
That the supremum in the definition exists is in fact a theorem:
For everypandq, there are multivalued functions P of degreepand Q of degreeqsuch thathas degree.
We abuse notation and use to refer to the Weihrauch degree , where P has degree p and Q has degree q. Since ⋆ is monotone in both coordinates, this is well-defined.
In order to state more facts about the compositional product, we use the notion of a cylinder due to Brattka and Gherardi [2]. We say that a multivalued function P is a cylinder if . It is easy to see that if , then . Therefore, if P is a cylinder, then if and only if .
The compositional product has a cylindrical decomposition:
⋆ is associative. ⋆ is monotone in both components with respect to Weihrauch reducibility.
In order to prove our main results, we will use the following version of Theorem 6 for multiple multivalued functions.
For every, there are multivalued functionssuch that for each,, and.
First, by replacing each with , we may assume that each is a cylinder. Next, by induction using Lemma 7, we obtain computable functions such that
Then define , and for , define . For each i, it is easy to see that . □
Reduction games
In this section, we present another formalization of the notion of P being reducible to multiple instances of Q in series. The process of solving an instance of P using multiple instances of Q in series can be thought of as a game. Roughly speaking, Player I starts by posing a P-instance for Player II to solve. At each turn, Player II has oracle access to all of Player I’s previous plays, and it can either compute a Q-instance for Player I to solve, or it can win by computing a solution to the P-instance posed by Player I.
Define the game reducing P to Q as follows. In round , Player I starts by playing a P-instance . Player II responds with either of the following:
an -computable Q-instance ;
an -computable P-solution to ;
and an indication of which case it is (for the second case, Player II declares victory.)
In round , Player I plays a solution to the Q-instance . Player II responds with either of the following:
a -computable Q-instance ;
a -computable P-solution to ;
and an indication of which case it is (for the second case, Player II declares victory.)
If Player II ever declares victory or Player I cannot move (which can only happen in the first round), then Player II wins and the game ends. Otherwise Player I wins, which happens either if the game goes on forever, or Player II cannot move (which can only happen in the first round).
In the game reducing P to Q, even though II can only play sets which are computable in the join of all of I’s previous plays, II is allowed to employ non-uniform strategies to decide which set to play. Since we are interested in solving P uniformly from multiple instances of Q, we will only consider computable strategies for II, defined as follows.
We recall some notation from [9]. First, we assume that we have defined the join operation for finitely many sets so that we can compute n from . In general, when we write we mean as usual. However, we will sometimes write for , when it is clear that this is what we mean. Similarly, we will write simply instead of .
Second, if Z is a set and Φ is a Turing functional, then we define to be .
A Turing functional Φ is a computable strategy for II for the game reducing P to Q if for all , if is the join of Player I’s first n moves in some run of said game, then
if , then is a Z-computable Q-instance;
otherwise, and is a Z-computable P-solution to .
We will frequently define by first defining and then setting or .
We say that if there is a computable winning strategy for II for the game reducing P to Q. We say that if there is a computable strategy for II for the game reducing P to Q such that II always wins in round or before.
In this paper, we will not discuss , only its bounded versions . In order to understand better, we start by considering . If , that means that there is a strategy Φ for II which wins the game reducing P to Q in round 1 or 2. Those P-instances for which Φ wins in round 1 have uniformly computable solutions, while all other P-instances can be solved by solving some corresponding Q-instance (given by Φ). More precisely, Φ provides a Weihrauch reduction from the restriction of P to those latter instances, to Q. This indicates that and are related. We explore their relationship in the following propositions.
First, the above discussion can be formally stated as follows:
The following are equivalent:
;
the domain D of P can be computably partitioned intoand, such thatis uniformly computable and;
there is some uniformly computable R such that.
.
Second, if every P-instance uniformly computes a Q-instance, then we can upgrade a -reduction from P to Q to a -reduction:
if and only if every P-instance uniformly computes a Q-instance (that is,is Medvedev reducible to) and.
(⇒). Fix Γ and Δ witnessing that . First, Γ witnesses that every P-instance uniformly computes a Q-instance. Next, we give a strategy Φ witnessing that :
Note that in the two cases of the definition above, the oracles of Φ are meant to be and respectively. This is because Φ’s action depends on which round of the game it is playing, hence it must be able to compute that information from the oracle.
(⇐). Fix a strategy Φ witnessing that , and fix a functional Ξ which takes in any P-instance and computes a Q-instance from it. We define functionals Γ and Δ witnessing that :
and
□
Most problems that arise directly from mathematical theorems have computable instances. Such problems are called pointed (Brattka, de Brecht, Pauly [1]).
If Q is pointed, thenif and only if.
It is clear that Q is pointed if and only if . Hence if Q is not pointed, then there is a trivial counterexample to the above Corollary: yet . These results clarify a statement in of [9], where they claim that if and only if .
Moving on to , observe that if , then there is a computable strategy for II for the game reducing P to Q which wins in round 1 or round . This is because everytime II declares victory in round k for , II could instead repeatedly play the Q-instance which it played in round 1, and wait until round to declare victory. Using this observation, we obtain
if and only if the domain D of P can be computably partitioned intoand, such that
is uniformly computable;
ifis nonempty, then there is a strategy for II witnessing thatwhich always wins in round.
(⇒). Fix a strategy Φ witnessing that . For , define . and form a computable partition of D. is uniformly computable, as witnessed by .
If is nonempty, then, as discussed above, we may modify Φ to give a strategy Ψ which always wins the game reducing to Q in round .
(⇐). Fix a computable partition of D into and (nonempty) , a functional Ξ which solves , and a strategy Φ which always wins the game reducing to Q in round .
We give a strategy for II which witnesses that . I starts by playing a P-instance, say . II starts by computing whether lies in or . If lies in , then II applies Ξ to solve and declares victory. If lies in , then II follows the strategy Φ to solve and declare victory in round . Either way, II declares victory by round . □
Another useful property about is that it is well-defined on Weihrauch degrees, which we show below. Since we only defined the compositional product up to Weihrauch degree, this allows us to make sense of statements such as (such as in Theorem 30).
The desired statement follows from the following proposition.
Ifwith a strategy that always wins in roundandwith a strategy that always wins in round, thenwith a strategy that always wins in round. Ifand, then.
To prove the first statement, fix a strategy Φ for which always wins in round , and a strategy Ψ for which always wins in round . We describe a strategy for which always wins in round . The idea is to play the game G reducing P to R by playing the game reducing P to Q, interleaved with m many consecutive games , each reducing Q to R.
Say that in G, I starts by playing a P-instance . Then is a Q-instance, so we simulate a parallel game reducing P to Q where I starts by playing and II responds with . In order to come up with a valid response for I in , we simulate yet another parallel game reducing Q to R where I starts by playing . Then is an R-instance, so II plays in G (and in ).
Next, in G, I responds with some R-solution to . We copy that response to . Then is an R-instance, so II plays it in G (and in ).
We continue playing G as above (and simulating ) until II wins and provides a Q-solution to . At that point we return to simulating : I can now respond with .
In , II responds with the Q-instance . In order to simulate I’s response in , we simulate another parallel game reducing Q to R where I starts by playing . Proceed as we did for .
Since Φ always wins in round and Ψ always wins in round , the above strategy always wins in round .
The proof of the second statement is similar. □
is well-defined up to Weihrauch degree, i.e., if,, and, then.
The step product generalizes the composition of multivalued functions. Intuitively, corresponds to invoking P, transforming the result by Θ (allowing Θ access to the original P-instance), and then invoking Q.
Given multivalued functions P and Q and a Turing functional Θ, the multivalued function is defined as follows. A is an instance of if
A is a P-instance;
for every P-solution B to A, we have that is a Q-instance.
In that case, a -solution to A is a pair such that
B is a P-solution to A;
C is a Q-solution to .
Note that may very well be the empty multivalued function, but that will not affect any of our results.
Note also that if we define Θ to be the projection , then is exactly .
Many compositions that we encounter in proofs can be thought of as some step product. However, the step product does not satisfy several of the properties one would desire of a product, such as monotonicity. First we give a positive result: in some sense, the step product is monotone in the first coordinate with respect to Weihrauch reducibility.
Suppose, Θ is a functional, and P is a multivalued function. Then there is a functional Λ such that.
We define a functional Λ, and forward and backward functionals witnessing that . We will take the forward functional to be the identity.
Fix Γ and Δ witnessing that . We define Λ such that every -instance X is also a -instance: for every P-solution Y to X, is a -instance, so is a -instance. Hence we define .
Next, for every -solution to X, we have that Y is a P-solution to X and Z is a -solution to . Hence is a -solution to , so is a -solution to X. Therefore, we define the backward functional by
This completes the proof that . □
However, the step product is not monotone (in the above sense) in the second coordinate. (Take , , . Then but for all Λ, . See Example 26 for a more sophisticated example.) We have the following partial positive result:
Suppose,is a cylinder, Θ is a functional, and Q is a multivalued function. Then there is a functional Λ such that.
Fix Γ and Δ witnessing that . Fix Φ and Ψ witnessing that . We define a functional Λ, and forward and backward functionals witnessing that . We will take the forward functional to be .
We define Λ such that for every -instance X, is a -instance: first note that is a -instance. Next, for every -solution Z to , is an -solution to ; that is, and is a -solution to . It follows that is a -solution to X. Therefore, is a Q-instance. So we define
Now, for every -solution to , we have that Z is a -solution to and W is a Q-solution to . Then is a -solution to X. Therefore, we define the backward functional by
This completes the proof that . □
Proposition 20 suggests that the class of where P is a cylinder may be well-behaved (see also Lemma 7). Note that any multivalued function P is Weihrauch equivalent to a cylinder, for example .
Composing a multivalued function with itself
In this section, we study the relationships between the various products for the simplest nontrivial case: two invocations of P. We will see in Theorem 23 that the compositional product and the reduction game are equivalent in the case where P is pointed, and the compositional product and the step product can be made equivalent if we modify the second factor in the step product.
We begin by showing that ⋆ is always at least as strong as .
For any functional Θ, we have that.
Define the multivalued function as follows. Instances of are instances of . is a solution to the -instance Y if Z is a P-solution to Y.
We have : take the forward functional to be the identity, and define the backward functional by mapping to .
Next, define : its instances are pairs such that Y is a -instance and Z is a P-solution to Y. is a solution to the -instance if W is a solution to the Q-instance .
We have : define the forward functional by mapping to , and define the backward functional by mapping to .
Finally, we see that is equal to , so we are done. □
Next, in order to state our first main result, we need the following definition.
Given a multivalued function R, define the multivalued function as follows. Instances of are pairs , where X is any set and Y is an R-instance. Z is an -solution to if Z is an R-solution to Y.
Note that . Note also that is not a cylinder. Now we prove our first main theorem relating ⋆, reduction games, and .
The following are equivalent:
;
there is a strategy for II witnessing that, which always wins in the third round, or P has empty domain;
every P-instance uniformly computes a Q-instance, and
;
there is a functional Θ such that.
(1) ⇒ (2). By Theorem 6, since , there are multivalued functions such that . We define a strategy Φ for II witnessing that , which always wins in the third round. The desired result then follows from Corollary 17. Fix and witnessing that . Fix and witnessing that .
I begins the game by playing a -instance, say X. (If the domain of is empty, then the domain of P is empty and we are done.) In particular, note that X is a -instance. II responds by playing the Q-instance .
I then plays a Q-solution to , say Z. Then is a -solution to X. Since X is a -instance, must be a -instance. Therefore, II responds with the Q-instance .
Finally, I plays a Q-solution W to . Then
is a -solution to , which implies that it is a -solution to X. II declares victory and responds with .
(2) ⇒ (3). If P has empty domain, (3) vacuously holds. Otherwise, fix a strategy Φ for II witnessing that which always wins in the third round. For every P-instance X, is always a Q-instance (because Φ does not win in the first round).
(3) ⇒ (4). Fix some Φ witnessing that , and fix some Ξ which computes Q-instances from P-instances. First define a forward functional for :
Then define
Observe that for every P-instance X, is a -instance, and for every -solution Z to , is a Q-instance. Therefore is a -instance.
Finally, define a backward functional
(4) ⇒ (1). We have that
□
We note that a statement similar to (2) ⇒ (4) was proven in Remark 4.23 in [9]. (They use instead of , but the same result holds: use Proposition 20 and the fact that is a cylinder.) However, they (implicitly) assume that if , then (2) holds. This is true if Q is pointed, but false otherwise (see Proposition 28).
Let us now study corollaries of Theorem 23. First, we obtain a simple realization of the compositional product (cf. Theorem 6):
If Q is a cylinder, we note that a nicer result follows from the cylindrical decomposition of Brattka and Pauly (Lemma 7):
If Q is a cylinder, then there is a functional Θ such that.
By the cylindrical decomposition lemma, there is some uniformly computable K such that . Taking , we get . □
The above corollary cannot hold for all Q in general:
We construct Q and Θ such that for all Λ, (and hence for all Λ). We take Θ to be the identity. Fix four sets A, B, C and D such that no three of these sets compute the other. (Such sets can be obtained from a Cohen generic.) Define Q as follows: the instance B has a unique solution C, and the instance has a unique solution D. Observe that is a -instance with unique solution .
Suppose towards a contradiction that Λ is such that . Fix Γ and Δ witnessing this. We show that they fail to solve the -instance . First, must be a Q-instance. The only Q-instance computable in is B, which has a unique Q-solution C. Next, must be a Q-instance. The only Q-instance computable in is B, which has a unique Q-solution C. Hence the unique -solution to B must be . Finally, must be the unique -solution to , which is . But does not compute D, contradiction.
Another application of Theorem 23 is to compare ∙, ⋆, and on the same footing. The following suprema are taken with respect to Weihrauch reducibility.
For all Q,exists and for all Θ,
First, by (1) ⇒ (4) in Theorem 23, there is Λ such that . By (4) ⇒ (1) in Theorem 23, for all Λ. Hence exists and is equal to .
We do not know whether or exist in general. If Q is pointed, we have some partial results.
If Q is pointed, thenexists and is equal to. If Q is not pointed, then there is some(in fact,) such that.
Suppose that Q has a computable instance. If we fix a computable Q-instance A, then for every multivalued function P, every P-instance uniformly computes A. By (1) ⇔ (3) in Theorem 23, exists and is equal to .
Suppose that Q has no computable instance. Consider . We have that , yet P-instances do not uniformly compute Q-instances. By the contrapositive of (1) ⇒ (3) in Theorem 23, . □
If Q is pointed, then
Proposition 28 inspired us to consider instead of . That gives us a cleaner analog of Theorem 23:
The following are equivalent:
;
;
there is a functional Θ such that.
(1) ⇒ (2). Let D be the domain of P. By Proposition 12, fix a computable partition and of D such that is uniformly computable and . By (1) ⇒ (2) in Theorem 23, there is a strategy for II witnessing that , which always wins in the third round. By Proposition 15, as desired.
(2) ⇒ (3). Let D be the domain of P. By Proposition 15, fix a computable partition and of D such that is uniformly computable, and there exists a strategy Φ witnessing that which always wins in the third round. By (2) ⇒ (4) in Theorem 23, there is some Θ such that . By Proposition 12, as desired.
(3) ⇒ (1). By Theorem 27, . The desired result follows from Corollary 17. □
Finite compositions of arbitrary multivalued functions
Many of the results in Section 3 can be easily generalized to finite compositions of a multivalued function with itself. In this section, we generalize some of our results to the finite composition of (possibly) different multivalued functions. We show that such a composition can be thought of in terms of the following generalized reduction game.
For multivalued functions P, , define the game reducing P to as follows. In round 1, Player I starts by playing a P-instance . Player II responds with either of the following:
an -computable P-solution to ;
an -computable -instance ;
and an indication of which case it is (for the first case, II declares victory).
Subsequently, for , in round , Player I plays a solution to the -instance . Player II responds with either of the following:
a -computable P-solution to ;
if , a -computable -instance ;
and an indication of which case it is (for the first case, II declares victory).
Player II wins if it declares victory on round or before, after which the game ends. Otherwise Player I wins, which happens exactly if Player II has no possible move in some round. (If the game reaches round , the only possible move for II is to declare victory, if it can.)
In the game reducing P to Q, if II was able to make a move in round 1, then it can repeat said move for all subsequent rounds. This is not always possible for the game reducing P to .
A Turing functional Φ is a computable strategy for II for the game reducing P to if for all , if is the join of Player I’s first moves in some run of said game, then , where
if , then Y is a Z-computable solution to the P-instance (this must happen if );
otherwise, and Y is a Z-computable -instance.
We define and the join operation as before.
We say that if there is a computable winning strategy for II for the game reducing P to .
Unlike , does not seem to admit a nice characterization like that in Proposition 15. That is, assuming that , one may not be able to divide the domain of P into finitely many sets, on each of which II has a strategy which always wins in a certain number of rounds. Take for example a run where a strategy Φ wins the game reducing P to in some round . We may not be able to delay Φ’s victory because there may not be any -instance which is computable in I’s plays. Even if there is such a -instance, we may not be able to compute it uniformly from I’s plays. Whether we can do so may depend on I’s choice of solutions to the instances played by II. Therefore, we do not have an analog of Theorem 30 in this context.
Next, we prove an analog of Corollary 17. We could prove an analog of Proposition 16 and use that to derive an analog of Corollary 17, but that would be messy.
Supposeandfor each. If, then. Moreover, ifwith a strategy that always wins in the last round, thenwith a strategy that always wins in the last round as well.
Fix Γ and Δ witnessing that , and for each , fix and witnessing that . Fix a strategy Φ witnessing that . We describe a strategy Ψ witnessing that , such that if Φ always wins in round , then so does Ψ. The idea is as follows: while we play the game reducing to , we play a parallel game reducing to , where II follows the strategy Φ.
In the game , I starts by playing a -instance . Then is a -instance, so we may start the game with the -instance and with II following the strategy Φ. In , II either plays a -solution to and declares victory, or a -instance.
If II plays a -solution to , then we may apply Δ to obtain a -solution to . II can then play this set in and declare victory.
On the other hand, if II plays a -instance, then we may apply to obtain an -instance. II can then play this set in , continuing the game.
In (if II has not already won), I responds by playing an -solution to II’s previous play in . Then we may apply to obtain a -solution to II’s previous play in . We make I play this set in .
Next, in , II (following Φ) either plays a -solution to and declares victory, or plays a -instance. The rest of the game proceeds as above.
We have described our strategy for the first two rounds of . We omit the formal construction and verification. □
Our final main theorem (analogous to Theorem 23) is as follows:
For multivalued functions, the following are equivalent:
;
there is a strategy for II witnessing thatwhich always wins in round, or P has empty domain;
there are functionalssuch that
.
Before we give the proof, we state some observations. First, if all are pointed, then the extra condition in (2) is unnecessary (cf. the observation before Proposition 15):
For multivalued functionssuch that P has nonempty domain and allare pointed,if and only if.
(⇒) follows from (1) ⇒ (2) in Theorem 34. For (⇐), fix computable instances of each . Then any strategy witnessing that can be padded to obtain a strategy which always wins in the last round: simply play the appropriate computable instances and ignore the solutions. Then apply (2) ⇒ (1) from Theorem 34. □
Unlike Proposition 28, even if for all P, we have if and only if , it does not follow that all have computable instances. (See the comments before Proposition 33.)
Next, note that strategies in the game reducing P to are allowed to refer to each -instance played thus far, while only allows reference to the -instance just played. Therefore in (3), we use instead of . The extra coordinate in a -instance can be used to encode every -instance played thus far. For the last factor (), we can get away with instead of (as is the case in Theorem 23). Nevertheless, we state the theorem with because this obviates the need to consider an extra case in the proof of (2) ⇒ (3).
(1) ⇒ (2). By Lemma 9, since , there are multivalued functions such that for all , and .
By Proposition 33, it suffices to give a computable strategy for II which always wins the game reducing to in round . For each , fix and witnessing that .
In order to illustrate the construction, we describe the strategy for the first three rounds before giving the general description. I starts by playing an -instance . (If has empty domain, then so does P and we are done.) II has to respond with an -computable -instance. Note that is in particular an -instance, so II can play the -instance .
Next, I plays a -solution to . II has to respond with an -computable -instance. Since is an -instance, any -solution to is itself an -instance, which is in particular an -instance. We can obtain an -solution to by applying to . As explained above, that gives us an -instance, to which we can apply to obtain a -instance. Therefore II plays .
In the third round, I plays a -solution to . II has to respond with an -computable -instance.
Since is an -instance, any -solution to is itself an -instance, which is in particular an -instance. We can obtain an -solution to by applying to . That gives us an -instance, to which we can apply to obtain a -instance. Therefore II plays .
We have described our strategy for the first three rounds. Formally, define the auxiliary functional Ξ by recursion:
For example, . Then we can define our strategy as follows. Suppose that in round k, I plays . In round , II plays the -instance . In round , II declares victory and plays .
Verification. We show by simultaneous induction on k that:
for every , is an -instance;
for every , II’s move in round k is legal;
for every , is an -solution to the -instance .
Base case. By definition of Ξ and the game, (i) holds for .
Inductive step 1. Suppose (i) holds for some . Then is in particular an -instance, so by choice of , II’s move in round k is a -instance. Also, is computable. Therefore (ii) holds for k.
Inductive step 2. Suppose (i) and (ii) hold for some . Then in round , I plays a solution to II’s move in round k. By our choice of and the definition of Ξ, (iii) holds for .
Inductive step 3. Suppose (iii) holds for some . By definition of ∘, (i) is true for k as well.
The base case and inductive steps prove (i), (ii), and (iii) for the desired values of k, except (ii) for . We prove that as follows. Since (iii) holds for every , by definition of ∘, is a -solution to . Therefore is a winning move for II in round . We have defined a strategy for II which always wins the game reducing P to in round .
(2) ⇒ (3). If P has empty domain, (3) vacuously holds. Otherwise, fix a strategy Φ for II which always wins the game reducing P to in round . We have to define and forward and backward functionals witnessing that .
Suppose we are given a P-instance , from which we need to compute a -instance. Regardless of our definitions of , such a set must be a -instance. As a starting point, we can obtain a -instance by applying to . Also, we want to include in the -instance so that we can use it in the future. Hence, we define the forward functional Γ to send to the -instance .
Next, we need to define so that for every -solution to , is a -instance. Since is a -solution to , we can obtain a -instance by applying to . Also, we want to include and in the -instance so that we can use them in the future. Hence, we define to output the -instance .
In general, for , define by
Finally, we want to solve using a -solution to . Such a solution has the form . We will show in the verification that there is a run of the game reducing P to where II follows the strategy Φ and at round m, I plays . Since Φ always wins in round , must be a P-solution to . Therefore, we define the backward functional Δ by mapping to .
Verification. We show that via Γ and Δ. Fix a P-instance . We show by simultaneous induction on k that
for each , is a -instance;
for each , if is a -solution to , then there is a partial run of the game reducing P to where II follows the strategy Φ and at round , I plays .
Base case. We show that (i) holds for . Since is a P-instance and Φ always wins in round , it follows that is a -instance. Therefore is a -instance.
Inductive step 1. Assuming that for some , we have that (ii) holds for all and (i) holds for k, we show that (ii) holds for k. Let be a -solution to . We start by showing that there is a partial run where II follows the strategy Φ and at round , I plays .
If , then I starts by playing the P-instance . If , by definition of ∙, is a -solution to . By assumption, (ii) holds for , so there is a partial run where II follows the strategy Φ and at round , I plays .
Now, we extend said partial run. By choice of and definition of ∙, is a -solution to , which is defined to be . Therefore is a -solution to , and so we may extend the aforementioned run by making I play . This proves that (ii) holds for k.
Inductive step 2. Assuming that (i) and (ii) hold for some , we show that (i) holds for . Since (i) holds for k, it remains to show that if is a -solution to , then is a -instance.
Indeed, let us apply (ii) for k to . Since Φ always wins in round and , we have that is a -instance. We have shown that (i) holds for , completing the proof of inductive step 2.
Applying the above base case and inductive steps, we may deduce (i) and (ii) for . To complete the proof, we show that if is a -solution to , then is a P-solution to .
By (ii) for , there is a partial run where II follows the strategy Φ and at round , I plays . Since Φ wins in round , is a P-solution to as desired.
Recall from Proposition 12 that if and only if . It follows that is reflexive and transitive, so we can define the associated notion of and -degrees. As a notion of reduction between problems, we find more intuitive than . This is because in order to show that , one is obliged to compute a Q-instance from every P-instance, even if one could already compute a solution to said P-instance. See also Theorem 30.
Using Proposition 12, it is easy to show that the -degrees form a distributive lattice with the usual join and meet operations. In fact, Pauly5
Arno Pauly, personal communication.
has pointed out that the -lattice is isomorphic to the pointed Weihrauch lattice, which was studied by Higuchi and Pauly [8]. It is easy to show that the pointed Weihrauch degrees (under ) form a lattice under the usual join and meet operations.
(Pauly).
The-lattice and the pointed Weihrauch lattice are isomorphic.
By Proposition 12, if and only if . Also, it is easy to see that if and only if . Next, note that if P is pointed, then . So is an isomorphism between the -degrees and the pointed Weihrauch degrees. Hence is in fact a lattice isomorphism. □
Footnotes
Acknowledgements
We thank Richard A. Shore for many useful discussions and suggestions. We also thank the referees for their helpful comments. This research was partially supported by NSF grant DMS-1161175.
References
1.
V.Brattka, M.de Brecht and A.Pauly, Closed choice and a uniform low basis theorem, Ann. Pure Appl. Logic163(8) (2012), 986–1008. doi:10.1016/j.apal.2011.12.020.
2.
V.Brattka and G.Gherardi, Weihrauch degrees, omniscience principles and weak computability, J. Symbolic Logic76(1) (2011), 143–176. doi:10.2178/jsl/1294170993.
3.
V.Brattka, G.Gherardi and A.Marcone, The Bolzano–Weierstrass theorem is the jump of weak König’s lemma, Ann. Pure Appl. Logic163(6) (2012), 623–655. doi:10.1016/j.apal.2011.10.006.
4.
V.Brattka and A.Pauly, On the algebraic structure of Weihrauch degrees, Log. Methods Comput. Sci.14(4) (2018), Paper No. 4, 36. doi:10.1080/10724117.2007.11974704.
5.
V.Brattka and T.Rakotoniaina, On the uniform computational content of Ramsey’s theorem, J. Symb. Log.82(4) (2017), 1278–1316. doi:10.1017/jsl.2017.43.
6.
P.A.Cholak, C.G.Jockusch and T.A.Slaman, On the strength of Ramsey’s theorem for pairs, J. Symbolic Logic66(1) (2001), 1–55. doi:10.2307/2694910.
7.
F.G.Dorais, D.D.Dzhafarov, J.L.Hirst, J.R.Mileti and P.Shafer, On uniform relationships between combinatorial problems, Trans. Amer. Math. Soc.368(2) (2016), 1321–1359. doi:10.1090/tran/6465.
8.
K.Higuchi and A.Pauly, The degree structure of Weihrauch reducibility, Log. Methods Comput. Sci.9(2) (2013), 2:02, 17. doi:10.2168/LMCS-9(2:2)2013.
9.
D.R.Hirschfeldt and C.G.JockuschJr., On notions of computability-theoretic reduction between principles, J. Math. Log.16(1) (2016), 1650002, 59. doi:10.1142/S0219061316500021.
10.
J.L.Hirst and C.Mummert, Using Ramsey’s theorem once, Arch. Math. Logic58(7–8) (2019), 857–866. doi:10.1007/s00153-019-00664-z.
11.
L.Patey, The weakness of being cohesive, thin or free in reverse mathematics, Israel J. Math.216(2) (2016), 905–955. doi:10.1007/s11856-016-1433-3.
12.
A.Pauly, On the (semi)lattices induced by continuous reducibilities, MLQ Math. Log. Q.56(5) (2010), 488–502. doi:10.1002/malq.200910104.