key: cord-0046130-1wfg6vsa authors: Fujiwara, Makoto title: Parallelizations in Weihrauch Reducibility and Constructive Reverse Mathematics date: 2020-06-24 journal: Beyond the Horizon of Computability DOI: 10.1007/978-3-030-51466-2_4 sha: 4859a24535798fb218335a33af8be125e8d0d704 doc_id: 46130 cord_uid: 1wfg6vsa In the framework of finite-type arithmetic, we characterize the notion that an existence statement is primitive recursive Weihrauch reducible to the parallelization of another existence statement by a standard derivability notion in constructive reverse mathematics. A large amount of mathematical statements are of the logical form ∀f (A(f ) → ∃gB(f, g)), ( where f and g may be tuples. Such statements are often called existence statements since they argue the existence of some objects. One can see existence statements represented as sentences of the form (1) as problems to be solved. In such a context, any f such that A(f ) holds is called an instance of the problem and g is called a solution to the instance. Uniform relationships between existence statements have been investigated extensively in computable analysis and classical reverse mathematics ( [4] [5] [6] [7] [8] 15] etc.). The investigation usually employs the following reduction: a Π 1 2 sentence P of the form (1) is reducible to another Π 1 2 sentence Q of the form (1) if there exist Turing functionals Φ and Ψ such that whenever f 1 is an instance of P, then Φ(f 1 ) is an instance of Q, and whenever g 2 is a solution to Φ(f 1 ), then g 1 := Ψ (f 1 , g 2 ) is a solution to f 1 . This is a particular case of Weihrauch reducibility for Π 1 2 sentences with Baire space as their represented spaces (see [8, Appendix] ). For a detailed account of uniformity, the parallelizations: ∀ f n n∈N (∀n N A(f n ) → ∃ g n n∈N ∀n N B(f n , g n )), have been studied in computable analysis ( [4, 5] ) and also in classical reverse mathematics under the name of sequential versions ( [8, 11, 12] ). In particular, the weak König lemma WKL, is not Weihrauch reducible to the intermediate value theorem IVT, but is so to the parallelization of IVT (see [4] ). On the other hand, there is another development on the relation between existence statements from constructive mathematics [3] , where every existence is shown by giving a construction of the witness entirely in the proofs. Ishihara and others have developed reverse mathematics first informally in Bishop's constructive mathematics, and later formally in two-sorted intuitionistic arithmetic ( [1, 9, 14] etc.). In particular, the intermediate value theorem IVT is known to be equivalent to the weak König lemma WKL over the constructive base theory containing a countable choice principle (see [1, Section 1] ). Interestingly, there are several corresponding results between constructive reverse mathematics and computability-theoretic investigations on parallelizations or sequential versions, including the above mentioned facts on WKL and IVT. In particular, it seems to be believed in the community of computable analysis that constructive equivalences of two existence statements in Bishop's constructive mathematics (which accepts the use of a countable choice principle) correspond to Weihrauch equivalences of their parallelizations (see [6, Footnote c] ). In this paper, we verify that this experimental belief is plausible by showing some meta-theorems in the framework of finite-type arithmetic together with observations in some concrete examples. This sheds light on the correspondence between computable analysis and constructive reverse mathematics which have been developed independently until recently. The investigation in this paper is based on the previous work [10] of the author himself. As a framework for our investigation, we employ an extensional variant E-HA ω of intuitionistic arithmetic in all finite types and its fragment E-HA ω from [17, Section 3.3] . Recall that finite types are defined as follows: N is a type; if σ and τ are types, then so is σ → τ . Note that E-HA ω has a recursor only of type N and its induction schema is restricted to quantifier-free formulas. The λ-abstraction is officially defined by using the combinators. The set of the closed terms of E-HA ω and that for E-HA ω are denoted by T and T 0 respectively. The set-theoretic functionals definable in T (resp. T 0 ) are called Gödel (resp. Kleene) primitive recursive functionals of finite type. A classical variant E-PA ω (resp. E-PA ω ) is obtained from E-HA ω (resp. E-HA ω ) by adding the axiom scheme of excluded middle A ∨ ¬A. The language of our systems contains a binary predicate symbol = N for equality between objects of type N only. Throughout this paper, we employ the same notations as in [10] . Note that the type superscripts (for terms) and subscripts (for equality) are omitted when they are clear from the context. A tuple of terms is denoted with a underline as t. In addition,− denotes the primitive recursive cut-off subtraction, and {0, 1} m denotes the set of all binary sequences of length m. Recall that an ∃-free formula is a formula which does not contain ∨ and ∃. A countable choice principle AC 0,ω is the following schema: where τ is any type. This principle is crucial for our meta-theorems (see Remark 8) . For the other principles in this paper, we refer the reader to [10, Section 1.1]. In this decade, there are several attempts to reveal the proper relation between constructive reverse mathematics and Weihrauch reducibility in classical reverse mathematics and computable analysis ( [10, 12, 13, 18, 20] etc.). In particular, the author formalized in [10, Definition 2.5] the primitive recursive variants of Weihrauch reduction between existence statements P and Q formalized as E-HA ω -sentences ∀f (A 1 (f ) → ∃gB 1 (f , g)) and ∀f (A 2 (f ) → ∃gB 2 (f , g)) in the context of finite-type arithmetic as follows: -For a finite-type arithmetic S ω containing E-HA ω , P is Gödel-primitiverecursive Weihrauch reducible to Q in S ω if there exist closed terms s and t (of suitable types) in T such that S ω proves -For a finite-type arithmetic S ω containing E-HA ω , P is Kleene-primitiverecursive Weihrauch reducible to Q in S ω if there exist closed terms s and t (of suitable types) in T 0 such that S ω proves (2). . The notions of Gödel/Kleene-primitive-recursive Weihrauch reducibility is a natural restriction of formalized Weihrauch reducibility e.g. in [8, 18] where Turing functionals for the reduction are replaced by primitive recursive functionals in the sense of Gödel/Kleene. The normal reducibility, which requires a proof of Q → P with a specific form, is a stronger notion than just proving Q → P (see [10, Remark 2.9] ). Since intuitionistic finite-type arithmetic with a choice principle roughly corresponds to Bishop's constructive mathematics, one may regard the normal reducibility in a nearly intuitionistic finite-type arithmetic as a sort of constructive reducibility. In [10, Theorem 2.10], the author showed a metatheorem stating that the primitive-recursive Weihrauch reducibility verifiably in a fragment of classical finite-type arithmetic is equivalent to the normal reducibility in the corresponding (nearly) intuitionistic finite-type arithmetic for all existence statements formalized with ∃-free formulas. Thus constructive reducibility can be captured by the primitive-recursive variant of Weihrauch reducibility with an additional restriction on the verification theory (which has not been taken into account in computable analysis). Of course, the Weihrauch reductions between concrete existence statements are not always primitive recursive (in the sense of Gödel/Kleene). In addition, there are many existence statements which are not formalized with ∃-free formulas. Nonetheless, there seem to be plenty of examples to which the meta-theorem is applicable. In fact, the Weihrauch reductions between concrete existence statements can be verified usually in a weak theory (cf. [10, Section 3] ). On the other hand, any characterization on parallelizations was still missing. We call sentences of the form ∀f . . , f σ k k and g :≡ g τ1 1 , . . . , g τ l l are finite tuples of variables, normal existential sentences. In the language of finite-type arithmetic, the parallelization of this sentence is formalized as which is again a normal existential sentence. For each normal existential sentence P, we write its parallelization as P. Throughout this paper, we sometimes identify a normal existential sentence with the indicated existence statement. The following proposition is shown straightforwardly by the soundness of modified realizability [17, Theorem 5.8]. The following corollary is obtained immediately from [10, Theorem 2.10] and Proposition 1 together with the general fact that P is normally reducible to P. Remark 3. The relation between WKL and IVT in computable analysis, which is mentioned in Sect. 1, shows that the converse of Corollary 2 does not hold. From the perspective of Corollary 2 and Remark 3, it is worthwhile to characterize the property that P is Gödel/Kleene-primitive-recursive Weihrauch reducible to Q in S ω in some natural context of constructive reverse mathematics. For this purpose, we introduce the following notions: Definition 4. Let P and Q be existence statements formalized as normal existential sentences ∀f and ∀f The notion that P is normally T 0 -derivable from Q in S ω is defined in the same manner with using T 0 instead of T. In fact, "A 2 (s 1 mf , ..., s k mf ) →" in (4) is redundant in the presence of (3). For existence statements P : ∀f (A 1 (f ) → ∃gB 1 (f , g)) and Q, the fact that P is normally derivable from Q demands some proof of Q → P with the following structure: Assuming A 1 (f ), derive ∃gB 1 (f , g) by using Q for the countably many instances which are given primitive recursively in f . For existence statements P and Q, it is quite common in practical mathematics (not only in constructive mathematics) to show Q → P in this manner. On the other hand, the normal derivability is properly weaker than the normal reducibility in the context of (nearly) intuitionistic systems. Note also that the normal derivability relation is reflexive and transitive. Theorem 6. Let P and Q be existence statements formalized as normal existential sentences ∀f (A 1 (f ) → ∃gB 1 Then the following hold: Proof. (1) Assume that P is Gödel-primitive-recursive Weihrauch reducible to Q in E-PA ω . As in the proof of [10, Theorem 2.10], by the negative translation (see [17, Section 10 .1]), we have that E-HA ω proves ∀f (A 1 (f ) → ∀n N A 2 (s 1 f n, . . . , s k f n)) and ∀f , G (∀n N B 2 (s 1 f n, . . . , s k f n, G n) ∧ A 1 (f ) → B 1 (f , tf G )) for some closed terms s 1 , . . . , s k and t in T. Put a closed term s i as λn, f . s i f n for each i ∈ {1, . . . , k}. Then we have that E-HA ω proves and Applying AC 0,ω to (6), we have Then it follows from (5) and (7) that Thus P is normally T-derivable from Q in E-HA ω + AC 0,ω . For the converse direction, assume that E-HA ω +AC 0,ω proves (5) and (8) for some closed termss 1 , . . . ,s k in T. By (8), we have that E-HA ω + AC 0,ω proves (7), and hence, (6) . As in the proof of [10, Theorem 2.10], by the soundness of modified realizability [17, Theorem 5.8] , there exist closed terms t in T such that E-HA ω proves ∀n N B 2 s 1 nf , . . . ,s k nf , G n → B 1 (f , tf G ) . Put a closed term s i as λf , n.s i nf for each i ∈ {1, . . . , k}. Then, by (5) and (9), we have that P is Gödel-primitive-recursive Weihrauch reducible to Q in E-HA ω (and hence, so is in E-PA ω ) with s 1 , . . . , s k and t as the witnesses. The same proof works also for (2) . Combining the proof of The meta-theorem where AC 0,ω is replaced by QF-AC 0,0 in Theorem 7. (2) does not hold: If it holds, by Proposition 10 below, we have that WKL is normally T 0 -derivable from LLPO in E-HA ω + QF-AC 0,0 + Σ 0 1 -DNS 0 , and hence, WKL is provable in E-PA ω + QF-AC 0,0 (cf. Remark 5). This is a contradiction (see [16] ). The same argument holds also for Theorem 7.(1). There seem to be many results (proofs) in computable analysis and constructive reverse mathematics to which our meta-theorems are applicable. For the purpose of demonstrating the availability of our meta-theorems, we inspect the existing proofs in both of the contexts on the relation between the weak König lemma WKL and the lesser limited principle of omniscience LLPO. This is the core for the relation between the intermediate value theorem IVT and WKL which is mentioned in Sect. 1. Recall that WKL states that for any infinite binary tree, there exists an infinite path through the tree (see [10, Section 3.1] for the formal definition) and LLPO is formalized as in the language of E-HA ω . Both of them are normal existential sentences of the form to which our meta-theorems are applicable. We also recall the following disjunctive variant of Π 0 1 -AC 0,0 from [2, 14] : where A qf and B qf are quantifier-free. In the context of constructive reverse mathematics, Ishihara [14, Section 5] first showed that WKL is equivalent to LLPO plus Π 0 1 -AC 0,0 ∨ over a weak intuitionistic arithmetic. More recently, Berger, Ishihara, and Schuster [2, Section 6] provided a simpler proof of the fact. On the other hand, in the context of computable analysis, Brattka and Gherardi [5, Theorem 8.2] showed that WKL is Weihrauch equivalent to the parallelization of LLPO while it is not so to LLPO. On the other hand, by refining the proof of [5, Theorem 8.2] (where WKL itself is used for the verification as it is mentioned there), we can also have a direct proof of Proposition 10: Proof. Recall that LLPO states that for all f 0 and We reason informally in E-PA ω + QF-AC 0,0 and let T N→N be an infinite binary tree (officially given by its characteristic function). As in the proof of [5, Theorem 8.2] , for each i ∈ {0, 1}, let P T k,i denote the set of finite binary sequences u such that u * i is incomparable with all branches in T of length k. We define f 0 and f 1 of type N → (N → N) primitive recursively (in the sense of Kleene) in the given tree T as For the second condition, let h satisfy (10) for f 0 and f 1 defined above. Define p N→N primitive recursively in h as For verifying that p is an infinite path through T , it suffices to show that for all n N and m N , there exists u ∈ {0, 1} m such that pn * u is in T . In the following, we show this assertion by Π 0 1 induction (which is provable in E-PA ω +QF-AC 0,0 ) on n N . When n = 0, we are done since T is infinite. Assume that for all m N , there exists u ∈ {0, 1} m such that pn * u is in T . Our goal is to show the corresponding assertion for n + 1. Based on classical logic, we consider the following 4 cases: 1. There exists k N such that pn ∈ P T k,1 \ P T k,0 ; 2. There exists k N such that pn ∈ P T k,0 \ P T k,1 ; 3. There is no k N such that pn ∈ P T k,0 ∪ P T k,1 ; 4. There exists k N such that pn ∈ P T k,0 ∩ P T k,1 . We first work in the first case. Using classical logic, it follows from our induction hypothesis that at least one of the following holds: If the latter holds, then for m 0 := k− (n+1), there exists u ∈ {0, 1} m0 such that pn * 1 * u is in T , which contradicts pn ∈ P T k,1 . Thus the former holds. Since p(n) must be 0 by definition, we have our goal. In the second case, by mimicking the above argument, we have our goal as well. Next, we work in the third case. Fix m N 1 and assume that for all u ∈ {0, 1} m1 , p(n + 1) * u is not in T . Then all branches in T of length n + 1 + m 1 (note that there is at least one branch of this length by induction hypothesis) are incomparable with p(n + 1), and hence, pn ∈ P T n+1+m1,p(n) , which is a contradiction. Thus there exists u ∈ {0, 1} m1 such that p(n + 1) * u is in T . Finally, we show that the fourth case does not occur. If pn ∈ P T k,0 ∩ P T k,1 , then for any s ∈ {0, 1} k in T , s is incomparable with both of pn * 0 and pn * 1 . Note that k must be greater than n. By induction hypothesis, there exists u ∈ {0, 1} k−n such that pn * u is in T . This is a contradiction. One can notice that the proof of Proposition 9 and the proof of Proposition 10 are somewhat similar. Nevertheless, the primitive recursive witnesses for the latter is not obvious from the proof of Proposition 9. On the other hand, the proof of Proposition 10 heavily uses classical logic for the verification, and hence, the former is also not an immediate consequence from the latter. This observation illustrates that our meta-theorems should give rise to new results in one of the contexts from the results or the proofs in the other context. At the end of this section, we briefly deal with the relation between the intermediate value theorem IVT (see [10, Section 3.2] for the formal definition) and WKL which is mentioned in Sect. 1. A lot of existing proofs in constructive reverse mathematics show not only provability but rather normal derivability (see Remark 5) . However, this is not always the case. For example, in the proof of deriving the convex weak König lemma WKL c from IVT [1, Theorem 3], for a given infinite convex tree T , IVT is first used to construct an infinite convex subtree T having at most 2 branches for each height, and then it is used again for taking an infinite path through T . Thus, while the first instance to which one applies IVT is provided primitive recursively in a given infinite convex tree T , the second instance is not so. In this section, we characterize this kind of proofs by the notion of Weihrauch reducibility to the consecutive composition of the finitely many copies of an existence statement, which has been studied recently in computable analysis (e.g. [7, 15, 18] ). Let P and Q be existence statements formalized as normal existential sentences ∀f (A 1 (f ) → ∃gB 1 (f , g)) and ∀f (A 2 (f ) → ∃g B 2 (f , g )) of E-HA ω respectively. -For a finite-type arithmetic S ω containing E-HA ω , P is Gödel-primitiverecursive Weihrauch reducible to the 2-copies of Q in S ω if there exist closed terms s, t, and u (of suitable types) in T such that S ω proves -For a finite-type arithmetic S ω containing E-HA ω , P is Kleene-primitiverecursive Weihrauch reducible to the 2-copies of Q in S ω if there exist closed terms s, t, and u (of suitable types) in T 0 such that S ω proves (11). -For a finite-type arithmetic S ω containing E-HA ω , P is normally reducible to the 2-copies of Q in S ω if S ω proves ∀f ⎛ ⎜ ⎜ ⎝ The versions for k-copies (k = 3, 4, 5, . . . ) are also defined in the same manner. Note that [10, Definition 2.5] is the case of k = 1. The proof of [10, Theorem 2.10] allows us to generalize it as follows: Theorem 17. Let k be a fixed natural number. Let P and Q be existence statements formalized as normal existential sentences ∀f (A 1 (f ) → ∃gB 1 (f , g)) and ∀f (A 2 (f ) → ∃g B 2 (f , g ) of E-HA ω respectively with ∃-free formulas A 1 , A 2 , B 1 , and B 2 . Then the following hold: 1. P is Gödel-primitive-recursive Weihrauch reducible to the k-copies of Q in E-PA ω (resp. E-PA ω + QF-AC 0,0 , E-PA ω + Π 0 1 -AC 0,0 , E-PA ω + AC ω ) if and only if P is normally reducible to the k-copies of Q in E-HA ω (resp. E-HA ω +QF-AC 0,0 +Σ 0 1 -DNS 0 , E-HA ω +Π 0 1 -AC 0,0 +Σ 0 2 -DNS 0 , E-HA ω +AC ω + mr-DNS ω ). Remark 19. The notion of normal derivability does not imply the notion of normal reducibility to k-copies (verifiably even in a nearly intuitionistic system containing a choice principle) for any natural number k: if so, by Corollary 15, we have that WKL is normally reducible to the k-copies of IVT, and hence, WKL is Kleene-primitive-recursive Weihrauch reducible to the k-copies of IVT by Theorem 17. However, this is not the case because any computable instance of IVT has a computable solution while WKL is not so. The binary expansion and the intermediate value theorem in constructive reverse mathematics The weak König lemma, Brouwer's fan theorem, de Morgan's law, and dependent choice Foundations of Constructive Analysis Effective choice and boundedness principles in computable analysis Weihrauch degrees, omniscience principles and weak computability Connected choice and the Brouwer fixed point theorem On the algebraic structure of Weihrauch degrees On uniform relationships between combinatorial problems Bar induction and restricted classical logic Weihrauch and constructive reducibility between existence statements Representations of reals in reverse mathematics Reverse mathematics and uniformity in proofs without excluded middle Using Ramsey's theorem once Constructive reverse mathematics: compactness properties Finite choice, convex choice and sorting Higher order reverse mathematics Applied Proof Theory: Proof Interpretations and Their Use in Mathematics. Springer Monographs in Mathematics On Weihrauch reducibility and intuitionistic reverse mathematics Studies in Logic and the Foundations of Mathematics The characterization of Weihrauch reducibility in systems containing E-PA ω + QF-AC 0 Acknowledgement. The author thanks Vasco Brattka and Kenshi Miyabe for their suggestions which motivate this work and also for their valuable comments. He also thanks one of the anonymous referees, who provides the author with valuable information on the literature. This work is supported by JSPS KAKENHI Grant Numbers JP18K13450 and JP19J01239.