Hostname: page-component-586b7cd67f-r5fsc Total loading time: 0 Render date: 2024-11-23T01:02:06.228Z Has data issue: false hasContentIssue false

BIG IN REVERSE MATHEMATICS: MEASURE AND CATEGORY

Published online by Cambridge University Press:  17 October 2023

SAM SANDERS*
Affiliation:
DEPARTMENT OF PHILOSOPHY II RUHR-UNIVERSITÄT BOCHUM BOCHUM, GERMANY
Rights & Permissions [Opens in a new window]

Abstract

The smooth development of large parts of mathematics hinges on the idea that some sets are ‘small’ or ‘negligible’ and can therefore be ignored for a given purpose. The perhaps most famous smallness notion, namely ‘measure zero’, originated with Lebesgue, while a second smallness notion, namely ‘meagre’ or ‘first category’, originated with Baire around the same time. The associated Baire category theorem is a central result governing the properties of meagre (and related) sets, while the same holds for Tao’s pigeonhole principle for measure spaces and measure zero sets. In this paper, we study these theorems in Kohlenbach’s higher-order Reverse Mathematics, identifying a considerable number of equivalent and robust theorems. The latter involve most basic properties of semi-continuous and pointwise discontinuous functions, Blumberg’s theorem, Riemann integration, and Volterra’s early work circa 1881. All the aforementioned theorems fall (far) outside of the Big Five of Reverse Mathematics, and we investigate natural restrictions like Baire 1 and quasi-continuity that make these theorems provable again in the Big Five (or similar). Finally, despite the fundamental differences between measure and category, the proofs of our equivalences turn out to be similar.

Type
Article
Copyright
© The Author(s), 2023. Published by Cambridge University Press on behalf of The Association for Symbolic Logic

1 Introduction

In nutshell, we study basic theorems concerning measure and category in Kohlenbach’s higher-order Reverse Mathematics (RM for short; see Section 1.3.1). We obtain numerous equivalences for the Baire category theorem and Tao’s pigeonhole principle for measure spaces, involving basic properties of semi-continuous, Riemann integrable, and pointwise discontinuous functions, where the first notion is fairly tame and the latter is wild, as discussed in Remark 2.20. An overview of our results is in Section 1.1, while preliminaries may be found in Section 1.3. We discuss Volterra’s early work from 1881 in Section 1.2, as it pertains to this paper.

1.1 Summary and background

We provide some background for and an overview of the results to be proved in Sections 2 and 3.

First of all, it is a commonplace that the smooth development of large parts of mathematics hinges on the idea that some sets are ‘small’ or ‘negligible’ and can therefore be ignored for a given purpose. While some calculus students may not (ever) realise it, even introductory calculus depends (perhaps indirectly) on a specific smallness notion, in light of the VitaliLebesgue theorem as follows.

Theorem 1.1 (Vitali–Lebesgue).

A function on the unit interval is Riemann integrable if and only if it is continuous almost everywhere and bounded.

The associated smallness notion ‘measure zero’ originated with Lebesgue [Reference Lebesgue55] and is perhaps the most famousFootnote 1 such notion. A second smallness notion, namely ‘meagre’ or ‘first category’, originated with Baire around the same time [Reference Baire5]. Tao discusses the connection between these two notions in [Reference Tao97, Section 1.7]. As pointed out by Smith in [Reference Stephen Smith94], the conflation of measure and category led to a number of incorrect results by Hankel [Reference Hankel37] and others regarding the Riemann integral. In this context, Smith introduced the famous Cantor set some years before Cantor did [Reference Stephen Smith94].

Secondly, the Baire category theorem is a central result governing the properties of meagre sets (see [Reference Tao and Gowers96, Section 3.2]), while Tao’s pigeonhole principle for measure spaces plays the same role for measure zero sets [Reference Tao97, Section 1.7]. We shall use the obvious abbreviations ${\textsf {BCT}}_{[0,1]}$ and ${\textsf {PHP}}_{[0,1]}$ in the below. By Theorems 2.2 and 3.6, the third-order principles ${\textsf {BCT}}_{[0,1]}$ and ${\textsf {PHP}}_{[0,1]}$ are hard to prove in terms of conventionalFootnote 2 comprehension. Similar hardness results (see [Reference Normann and Sanders71]) exist for Kleene’s computability theory based on S1–S9 [Reference Longley and Normann58]; moreover, we have established a large number of (S1–S9) computationally equivalent principles for ${\textsf {BCT}}_{[0,1]}$ in [Reference Sanders89]. By contrast, ${\textsf {BCT}}_{[0,1]}$ and ${\textsf {PHP}}_{[0,1]}$ restricted to second-order codes for closed sets (see [Reference Simpson93, II.5.6]) are provable in relatively weak systems by [Reference Simpson93, II.5.8] and Theorem 3.6.

Thirdly, in light of the above, the RM-study of ${\textsf {BCT}}_{[0,1]}$ and ${\textsf {PHP}}_{[0,1]}$ is an important and natural enterprise, and constitutes the topic of this paper. In particular, we show in Section 2 that ${\textsf {BCT}}_{[0,1]}$ is equivalent to the well-known principles listed below, working in higher-order RM (see Section 1.3.1). The notion of semi-continuity goes back to Baire [Reference Baire6], while the notion of pointwise discontinuity goes back to Hankel [Reference Hankel37] and is equivalent to cliquishness (see Section 1.3.3 for definitions).

  1. (i) For upper semi-continuous (usco for short) $f:[0,1]\rightarrow {\mathbb R}$ , there is a point $x\in [0,1]$ where f is continuous (or: quasi-continuous, or: Darboux).

  2. (ii) For Baire $1^{*}$ $f:[0,1]\rightarrow {\mathbb R}$ , there is a point $x\in [0,1]$ where f is continuous.

  3. (iii) For fragmented $f:[0,1]\rightarrow {\mathbb R}$ , there is $x\in [0,1]$ where f is continuous.

  4. (iv) For cliquish $f:[0,1]\rightarrow {\mathbb R}$ , there is a point $x\in [0,1]$ where f is continuous.

  5. (v) (Volterra [Reference Volterra101]) For cliquish $f,g:[0,1]\rightarrow {\mathbb R}$ , there is $x\in [0,1]$ such that f and g are both continuous or both discontinuous at x.

  6. (vi) (Volterra [Reference Volterra101]) For cliquish $f:[0,1]\rightarrow {\mathbb R}$ , there is either $q\in {\mathbb Q}\cap [0,1]$ where f is discontinuous, or $x\in [0,1]\setminus {\mathbb Q}$ where f is continuous.

  7. (vii) The previous two items restricted to usco functions.

  8. (viii) Blumberg’s theorem [Reference Blumberg12] restricted to cliquish (or: usco) functions.

Some of the above theorems stem from Volterra’s early work (1881) in the spirit of—but predating–the Baire category theorem, as discussed in Section 1.2. The (necessity for the) absence of ‘Baire 1’ from the above items is explained at the end of this section. In Section 3, we obtain equivalences for ${\textsf {PHP}}_{[0,1]}$ , including the following well-known principles, like the aforementioned Vitali–Lebesgue theorem.

  1. (ix) (Vitali–Lebesgue) For Riemann integrable $f:[0,1]\rightarrow {\mathbb R}$ , the set of continuity points $C_{f}$ has measure one.

  2. (x) For Riemann integrable $f:[0,1]\rightarrow [0,1]$ such that $\int _{0}^{1}f(x)dx=0$ , the set $\{x\in [0,1]:f(x)=0\}$ has measure one.

  3. (xi) $\textsf {(FTC)}$ For Riemann integrable $f:[0,1]\rightarrow {\mathbb R}$ with $F(x):=\lambda x.\int _{0}^{x}f(t)dt$ , the following set exists and has measure one:

    $$\begin{align*}\{x\in [0,1]:F \text{ is differentiable at } x \text{ with derivative } f(x)\}. \end{align*}$$
  4. (xii) The previous item restricted to usco or cliquish functions.

We obtain similar equivalences for ${\textsf {WBCT}}_{[0,1]}$ , a ‘hybrid’ version of ${\textsf {BCT}}_{[0,1]}$ and ${\textsf {PHP}}_{[0,1]}$ , with equivalences that are interesting in their own right. The relation between these and related principles may be found in Figure 1 in Section 4.1.

Figure 1 Some relations among our principles.

Fourth, the above items suggest that our results are robust as follows:

A system is robust if it is equivalent to small perturbations of itself. [Reference Montalbán61, p. 432, emphasis in original]

Most of our results shall be seen to exhibit a similar (or stronger) level of robustness. For instance, item (iv) above can be restricted to any Baire class $\alpha \geq 2$ and the equivalence still goes through. In this light, we feel that ${\textsf {BCT}}_{[0,1]}$ and ${\textsf {PHP}}_{[0,1]}$ deserve the moniker ‘big’ system in the way this notion is used in second-order RM, namely as boasting many equivalences from different fields of mathematics.

Fifth, items (i)–(xii) are hard to prove in terms of conventional comprehension, in the sense of Footnote 2. We shall identify natural extra conditions that render the above items provable in terms of arithmetical comprehension (or at least the Big Five), like quasi-continuity (resp. Baire 1) for item (iv) (resp. item (i)). As discussed in Remark 2.20, quasi-continuity and cliquishness are, however, closely related. Moreover, usco (and fragmented) functions are of course Baire 1, say over ${\textsf {ZF}}$ ; there is no contradiction here as, e.g., the statement

a bounded usco function on the unit interval is Baire 1

already implies (stronger principles than) ${\textsf {BCT}}_{[0,1]}$ by Corollary 2.8. This explains why the above items (i)–(xii) do not (and cannot) deal with Baire 1 or quasi-continuous functions: the latter conditions make the associated theorems provable in relatively weak systems, like arithmetical comprehension.

Finally, we discuss the bigger picture relating to ${\textsf {PHP}}_{[0,1]}$ and ${\textsf {BCT}}_{[0,1]}$ in Section 4. We argue that the RM of the uncountability of ${\mathbb R}$ is the product of taking the RM of ${\textsf {PHP}}_{[0,1]}$ and the RM of ${\textsf {BCT}}_{[0,1]}$ and pushing everything down from usco/cliquish functions to the level of regulated/bounded variation functions. This explains why the RM of ${\textsf {PHP}}_{[0,1]}$ and the RM of ${\textsf {BCT}}_{[0,1]}$ are similar, despite the fundamental differences between measure and category. We also explore the connections between our results and set theory (Section 4.2), and show (Section 4.3) that slight variations of Banach’s theorem, i.e., that the continuous nowhere differentiable are dense in $C([0,1])$ , are hard to prove in the sense of Footnote 2.

1.2 Volterra’s early work and related results

We introduce Volterra’s early work from [Reference Volterra101], called a historical gem in [Reference Dunham27], and related results.

First of all, the Riemann integral was groundbreaking for a number of reasons, including its ability to integrate functions with infinitely many points of discontinuity, as shown by Riemann himself [Reference Riemann84]. A natural question is then ‘how discontinuous’ a Riemann integrable function can be. In this context, Thomae introduced the function $T:{\mathbb R}\rightarrow {\mathbb R}$ around 1875 in [Reference Thomae98, p. 14, Section 20] as follows:

(T) $$\begin{align} T(x):= \begin{cases} 0, & \text{if } x\in {\mathbb R}\setminus{\mathbb Q},\\ \frac{1}{q}, & \text{if } x=\frac{p}{q} \text{ and } p, q \text{ are co-prime}. \end{cases} \end{align}$$

Thomae’s function T is integrable on any interval, but has a dense set of points of discontinuity, namely ${\mathbb Q}$ , and a dense set of points of continuity, namely ${\mathbb R}\setminus {\mathbb Q}$ .

The perceptive student, upon seeing Thomae’s function as in ( T ), will ask for a function continuous at each rational point and discontinuous at each irrational one. Such a function cannot exist, as is generally proved using the Baire category theorem. However, Volterra in [Reference Volterra101] already established this negative result about 20 years before the publication of the Baire category theorem.

Secondly, as to the content of Volterra’s paper [Reference Volterra101], we find the following theorem, where a function is pointwise discontinuous if it has a dense set of continuity points. On the real line, this is equivalent to being cliquish (see Section 1.3.3).

Theorem 1.2 (Volterra, 1881).

There do not exist pointwise discontinuous functions defined on an interval for which the continuity points of one are the discontinuity points of the other, and vice versa.

Volterra then states two corollaries, of which the following is perhaps well-known in ‘popular mathematics’ and constitutes the aforementioned negative result.

Corollary 1.3 (Volterra, 1881).

There is no ${\mathbb R}\rightarrow {\mathbb R}$ function that is continuous on ${\mathbb Q}$ and discontinuous on ${\mathbb R}\setminus {\mathbb Q}$ .

We note that pointwise discontinuous functions were already studied by Dini before 1878, including an equivalent definition (see Reference Dini25, Section 63) that amounts to cliquishness (see Section 1.3.3) and the observation that Riemann integrable functions are pointwise discontinuous, following Hankel (see [Reference Dini25, Section 188] and [Reference Hankel37]).

Thirdly, Volterra’s results from [Reference Volterra101] are generalised in [Reference Gauld33, Reference Silva and Wu91]. The following theorem is immediate from these generalisations.

Theorem 1.4. For any countable dense set $D\subset [0,1]$ and $f:[0,1]\rightarrow {\mathbb R}$ , either f is discontinuous at some point in D or continuous at some point in $[0,1]\setminus D$ .

A related result is as follows, which we will study for, e.g., cliquish functions.

Theorem 1.5 (Blumberg’s theorem [Reference Blumberg12]).

For any $f:{\mathbb R}\rightarrow {\mathbb R}$ , there is a dense subset $D\subset {\mathbb R}$ such that the restriction of f to D, usually denoted $f_{\upharpoonright D}$ , is continuous.

To be absolutely clear, the conclusion of Blumberg’s theorem means that

$$\begin{align*}(\forall x\in D, \varepsilon>0)(\exists \delta>0)\underline{(\forall y\in D)}(|x-y|<\delta\rightarrow |f(x)-f(y)|<\varepsilon)), \end{align*}$$

where the underlined quantifier marks the difference with ‘usual’ continuity.

Fourth, the Baire category theorem for the real line was first proved by Osgood [Reference Osgood81] and later by Baire [Reference Baire5] in a more general setting.

Theorem 1.6 (Baire category theorem).

If $ (O_n)_{n \in {\mathbb N}}$ is a sequence of dense open sets of reals, then $ \bigcap _{n \in {\mathbb N} } O_n$ is non-empty.

We have previously studied the above theorem restricted to the unit interval in [Reference Normann and Sanders71], but failed to obtain any equivalences. In Section 2, we obtain a number of equivalences for the Baire category theorem. To this end, we will need some preliminaries and definitions, as in Section 1.3.

Fifth, Baire has shown that separately continuous ${\mathbb R}^{2}\rightarrow {\mathbb R}$ are quasi-continuous in one variable (see Section 1.3.3 for the latter). Baire mentions in [Reference Baire5, p. 95] that the latter notion (without naming it) was suggested to him by Volterra. The naming and independent study was done later by Kempisty in [Reference Kempisty46].

Finally, in light of our definition of open set in Definition 1.8, our study of the Baire category theorem (and the same for [Reference Normann and Sanders71]) is based on a most general definition of open set, i.e., no additional (computational) information is given. Besides the intrinsic interest of such an investigation, there is a deeper reason, as discussed in Remark 1.14, namely that open sets without any representation are readily encountered ‘in the wild’.

1.3 Preliminaries and definitions

We briefly introduce the program Reverse Mathematics in Section 1.3.1. We introduce some essential axioms (Section 1.3.2) and definitions (Section 1.3.3). Our RM-study shall make (sometimes essential) use of oscillation functions, a construct which goes back to Riemann and Hankel, as discussed in Section 1.3.4.

1.3.1 Reverse Mathematics.

Reverse Mathematics (RM hereafter) is a program in the foundations of mathematics initiated around 1975 by Friedman [Reference Friedman31, Reference Friedman32] and developed extensively by Simpson [Reference Simpson93]. The aim of RM is to identify the minimal axioms needed to prove theorems of ordinary, i.e., non-set theoretical, mathematics.

We refer to [Reference Stillwell95] for a basic introduction to RM and to [Reference Dzhafarov and Mummert28, Reference Simpson92, Reference Simpson93] for an overview of RM. We expect basic familiarity with RM, in particular Kohlenbach’s higher-order RM [Reference Kohlenbach50] essential to this paper, including the base theory ${\textsf {RCA}}_{0}^{\omega }$ . An extensive introduction can be found in, e.g., [Reference Normann and Sanders70, Reference Normann and Sanders72, Reference Normann and Sanders76] and elsewhere.

We have chosen to include a brief introduction as a technical appendix, namely Appendix A. All undefined notions may be found in the latter, while we do point out here that we shall sometimes use common notations from type theory. For instance, the natural numbers are type $0$ objects, denoted $n^{0}$ or $n\in {\mathbb N}$ . Similarly, elements of Baire space are type $1$ objects, denoted $f\in {\mathbb N}^{{\mathbb N}}$ or $f^{1}$ . Mappings from Baire space ${\mathbb N}^{{\mathbb N}}$ to ${\mathbb N}$ are denoted $Y:{\mathbb N}^{{\mathbb N}}\rightarrow {\mathbb N}$ or $Y^{2}$ .

1.3.2 Some comprehension functionals.

In second-order RM, the logical hardness of a theorem is measured via what fragment of the comprehension axiom is needed for a proof. For this reason, we introduce some axioms and functionals related to higher-order comprehension in this section. We are mostly dealing with conventional comprehension here, i.e., only parameters over ${\mathbb N}$ and ${\mathbb N}^{{\mathbb N}}$ are allowed in formula classes like $\Pi _{k}^{1}$ and $\Sigma _{k}^{1}$ .

First of all, the functional $\varphi $ in $(\exists ^{2})$ is also Kleene’s quantifier $\exists ^{2}$ and is clearly discontinuous at $f=11\dots $ in Cantor space:

(∃2) $$\begin{align} (\exists \varphi^{2}\leq_{2}1)(\forall f^{1})\big[(\exists n^{0})(f(n)=0) \leftrightarrow \varphi(f)=0 \big]. \end{align}$$

In fact, $(\exists ^{2})$ is equivalent to the existence of $F:{\mathbb R}\rightarrow {\mathbb R}$ such that $F(x)=1$ if $x>_{{\mathbb R}}0$ , and $0$ otherwise (see [Reference Kohlenbach50, Proposition 3.12]. Related to $(\exists ^{2})$ , the functional $\mu ^{2}$ in $(\mu ^{2})$ is called Feferman’s $\mu $ (see [Reference Avigad and Feferman3]) and may be found—with the same symbol—in Hilbert-Bernays’ Grundlagen [Reference Hilbert and Bernays40, Supplement IV]:

(μ 2) $$\begin{align} (\exists \mu^{2})(\forall f^{1})\big[ (\exists n)(f(n)=0) \rightarrow [f(\mu(f))=0&\wedge (\forall i<\mu(f))(f(i)\ne 0) ]\\ & \wedge [ (\forall n)(f(n)\ne0)\rightarrow \mu(f)=0] \big]. \notag \end{align}$$

We have $(\exists ^{2})\leftrightarrow (\mu ^{2})$ over ${\textsf {RCA}}_{0}^{\omega }$ (see [Reference Kohlenbach50, Section 3]) and ${\textsf {ACA}}_{0}^{\omega }\equiv {\textsf {RCA}}_{0}^{\omega }+(\exists ^{2})$ proves the same sentences as ${\textsf {ACA}}_{0}$ by [Reference Hunter43, Theorem 2.5].

Secondly, the functional ${\textsf {S}}^{2}$ in $({\textsf {S}}^{2})$ is called the Suslin functional [Reference Kohlenbach50]:

(S 2) $$\begin{align} (\exists{\textsf{S}}^{2}\leq_{2}1)(\forall f^{1})\big[ (\exists g^{1})(\forall n^{0})(f(\overline{g}n)=0)\leftrightarrow {\textsf{S}}(f)=0 \big]. \end{align}$$

The system $\Pi _{1}^{1}\text {-}{\textsf {CA}}_{0}^{\omega }\equiv {\textsf {RCA}}_{0}^{\omega }+({\textsf {S}}^{2})$ proves the same $\Pi _{3}^{1}$ -sentences as $\Pi _{1}^{1}\text {-}{\textsf {CA}}_{0}$ by [Reference Sakamoto and Yamazaki86, Theorem 2.2]. By definition, the Suslin functional ${\textsf {S}}^{2}$ can decide whether a $\Sigma _{1}^{1}$ -formula as in the left-hand side of $({\textsf {S}}^{2})$ is true or false. We similarly define the functional ${\textsf {S}}_{k}^{2}$ which decides the truth or falsity of $\Sigma _{k}^{1}$ -formulas from $\textsf {L}_{2}$ ; we also define the system $\Pi _{k}^{1}\text {-}\textsf {CA}_{0}^{\omega }$ as ${\textsf {RCA}}_{0}^{\omega }+({\textsf {S}}_{k}^{2})$ , where $({\textsf {S}}_{k}^{2})$ expresses that ${\textsf {S}}_{k}^{2}$ exists. We note that the operators $\nu _{n}$ from [Reference Buchholz, Feferman, Pohlers and Sieg20, p. 129] are essentially ${\textsf {S}}_{n}^{2}$ strengthened to return a witness (if existent) to the $\Sigma _{n}^{1}$ -formula at hand.

Thirdly, full second-order arithmetic ${\textsf {Z}}_{2}$ is readily derived from $\cup _{k}\Pi _{k}^{1}\text {-}\textsf {CA}_{0}^{\omega }$ , or from

(∃3) $$\begin{align} (\exists E^{3}\leq_{3}1)(\forall Y^{2})\big[ (\exists f^{1})(Y(f)=0)\leftrightarrow E(Y)=0 \big], \end{align}$$

and we therefore define ${\textsf {Z}}_{2}^{\Omega }\equiv {\textsf {RCA}}_{0}^{\omega }+(\exists ^{3})$ and ${\textsf {Z}}_{2}^\omega \equiv \cup _{k}\Pi _{k}^{1}\text {-}\textsf {CA}_{0}^{\omega }$ , which are conservative over ${\textsf {Z}}_{2}$ by [Reference Hunter43, Corollary 2.6]. Despite this close connection, ${\textsf {Z}}_{2}^{\omega }$ and ${\textsf {Z}}_{2}^{\Omega }$ can behave quite differently, as discussed in, e.g., [Reference Normann and Sanders70, Section 2.2]. The functional from $(\exists ^{3})$ is also called ‘ $\exists ^{3}$ ’, and we use the same convention for other functionals.

Finally, the following negative results were established in [Reference Normann and Sanders75, Reference Normann and Sanders76] using the technique Gandy selection from Kleene computability theory.

Neither ${\textsf {Z}}_{2}^{\omega }+{\textsf {QF-AC}}^{0,1}$ nor ${\textsf {Z}}_{2}^{\omega }+{\textsf {IND}}_{0}$ can prove ${\textsf {NIN}}_{[01]}$ , while ${\textsf {Z}}_{2}^{\Omega }$ can.

Here, $\textsf {NIN}_{[0,1]}$ states that there is no injection from $[0,1]$ to ${\mathbb N}$ as follows:

$$\begin{align*}(\forall Y:[0,1]\rightarrow {\mathbb N})(\exists x, y\in [0,1])(x\ne_{{\mathbb R}} y\wedge Y(x)=_{{\mathbb N}}Y(y)), \end{align*}$$

and ${\textsf {IND}}_{0}$ is the following fragment of the induction axiom.

Definition 1.7 ( ${\textsf {IND}}_{0}$ ).

Let $Y^{2}$ satisfy $(\forall n\in {\mathbb N})(\exists \text { at most one } f\in 2^{{\mathbb N}})(Y(f, n) =0)$ . For $k\in {\mathbb N}$ , there is $w^{1^{*}}$ with $|w|=k$ such that for $m\leq k$ , we have

$$\begin{align*}(w(m)\in 2^{{\mathbb N}}\wedge Y(w(m), m)=0) \leftrightarrow (\exists f\in 2^{{\mathbb N}})(Y(f, m)=0). \end{align*}$$

A limited number of equivalences for ${\textsf {IND}}_{0}$ (resp. ${\textsf {NIN}}_{[0,1]}$ ) may be found in [Reference Normann and Sanders76, Section 3] (resp. [Reference Sanders88]). A large number of equivalences for a slight variation of ${\textsf {NIN}}_{[0,1]}$ may be found in [Reference Sanders90], as also discussed in Section 4.

1.3.3 Some definitions.

We introduce some definitions needed in the below, mostly stemming from mainstream mathematics. We assume the standard ‘epsilon–delta’ definitions of continuity and Riemann integrability to be known. We note that subsets of ${\mathbb R}$ are given by their characteristic functions as in Definition 1.8, well-known from measure and probability theory. We shall generally work over ${\textsf {ACA}}_{0}^{\omega }$ as some definitions make little sense over ${\textsf {RCA}}_{0}^{\omega }$ .

First of all, we make use the usual definition of (open) set, where $B(x, r)$ is the open ball with radius $r>0$ centred at $x\in {\mathbb R}$ . We note that our notion of ‘measure zero’ does not depend on (the existence of) the Lebesgue measure.

Definition 1.8 (Sets).

  • A subset $A\subset {\mathbb R}$ is given by its characteristic function $F_{A}:{\mathbb R}\rightarrow \{0,1\}$ , i.e., we write $x\in A$ for $ F_{A}(x)=1$ , for any $x\in {\mathbb R}$ .

  • A subset $O\subset {\mathbb R}$ is open in case $x\in O$ implies that there is $k\in {\mathbb N}$ such that $B(x, \frac {1}{2^{k}})\subset O$ .

  • A subset $C\subset {\mathbb R}$ is closed if the complement ${\mathbb R}\setminus C$ is open.

  • A set $A\subset {\mathbb R}$ is enumerable if there is a sequence of reals that includes all elements of A.

  • A set $A\subset {\mathbb R}$ is countable if there is $Y: {\mathbb R}\rightarrow {\mathbb N}$ that is injective on A, i.e.,

    $$\begin{align*}(\forall x, y\in A)( Y(x)=_{0}Y(y)\rightarrow x=_{{\mathbb R}}y). \end{align*}$$
  • A set $A\subset {\mathbb R}$ is measure zero if for any $\varepsilon>0$ there is a sequence of open intervals $(I_{n})_{n\in {\mathbb N}}$ such that $\cup _{n\in {\mathbb N}}I_{n}$ covers A and $\varepsilon>\sum _{n=0}^{\infty }|I_{n}|$ .

As discussed in Remark 1.14, the study of regulated functions already gives rise to open sets that do not come with additional representation beyond Definition 1.8. We will often assume $(\exists ^{2})$ from Section 1.3.2 to guarantee that basic objects like the unit interval are sets in the sense of Definition 1.8. An interesting constructive enrichment of open sets from [Reference Normann and Sanders71] is as follows.

Definition 1.9. A set $O\subset {\mathbb R}$ is R2-open if there is $Y:{\mathbb R}\rightarrow {\mathbb R}$ such that $x\in O$ implies $Y(x)>0\wedge B(x, Y(x))\subset O$ . A set C is R2-closed if ${\mathbb R}\setminus C$ is R2-open.

The R2-representation is strictly weaker than the RM-representation, i.e., unions of basic open sets as in [Reference Simpson93, II.5.6]. Nonetheless, the Baire category theorem for R2-open sets is provable in ${\textsf {ACA}}_{0}^{\omega }$ by [Reference Normann and Sanders71, Theorem 7.10].

Secondly, we study the following weak continuity notions, many of which are well-known and hark back to the days of Baire, Darboux, Dini, Hankel, and Volterra [Reference Baire5, Reference Baire6, Reference Darboux24, Reference Dini25, Reference Hankel37, Reference Hankel38, Reference Volterra101]. We use ‘sup’ and related operators in the same ‘virtual’ or ‘comparative’ way as in second-order RM (see, e.g., [Reference Simpson93, X.1]). In this way, a formula of the form ‘ $\sup A>a$ ’ makes sense as shorthand for a formula in the language of all finite types, even when $\sup A$ need not exist in ${\textsf {RCA}}_{0}^{\omega }$ . As in [Reference Barrett8, Reference Barrett, Downey and Greenberg9], the definition of Baire n-function proceeds via (external) induction over standard n.

Definition 1.10. For $f:[0,1]\rightarrow {\mathbb R}$ , we have the following definitions:

  • f is upper semi-continuous at $x_{0}\in [0,1]$ if $f(x_{0})\geq _{{\mathbb R}}\lim \sup _{x\rightarrow x_{0}} f(x)$ .

  • f is lower semi-continuous at $x_{0}\in [0,1]$ if $f(x_{0})\leq _{{\mathbb R}}\lim \inf _{x\rightarrow x_{0}} f(x)$ .

  • f is regulated if for every $x_{0}$ in the domain, the ‘left’ and ‘right’ limits $f(x_{0}-)=\lim _{x\rightarrow x_{0}-}f(x)$ and $f(x_{0}+)=\lim _{x\rightarrow x_{0}+}f(x)$ exist.

  • f is Baire 0 if it is a continuous function.

  • f is Baire $n+1$ if it is the pointwise limit of a sequence of Baire n functions.

  • f is effectively Baire n $(n\geq 2)$ if there is a sequence $(f_{m_{1}, \dots , m_{n}})_{m_{1}, \dots , m_{n}\in {\mathbb N}}$ of continuous functions such that for all $x\in [0,1]$ , we have

    $$\begin{align*}\textstyle f(x)=\lim_{m_{1}\rightarrow \infty}\lim_{m_{2}\rightarrow \infty}\dots \lim_{m_{n}\rightarrow \infty}f_{m_{1},\dots ,m_{n}}(x). \end{align*}$$
  • f is Baire 1 $^{*}$ ifFootnote 3 there is a sequence of closed sets $(C_{n})_{n\in {\mathbb N}}$ such that $[0,1]=\cup _{n\in {\mathbb N}}C_{n}$ and $f_{\upharpoonright C_{m}}$ is continuous for all $m\in {\mathbb N}$ .

  • f is countably continuous Footnote 4 if there is a sequence of sets $(E_{n})_{n\in {\mathbb N}}$ such that $[0,1]=\cup _{n\in {\mathbb N}}E_{n}$ and $f_{\upharpoonright E_{m}}$ is continuous for all $m\in {\mathbb N}$ .

  • f is quasi-continuous at $x_{0}\in [0, 1]$ if for $ \epsilon> 0$ and any open neighbourhood U of $x_{0}$ , there is non-empty open ${ G\subset U}$ with $(\forall x\in G) (|f(x_{0})-f(x)|<\varepsilon )$ .

  • f is cliquish at $x_{0}\in [0, 1]$ if for $ \epsilon> 0$ and any open neighbourhood U of $x_{0}$ , there is a non-empty open ${ G\subset U}$ with $(\forall x, y\in G) (|f(x)-f(y)|<\varepsilon )$ .

  • f is upper (resp. lower) quasi-continuous at $x_{0}\in [0, 1]$ if for $ \epsilon> 0$ and any open neighbourhood U of $x_{0}$ , there is a non-empty open ${ G\subset U}$ with $(\forall x\in G) (f(x)< f(x_{0})+\varepsilon )$ (resp. $(\forall x\in G) (f(x)> f(x_{0})-\varepsilon )$ ).

As to notations, a common abbreviation is ‘usco’ and ‘lsco’ for the first two items and ‘uqco’ (resp. lqco) for the final item. Moreover, if a function has a certain weak continuity property at all reals in $[0,1]$ (or its intended domain), we say that the function has that property. Regarding the notion of ‘effectively Baire n’ in Definition 1.10, the latter is used, using codes for continuous functions, in second-order RM (see [Reference Barrett8, Reference Barrett, Downey and Greenberg9]). Baire himself notes in [Reference Baire5, p. 69] that Baire 2 functions can be represented by effectively Baire 2 functions. By the results in [Reference Normann and Sanders79], there is a significant difference between these notions.

Thirdly, the following sets are often crucial in proofs relating to discontinuous functions, as can be observed in, e.g., [Reference Appell, Banaś and Merentes1, Theorem 0.36].

Definition 1.11. The sets $C_{f}$ and $D_{f}$ (if they exist) respectively gather the points where $f:{\mathbb R}\rightarrow {\mathbb R}$ is continuous and discontinuous.

One problem with the sets $C_{f}, D_{f}$ is that the definition of continuity involves quantifiers over ${\mathbb R}$ . In general, deciding whether a given ${\mathbb R}\rightarrow {\mathbb R}$ -function is continuous at a given real, is as hard as $\exists ^{3}$ from Section 1.3.2. For these reasons, the sets $C_{f}, D_{f}$ only exist in strong systems. A solution is discussed in Section 1.3.4.

Fourth, we introduce some notions most of which are found already in, e.g., the work of Volterra, Smith, and Hankel [Reference Hankel37, Reference Stephen Smith94, Reference Volterra101].

Definition 1.12.

  • A set $A\subset {\mathbb R}$ is dense in $B\subset {\mathbb R}$ if for $k\in {\mathbb N},b\in B$ , there is $a\in A$ with $|a-b|<\frac {1}{2^{k}}$ .

  • A function $f:{\mathbb R}\rightarrow {\mathbb R}$ is pointwise discontinuous if for any $x\in {\mathbb R}, k\in {\mathbb N}$ there is $y\in B(x, \frac {1}{2^{k}})$ such that f is continuous at y.

  • A set $A\subset {\mathbb R}$ is nowhere dense in $B\subset {\mathbb R}$ if A is not dense in any open sub-interval of B.

  • A function $f:[0,1]\rightarrow {\mathbb R}$ is simply continuous (sico) if for any open $G\subset {\mathbb R}$ , the set $f^{-1}(G)$ is the union of an open and a nowhere dense set.

Fifth, we also need the notion of ‘intermediate value property’, also called the ‘Darboux property’ in light of Darboux’s work in [Reference Darboux24].

Definition 1.13 (Darboux property).

Let $f:[0,1]\rightarrow {\mathbb R}$ be given.

  • A real $y\in {\mathbb R}$ is a left (resp. right) cluster value of f at $x\in [0,1]$ if there is $(x_{n})_{n\in {\mathbb N}}$ such that $y=\lim _{n\rightarrow \infty } f(x_{n})$ and $x=\lim _{n\rightarrow \infty }x_{n}$ and $(\forall n\in {\mathbb N})(x_{n}\leq x)$ (resp. $(\forall n\in {\mathbb N})(x_{n}\geq x)$ ).

  • A point $x\in [0,1]$ is a Darboux point of $f:[0,1]\rightarrow {\mathbb R}$ if for any $\delta>0$ and any left (resp. right) cluster value y of f at x and $z\in {\mathbb R}$ strictly between y and $f(x)$ , there is $w\in (x-\delta , x)$ (resp. $w\in ( x, x+\delta )$ ) such that $f(w)=y$ .

By definition, a point of continuity is also a Darboux point, but not vice versa.

Finally, the following remark is meant to express that closed sets as in Definition 1.8, i.e., without any additional representation (say provable in ${\textsf {Z}}_{2}^{\omega }$ ), are readily found in the wild. This even holds for the ‘weak’ representation from Definition 1.9.

Remark 1.14. First of all, fix a regulated function $f:[0,1]\rightarrow {\mathbb R}$ and consider the set $D_{k}$ as in (1.1), definable using $\exists ^{2}$ and such that $D_{f}=\cup _{k\in {\mathbb N}}D_{k}$ :

(1.1) $$ \begin{align} \textstyle D_{k}:=\{x\in [0,1]: |f(x)-f(x+)|>\frac{1}{2^{k}}\vee |f(x)-f(x-)|>\frac{1}{2^{k}}\}. \end{align} $$

This set is central to many proofs involving regulated functions (see, e.g., [Reference Appell, Banaś and Merentes1, Theorem 0.36]). Now, that $D_{k}$ is finite follows by a standardFootnote 5 compactness argument. Hence, working in ${\textsf {Z}}_{2}^{\Omega }$ from Section 1.3.2, one readily proves the following:

$$\begin{align*} \textit{there is a sequence}\ (C_{k})_{k\in {\mathbb N}}\ \textit{of RM-codes for the sequence of closed sets}\ (D_{k})_{k\in {\mathbb N}},\\[6pt]\textit{there is a sequence}\ (Y_{k})_{k\in {\mathbb N}}\ \textit{of R2-representations for the closed sets}\ (D_{k})_{k\in {\mathbb N}}.\end{align*}$$

However, $\textsf {Z}_{2}^{\omega }$ cannot Footnote 6 prove either of the centred coding statements about (1.1). Since regulated functions are usco and cliquish (by definition, say in ${\textsf {RCA}}_{0}^{\omega }$ ), this observation applies to the topic of this paper as well. We can obtain the same results for functions of bounded variation, following [Reference Sanders90, Section 3.4].

1.3.4 On oscillation functions.

In this section, we introduce oscillation functions and establish some required properties. We have previously studied usco, Baire 1, and cliquish functions in Kleene’s computability theory using oscillation functions (see [Reference Sanders89]). As will become clear, such functions are generally necessary for the RM-study in Section 2 and 3.

First of all, the study of regulated functions in [Reference Normann and Sanders75, Reference Normann and Sanders77, Reference Normann and Sanders78] is really only possible thanks to the associated left- and right limits (see Definition 1.10) and the fact that the latter are computable in $\exists ^{2}$ . Indeed, for regulated $f:{\mathbb R}\rightarrow {\mathbb R}$ , the formula

(C) $$\begin{align} f \textit{is continuous at a given real } x\in {\mathbb R} \end{align}$$

involves quantifiers over ${\mathbb R}$ but is equivalent to the arithmetical formula $f(x+)=f(x)=f(x-)$ . In this light, we can define the set $D_{f}$ of discontinuity points of f -using only $\exists ^{2}$ - and proceed with the usual (textbook) proofs. An analogous approach, namely the study of usco, Baire 1, and cliquish functions in Kleene’s computability theory, was used in [Reference Sanders89]. To this end, we used oscillation functions as in Definition 1.15. We note that Riemann and Hankel already considered the notion of oscillation in the context of Riemann integration [Reference Hankel37, Reference Riemann, Baker, Christenson and Orde85].

Definition 1.15 (Oscillation functions).

For any $f:{\mathbb R}\rightarrow {\mathbb R}$ , the associated oscillation functions are defined as follows: ${\textsf {osc}}_{f}([a,b]):= \sup _{{x\in [a,b]}}f(x)-\inf _{{x\in [a,b]}}f(x)$ and ${\textsf {osc}}_{f}(x):=\lim _{k \rightarrow \infty }{\textsf {osc}}_{f}(B(x, \frac {1}{2^{k}}) ).$

We stress that ${\textsf {osc}}_{f}:{\mathbb R}\rightarrow {\mathbb R}$ is only Footnote 7 a third-order function, as clearly indicated by its type. On a related technical note, while the suprema, infima, and limits in Definition 1.15 do not always exist in weak systems, formulas like ${\textsf {osc}}_{f}(x)>y$ always make sense as shorthand for the standard definition of the suprema, infima, and limits involved; this ‘virtual’ or ‘comparative’ meaning is part and parcel of (second-order) RM in light of [Reference Simpson93, X.1].

Now, our main interest in Definition 1.15 is that ( C ) is equivalent to the arithmetical formula ${\textsf {osc}}_{f}(x)=0$ , assuming the latter function is given. Hence, in the presence of ${\textsf {osc}}_{f}:{\mathbb R}\rightarrow {\mathbb R}$ and $\exists ^{2}$ , we can define $D_{f}$ and proceed with the usual (textbook) proofs, which is the approach we took in [Reference Sanders89]. Below, we also show that we can avoid the use of oscillation functions for usco functions.

Secondly, we sketch the connection between usco (or: cliquish) functions and the Baire category theorem, in both directions, to further motivate our use of oscillation functions. In one direction, fix a usco function $f:[0,1]\rightarrow {\mathbb R}$ and its oscillation function ${\textsf {osc}}_{f}:{\mathbb R}\rightarrow {\mathbb R}$ . A standard textbook technique is to decompose the set $D_{f}=\{ x\in [0,1]: {\textsf {osc}}_{f}(x)>0 \}$ as the union of the closed sets

(1.2) $$ \begin{align}\textstyle D_{k}:=\{ x\in [0,1]: {\textsf{osc}}_{f}(x)\geq \frac{1}{2^{k}} \} \text{ for all } k\in {\mathbb N}. \end{align} $$

The complement $O_{n}:= [0,1]\setminus D_{k}$ can be shown to be open and dense, as required for the antecedent of the Baire category theorem, i.e., $C_{f}$ is non-empty as a result. This connection also goes in the other direction as follows: fix a sequence of dense and open sets $(O_{n})_{n\in {\mathbb N}}$ in the unit interval, define $X_{n}:= [0,1]\setminus O_{n}$ and consider the following function $h:[0,1]\rightarrow {\mathbb R}$ defined using $\mu ^{2}$ :

(H) $$\begin{align} h(x):= \begin{cases} 0, & x\not \in \cup_{m\in {\mathbb N}}X_{m}, \\ \frac{1}{2^{n+1}}, & x\in X_{n} \text{ and } n \text{ is the least such number.} \end{cases} \end{align}$$

The function h may be found in the literature [Reference Myerson62, p. 238] and is usco by Theorem 1.18. Moreover, for $x\in C_{h}$ , we also have $x\in \cap _{n\in {\mathbb N}}O_{n}$ , as required for the consequent of the Baire category theorem. Thus, the Baire category theorem is intimately connected to continuity properties of usco functions (in both directions). One can similarly obtain the same connection for, e.g., Baire $1^{*}$ and cliquish functions, assuming we have access to (1.2), which is why we assume ${\textsf {osc}}_{f}:{\mathbb R}\rightarrow {\mathbb R}$ to be given in general.

Thirdly, much to our own surprise, the ‘counterexample’ function from ( H ) has nice properties that are provable in weak systems.

Theorem 1.16 ( ${\textsf {ACA}}_{0}^{\omega }$ ).

Let $(X_{n})_{n\in {\mathbb N}}$ be an increasing sequence of closed nowhere dense sets. Then $h:[0,1]\rightarrow {\mathbb R}$ from ( H ) is its own oscillation function.

Proof Consider $h:[0,1]\rightarrow {\mathbb R}$ as in ( H ) where $(X_{n})_{n\in {\mathbb N}}$ is an increasing sequence of closed nowhere dense sets. We will show that $h(x)={\textsf {osc}}_{h}(x)$ for all $x\in [0,1]$ , i.e., h is its own oscillation function. To this end, we proceed by case distinction.

  • In case $h(x_{0})=0$ for some $x_{0}\in [0,1]$ , then $x_{0}\in \cap _{n\in {\mathbb N}}Y_{n}$ where $Y_{n}:= [0,1]\setminus X_{n}$ is open. Hence, for any $m\in {\mathbb N}$ , there is $N\in {\mathbb N}$ such that $B(x_{0}, \frac {1}{2^{N}})\subset Y_{m}$ , as the latter is open. By the definition of ${\textsf {osc}}_{h}$ , we have ${\textsf {osc}}_{h}(x_{0})<\frac {1}{2^{m}}$ for all $m\in {\mathbb N}$ , i.e., ${\textsf {osc}}_{h}(x_{0})=h(x_{0})=0$ .

  • In case ${\textsf {osc}}_{h}(x_{0})=0$ for some $x_{0}\in [0,1]$ , we must have $x_{0}\not \in \cup _{n\in {\mathbb N}}X_{n}$ and hence $h(x_{0})=0$ by definition. Indeed, if $x_{0}\in X_{n_{0}}$ , then ${\textsf {osc}}_{h}(x_{0})\geq \frac {1}{2^{n_{0}+1}}$ because $\inf _{x\in B(x_{0}, \frac {1}{2^{k}})}h(x)=0$ due to $Y_{m}$ being dense in $[0,1]$ for any $m\in {\mathbb N}$ , while of course $\sup _{x\in B(x_{0}, \frac {1}{2^{k}})}h(x)\geq h(x_{0})\geq \frac {1}{2^{n_{0}+1}}$ .

  • In case $h(x_{0})=\frac {1}{2^{n_{0}+1}}$ for some $x_{0}\in [0,1]$ , suppose ${\textsf {osc}}_{h}(x_{0})\ne \frac {1}{2^{n_{0}+1}}$ . Since by definition (and the previous item) ${\textsf {osc}}_{h}(x_{0})\geq h(x_{0})=\frac {1}{2^{n_{0}+1}}$ , we have ${\textsf {osc}}_{h}(x_{0})>\frac {1}{2^{n_{0}+1}}$ , implying ${\textsf {osc}}_{h}(x_{0})\geq \frac {1}{2^{n_{0}}}$ and $n_{0}>0$ . Now, if $x_{0}\in Y_{n_{0}-1}$ , then $B(x_{0}, \frac {1}{2^{N}})\subset Y_{n_{0}-1}$ for N large enough, as $Y_{n_{0}-1}$ is open; by definition, the latter inclusion implies that ${\textsf {osc}}_{h}(x_{0})\leq \frac {1}{2^{n_{0}}}$ , a contradiction. However, $x_{0}\not \in Y_{n_{0}-1}$ also leads to a contradiction as then $h(x_{0})\geq \frac {1}{2^{n_{0}}}$ . In conclusion, we have $h(x_{0})=\frac {1}{2^{n_{0}+1}}={\textsf {osc}}_{h}(x_{0})$ .

  • In case ${\textsf {osc}}_{h}(x_{0})>0$ for some $x_{0}\in [0,1]$ , suppose $h(x_{0})\ne {\textsf {osc}}_{h}(x_{0})$ . By definition (and the first item) we have ${\textsf {osc}}_{h}(x_{0})\geq h(x_{0})>0$ , implying ${\textsf {osc}}_{h}(x_{0})>h(x_{0})=\frac {1}{2^{n_{0}+1}}$ for some $n_{0}\in {\mathbb N}$ . In turn, we must have ${\textsf {osc}}_{h}(x_{0})\geq \frac {1}{2^{n_{0}}}$ and $n_{0}>0$ . Now, if $x_{0}\in Y_{n_{0}}$ , then $B(x_{0}, \frac {1}{2^{N}})\subset Y_{n_{0}}$ for N large enough, as $Y_{n_{0}}$ is open; by definition, the latter inclusion implies that ${\textsf {osc}}_{h}(x)\leq \frac {1}{2^{n_{0}+1}}$ , a contradiction. However, $x_{0}\not \in Y_{n_{0}}$ , also leads to a contradiction as then $h(x_{0})\geq \frac {1}{2^{n_{0}}}$ . Since both cases lead to contradiction, we have $h(x_{0})={\textsf {osc}}_{h}(x_{0})$ .

We thus have $h(x)={\textsf {osc}}_{h}(x)$ for all $x\in [0,1]$ , as required.

As it happens, functions that are their own oscillation function have been studied in the mathematical literature (see, e.g., [Reference Kostyrko52]). The previous theorem is surprising: computing the oscillation function of arbitrary functions is as hard as $\exists ^{3}$ .

Fourth, we establish the well-known fact that oscillation functions are usco.

Theorem 1.17 ( $\textsf {ACA}_{0}^{\omega }$ ).

For any $f:{\mathbb R}\rightarrow {\mathbb R}$ such that the oscillation function ${\textsf {osc}}_{f}:{\mathbb R}\rightarrow {\mathbb R}$ exists, the latter is usco.

Proof Fix $x_{0}\in {\mathbb R}$ and consider $y\in {\mathbb R}$ such that $y>{\textsf {osc}}_{f}(x_{0})$ . Say $y>{\textsf {osc}}_{f}(x_{0})+\varepsilon $ for $\varepsilon>0$ and let $n_{0}$ be such that for all $n\geq n_{0}$ , we have $|{\textsf {osc}}_{f}(B(x_{0}, \frac {1}{2^{n}}))-{\textsf {osc}}_{f}(x_{0})|<\varepsilon /2$ . Now pick $z\in {\mathbb R}$ and $m_{0}\in {\mathbb N}$ such that $B(z, \frac {1}{2^{m_{0}}})\subset B(x_{0}, \frac {1}{2^{n_{0}}})$ . By definition, we have ${\textsf {osc}}_{f}([a,b])\leq {\textsf {osc}}_{f}([c, d])$ in case $[a,b]\subseteq [c,d]$ . Hence, we have ${\textsf {osc}}_{f}(z)\leq {\textsf {osc}}_{f}(B(z, \frac {1}{2^{m_{0}}}))\leq {\textsf {osc}}_{f}(B(x_{0}, \frac {1}{2^{n_{0}}}))\leq {\textsf {osc}}_{f}(x_{0})+\varepsilon /2<y$ , i.e., f is usco at $x_{0}$ and we are done.

Fifth, we provide a direct proof of some properties of equation ( H ).

Theorem 1.18 ( ${\textsf {ACA}}_{0}^{\omega }$ ).

Let $(X_{n})_{n\in {\mathbb N}}$ be an increasing sequence of closed sets. The function $h:[0,1]\rightarrow {\mathbb R}$ from ( H ) is usco and cliquish.

Proof First of all, fix $x_{0}\in [0,1]$ and note that if $h(x_{0})=0$ , we have $x_{0}\in Y_{n}:=[0,1]\setminus X_{n}$ for all $n\in {\mathbb N}$ . These sets are open, i.e., for each $n\in {\mathbb N}$ there is $N\in {\mathbb N}$ with $B(x_{0}, \frac {1}{2^{N}})\subset Y_{n}$ . Then $h(x)< \frac {1}{2^{n+1}}$ in the latter ball, i.e., the definition of usco is satisfied. The definition of usco is trivially satisfied if $h(x)=\frac {1}{2}$ as the latter is the supremum of h on $[0,1]$ . In case $h(x_{0})=\frac {1}{2^{n_{0}+1}}$ for $n_{0}>0$ , then we have $(\exists N\in {\mathbb N})(\forall y\in B(x_{0} , \frac {1}{2^{N}} )(y\not \in X_{n_{0}-1})$ . Indeed, if $(\forall N\in {\mathbb N})(\exists y\in B(x_{0} , \frac {1}{2^{N}} )(y\in X_{n_{0}-1})$ , then $y\in X_{n_{0}-1}$ as the latter set is closed, contradicting the leastness of $n_{0}$ . For $N_{0}\in {\mathbb N}$ such that $(\forall y\in B(x_{0} , \frac {1}{2^{N_{0}}} )(y\not \in X_{n_{0}-1})$ , we have $h(y)\leq \frac {1}{2^{n_{0}+1}}$ in this ball.

Secondly, h from ( H ) is also cliquish. To see this, fix $\varepsilon>0$ and $x_{0}\in [0,1]$ and take large enough $n_{0}\in {\mathbb N}$ such that $\frac {1}{2^{n_{0}}}<\varepsilon $ . Since $Y_{n_{0}}$ is dense, we can find $x_{1}\in Y_{n_{0}}$ arbitrarily close to $x_{0}$ . However, since $Y_{n_{0}}$ is open, we have $B(x_{1}, \frac {1}{2^{N_{1}}})\subset Y_{n_{0}}$ for some $N_{1}\in {\mathbb N}$ . Since h is at most $\frac {1}{2^{n_{0}+1}}$ on this ball, we observe that the definition of cliquish function is satisfied.

The previous theorem is illustrative as follows: in case each $X_{n}$ is a ‘fat’ Cantor set of measure at least $1-\frac {1}{2^{n}}$ , then h from ( H ) is a usco function that is continuous on a measure zero set, namely the complement of $\cup _{n\in {\mathbb N}}X_{n}$ . These facts can be established in ${\textsf {ACA}}_{0}^{\omega }$ in light of [Reference Simpson93, p. 129].

Finally, the computational equivalences in [Reference Sanders89] deal with usco, Baire 1, and cliquish functions, while the RM-equivalences in this paper are only about usco and cliquish functions. The deeper reason for the absence of ‘Baire 1’ in our equivalences is unveiled by Theorems 2.7, 2.10, and 3.7: even for the smaller class of usco functions, the extra assumption that the latter are also Baire 1, makes, e.g., the semi-continuity lemma provable in much weaker systems.

2 The Baire category theorem

In this section, we obtain the equivalences sketched in Section 1.1 involving the Baire category theorem and theorems about semi-continuous and cliquish functions (see Section 1.3.3 for the latter notions). We recall that the Baire category theorem has been studied in second-order RM (see, e.g., [Reference Brown and Simpson19, Reference Mytilinaios and Slaman63]); the use of codes for open sets means the theorem is provable in the base theory ${\textsf {RCA}}_{0}$ or similarly weak system. To avoid issues of the representation of real numbers and sets thereof, we will always assume $\mu ^{2}$ or $\exists ^{2}$ from Section 1.3.2. We shall often make use of the preliminary results from Section 1.3.4.

2.1 Introduction

In this section, we introduce the Baire category theorem and describe the results to be obtained in the below sections.

First of all, we shall study the Baire category theorem formulated as follows.

Principle 2.1 ( ${\textsf {BCT}}_{[0,1]}$ ).

If $ (O_n)_{n \in {\mathbb N}}$ is a decreasing sequence of dense open sets of reals in $[0,1]$ , then $ \bigcap _{n \in {\mathbb N} } O_n$ is non-empty.

We assume that $O_{n+1}\subseteq O_{n}$ for all $n\in {\mathbb N}$ to avoid the use of induction to prove that a finite intersection of open and dense sets is again open and dense.

Secondly, ${\textsf {BCT}}_{[0,1]}$ is hard to prove in terms of (conventional) comprehension by [Reference Normann and Sanders71, Theorem 6.16], while the following theorem provides a slick proof of this fact.

Theorem 2.2. The system ${\textsf {Z}}_{2}^{\omega }+{\textsf {IND}}_{0}$ cannot prove ${\textsf {BCT}}_{[0,1]}$ .

Proof Let $Y:[0,1]\rightarrow {\mathbb N}$ be an injection and define $C_{n}:=\{x\in [0,1]: Y(x)\leq n\}$ . Use ${\textsf {IND}}_{0}$ to prove that this set is closed and nowhere dense for each $n\in {\mathbb N}$ . By assumption, $[0,1]=\cup _{n\in {\mathbb N}}C_{n}$ , i.e., we have established ${\textsf {BCT}}_{[0,1]}\rightarrow {\textsf {NIN}}_{[0,1]}$ via contraposition; the latter is not provable in ${\textsf {Z}}_{2}^{\omega }+{\textsf {IND}}_{0}$ by [Reference Normann and Sanders75, Theorem 2.16].

By contrast, the restriction of ${\textsf {BCT}}_{[0,1]}$ to R2-open sets from Section 1.3.3 can be proved in ${\textsf {ACA}}_{0}^{\omega }$ by [Reference Normann and Sanders71, Theorem 7.10]. Basically, one follows the constructive proof (see, e.g., [Reference Bishop11]) while avoiding the Axiom of (countable) Choice thanks to the R2-representation. This begs the question which other constructive enrichments make ${\textsf {BCT}}_{[0,1]}$ (and equivalent theorems) provable in weak(er) systems.

We explore this ‘constructivisation’ theme in Theorems 2.3, 2.7, and 2.19 as follows: the latter theorems show that replacing ‘cliquish’ by the closely related notion ‘quasi-continuous’ (see Remark 2.20) results in theorems provable in ${\textsf {ACA}}_{0}^{\omega }$ . The same holds for the addition of ‘Baire 1’ to theorems about usco functions; there is no contradiction here as the (classically true) statement

a bounded usco function on the unit interval is Baire 1

already implies (stronger principles than) ${\textsf {BCT}}_{[0,1]}$ by Corollary 2.8. Nonetheless, cliquishness and quasi-continuity (and the same for Baire 1 and usco) are closely related notions (see again Remark 2.20), yet there is a great divide—or abyss—between their continuity properties.

Thirdly, we shall obtain the following RM-results in the below sections.

  • We connect ${\textsf {BCT}}_{[0,1]}$ to the semi-continuity lemma in Section 2.2.

  • We generalise the results in Section 2.2 to Baire $1^{*}$ in Section 2.3.

  • We connect ${\textsf {BCT}}_{[0,1]}$ to the uniform boundedness principle in Section 2.4.

  • We connect ${\textsf {BCT}}_{[0,1]}$ to properties of cliquish functions in Section 2.5.

  • We connect ${\textsf {BCT}}_{[0,1]}$ to properties of fragmented functions in Section 2.6.

  • We connect ${\textsf {BCT}}_{[0,1]}$ to Volterra’s early work (Section 1.2) in Section 2.7.

As discussed in Remark 2.20, the class of cliquish functions is quite large/wild and is identical to the class of pointwise discontinuous function, i.e., we study Volterra’s theorem in full generality. We note that ‘Baire 1’ and ‘fragmented’ are equivalent on ${\mathbb R}$ in strong enough systems (see Section 2.6), but not in ${\textsf {Z}}_{2}^{\omega }$ by Corollary 2.24.

Finally, we have studied the RM of the gauge integral in [Reference Normann and Sanders70, Reference Normann and Sanders74]. This integral generalises the Lebesgue integral but remains conceptually close to the Riemann integral by—intuitively speaking—replacing the real ‘ $\delta>0$ ’ by a gauge function $\delta :{\mathbb R}\rightarrow {\mathbb R}^{+}$ ’ in the usual epsilon–delta definition [Reference Bartle10]. This gauge function can be taken to be usco [Reference Pfeffer83] in very general cases, i.e., the RM of usco functions in this paper may well shed new light on the RM of the gauge integral.

2.2 The semi-continuity lemma

We establish the equivalence between ${\textsf {BCT}}_{[0,1]}$ and the semi-continuity lemma; the latter expresses that the continuity points of a semi-continuous functions are dense, and is therefore not provable in ${\textsf {Z}}_{2}^{\omega }$ . We also identify (slight) variations that are provable in weaker systems like ${\textsf {ACA}}_{0}^{\omega }$ .

First of all, we have the following theorem pertaining to usco functions; note that all items are immediately generalised from ‘one point of continuity’ to ‘a dense set of points of continuity’. Regarding items (e) and (f), there are semi-continuous functions that are not countably continuous [Reference Novikov and Adyan80] or not boundedFootnote 8 below.

Theorem 2.3 ( ${\textsf {ACA}}_{0}^{\omega }$ ).

The following are equivalent.

  1. (a) The Baire category theorem as in ${\textsf {BCT}}_{[0,1]}$ .

  2. (b) For usco $f:[0,1]\rightarrow {\mathbb R}$ , there is a point $x\in [0,1]$ where f is continuous.

  3. (c) For usco $f:[0,1]\rightarrow {\mathbb R}$ which has an oscillation function ${\textsf {osc}}_{f}:[0,1]\rightarrow {\mathbb R}$ , there is a point $x\in [0,1]$ where f is continuous.

  4. (d) For usco $f:[0,1]\rightarrow {\mathbb R}$ which is its own oscillation function, there is a point $x\in [0,1]$ where f is continuous.

  5. (e) For usco and countably continuous $f:[0,1]\rightarrow {\mathbb R}$ , there is a point $x\in [0,1]$ where f is continuous.

  6. (f) Any usco $f:[0,1]\rightarrow {\mathbb R}$ is bounded below on some interval, i.e., there exist $q\in {\mathbb Q}$ and $c, d\in [0,1]$ such that $(\forall y\in (c, d))(f(y)\geq q)$ .

  7. (g) For usco $f:[0,1]\rightarrow {\mathbb R}^{+}$ , there are $c, d\in [0,1]$ with $0<\inf _{x\in [c, d]}f(x)$ .

Proof First of all, assume item (d) and fix a decreasing sequence of dense open sets $(O_{n})_{n\in {\mathbb N}}$ . Define the nowhere dense closed set $X_{n}:= [0,1]\setminus O_{n}$ and consider $h:[0,1]\rightarrow {\mathbb R}$ as in ( H ). Following Theorems 1.16 and 1.18, item (d) yields a point of continuity $y\in [0,1]$ of h. If $\frac {1}{2^{m_{0}+1}}=h(y)>0$ , then by definition $y\in X_{m_{0}}$ where $m_{0}\in {\mathbb N}$ is the least such number. Since h is continuous at y, there is $N\in {\mathbb N}$ such that $z\in B(y, \frac {1}{2^{N}})$ implies $|h(z)-h(y)|<\frac {1}{2^{m_{0}+2}}$ . However, $O_{m_{0}+2}$ is dense in $[0,1]$ , implying there is $z_{0}\in B(y, \frac {1}{2^{N}})\cap O_{m_{0}+2}$ . Since $h(z_{0})\leq \frac {1}{2^{m_{0}+3}}$ by definition, we obtain a contradiction. Hence, we must have $h(y)=0$ and the latter implies $y\in \cap _{n\in {\mathbb N}}O_{n}$ by definition, as required for ${\textsf {BCT}}_{[0,1]}$ .

Secondly, for item (b), we first formulate a proof (say in ${\textsf {Z}}_{2}^{\Omega }$ ) and then show how this proof goes through in ${\textsf {ACA}}_{0}^{\omega }+{\textsf {BCT}}_{[0,1]}$ . Thus, fix lsco $f:[0,1]\rightarrow {\mathbb R}$ and define $C_{q}:=\{x\in [0,1]: f(x)\leq q\}$ , which is closed by definition. Define $F_{q}$ as $C_{q}\setminus \textsf {int}(C_{q})$ , where the open set $\textsf {int}(X)$ is the interior of X, i.e., those $x\in X$ such that there is $N\in {\mathbb N}$ with $B(x, \frac {1}{2^{N}})\subset X$ . By definition, $F_{q}$ is closed and is nowhere dense, i.e., the Baire category theorem shows that there is $y\in \big ([0,1 ]\setminus \cup _{q\in {\mathbb Q}}F_{q}\big )$ . The Baire category theorem is provable in ${\textsf {Z}}_{2}^{\Omega }$ by [Reference Normann and Sanders71, Section 6].

We now show that for each $x\in [0,1]$ where f is discontinuous, there is $q\in {\mathbb Q}$ such that $x\in F_{q}$ , establishing that f is continuous at the aforementioned point y, as required. Thus, let f be discontinuous at $x_{0}\in [0,1]$ and note that f cannot be usco at $x_{0}\in [0,1]$ , i.e., we have

(2.1) $$ \begin{align}\textstyle (\exists l\in {\mathbb N})(\forall N\in {\mathbb N})(\exists z\in B(x_{0}, \frac{1}{2^{N}}))(f(z)\geq f(x_{0})+\frac{1}{2^{l}}). \end{align} $$

Let $l_{0}$ be as in (2.1) and consider $q_{0}\in {\mathbb Q}$ such that $f(x_{0})<q_{0}< f(x_{0})+\frac {1}{2^{l_{0}}}$ . By definition, $x_{0}\in F_{q_{0}}$ , as required.

We now show how the above proof goes through in ${\textsf {ACA}}_{0}^{\omega }+{\textsf {BCT}}_{[0,1]}$ . The (only) two obstacles are as follows:

  • The definition of $\textsf {int}(X)$ involves quantification over ${\mathbb R}$ , i.e., the former set cannot be defined in ${\textsf {ACA}}_{0}^{\omega }$ .

  • The formula (2.1) involves quantification over ${\mathbb R}$ , i.e., the numbers $l_{0}$ and $q_{0}$ cannot be defined in terms of $x_{0}$ .

Both problems have (about) the same solution, as follows. For the second item, since f is lsco, (2.1) is equivalent to

(2.2) $$ \begin{align}\textstyle (\exists l\in {\mathbb N})(\forall N\in {\mathbb N})\underline{(\exists r\in B(x, \frac{1}{2^{N}})\cap {\mathbb Q})}(f(r)\geq f(x_{0})+\frac{1}{2^{l}}), \end{align} $$

where the underlined quantifier is crucial. Since (2.2) is decidable using $\exists ^{2}$ , the functional $\mu ^{2}$ computes $l_{1}\in {\mathbb N}$ , the least $l\in {\mathbb N}$ satisfying (2.2); clearly, $l=l_{1}+1$ then witnesses (2.1). Hence, $q_{0}$ from the previous paragraph is definable in terms of $x_{0}$ (and f and $\mu ^{2}$ ).

For the first item, i.e., relating to the interior of sets, the following formula expresses that $x\in F_{q}= (C_{q}\setminus \textsf {int}(C_{q})$ , by definition:

(2.3) $$ \begin{align}\textstyle f(x)\leq q \wedge (\forall N\in {\mathbb N})(\exists z\in B(x, \frac{1}{2^{N}}))( f(z)>q ). \end{align} $$

Similar to the second item and (2.1), since f is lsco, (2.3) is equivalent to

(2.4) $$ \begin{align}\textstyle f(x)\leq q \wedge (\forall N\in {\mathbb N})\underline{(\exists r\in B(x, \frac{1}{2^{N}})\cap {\mathbb Q})}( f(r)>q ), \end{align} $$

where again the underlined quantifier is crucial. Hence, we can define $F_{q}$ using $\exists ^{2}$ and (2.4). Using an enumeration of ${\mathbb Q}$ , one readily obtains an increasing sequence of closed nowhere dense sets. The rest of the proof now goes through. Since for lsco $f:[0,1]\rightarrow {\mathbb R}$ , the function $-f$ is usco, this item is finished.

For item (e), it is clear that h from ( H ) is countably continuous as it is constant on each $X_{n}$ and the complement of $\cup _{n\in {\mathbb N}}X_{n}$ .

To prove item (f) from ${\textsf {BCT}}_{[0,1]}$ , fix usco $f:[0,1]\rightarrow {\mathbb R}$ and note that $C_{n}:= \{ x\in [0,1]: f(x)\geq -n\}$ is closed and satisfies $[0,1]=\cup _{n\in {\mathbb N}}C_{n}$ . By ${\textsf {BCT}}_{[0,1]}$ , at least one $C_{n}$ is not nowhere dense, as required for item (f). Now assume the latter and let $(X_{n})_{n\in {\mathbb N}}$ be an increasing sequence of closed sets such that $[0,1]=\cup _{n\in {\mathbb N}}X_{n}$ . Define $\tilde {h}:[0,1]\rightarrow {\mathbb R}$ as follows: $\tilde {h}(x)=-n$ in case $x\in X_{n}$ and $n\in {\mathbb N}$ is the least such number. Similar to $h:[0,1]\rightarrow {\mathbb R}$ from ( H ), the function $\tilde {h}$ is usco. Item (f) provides $N\in {\mathbb N}$ and $c, d\in [0,1]$ such that $\tilde {h}(y)\geq -N$ for $y\in (c, d)$ . By definition, we have $(c, d)\subset X_{N}$ , i.e., the latter is not nowhere dense. Item (g) follows in the same way using h from ( H ) and $C_{n}:=\{x\in [0,1]: f(x)\geq \frac {1}{2^{n}} \}$ .

Secondly, proofs in real analysis often use $C_{f}$ and $D_{f}$ , the set of continuity and discontinuity points, as their starting points. The definition of continuity involves a quantifier over ${\mathbb R}$ , i.e., these sets cannot be defined in general in, e.g., ${\textsf {Z}}_{2}^{\omega }$ . In light of the proof of Theorem 2.3, we can define these sets for usco functions as follows.

Theorem 2.4 ( $\textsf {ACA}_{0}^{\omega }$ ).

For usco $f:[0,1]\rightarrow {\mathbb R}$ , the sets $C_{f}$ and $D_{f}$ exist.

Proof First of all, it is a matter of definitions to show the equivalence between:

  • $g:{\mathbb R}\rightarrow {\mathbb R}$ is continuous at $x\in {\mathbb R}$ ,

  • $g:{\mathbb R}\rightarrow {\mathbb R}$ is usco and lsco at $x\in {\mathbb R}$ .

Secondly, for lsco $f:[0,1]\rightarrow {\mathbb R}$ , ‘f is discontinuous at $x\in [0,1]$ ’ is equivalent to

(2.5) $$ \begin{align}\textstyle (\exists l\in {\mathbb N})(\forall k\in {\mathbb N})(\exists y\in B(x, \frac{1}{2^{k}})(f(y)\geq f(x)+\frac{1}{2^{l}} ), \end{align} $$

which expresses that f is not usco at $x\in [0,1]$ . Now, (2.5) is equivalent to

(2.6) $$ \begin{align}\textstyle (\exists l\in {\mathbb N})(\forall k\in {\mathbb N})\underline{(\exists r\in B(x, \frac{1}{2^{k}})\cap {\mathbb Q})}(f(r)\geq f(x)+\frac{1}{2^{l}} ), \end{align} $$

where in particular the underlined quantifier in (2.6) has rational range due to f being lsco. Since (2.6) is arithmetical, $\exists ^{2}$ allows us to define $D_{f}$ , and hence $C_{f}$ .

An important observation is that Theorem 2.4 only states that the set $C_{f}$ exists but does not claim it to be non-empty. The latter claim can onlyFootnote 9 be made in ${\textsf {ACA}}_{0}^{\omega }$ if we have additional information about the function f, e.g., as in Theorem 2.7.

Thirdly, Theorem 2.3 has a number of fairly easy generalisations. There is also degree of robustness: we may similarly replace ‘measure zero’ by ‘measure at most $a\in (0,1)$ ’.

Theorem 2.5. Theorem 2.3 still goes through with the following restrictions.

  • Replace ‘continuous’ in the consequent of items (b)–(d) by

    regulated, (lower) quasi-continuous, cadlag, Darboux, or lsco.

  • Restrict ‘usco’ to ‘usco and such that $C_{f}$ has measure zero’.

  • Restrict ${\textsf {BCT}}_{[0,1]}$ to open sets such that $\cap _{n\in {\mathbb N}}O_{n}$ has measure zero.

Proof For the first item, we only need to derive ${\textsf {BCT}}_{[0,1]}$ from items (b)–(d) in the theorem with ‘continuity’ weakened to the notions from the corollary. This is a straightforward verification and we only establish the corollary for the weakest notion, namely lower quasi-continuity. Thus, assume item (b) with ‘lqco’ in the consequent and consider the real $y\in [0,1]$ as in the first paragraph of the proof of the theorem. If $\frac {1}{2^{m_{0}+1}}=h(y)>0$ , then by definition $y\in X_{m_{0}}$ where $m_{0}\in {\mathbb N}$ is the least such number. Since h is lqco at y, we have that for $\varepsilon =\frac {1}{2^{m_{0}+2}}$ and any $N\in {\mathbb N}$ , there is $(a, b)\subset B(y, \frac {1}{2^{N}})$ such that $z\in (a, b)$ implies $h(z)>h(y)-\frac {1}{2^{m_{0}+2}}=\frac {1}{2^{m_{0}+2}}$ . However, $O_{m_{0}+4}$ is dense in $[0,1]$ , implying there is $z_{0}\in (a, b)\cap O_{m_{0}+4}$ . Since $h(z_{0})\leq \frac {1}{2^{m_{0}+5}}$ , we obtain a contradiction. Hence, we must have $h(y)=0$ and the latter implies $y\in \cap _{n\in {\mathbb N}}O_{n}$ by definition, as required for ${\textsf {BCT}}_{[0,1]}$ .

For the second item, consider the first paragraph of the proof of Theorem 2.3. Assuming $[0,1]=\cup _{n\in {\mathbb N}}X_{n}$ , the usco function h from ( H ) is such that $C_{f}=\emptyset $ , i.e., definitely measure zero. Now proceed with the original proof and derive a contradiction. Thus, we may restrict the items (b)–(d) from Theorem 2.3 to usco f such that $C_{f}$ has measure zero.

For the third item, the Cantor set can be defined in ${\textsf {RCA}}_{0}$ (see [Reference Simpson93, p. 129]), and similar for ‘fat’ Cantor sets, i.e., closed nowhere dense sub-sets of $[0,1]$ that can have measure $1-\varepsilon $ for any $\varepsilon>0$ . Thus, let $(C_{n})_{n\in {\mathbb N}}$ be a sequence of fat Cantor sets in $[0,1]$ such that $C_{n}$ has measure at least $1-\frac {1}{2^{n}}$ for all $n\in {\mathbb N}$ . Now let $(O_{n})_{n\in {\mathbb N}}$ be any sequence of dense open sets in $[0,1]$ and note that $O_{n}\cap V_{n}$ is also open and dense, where $V_{n}=:[0,1]\setminus C_{n}$ . Since $\cap _{n\in {\mathbb N}} V_{n}$ has measure zero, the third item in the theorem applies to $(O_{n}\cap V_{n})_{n\in {\mathbb N}}$ , i.e., there is $y\in \cap _{n\in {\mathbb N}}\big (O_{n}\cap V_{n}\big )\subset \cap _{n\in {\mathbb N}}O_{n}$ , as required for ${\textsf {BCT}}_{[0,1]}$ .

Ironically, the third item of Theorem 2.5 suggests that the essence of ${\textsf {BCT}}_{[0,1]}$ , a fundamental statement about category, in fact involves measure theory.

Fourth, by Theorem 2.3, the constructive enrichment provided by oscillation functions does not change the strength of the semi-continuity lemma. Let us consider another constructive enrichment: a modulus for usco $f:[0,1]\rightarrow {\mathbb R}$ is any function $\Psi :[0,1]\rightarrow {\mathbb R}^{+}$ such that we have

$$\begin{align*}\textstyle (\forall k\in {\mathbb N}) (\forall y\in B(x, \Psi(x,k)))( f(y)< f(x)+\frac{1}{2^{k}} ). \end{align*}$$

Given a modulus, the semi-continuity lemma is provable in a weaker system.

Theorem 2.6 ( ${\textsf {ACA}}_{0}^{\omega }$ ).

Let $f:[0,1]\rightarrow {\mathbb R}$ be usco with a modulus. Then $C_{f}\ne \emptyset $ .

Proof By definition, for usco $f:[0,1]\rightarrow {\mathbb R}$ , the set $\{x\in [0,1]: f(x)\geq a\}$ is closed for any $a\in {\mathbb R}$ . Let $O_{a}$ be the complement of the previous set. When given a modulus $\Psi $ , one readily defines $Y:[0,1]\rightarrow {\mathbb R}$ such that $B(y, Y(y))\subset O_{a}$ in case $y\in O_{a}$ . Hence, $O_{a}$ is R2-open and the Baire category theorem for such sets is provable in ${\textsf {ACA}}_{0}^{\omega }$ by [Reference Normann and Sanders71, Theorem 7.10]. One can now repeat the (modified) proof of item (b) in Theorem 2.3 in ${\textsf {ACA}}_{0}^{\omega }$ , noting that $\textsf {int}(C_{q})$ has an R2-open representation in light of the equivalence between (2.5) and (2.6).

Fifth, comparing Theorems 2.3 and 2.6, the constructive enrichment provided by oscillation functions does not change the strength of the semi-continuity lemma, while a modulus for usco does make a significant difference. We now show that the constructive enrichment provided by the usual definition of ‘Baire 1’ is significant.

Theorem 2.7 ( ${\textsf {ACA}}_{0}^{\omega }$ ).

Let $f:[0,1]\rightarrow {\mathbb R}$ be usco and let $(f_{n})_{n\in {\mathbb N}}$ be a sequence of continuous functions that converges pointwise to f on $[0,1]$ . Then $C_{f}\ne \emptyset $ .

Proof We use the proof of (a) $\rightarrow $ (b) from Theorem 2.3. In this proof, one defines a sequence of closed and nowhere dense sets $(F_{q})_{q\in {\mathbb Q}}$ such that the union contains $D_{f}$ for lsco $f:[0,1]\rightarrow {\mathbb R}$ . Applying ${\textsf {BCT}}_{[0,1]}$ , the set $C_{f}$ is observed to be non-empty. We show that the extra information provided by the Baire 1 representation of f allows us to define an R2-representation for $F_{q}$ . Instead of ${\textsf {BCT}}_{[0,1]}$ , we can then apply the Baire category theorem for R2-representations, which is provable in ${\textsf {ACA}}_{0}^{\omega }$ by [Reference Normann and Sanders71, Theorem 7.10]. In particular, we note that by (the proof of) [Reference Normann and Sanders79, Theorem 2.9], there is $\Phi :({\mathbb R}\times {\mathbb N})\rightarrow {\mathbb R}$ such that $\Phi (x, N)$ equals $\inf _{y\in B(x, \frac {1}{2^{N}})}f(y)$ for Baire 1 f.

Let $f:[0,1]\rightarrow {\mathbb R}$ be lsco and let $(f_{n})_{n\in {\mathbb N}}$ be a sequence of continuous functions with pointwise limit f on the unit interval. Recall the set $F_{q}\subset [0,1]$ defined as those $x\in [0,1]$ satisfying (2.4), where the latter is equivalent to (2.3). Define $O_{q}:=[0,1]\setminus F_{q}$ and note that ‘ $x\in O_{q}$ ’ is exactly

(2.7) $$ \begin{align}\textstyle f(x)> q \vee (\exists N\in {\mathbb N}){(\forall r\in B(x, \frac{1}{2^{N}})\cap {\mathbb Q})}( f(r)\leq q ). \end{align} $$

In case $x\in O_{q}$ satisfies the second disjunct in (2.7), we use $\mu ^{2}$ to find the least $N\in {\mathbb N}$ such that $\big (B(x, \frac {1}{2^{N}})\cap {\mathbb Q}\big )\subset O_{q}$ . Now, since f is lsco, the latter implies $B(x, \frac {1}{2^{N}})\subset O_{q}$ , as required for a R2-representation. In case $x\in O_{q}$ satisfies the first disjunct in (2.7), observe that

(2.8) $$ \begin{align}\textstyle f(x)>q \leftrightarrow (\exists N\in {\mathbb N})(q<\inf_{y\in B(x, \frac{1}{2^{N}})}f(y) ), \end{align} $$

as f is lsco. Since the infimum in the right-hand side of (2.8) is given by a function $\Phi :({\mathbb R}\times {\mathbb N})\rightarrow {\mathbb R}$ , we may use $\mu ^{2}$ to find the least $N_{0}\in {\mathbb N}$ such that $q<\inf _{y\in B(x, \frac {1}{2^{N_{0}}})}f(y)$ . By the definition of $O_{q}$ , we have $B(x, \frac {1}{2^{N_{0}}})\subset O_{q}$ , as required for a R2-representation. Hence, we have obtained a R2-representation of $O_{q}$ based on the case distinction (decidable by $\exists ^{2}$ ) provided by (2.7).

Next, it is well-known that usco functions are Baire 1, but this fact is not provable in ${\textsf {Z}}_{2}^{\omega }$ by Corollary 2.8. In particular, the previous proof does not go through for usco functions (without a Baire 1 representation) as by [Reference Normann and Sanders79]Theorem 2.32, the supremum principle for usco functions implies ${\textsf {NIN}}_{[0,1]}$ .

Corollary 2.8 ( ${\textsf {ACA}}_{0}^{\omega }$ ).

The statement

any usco function $f:[0,1]\rightarrow {\mathbb R}$ is Baire 1

both implies ${\textsf {BCT}}_{[0,1]}$ and the principle

$\textsf {open:}$ open sets in the unit interval have RM-codes.

Proof The first part is immediate from Theorem 2.3 and the theorem. For the second part, a set $C\subset [0,1]$ is closed if and only if $\mathbb {1}_{C}$ is usco. Now, in case $x\in O:=[0,1]\setminus C$ , we have $(\exists N\in {\mathbb N})(0= \sup _{y\in B(x, \frac {1}{2^{N}})} \mathbb {1}_{C}(y) )$ . As noted in the proof of the theorem, the latter supremum is not just notation but given by a functional in case the function is also Baire 1. Hence, we can use $\mu ^{2}$ to define $Y:{\mathbb R}\rightarrow {\mathbb N}$ such that $B(x, \frac {1}{2^{Y(x)}})\subset O$ in case $x\in O$ . As $\mu ^{2}$ returns the least witness, $\cup _{q\in O\cap {\mathbb Q}}B(q, \frac {1}{2^{Y(q)+1}})$ is an RM-code for O, and we are done.

The principle $\textsf {open}$ in Corollary 2.8 is ‘explosive’ in that $\Pi _{1}^{1}\text {-}{\textsf {CA}}_{0}^{\omega }+{\textsf {open}}$ proves $\Pi _{2}^{1}\text {-}\textsf {CA}_{0}$ (see [Reference Normann and Sanders75]), while $\Pi _{1}^{1}\text {-}{\textsf {CA}}_{0}^{\omega }$ is $\Pi _{3}^{1}$ -conservative over $\Pi _{1}^{1}\text {-}{\textsf {CA}}_{0}$ (see [Reference Sakamoto and Yamazaki86]). As an exercise, the first centred principle of Corollary 2.8 is similarly explosive when restricted to usco functions that are continuous almost everywhere. We also have the following stronger result in a stronger system.

Corollary 2.9 ( ${\textsf {ACA}}_{0}^{\omega }+\Pi _{1}^{1}\text {-}{\textsf {CA}}_{0}$ ).

Let $f:[0,1]\rightarrow [0,1]$ be usco and effectively Baire n for $n\geq 2$ . Then $C_{f}\ne \emptyset $ .

Proof The supremum principle for bounded effectively Baire n ( $n\geq 2$ ) functions is provable in ${\textsf {ACA}}_{0}^{\omega }+\Pi _{1}^{1}\text {-}{\textsf {CA}}_{0}$ by [Reference Normann and Sanders79, Theorem 2.22].

Finally, we show that, e.g., items (a) and (f) of Theorem 2.3 have a proof in ${\textsf {ACA}}_{0}^{\omega }$ for Baire 1 functions.

Theorem 2.10 ( ${\textsf {ACA}}_{0}^{\omega }$ ).

Let $f:[0,1]\rightarrow {\mathbb R}$ be Baire 1.

  • There exists $x\in [0,1]$ such that f is continuous at x.

  • There exist $N\in {\mathbb N}$ and $c, d\in [0,1]$ such that $(\forall y\in (c, d))(|f(y)|\leq N+1)$ .

  • The oscillation function ${\textsf {osc}}_{f}:[0,1]\rightarrow {\mathbb R}$ exists.

Proof Let $(f_{n})_{n\in {\mathbb N}}$ be a sequence of continuous functions with pointwise limit f. By [Reference Normann and Sanders79]Cor. 2.5, there is an associated sequence of RM-codes $(\Phi _{n})_{n\in {\mathbb N}}$ . For the second item, define the closed set $C_{n}$ as follows:

$$\begin{align*}C_{n}:= \{ x\in [0,1]: (\forall m\in {\mathbb N})(|f_{m}(x)|\leq n ) \}. \end{align*}$$

Thanks to the RM-codes $\Phi _{n}$ for $f_{n}$ , the formula $(\forall m\in {\mathbb N})(f_{m}(x)\leq n )$ is (second-order) $\Pi _{1}^{0}$ . Hence, the sets $C_{n}$ have corresponding RM-codes by [Reference Simpson93, II.5.7]. Since $[0,1]=\cup _{n\in {\mathbb N}}C_{n}$ , the Baire category theorem for RM-codes of open sets (provable in ${\textsf {RCA}}_{0}^{\omega }$ by [Reference Simpson93, II.5.8]), yields that at least one $C_{n}$ is not nowhere dense.

For the first item, define $D_{m,n}:=\{ x\in [0,1]: (\forall k\geq m)(|f_{k}(x)-f_{m}(x)|\leq \frac {1}{2^{n}} ) $ . As in the previous paragraph, each $D_{m,n}$ is RM-closed. To define the interior of the latter sets, put $x\in \textsf {int}(D_{m,n} )$ if and only if $(\exists N\in {\mathbb N} )(\forall r \in B(x, \frac {1}{2^{N}})\cap {\mathbb Q})(r \in D_{m,n})$ . Due to the continuity of the $f_{n}$ , $x\in \textsf {int}(D_{m,n} )$ is equivalent to

$$\begin{align*}\textstyle (\exists N\in {\mathbb N} )(\forall y \in B(x, \frac{1}{2^{N}}))(y \in D_{m,n}), \end{align*}$$

i.e., the ‘real’ definition of the interior of $D_{m,n}$ As in the proof of Theorem 2.3, define $F_{m,n}:=D_{m,n}\setminus \textsf {int}(D_{m,n} )$ , which is RM-closed and nowhere dense, and note that each point where f is discontinuous, is included in $\cup _{m,n\in {\mathbb N}}F_{m,n}$ . The Baire category theorem for RM-codes (provable in ${\textsf {RCA}}_{0}$ by [Reference Simpson93, II.5.7]) finishes the proof.

Finally, for the third item, as noted in the proof of Theorem 2.7, we have access to the supremum operator for Baire 1 functions following [Reference Normann and Sanders79, Theorem 2.9]. Hence, one readily defines the oscillation function using $\exists ^{2}$ .

In conclusion, we have established some equivalences involving ${\textsf {BCT}}_{[0,1]}$ and the semi-continuity lemma. We have also shown that the latter become much easier to prove when assuming, e.g., a Baire 1 representation or a modulus of usco.

2.3 Continuity properties of Baire one star functions

We generalise the equivalences from the previous section. In particular, we show that Theorem 2.3 goes through if we replace ‘usco’ by ‘bounded Baire $1^{*}$ ’.

First of all, we have the following theorem establishing a decomposition theorem for Baire $1^{*}$ functions.

Theorem 2.11 ( ${\textsf {ACA}}_{0}^{\omega }$ ).

For bounded Baire $1^{*}$ $f:[0,1]\rightarrow {\mathbb R}$ , there exists usco $g_{0}:[0,1]\rightarrow {\mathbb R}$ and lsco $g_{1}:[0,1]\rightarrow {\mathbb R}$ such that $f=g_{0}+g_{1}$ on $[0,1]$ .

Proof The proof of [Reference Menkyna60, Lemma 5] goes through with no modification since we assume an upper and lower bound for f.

We study bounded Baire $1^{*}$ functions as otherwise the proof of Theorem 2.11 would need ${\textsf {NCC}}$ and ${\textsf {MCC}}$ from [Reference Normann and Sanders73], which are rather non-trivial fragments of the Axioms of Choice (though provable in $\textsf {Z}_{2}^{\Omega }$ ).

Secondly, the previous decomposition theorem gives rise to the following equivalences, where we only treat some basic cases compared to Theorem 2.3.

Theorem 2.12 ( ${\textsf {ACA}}_{0}^{\omega }$ ).

The following are equivalent.

  1. (a) The Baire category theorem as in ${\textsf {BCT}}_{[0,1]}$ .

  2. (b) For Baire $1^{*}$ $f:[0,1]\rightarrow [0,1]$ , there is $x\in [0,1]$ where f is continuous.

  3. (c) For Baire $1^{*}$ $f:[0,1]\rightarrow [0,1]$ which has an oscillation function ${\textsf {osc}}_{f}:[0,1]\rightarrow {\mathbb R}$ , there is a point $x\in [0,1]$ where f is continuous.

Proof Assume ${\textsf {BCT}}_{[0,1]}$ and note that Theorem 2.3 implies that for usco $g_{0}$ and lsco $g_{1}$ , the sets $C_{g_{0}}$ and $C_{g_{1}}$ are dense, and hence the intersection is non-empty. Theorem 2.11 now implies items (b) and (c).

Now assume item (c) and suppose $(X_{n})_{n\in {\mathbb N}}$ is an increasing sequence of nowhere dense sets such that $[0,1]=\cup _{n\in {\mathbb N}}X_{n}$ . Now consider $h:[0,1]\rightarrow {\mathbb R}$ from ( H ), which is Baire $1^{*}$ as $f_{\upharpoonright X_{n}}$ is continuous for any $n\in {\mathbb N}$ . Item (c) provides a point of continuity, which yields $x\not \in \cup _{n\in {\mathbb N}}X_{n}$ as in the proof of Theorem 2.3, as required.

By contrast, we have the following theorem.

Theorem 2.13 ( ${\textsf {ACA}}_{0}^{\omega }$ ).

For $f:[0,1]\rightarrow [0,1]$ in Baire $1^{*}$ and Baire 1, $C_{f}\ne \emptyset $ .

Proof The decomposition $f=g_{0}+g_{1}$ from Theorem 2.11 is provided by the proof of [Reference Menkyna60, Lemma 5]. By the latter, a Baire 1 representation of f also provides a Baire 1 representation of $g_{0}$ and $g_{1}$ . Now apply Theorem 2.7 to conclude that $C_{g_{0}}$ and $C_{g_{1}}$ are non-empty (and dense). Then $C_{g_{0}}\cap C_{g_{1}}\ne \emptyset $ , and we are done.

Finally, we mention a class between the continuous and the Baire $1^{*}$ functions, namely the Baire 1 $^{**}$ functions introduced in [Reference Pawlak82]. Trivially, Baire $1^{**}$ functions have a point of continuity, i.e., we cannot obtain equivalences as in Theorem 2.12.

2.4 The uniform boundedness principle

In this section, we connect the Baire category theorem and the uniform boundedness principle from [Reference Broughan16].

First of all, the uniform boundedness principle can be obtained by applying the Baire category theorem to the pointwise boundedness (see Definition 2.14) condition in the former, as done in the second-order proof [Reference Simpson93, II.10.8]. One readily observes that this application of the Baire category theorem does not require continuity, but in fact immediately generalises to lsco functions, as has been established in, e.g., [Reference Broughan16, Reference Kosiński, Martel and Ransford51, Reference Nguyen and Nguyen69]. Moreover, by [Reference Broughan16, Theorem 1], one can characterise meagreness in terms of the uniform bounded principle for lsco functions. In this light, the RM-study of the uniform boundedness principle for lsco functions from [Reference Broughan16] is only natural.

Secondly, we need the following definitions to formulate Theorem 2.15.

Definition 2.14. A sequence of functions $(f_{n})_{n\in {\mathbb N}}$ is

  • (pointwise) bounded on X if $(\forall x\in X)(\exists N\in {\mathbb N})(\forall n\in {\mathbb N})(f_{n}(x)\leq N )$ ,

  • uniformly bounded on X if $(\exists M\in {\mathbb N})(\forall x\in X, m\in {\mathbb N})(f_{m}(x)\leq M )$ .

Theorem 2.15 ( ${\textsf {ACA}}_{0}^{\omega }$ ).

The following are equivalent.

  1. (a) The Baire category theorem as in ${\textsf {BCT}}_{[0,1]}$ .

  2. (b) (Uniform boundedness principle [Reference Broughan16]) A sequence of lsco functions that is pointwise bounded on $[0,1]$ , is uniformly bounded on some $(c, d)\subset [0,1]$ .

Proof Assume ${\textsf {BCT}}_{[0,1]}$ and let $(f_{n})_{n\in {\mathbb N}}$ be a sequence of lsco functions that is pointwise bounded on $[0,1]$ . By definition, the set $E_{n,N}:=\{x\in [0,1]: f_{n}(x)\leq N\}$ is closed, and so is $F_{N}:=\cap _{n\in {\mathbb N}}E_{n, N}$ . By pointwise boundedness, we have $[0,1]=\cup _{N\in {\mathbb N}}F_{N}$ and ${\textsf {BCT}}_{[0,1]}$ implies there is $N_{0}\in {\mathbb N}$ such that $(c, d)\subset F_{N_{0}}$ for some $c, d\in [0,1]$ . This interval is as required for uniform boundedness in item (b).

For the reversal, assume item (b) and define $\hat {h}:[0,1]\rightarrow {\mathbb R}$ as follows:

(2.9) $$ \begin{align} \hat{h}(x):= \begin{cases} 0, & x\not\in \cup_{n\in {\mathbb N}}X_{n},\\ n, & x\in X_{n} \text{ and } n\in {\mathbb N} \text{ is the least such number,} \end{cases} \end{align} $$

where $(X_{n})_{n\in {\mathbb N}}$ is an increasing sequence of closed sets such that $[0,1]=\cup _{n\in {\mathbb N}}X_{n}$ . Now define $\hat {h}_{n}:[0,1]\rightarrow {\mathbb R}$ as follows: $\hat {h}_{n}(x):=\hat {h}(x)$ in case $\hat {h}(x)<n$ , and $\hat {h}_{n}(x):=n$ otherwise. One readily verifies that the functions $\hat {h}, \hat {h}_{n}$ are lsco using the definition. Now, $(\hat {h}_{n})_{n\in {\mathbb N}}$ is pointwise bounded on $[0,1]$ , as $(\forall x\in X)(\forall n\in {\mathbb N})(\hat {h}_{n}(x)\leq \hat {h}(x) )$ by definition. Apply item (b) to find $(c, d)\subset [0,1]$ where $(\hat {h}_{n})_{n\in {\mathbb N}}$ is uniformly bounded, i.e., $(\exists M\in {\mathbb N})(\forall m\in {\mathbb N}, x\in (c, d))(\hat {h}_{m}(x)\leq M )$ . Taking $m=M+1$ , we note that $(c, d)\subset X_{M}$ , as required for ${\textsf {BCT}}_{[0,1]}$ .

Next, basic properties of metric spaces imply ${\textsf {NIN}}$ in light of [Reference Normann and Sanders76, Section 3.2.3]. These results are based on the observation that an injection from $[0,1]\rightarrow {\mathbb N}$ gives rise to a ‘strange’ metric on $[0,1]$ . We have not been able to obtain similarly ‘strange’ norms on basic vector spaces. Without such a norm, it seems we cannot obtain an equivalence between ${\textsf {BCT}}_{[0,1]}$ and associated theorems about Banach spaces.

Finally, the following theorem is often proved using the Baire category theorem:

for continuous $f:[0, +\infty )\rightarrow {\mathbb R}$ such that $\lim _{n\rightarrow \infty }f(nx)=0$ for all $x\in [0, +\infty )$ , we have $\lim _{x\rightarrow +\infty }f(x)=0$ .

Like the uniform boundedness principle, the centred statement generalises to lsco functions, which is an interesting exercise for the reader.

2.5 Continuity properties of cliquish functions

We establish equivalences between ${\textsf {BCT}}_{[0,1]}$ and basic theorems about cliquish and simply continuous functions (Theorems 2.16 and 2.18), which makes these basic theorems unprovable in ${\textsf {Z}}_{2}^{\omega }$ . By contrast, the associated theorems for quasi-continuous functions are provable in ${\textsf {ACA}}_{0}^{\omega }$ (Theorem 2.19). We discuss the intimate connection between cliquishness, simple continuity, and quasi-continuity in Remark 2.20.

First of all, we have the following results involving continuity where we note that item (e) deals with any function that is totally discontinuous. We also note that item (b) expresses the non-trivial part of the equivalence between ‘cliquish’ and ‘pointwise discontinuous’ on the reals, which was already observed by Dini [Reference Dini25, Section 63] and is discussed in detail in Remark 2.20.

Theorem 2.16 ( ${\textsf {ACA}}_{0}^{\omega }$ ).

The following are equivalent.

  1. (a) The Baire category theorem as in ${\textsf {BCT}}_{[0,1]}$ .

  2. (b) For cliquish $f:[0,1]\rightarrow {\mathbb R}$ which has an oscillation function ${\textsf {osc}}_{f}:[0,1]\rightarrow {\mathbb R}$ , there is a point $x\in [0,1]$ where f is continuous.

  3. (c) For cliquish $f:[0,1]\rightarrow {\mathbb R}$ which has an oscillation function ${\textsf {osc}}_{f}:[0,1]\rightarrow {\mathbb R}$ , there is a point $x\in [0,1]$ where f is lqco.

  4. (d) For cliquish and uqco $f:[0,1]\rightarrow {\mathbb R}$ which has an oscillation function ${\textsf {osc}}_{f}:[0,1]\rightarrow {\mathbb R}$ , there is a point $x\in [0,1]$ where f is continuous.

  5. (e) For totally discontinuous $f:[0,1]\rightarrow {\mathbb R}$ with oscillation function ${\textsf {osc}}_{f}:[0, 1]\rightarrow {\mathbb R}$ , there is $N\in {\mathbb N}$ and $c, d\in [0,1]$ with ${\textsf {osc}}_{f}(x)\geq \frac {1}{2^{N}}$ for $x\in (c, d)$ .

Proof First of all, assume item (b) and fix a decreasing sequence of dense open sets $(O_{n})_{n\in {\mathbb N}}$ . Define the nowhere dense closed set $X_{n}:= [0,1]\setminus O_{n}$ and consider $h:[0,1]\rightarrow {\mathbb R}$ as in ( H ). Following Theorem 1.18, item (b) yields a point of continuity $y\in [0,1]$ of h. If $\frac {1}{2^{m_{0}+1}}=h(y)>0$ , then by definition $y\in X_{m_{0}}$ where $m_{0}\in {\mathbb N}$ is the least such number. Since h is continuous at y, there is $N\in {\mathbb N}$ such that $z\in B(y, \frac {1}{2^{N}})$ implies $|h(z)-h(y)|<\frac {1}{2^{m_{0}+2}}$ . However, $O_{m_{0}+4}$ is dense in $[0,1]$ , implying there is $z_{0}\in B(y, \frac {1}{2^{N}})\cap O_{m_{0}+3}$ . Since $h(z_{0})\leq \frac {1}{2^{m_{0}+5}}$ , we obtain a contradiction. Hence, we must have $h(y)=0$ and the latter implies $y\in \cap _{n\in {\mathbb N}}O_{n}$ by definition, as required for ${\textsf {BCT}}_{[0,1]}$ . As h from ( H ) is usco by Theorem 1.18, item (d) also applies. For item (c), one uses the proof of Theorem 2.5.

Secondly, assume ${\textsf {BCT}}_{[0,1]}$ and define $D_{m}:= \{ x\in [0,1]:{\textsf {osc}}_{f}(x)\geq \frac {1}{2^{m}} \}$ , which is closed by definition (or by Theorem 1.17). Suppose $D_{f}=\cup _{n\in {\mathbb N}}D_{n}$ equals $[0,1]$ . By ${\textsf {BCT}}_{[0,1]}$ , there is $n_{0}\in {\mathbb N}$ such that $D_{n_{0}}$ is not nowhere dense, i.e., there is $[a, b]\subset D_{n_{0}} $ . Now fix $x_{0}\in [0,1]$ , $\varepsilon _{0}:=\frac {1}{2^{n_{0}+1}}$ , and $N_{0}\in {\mathbb N}$ such that $B(x_{0},\frac {1}{2^{N_{0}}})\subset (a, b)$ . Since f is cliquish, there is an interval $(c, d)\subset B(x_{0},\frac {1}{2^{N_{0}}}) $ such that for all $z, w\in (c, d)$ , we have $|f(z)-f(w)|<\varepsilon _{0}$ . The latter implies that ${\textsf {osc}}_{f}(z)\leq \varepsilon _{0}$ for $z \in (c, d)$ , which, however, contradicts the fact that $z\in (c, d)\subset D_{n_{0}}$ . Hence, $D_{f}$ does not equal $[0,1]$ , as required for item (b).

Fourth, item (d) follows since h from ( H ) is usco by Theorem 1.18.

Fifth, let $f:[0,1]\rightarrow {\mathbb R}$ be as in item (e) and define the closed set $D_{k}:=\{ x\in [0,1]: {\textsf {osc}}_{f}(x)\geq \frac {1}{2^{k}}\}$ . By assumption, $[0,1]=\cup _{k\in {\mathbb N}}D_{k}$ and ${\textsf {BCT}}_{[0,1]}$ implies there is $k_{0}\in {\mathbb N}$ and $(c, d)\subset [0,1]$ such that $(c, d)\subset D_{k_{0}}$ , as required. For the reversal, assume item (e) and let $f:[0,1]\rightarrow {\mathbb R}$ be cliquish with oscillation function ${\textsf {osc}}_{f}:[0,1]\rightarrow {\mathbb R}$ . In case $C_{f}\ne \emptyset $ , we are done in light of item (b). In case $C_{f}=\emptyset $ , f is totally discontinuous and we can apply item (e). Let $N_{0}\in {\mathbb N}$ and $c, d\in [0,1]$ be such that ${\textsf {osc}}_{f}(x)\geq \frac {1}{2^{N_{0}}}$ for $x\in (c, d)$ . Now fix $\varepsilon _{0}>0$ and $x_{0}\in (c, d)$ such that $ \varepsilon _{0}<\frac {1}{2^{N_{0}}}$ and $B(x_{0}, \varepsilon _{0})\subset (c,d)$ ; as f is cliquish, there is an interval $(a, b)\subset B(x_{0}, \varepsilon _{0})$ such that for all $x, y\in (a, b)$ , we have $|f(x)-f(y)|<\varepsilon _{0}$ . However, this implies that ${\textsf {osc}}_{f}(z)\leq \frac {1}{2^{N_{0}}}$ for $z\in (a, b)$ , contradicting ${\textsf {osc}}_{f}(z)>\frac {1}{2^{N_{0}}}$ by $z\in (a, b)\subset (c, d)$ .

Secondly, the next theorem is motivated by the supremum principle for cliquish functions; this principle implies ${\textsf {NIN}}_{[0,1]}$ by [Reference Normann and Sanders79, Theorem 2.32] and states the existence of $F:{\mathbb Q}^{2}\rightarrow {\mathbb R}$ such that $F(p, q)=\sup _{x\in [p,q]}f(x)$ for $p, q\in [0,1]\cap {\mathbb Q}$ . Perhaps surprisingly, the above equivalences for ${\textsf {BCT}}_{[0,1}$ still go through if we restrict to cliquish functions that have a supremum functional.

Theorem 2.17 ( ${\textsf {ACA}}_{0}^{\omega }+{\textsf {QF-AC}}^{0,1}$ ).

The following are equivalent.

  1. (a) The Baire category theorem as in ${\textsf {BCT}}_{[0,1]}$ .

  2. (b) For cliquish $f:[0,1]\rightarrow {\mathbb R}$ with a supremum functional and oscillation functional, there is $x\in [0,1]$ where f is continuous.

Proof The first item implies the second item by Theorem 2.16. Now assume the second item and let $(X_{n})_{n\in {\mathbb N}}$ be an increasing sequence of closed nowhere dense sets such that $[0,1]=\cup _{n\in {\mathbb N}}X_{n}$ . Define $Z(x)$ as the least $n\in {\mathbb N}$ such that $x\in X_{n}$ and $e(x):= \sum _{n=0}^{Z(x)+1}\frac {x^{n}}{n!} $ , implying $e(x)<e^{x}$ for $x\in [0,1]$ and $\sup _{x\in [p,q]}e(x)=e^{q}$ by definition. To show that $\lambda x.e(x)$ is cliquish, fix $x_{0}\in [0,1]$ and consider

$$\begin{align*}|e(y)-e(z)|\leq |e(y)-e^{y}|+|e^{y}-e^{z}|+|e(z)-e^{z}|, \end{align*}$$

to which the usual ‘epsilon over three’ trick applies as follows: the middle term can be made arbitrarily small thanks to the uniform continuity of $\lambda x.e^{x}$ on $[0,1]$ . The other two terms can be made arbitrarily small by picking large enough $k\in {\mathbb N}$ and picking $x_{1}\in O_{k}:=[0,1]\setminus X_{k}$ close enough to $x_{0}$ (using the density of the sets $O_{n}$ ). Indeed, $B(x_{1}, \frac {1}{2^{N_{0}}})\subset O_{k}$ for some $N_{0}\in {\mathbb N}$ , implying that $Y(w)\geq k$ for w in the former ball, i.e., $e(w)$ approaches $e^{w}$ as k grows. Since $\lambda x.e(x)$ is totally discontinuous, item (b) yields a contradiction. Hence, there must be $y\not \in \cup _{n\in {\mathbb N}}X_{n}$ as required for ${\textsf {BCT}}_{[0,1]}$ , and we are done.

Thirdly, as discussed in Remark 2.20, the sico functions yields a class between the quasi-continuous and cliquish ones. As it happens, we can restrict to sico functions in Theorem 2.16 if we deal with sequentially Footnote 10 sico functions. This restriction is interesting as, e.g., Thomae’s function from ( T ) is cliquish but not sico.

Theorem 2.18 ( ${\textsf {ACA}}_{0}^{\omega }+{\textsf {QF-AC}}^{0,1}$ ).

The following are equivalent.

  1. (a) The Baire category theorem as in ${\textsf {BCT}}_{[0,1]}$ .

  2. (b) For sequentially sico $f:[0,1]\rightarrow {\mathbb R}$ , there is $x\in [0,1]$ where f is continuous.

Proof First of all, sico functions are cliquish (say in ${\textsf {ZFC}}$ ) while the proof of [Reference Neubrunnová67, Theorem 2.1] immediately establishes that sequentially sico functions are cliquish, working over ${\textsf {ACA}}_{0}^{\omega }+{\textsf {BCT}}_{[0,1]}$ . Hence, item (b) immediately follows from ${\textsf {BCT}}_{[0,1]}$ via Theorem 2.16.

Secondly, let $(X_{n})_{n\in {\mathbb N}}$ be an increasing sequence of closed and nowhere dense sets such that $[0,1]=\cup _{n\in {\mathbb N}}X_{n}$ and consider $h:[0,1]\rightarrow {\mathbb R}$ as in ( H ). Fix $G\subset {\mathbb R}$ and consider the following two cases which show that h is (sequentially) sico.

  • In case $(\forall n\in {\mathbb N})(\exists m> n)( \frac {1}{2^{m+1}}\in G)$ , we have $h^{-1}(G)=\cup _{n\in {\mathbb N}}X_{n}=[0,1]$ .

  • In case $n_{0}\in {\mathbb N}$ is the least n with $(\forall m> n)( \frac {1}{2^{m+1}}\not \in G)$ , then $h^{-1}(G)= X_{n_{0}}$ .

Note that $\mu ^{2}$ can find the number $n_{0}$ from the second item and decide which case holds, i.e., h is also sequentially sico. Following Theorem 1.16, item (b) now provides a point of continuity for h, and ${\textsf {BCT}}_{[0,1]}$ readily follows.

Following [Reference Neubrunnová67, Section 3], it seems that Theorem 2.18 can be generalised to pseudo-continuity, a notion equivalent to cliquishness where the inverse image of open sets is the union of an open and a meagre set.

Fourth, while quasi-continuous functions can be quite ‘wild’ in light of Remark 2.20, their basic properties are readily obtained in relatively weak systems by Theorem 2.19. Comparing to Theorem 2.16, the latter result is all the more surprising since ‘cliquish’ is quite close to ‘quasi-continuous’, the former essentially being the closure of the latter under sums, as also discussed in Remark 2.20.

Theorem 2.19 ( ${\textsf {ACA}}_{0}^{\omega }$ ).

For quasi-continuous $f:[0,1]\rightarrow {\mathbb R}$ , we have:

  • The set $C_{f}$ exists and is dense.

  • There is a sequence $(D_{n})_{n\in {\mathbb N}}$ of R2-closed nowhere dense sets with $D_{f}=\cup _{n\in {\mathbb N}}D_{n}$ .

  • The oscillation function ${\textsf {osc}}_{f}:[0,1]\rightarrow {\mathbb R}$ exists.

Proof Fix quasi-continuous $f:[0,1]\rightarrow {\mathbb R}$ and use $\exists ^{2}$ to define $x\in O_{m}$ in case

(2.10) $$ \begin{align}\textstyle (\exists N\in {\mathbb N})(\forall q, r\in B(x, \frac{1}{2^{N}})\cap {\mathbb Q})( |f(q)-f(r)|\leq \frac{1}{2^{m}} ). \end{align} $$

By quasi-continuity, the formula (2.10) is equivalent to

(2.11) $$ \begin{align}\textstyle (\exists M\in {\mathbb N})(\forall w, z\in B(x, \frac{1}{2^{M}}))( |f(w)-f(z)|\leq \frac{1}{2^{m}} ), \end{align} $$

which immediately implies that $O_{m}$ is open. Apply $\mu ^{2}$ to (2.10) to obtain an R2-representation of $O_{m}$ . Now define $D_{m}:= [0,1]\setminus O_{m}$ and note that $D_{f}:=\cup _{m\in {\mathbb N}}D_{m}$ contains all points where f is discontinuous (essentially by definition). By [Reference Normann and Sanders71, Theorem 7.10], ${\textsf {ACA}}_{0}^{\omega }$ proves ${\textsf {BCT}}_{[0,1]}$ for R2-open sets, i.e., the first and second items now follow. Finally, by [Reference Normann and Sanders79, Theorem 2.9], the supremum and infimum of f exist (uniformly on any interval) given $\exists ^{2}$ . Hence, the oscillation function as in the third item is readily defined, where we note that $D_{m}$ is by definition $\{x\in [0,1]:{\textsf {osc}}_{f}(x)\geq \frac {1}{2^{m}}\}$ , i.e., the usual definition.

Finally, we discuss general properties of quasi-continuous and cliquish functions.

Remark 2.20. First of all, the class of cliquish functions on ${\mathbb R}$ has nice technical and conceptual properties, as witnessed by the following list.

Secondly, quasi-continuous functions can be quite ‘wild’: if $\mathfrak {c}$ is the cardinality of ${\mathbb R}$ , there are $2^{\mathfrak {c}}$ non-measurable quasi-continuous $[0,1]\rightarrow {\mathbb R}$ -functions and $2^{\mathfrak {c}}$ measurable non-Borel quasi-continuous $[0,1]\rightarrow [0,1]$ -functions (see [Reference Holá41]). Also, the class of quasi-continuous functions is closed under taking transfinite limits [Reference Neubrunnová68].

2.6 Continuity properties of Baire one functions

We establish equivalences between ${\textsf {BCT}}_{[0,1]}$ and basic theorems about Baire 1 functions (Theorem 2.23), which makes the latter unprovable in ${\textsf {Z}}_{2}^{\omega }$ . By Theorem 2.7, basic theorems about Baire 1 functions are provable in weak systems, explaining why we need equivalent definitions of Baire 1 as in Definition 2.21.

First of all, there are a surprisingly large number of rather diverse equivalent definitions of ‘Baire 1’ on the reals [Reference Baire6, Reference Koumoullis53, Reference Lee, Tang and Zhao57], including the following ones by [Reference Koumoullis53, Theorem 2.3] and [Reference Kuratowski54, Section 34, VII].

Definition 2.21. For a function $f:[0,1]\rightarrow {\mathbb R}$ , we say that:

  • f is fragmented if for any $\varepsilon>0$ and closed $C\subset [0,1]$ , there is non-empty relativelyFootnote 11 open $O\subset C$ such that ${\textsf {diam}}(f(O))<\varepsilon $ .

  • f is B-measurable of class 1 if for every open $Y\subset {\mathbb R}$ , the set $f^{-1}(Y)$ is $\mathbf {F}_{\sigma }$ , i.e., a union over ${\mathbb N}$ of closed sets.

The diameter of a set X of reals is defined as usual, namely ${\textsf {diam}}(X):=\sup _{x, y \in X}|x-y|$ , where the latter supremum need not exist for Definition 2.21.

Secondly, fragments of the induction axiom are sometimes used in an essential way in second-order RM (see, e.g., [Reference Neeman64]). An important role of induction is to provide ‘finite comprehension’ (see [Reference Simpson93, X.4.4]). We shall need the following fragment of finite comprehension for Theorem 2.23 and in Section 3.

Principle 2.22 ( ${\textsf {IND}}_{{\mathbb R}}$ ).

For $F:({\mathbb R}\times {\mathbb N})\rightarrow {\mathbb N}, k\in {\mathbb N}$ , there is $X\subset {\mathbb N}$ such that

$$\begin{align*}(\forall n\leq k)\big[ (\exists x\in {\mathbb R})(F(x, n)=0)\leftrightarrow n\in X\big]. \end{align*}$$

Thirdly, we have the following results for Baire 1 functions as in Definition 2.21.

Theorem 2.23 ( ${\textsf {ACA}}_{0}^{\omega }+{\textsf {IND}}_{{\mathbb R}}$ ).

The following are equivalent.

  1. (a) The Baire category theorem as in ${\textsf {BCT}}_{[0,1]}$ .

  2. (b) For fragmented $f:[0,1]\rightarrow {\mathbb R}$ which has an oscillation function ${\textsf {osc}}_{f}:[0,1]\rightarrow {\mathbb R}$ , there is a point $x\in [0,1]$ where f is continuous.

  3. (c) For B-measurable of class 1 and cliquish $f:[0,1]\rightarrow {\mathbb R}$ which has an oscillation function ${\textsf {osc}}_{f}:[0,1]\rightarrow {\mathbb R}$ , there is $x\in [0,1]$ where f is continuous.

Proof First of all, we show that fragmented functions are cliquish (in ${\textsf {ACA}}_{0}^{\omega }$ ); Theorem 2.16 then establishes the implication from ${\textsf {BCT}}_{[0,1]}$ to item (b). Let $f:[0,1]\rightarrow {\mathbb R}$ be fragmented and fix $\varepsilon>0$ , $N\in {\mathbb N}$ , and $x\in [0,1]$ . For closed $C:=[x_{0}-\frac {1}{2^{N_{0}}}, x_{0}+\frac {1}{2^{N_{0}}}]$ , there is a relatively open $O\subset C$ with ${\textsf {diam}}(f(O))<\varepsilon $ . Since C is a closed interval, the relative openness of O implies that there are $a, b\in {\mathbb R}$ with $(a, b)\subset O$ . Since ${\textsf {diam}}(f(O))<\varepsilon $ , we have $|f(x)-f(y)|<\varepsilon $ for $x, y\in (a, b)\subset B(x, \frac {1}{2^{N_{0}}})$ , i.e., f is cliquish.

Secondly, we show that item (b) implies ${\textsf {BCT}}_{[0,1]}$ . To this end, let $(X_{n})_{n\in {\mathbb N}}$ be an increasing sequence of closed nowhere dense sets in $[0,1]$ such that $[0,1]=\cup _{n\in {\mathbb N}}X_{n}$ . We now show that $h:[0,1]\rightarrow {\mathbb R}$ from ( H ) is fragmented. Fix $\varepsilon>0$ and closed $C\subset [0,1]$ and consider the following case distinction.

  • In case $C\subset X_{0}$ , put $O:= C$ and note that O is relatively open (in C). Moreover, $f(x)=\frac {1}{2}$ for $x\in O\subset X_{0}$ , i.e., Definition 2.21 is trivially satisfied.

  • In case $C\subset \cup _{k\leq k_{0}} X_{k}$ for (minimal) $k_{0}>0$ , put $O:= C\cap O_{k_{0}-1}$ where $O_{k}:=[0,1]\setminus X_{k}$ . Since $O_{k_{0}-1}$ is open, O is relatively open (in C). Similar to the previous item, $f(x)=\frac {1}{2^{k_{0}}}$ for $x\in O$ , i.e., Definition 2.21 is again trivially satisfied.

  • For the remaining case, since $C\cap X_{k}\ne \emptyset $ for any $k\in {\mathbb N}$ , choose $k_{0}\in {\mathbb N}\setminus \{0\}$ with $\frac {1}{2^{k_{0}}}<\varepsilon $ and define $O:= C\cap O_{k_{0}-1}$ . Similar to the previous item, $O_{k_{0}-1}$ is open and O is relatively open (in C). By assumption, $f(x)< \frac {1}{2^{k_{0}}}$ for $x\in O\subset [0,1]\setminus X_{k_{0}}$ . Hence, ${\textsf {diam}}(f(O))\leq \frac {1}{2^{k_{0}}}<\varepsilon $ , as required.

Hence h from ( H ) is fragmented, while the second item seems to need ${\textsf {IND}}_{{\mathbb R}}$ to guarantee that $k_{0}$ is minimal. We also obtain an oscillation function by Theorem 1.16, i.e., we may apply item (b) to show that h is continuous at some $x_{0}\in [0,1]$ . As in the proof of Theorem 2.16, we obtain ${\textsf {BCT}}_{[0,1]}$ , and we are done.

Thirdly, item (c) implies ${\textsf {BCT}}_{[0,1]}$ as follows: let $(X_{n})_{n\in {\mathbb N}}$ be an increasing sequence of closed nowhere dense sets in $[0,1]$ such that $[0,1]=\cup _{n\in {\mathbb N}}X_{n}$ . Now consider h from ( H ) and note that for any $G\subset {\mathbb R}$ , $h^{-1}(G)$ is the union of all $X_{n}$ such that $\frac {1}{2^{n+1}}\in G$ , i.e., $\mathbf {F}_{\sigma }$ by definition. Together with Theorem 1.18, we observe that item (c) applies to h; as in the proof of Theorem 2.16, we obtain ${\textsf {BCT}}_{[0,1]}$ . The other direction is immediate by Theorem 2.16.

Corollary 2.24 ( ${\textsf {ACA}}_{0}^{\omega }$ ).

The following statement

$$\begin{align*} \textit{any fragmented function}\ f:[0,1]\rightarrow {\mathbb R}\ \textit{is Baire 1}\end{align*}$$

implies ${\textsf {BCT}}_{[0,1]}$ and the statement $\textsf {open}$ from Corollary 2.8.

Proof The first part is immediate from Theorem 2.10 and the theorem. For the second part, one readily shows that for closed $C\subset [0,1]$ , the function $\mathbb {1}_{C}$ is fragmented. As in the proof of Corollary 2.8, one obtains an RM-code for C.

Finally, we have not been able to obtain similar results for other equivalent definitions of Baire 1 functions on the reals.

2.7 On Volterra’s early work

In this section, we connect the Baire category theorem and Volterra’s early work as sketched in Section 1.2, including a version of Blumberg’s theorem. As a result, Volterra’s theorem and corollary cannot be proved in ${\textsf {Z}}_{2}^{\omega }$ , while the restrictions to quasi-continuous functions are provable in ${\textsf {ACA}}_{0}^{\omega }$ by Theorem 2.26.

First of all, we have the following theorem, where we recall that ‘cliquish’ and ‘pointwise discontinuous’ are equivalent on the reals (see Remark 2.20). However, in light of Theorem 2.16, this equivalence cannot be proved in $\textsf {Z}_{2}^{\omega }$ .

As in the previous sections, we observe a certain robustness for our results: we could replace ‘usco’ by any notion between the latter and cliquishness.

Theorem 2.25 ( ${\textsf {ACA}}_{0}^{\omega }$ ).

The following are equivalent.

  1. (a) The Baire category theorem ${\textsf {BCT}}_{[0,1]}$ .

  2. (b) Volterra’s theorem: there do not exist two pointwise discontinuous $f, g:[0,1]\rightarrow {\mathbb R}$ with associated oscillation functions for which the continuity points of one are the discontinuity points of the other, and vice versa.

  3. (c) Volterra’s theorem for ‘pointwise discontinuous’ replaced by ‘cliquish’.

  4. (d) Volterra’s theorem for ‘pointwise discontinuous’ replaced by ‘usco’.

  5. (e) Volterra’s corollary: there is no function with an oscillation function that is continuous on ${\mathbb Q}\cap [0,1]$ and discontinuous on $[0,1]\setminus {\mathbb Q}$ .

  6. (f) Volterra’s corollary restricted to usco functions.

  7. (g) Generalised Volterra’s corollary (Theorem 1.4) for usco functions and enumerable D (or: countable D, or: strongly countable D).

  8. (h) Blumberg’s theorem [Reference Blumberg12] restricted to usco (or cliquish with an oscillation function) functions on $[0,1]$ .

The equivalences remain correct if we replace ‘usco’ by ‘Baire $1^{*}$ ’.

Proof First of all, to prove item (d) using ${\textsf {BCT}}_{[0,1]}$ , suppose $f, g:[0,1]\rightarrow {\mathbb R}$ are usco and such that $C_{f}=D_{g}$ and $C_{g}=D_{f}$ , noting that these sets exist by Theorem 2.4. Now consider the (closed and nowhere dense) sets $F_{q}$ from the proof of Theorem 2.3 and let $H_{q}$ be the associated (closed and nowhere dense) sets for g. Since $D_{f}\subset \cup _{q\in {\mathbb Q}}F_{q}$ and $D_{g}\subset \cup _{q\in {\mathbb Q}}H_{q} $ , we have $ [0,1]=C_{f}\cup D_{f}=D_{g}\cup D_{f}=\cup _{q\in {\mathbb Q}}(F_{q}\cup H_{q})$ , which contradicts ${\textsf {BCT}}_{[0,1]}$ .

A similar proof goes through for item (c), namely by defining $D_{k}^{f}:= \{x\in [0,1]: {\textsf {osc}}_{f}(x)\geq \frac {1}{2^{k}}\}$ and noting that $[0,1]=\cup _{n\in {\mathbb N}}(D_{n}^{f}\cup D_{n}^{g}) $ where the latter sets are nowhere dense as in the proof of Theorem 2.16. Items (e) and (f) follow from items (c) and (d) as Thomae’s function from ( T ) is continuous on the irrationals and discontinuous on ${\mathbb Q}$ ; this function is also usco and cliquish. By definition, pointwise discontinuous functions are cliquish, i.e., item (b) also follows.

Secondly, we now derive ${\textsf {BCT}}_{[0,1]}$ from Volterra’s corollary as in item (e) or (f). To this end, let $(X_{n})_{n\in {\mathbb N}}$ be a sequence of closed nowhere dense sets such that $[0,1]\setminus {\mathbb Q}=\cup _{n\in {\mathbb N}}X_{n}$ . Now consider $h:[0,1]\rightarrow {\mathbb R}$ as in ( H ), which is as required for item (e) or (f) by Theorems 1.16 and 1.18. By Theorem 1.16, h is also continuous at any $q\in {\mathbb Q}\cap [0,1]$ (since $h(q)={\textsf {osc}}_{h}(q)=0$ ) and discontinuous at any $y\in [0,1]\setminus {\mathbb Q}$ (since $h(y)={\textsf {osc}}_{h}(y)>0$ ). This contradicts Volterra’s corollary (for usco or cliquish functions), and ${\textsf {BCT}}_{[0,1]}$ follows. The same argument works for item (b) using Thomae’s function and $h:[0,1]\rightarrow {\mathbb R}$ as the latter is pointwise discontinuous, namely continuous at every rational, by assumption.

Thirdly, we only need to show that ${\textsf {BCT}}_{[0,1]}$ implies item (g), as ${\mathbb Q}$ is enumerable and dense. To this end, proceed as in the previous paragraph, replacing ${\mathbb Q}$ by a countable dense set $D\subset [0,1]$ wherever relevant. Note in particular that $D=\cup _{n\in {\mathbb N}} \{x\in D: Y(x)= n\}$ suffices to replace an enumeration of ${\mathbb Q}$ if $Y:[0,1]\rightarrow {\mathbb N}$ is injective on D.

Fourth, ${\textsf {BCT}}_{[0,1]}$ implies items (h) by Theorem 2.3 since $D=C_{f}$ is as required. To prove (h) $\rightarrow {\textsf {BCT}}_{[0,1]}$ , let $(X_{n})_{n\in {\mathbb N}}$ be a sequence of closed and nowhere dense sets in $[0,1]$ and consider $h:[0,1]\rightarrow {\mathbb R}$ from ( H ), which is usco and cliquish by Theorem 1.18. Let D be the dense set provided by item (h) and consider $y\in D$ . In case $h(y)\ne 0$ , say $h(y)\geq \frac {1}{2^{k_{0}}}$ , note that $O_{k_{0}}\cap D$ is dense in $[0,1]$ . Hence, for any $N\in {\mathbb N}$ there is $z\in B(x, \frac {1}{2^{N}})\cap D$ with $h(z)\leq \frac {1}{2^{k_{0}+1}}$ , i.e., $h_{\upharpoonright D}$ is not continuous (on D). This contradiction implies that $h(y)=0$ , meaning $y\in [0,1]\setminus \cup _{n\in {\mathbb N}}X_{n}$ , i.e., ${\textsf {BCT}}_{[0,1]}$ follows. The final sentence is immediate in light of Theorem 2.11.

We could use the notion height countable (see [Reference Normann and Sanders76]) for item (g) of Theorem 2.25, but then we need (at least) extra induction to accommodate finite sets.

Next, we show that Volterra’s theorems from [Reference Volterra101] and related results are readily proved if we restrict to quasi-continuous functions.

Theorem 2.26 ( ${\textsf {ACA}}_{0}^{\omega }$ ).

  1. (a) Volterra’s theorem: there do not exist two quasi-continuous functions defined on the unit interval for which the continuity points of one are the discontinuity points of the other, and vice versa.

  2. (b) Volterra’s corollary: there is no quasi-continuous function that is continuous on ${\mathbb Q}\cap [0,1]$ and discontinuous on $[0,1]\setminus {\mathbb Q}$ .

  3. (c) Generalised Volterra’s corollary (Theorem 1.4) for quasi-continuous functions and enumerable D (or: countable D, or: strongly countable D).

  4. (d) Blumberg’s theorem [Reference Blumberg12] restricted to quasi-continuous functions on $[0,1]$ .

Proof For item (a), for quasi-continuous $f, g:[0,1]\rightarrow {\mathbb R}$ , the sets $D_{f}$ and $D_{g}$ exist and can be expressed as unions $\cup _{n\in {\mathbb N}}D_{n}^{f}$ and $\cup _{m\in {\mathbb N}}D_{m}^{g}$ of R2-closed nowhere dense sets by Theorem 2.19. Hence, in case $C_{f}=D_{g}$ and $C_{g}=D_{f}$ , we have $[0,1]=C_{f}\cup D_{f}=D_{g}\cup D_{f}=\bigcup _{n, m\in {\mathbb N}} D_{n}^{f}\cup D_{m}^{g} $ . However, the Baire category theorem for R2-closed sets is provable in ${\textsf {ACA}}_{0}^{\omega }$ [Reference Normann and Sanders71, Theorem 7.10], a contradiction. The other items are proved in the same way.

In conclusion, we have established equivalences involving ${\textsf {BCT}}_{[0,1]}$ and Volterra’s early work (and related results), rendering the latter unprovable in ${\textsf {Z}}_{2}^{\omega }$ . The latter deal with pointwise discontinuous function, which are exactly the cliquish ones by Remark 2.20. Also by the latter, cliquish functions are closely related to quasi-continuous functions, but Volterra’s results for quasi-continuous functions are readily proved in ${\textsf {ACA}}_{0}^{\omega }$ by Theorem 2.26. In contrast to the close relation between cliquishness and quasi-continuity, there is a great divide, some might say ‘abyss’, between ${\textsf {ACA}}_{0}^{\omega }$ and ${\textsf {Z}}_{2}^{\omega }$ . We have no explanation for this phenomenon at the moment and welcome any suggestions.

3 Tao’s pigeonhole principle for measure spaces

3.1 Introduction

In this section, we establish the equivalences sketched in Section 1.1 for ${\textsf {PHP}}_{[0,1]}$ , i.e., Tao’s pigeonhole principle for measure spaces from [Reference Tao97]. We also study ${\textsf {WBCT}}_{[0,1]}$ , a ‘hybrid’ principle between ${\textsf {PHP}}_{0,1}$ and ${\textsf {BCT}}_{[0,1]}$ which is interesting in its own right, also from a historical point of view.

First of all, it is trivial that ‘measure zero’ implies ‘nowhere dense’. Replacing the latter by the former in ${\textsf {BCT}}_{[0,1]}$ , we obtain the weaker ${\textsf {WBCT}}_{[0,1]}$ (see Principle 3.2 in Section 3.2) and the equivalences from the previous section then go through mutatis mutandis. Nonetheless, this weakening is more than spielerei as ${\textsf {WBCT}}_{[0,1]}$ is connected to Hankel’s 1870 work on Riemann integration [Reference Hankel37]. In a nutshell, Hankel formulates necessary and sufficient conditions for the Riemann integral akin to the Vitali–Lebesgue theorem from Section 1.1. While Hankel’s theorem is correct, the proof is not: he incorrectly tries to reverse the implication that a Riemann integrable function is pointwise discontinuous, leading to Smith’s counterexample based on Cantor sets [Reference Stephen Smith94] and Ascoli’s proof of Hankel’s theorem [Reference Ascoli2]. Equivalences involving ${\textsf {WBCT}}_{[0,1]}$ and Hankel’s results for usco and cliquish functions are studied in Section 3.2, including the fundamental theorem of calculus.

Secondly, ${\textsf {WBCT}}_{[0,1]}$ only replaces ‘nowhere dense’ by ‘measure zero’ in the antecedent; Tao’s pigeonhole principle for measure spaces from [Reference Tao97] ensues if we perform this replacement in the consequent as well. In Section 3.3, we study the RM of the latter principle, called ${\textsf {PHP}}_{[0,1]}$ , obtaining an equivalence to the Vitali–Lebesgue theorem (including restrictions to usco and cliquish functions). As will become clear, the RM of ${\textsf {PHP}}_{[0,1]}$ is rather similar to the RM of ${\textsf {WBCT}}_{[0,1]}$ , which is in turn similar to the RM of ${\textsf {BCT}}_{[0,1]}$ , despite the fundamental differences between measure and category. Finally, the restrictions of the aforementioned theorems to quasi-continuous or Baire 1 functions, are provable in ${\textsf {ACA}}_{0}^{\omega }$ by Theorem 3.7. Recall that quasi-continuity is very close to cliquishness by Remark 2.20.

3.2 Measure-theoretic Baire category theorem

We introduce a ‘measure-theoretic’ version of the Baire category theorem and obtain some equivalences to well-known theorems, including (variations of) the fundamental theorem of calculus and the Vitali–Lebesgue theorem from Section 1.1.

First of all, one part of the Vitali–Lebesgue theorem is readily proved.

Theorem 3.1 ( ${\textsf {ACA}}_{0}^{\omega }+{\textsf {QF-AC}}^{0,1}$ ).

A Riemann integrable $f:[0,1]\rightarrow {\mathbb R}$ is bounded.

Proof Suppose $f:[0,1]\rightarrow {\mathbb R}$ is Riemann integrable and unbounded, i.e., $(\forall n\in {\mathbb N})(\exists x\in [0,1])(|f(x)|>n)$ . Apply ${\textsf {QF-AC}}^{0,1}$ to obtain a sequence $(x_{n})_{n\in {\mathbb N}}$ with $|f(x_{n})|>n$ for $n\in {\mathbb N}$ . By sequential compactness (see [Reference Simpson93, III.2.2]), there is a convergent sub-sequence $(y_{n})_{n\in {\mathbb N}}$ , say with limit $y\in [0,1]$ . In particular, $f(y_{n})$ is arbitrarily large as $y_{n}$ approaches y. Thus, for any Riemann sum $\sum _{i=0}^{k} f(t_{i}) (x_{i+1}-x_{i}) $ , consider the point $t_{j}$ such that $y\in [x_{j}, x_{j+1}]$ and the latter contains infinitely many elements of the sequence $(y_{n})_{n\in {\mathbb N}}$ . Changing this $t_{j}$ to $y_{m}$ for large enough $m\in {\mathbb N}$ , the Riemann sum can be arbitrarily large, a contradiction.

Similarly, ${\textsf {ACA}}_{0}^{\omega }+{\textsf {QF-AC}}^{0,1}$ establishes that a continuous almost everywhere bounded function, is Riemann integrable on the unit interval; the proof of [Reference Brown17, Lemma] is readily formalised, as it is based (only) on Riemann sums, i.e., avoiding the Darboux integral and Lebesgue measure. Alternative proofs surely exist in the modern literature, noting that [Reference Brown17] is almost 100 years old. As an aside, the Darboux integral is not directly available as the supremum principle for Riemann integrable functions is hardFootnote 12 to prove by the results in [Reference Normann and Sanders79, Section 2.8].

Secondly, let ${\textsf {WBCT}}_{[0,1]}$ be the restriction of ${\textsf {BCT}}_{[0,1]}$ to measure one sets.

Principle 3.2 ( ${\textsf {WBCT}}_{[0,1]}$ ).

If $ (O_n)_{n \in {\mathbb N}}$ is a decreasing sequence of measure one open sets of reals in $[0,1]$ , then $ \bigcap _{n \in {\mathbb N} } O_n$ is non-empty.

Recall that, like in second-order RM, statements like ‘ $E\subset [0,1]$ has measure $0$ ’ can be made without introducing the Lebesgue measure (see Definition 1.8). The RM of ${\textsf {WBCT}}_{[0,1]}$ seems to require the principle ${\textsf {IND}}_{{\mathbb R}}$ introduced in Section 2.6.

Thirdly, we have the following theorem where we note that Hankel studies Riemann integration using oscillation functions in [Reference Hankel37]. We also invite the reader to compare item (d) to the main topic of [Reference Kanovei and Katz45], which we discuss further in Section 4.2.

Theorem 3.3 ( ${\textsf {ACA}}_{0}^{\omega }+{\textsf {IND}}_{{\mathbb R}}+{\textsf {QF-AC}}^{0,1}$ ).

The following are equivalent.

  1. (a) The weak Baire category theorem ${\textsf {WBCT}}_{[0,1]}$ .

  2. (b) (Hankel [Reference Hankel37] and Dini [Reference Dini25, §188]) For Riemann integrable $f:[0,1]\rightarrow {\mathbb R}$ with an oscillation function, the set $C_{f}\ne \emptyset $ (or: is dense).

  3. (c) For Riemann integrable usco $f:[0,1]\rightarrow {\mathbb R}$ , the set $C_{f}\ne \emptyset $ (or: is dense).

  4. (d) For Riemann integrable $f:[0,1]\rightarrow {\mathbb R}$ with an oscillation function and $\int _{0}^{1}f(x)dx=0$ , there is $x\in [0,1]$ with $f(x)=0$ (Bourbaki [Reference Bourbaki15, p. 61]).

  5. (e) For Riemann integrable usco $f:[0,1]\rightarrow [0,1]$ with $\int _{0}^{1}f(x)dx=0$ , there is $x\in [0,1]$ with $f(x)=0$ (Bourbaki [Reference Bourbaki15, p. 61]).

  6. (f) $\textsf {(FTC)}$ For Riemann integrable $f:[0,1]\rightarrow {\mathbb R}$ with an oscillation function and $F(x):=\lambda x.\int _{0}^{x}f(t)dt$ , there is $x_{0}\in (0,1)$ where $F(x)$ is differentiable with derivative $f(x_{0})$ .

  7. (g) $\textsf {(FTC)}$ For Riemann integrable usco $f:[0,1]\rightarrow {\mathbb R}$ with $F(x):=\lambda x.\int _{0}^{x}f(t)dt$ , there is $x_{0}\in (0,1)$ where $F(x)$ is differentiable with derivative $f(x_{0})$ .

  8. (h) For Riemann integrable usco $f:[0,1]\rightarrow {\mathbb R}^{+}$ , there are $a, b\in [0,1]$ with $0<\inf _{x\in [a,b]}f(x)$ .

  9. (i) For Riemann integrable $f:[0,1]\rightarrow {\mathbb R}^{+}$ with an oscillation function, there are $a, b\in [0,1]$ with $0<\inf _{x\in [a,b]}f(x)$ .

  10. (j) For totally discontinuous $f:[0,1]\rightarrow {\mathbb R}$ with oscillation function ${\textsf {osc}}_{f}:[0, 1]\rightarrow {\mathbb R}$ , there is $N\in {\mathbb N}$ and $E\subset [0,1]$ of positive measure with ${\textsf {osc}}_{f}(x)\geq \frac {1}{2^{N}}$ for $x\in E$ .

  11. (k) Volterra’s theorem: there do not exist two Riemann integrable $f, g:[0,1]\rightarrow {\mathbb R}$ with associated oscillation functions for which the continuity points of one are the discontinuity points of the other, and vice versa.

  12. (l) Volterra’s corollary: there is no Riemann integrable function with an oscillation function that is continuous on ${\mathbb Q}\cap [0,1]$ and discontinuous on $[0,1]\setminus {\mathbb Q}$ .

We can replace ‘usco’ by ‘cliquish with an oscillation function’ in the above. We can restrict to pointwise discontinuous functions in items (k)-(l).

Proof First of all, assume ${\textsf {WBCT}}_{[0,1]}$ and let $f:[0,1]\rightarrow {\mathbb R}$ be Riemann integrable with oscillation function ${\textsf {osc}}_{f}:[0,1]\rightarrow {\mathbb R}$ . Suppose $[0,1]=D_{f}=\cup _{k\in {\mathbb N}}D_{k}$ where $D_{k}:=\{x\in [0,1]:{\textsf {osc}}_{f}(x)\geq \frac {1}{2^{k}} \}$ , which is closed since any oscillation function is usco by Theorem 1.17. By ${\textsf {WBCT}}_{[0,1]}$ , there is $k_{0}\in {\mathbb N}$ such that $D_{k_{0}}$ does not have measure zero. Let $\varepsilon _{0}>0$ be such that the measure of $D_{k_{0}}$ is at least $\varepsilon _{0}$ and let $\delta _{0}>0$ be as provided by the definition of Riemann integrability for $\varepsilon =\varepsilon _{0}\frac {1}{2^{k_{0}+1}}$ . For any partition P with mesh below $\delta _{0}$ given by $0=x_{0}, t_{0},x_{1}, t_{1}, x_{1}, \dots , x_{k-1}, t_{k}, x_{k}=1 $ , we define two partitions $P', P"$ as follows: in case $D_{k_{0}}\cap [x_{i}, x_{i+1}]= \emptyset $ , do nothing; otherwise, change $t_{i}$ from P to some $t_{i}^{\prime }$ for $P'$ and $t_{i}^{\prime \prime }$ for $P"$ such that $|f(t_{i}^{\prime })-f(t_{i}^{\prime \prime })|> \frac {1}{2^{k_{0}+1}}$ . The latter reals exist by the assumption $D_{k_{0}}\cap [x_{i}, x_{i+1}]\ne \emptyset $ . One readily shows that $|S(f, P')-S(f, P")|>\varepsilon _{0}\frac {1}{2^{k_{0}+1}}$ , i.e., a contradiction, and item (b) follows. Note that the finite manipulation of P can be done using ${\textsf {IND}}_{{\mathbb R}}$ . Item (l) follows in the same way by assuming $[0,1]\setminus {\mathbb Q}=D_{f} $ ; the proof then proceeds in the same way by noting $[0,1]=\cup _{k\in {\mathbb N}}E_{k}$ where $E_{k}:=D_{k}\cup \{q_{k}\}$ is closed and where $(q_{n})_{n\in \in {\mathbb N}}$ is an enumeration of the rationals in $[0,1]$ . Noting that Thomae’s function from ( T ) is Riemann integrable, item (k) also follows.

Secondly, assume item (b) and let $(O_{n})_{n\in {\mathbb N}}$ be a sequence as in ${\textsf {WBCT}}_{[0,1]}$ . Define $X_{n}:=[0,1]\setminus O_{n}$ and consider $h:[0,1]\rightarrow {\mathbb R}$ from ( H ), which we show to be Riemann integrable with zero integral. To this end, fix $\varepsilon>0$ and let $n_{0}\in {\mathbb N}$ be such that $\frac {1}{2^{n_{0}+1}}<\varepsilon $ . Since $X_{n_{0}}$ has measure zero, we can find a sequence $(I_{n})_{n\in {\mathbb N}}$ of intervals that covers $X_{n_{0}}$ and has total length at most $\frac {1}{2^{n_{0}+2}}$ . By [Reference Normann and Sanders71, Theorem 3.3], the closed set $X_{n_{0}}$ is also covered by $\cup _{n\leq k_{0}}I_{n}$ for some $k_{0}\in {\mathbb N}$ . Now let P be any partition with mesh at most $\frac {1}{2^{n_{0}+2}}$ . To show that $\varepsilon>S(f, P)=\sum _{i=0}^{|P|}h(t_{i}) (x_{i+1}-x_{i}) $ , we split the intervals $[x_{i},x_{i+1}]$ into sub-intervals $[x_{i+1}, a_{0}], [a_{0}, a_{1}], \dots , [a_{m}, a_{m+1}], [a_{m+1}, x_{i}]$ , where the $a_{i}$ are end-points of the $I_{n}$ in $[x_{i+1}-x_{i}]$ for some $n\leq k_{0}$ . Now split $S(f, p)$ into two sums, one over the intervals not in $\cup _{n\leq k_{0}}I_{n}$ , and one with the rest. By our assumptions, each separate sum is at most $\frac {1}{2^{n_{0}+2}}$ as required. Now apply item (b) for h (see Theorem 1.16 for ${\textsf {osc}}_{h}:[0,1]\rightarrow {\mathbb R}$ ) and note that $y\in C_{h}$ implies $h(y)={\textsf {osc}}_{h}(y)=0$ , i.e., $y\in \cap _{n\in {\mathbb N}}O_{n}$ , as required for ${\textsf {WBCT}}_{[0,1]}$ . Similarly, item (l) implies ${\textsf {WBCT}}_{[0,1]}$ by considering ( H ) where $(X_{n})_{n\in {\mathbb N}}$ is a sequence of closed sets with $[0,1]\setminus {\mathbb Q}=\cup _{n\in {\mathbb N}}X_{n}$ . Moreover, item (k) implies item (l) in light of Thomae’s function from ( T ),

Thirdly, for item (c), the absence of an oscillation function complicates matters (slightly). We modify $F_{q}$ defined as in (2.3) as follows: let $`x\in E_{q, l}$ ’ in case

$$\begin{align*}\textstyle f(x)\leq q \wedge (\forall N\in {\mathbb N})(\exists z\in B(x, \frac{1}{2^{N}}))( f(z)>q+\frac{1}{2^{l}} ). \end{align*}$$

As in the proof of Theorem 2.3, $E_{q,l}$ is closed and $D_{f}\subseteq \cup _{l\in {\mathbb N}, q\in {\mathbb Q}}E_{q,l}$ . Now suppose $C_{f}=\emptyset $ , i.e., $\cup _{l\in {\mathbb N}, q\in {\mathbb Q}}E_{q,l}=[0,1]$ . By ${\textsf {WBCT}}_{[0,1]}$ , there is $l_{0}\in {\mathbb N}$ , $q_{0}\in {\mathbb Q}$ such that $E_{q_{0},l_{0}}$ has non-zero measure. As in the first paragraph of the proof, f is not Riemann integrable, and item (c) follows. The latter implies ${\textsf {WBCT}}_{[0,1]}$ in the same way as in the previous paragraph, noting that h from ( H ) is usco by Theorem 1.18.

Fourth, for items (d) and (e), the latter follow from items (b) and (c) by noting that $x\in C_{f}$ and $\int _{0}^{1}f(x)dx=0$ implies $f(x)=0$ . For the reversals, use $h:[0,1]\rightarrow {\mathbb R}$ from ( H ), which has Riemann integral equal to zero by the second paragraph of this proof.

Fifth, for items (f) and (g), the latter are equivalent to items (d) and (e) in the same way. In particular, the function $h:[0,1]\rightarrow {\mathbb R}$ from ( H ) has a primitive, namely the constant zero function. Moreover, the usual epsilon–delta proof establishes that $F(x):=\int _{0}^{x}f(t)dt$ is continuous and that $F'(y)=f(y)$ if f is continuous at y.

Sixth, item (h) immediately follows from item (b) by taking a small enough ball around a point of continuity. Similarly, item (h) implies item (e) by noting that $\int _{a}^{b}f(x)dx\leq \int _{c}^{d}f(x)dx$ in case f is non-negative and $[a, b]\subset [c, d]$ . Item (i) is treated in the same way. The final sentence follows by Theorem 1.18.

Seventh, let $f:[0,1]\rightarrow {\mathbb R}$ be as in item (j) and define the closed set $D_{k}:=\{ x\in [0,1]: {\textsf {osc}}_{f}(x)\geq \frac {1}{2^{k}}\}$ . By assumption, $[0,1]=\cup _{k\in {\mathbb N}}D_{k}$ and ${\textsf {WBCT}}_{[0,1]}$ implies there is $k_{0}\in {\mathbb N}$ and $E\subset [0,1]$ of positive measure such that $E\subset D_{k_{0}}$ , as required. For the reversal, assume item (j) and let $f:[0,1]\rightarrow {\mathbb R}$ be Riemann integrable and with oscillation function ${\textsf {osc}}_{f}:[0,1]\rightarrow {\mathbb R}$ . In case $C_{f}\ne \emptyset $ , we are done in light of item (c). In case $C_{f}=\emptyset $ , f is totally discontinuous and we can apply item (j). Let $N_{0}\in {\mathbb N}$ and $E\subset [0,1]$ of positive measure be such that ${\textsf {osc}}_{f}(x)\geq \frac {1}{2^{N_{0}}}$ for $x\in E$ . As in the first paragraph of this proof, f is not Riemann integrable, a contradiction. For the penultimate sentence, it suffices to observe that h from ( H ) is cliquish and has an oscillation function by Theorems 1.16 and 1.18. The final sentence follows by observing that the functions used in the above proof of the implications $\mathrm {(k)}\rightarrow \mathrm {(l)}\rightarrow {\textsf {WBCT}}_{[0,1]}$ are pointwise discontinuous.

In the previous theorem, we can replace the use of ${\textsf {QF-AC}}^{0,1}$ (not provable in ${\textsf {ZF}}$ ) by ${\textsf {NCC}}$ (provable in ${\textsf {Z}}_{2}^{\Omega }$ ) from [Reference Normann and Sanders73]. It seems we can (also) avoid the use of ${\textsf {QF-AC}}^{0,1}$ if we require the sets to have Jordan measure zero. We do not know if we can weaken the induction axiom in Theorem 3.3. We do have the following corollary, which is of separate interest.

Corollary 3.4 ( ${\textsf {ACA}}_{0}^{\omega }$ ).

For Riemann integrable $f:[0,1]\rightarrow {\mathbb R}$ with oscillation function ${\textsf {osc}}_{f}:[0,1]\rightarrow {\mathbb R}$ , $D_{k}:=\{x\in [0,1]:{\textsf {osc}}_{f}(x)\geq \frac {1}{2^{k}}\} $ has measure zero.

Proof The first paragraph of the proof of the theorem contains the required proof by contradiction, starting with ‘Let $\varepsilon _{0}>0$ be such that…’.

Corollary 3.4 identifies the ‘missing link’ to the Vitali–Lebesgue theorem: each $D_{k}$ has measure zero and since $D_{f}=\cup _{k\in {\mathbb N}}D_{k}$ , we only need Tao’s pigeonhole principle for measure spaces to conclude that $D_{f}$ has measure zero.

Finally, with the gift of hindsight, one can show that the following strengthening of ${\textsf {WBCT}}_{[0,1]}$ is equivalent to ${\textsf {BCT}}_{[0,1]}$ again.

For a sequence $(C_{n})_{n\in {\mathbb N}}$ of closed sets with $[0,1]=\cup _{n\in {\mathbb N}}C_{n}$ , there is $m\in {\mathbb N}$ such that $C_{m}$ has non-zero measure and $[0,1]$ cannot be covered by finite copies of $C_{m}$ .

We could also obtain an equivalence between ${\textsf {WBCT}}_{[0,1]}$ and a version of the uniform boundedness principle from Theorem 2.15. Moreover, ${\textsf {WBCT}}_{[0,1]}$ implies the following interesting statement, which follows from, e.g., [Reference Bagemihl4, Theorem],

for a closed set $E\subset {\mathbb R}$ of measure zero, there is $x\in {\mathbb R}$ such that $x+E\subset {\mathbb R}\setminus {\mathbb Q}$ ,

and we expect a reversal to be possible.

3.3 The pigeonhole principle

We introduce Tao’s pigeonhole principle for measure spaces from [Reference Tao97] and obtain equivalences involving the fundamental theorem of calculus and the Vitali–Lebesgue theorem. Hence, the latter theorems are not provable in ${\textsf {Z}}_{2}^{\omega }$ , while the restrictions to Baire 1 and quasi-continuous functions and RM-closed sets are provable in ${\textsf {ACA}}_{0}^{\omega }$ by Theorems 3.6 and 3.7.

First of all, we shall study the pigeonhole principle for closed sets as in ${\textsf {PHP}}_{[0,1]}$ below. We recall that like in second-order RM, statements of the form ‘ $E\subset [0,1]$ has measure $0$ ’ can be made without introducing the Lebesgue measure.

Principle 3.5 ( ${\textsf {PHP}}_{[0,1]}$ ).

If $ (X_n)_{n \in {\mathbb N}}$ is an increasing sequence of measure zero closed sets of reals in $[0,1]$ , then $ \bigcup _{n \in {\mathbb N} } X_n$ is measure zero.

By the main result of [Reference Trohimčuk100], not all nowhere dense measure zero sets are the countable union of measure zero closed sets, i.e., ${\textsf {PHP}}_{[0,1]}$ does not generate ‘all’ measure zero sets. With some effort, one can derive ${\textsf {PHP}}_{[0,1]}$ restricted to R2-closed sets from Cousin’s lemma as studied in [Reference Normann and Sanders70].

Secondly, we establish that while ${\textsf {PHP}}_{[0,1]}$ is hard to prove in terms of conventional comprehension, the former principle can be proved without the Axiom of Choice, i.e., in a fragment of ${\textsf {ZF}}$ . Thus, the properties of ${\textsf {PHP}}_{[0,1]}$ are not due to the latter implying (a fragment of) the Axiom of Choice. By contrast, ${\textsf {PHP}}_{[0,1]}$ restricted to RM-codes is provable in a relatively weak system.

Theorem 3.6.

  • The ${\textsf {Z}}_{2}^{\omega }+{\textsf {QF-AC}}^{0,1}$ does not prove ${\textsf {PHP}}_{[0,1]}$ .

  • The system ${\textsf {Z}}_{2}^{\Omega }$ proves ${\textsf {PHP}}_{[0,1]}$ .

  • The system ${\textsf {ACA}}_{0}^{\omega }$ proves ${\textsf {PHP}}_{[0,1]}$ restricted to RM-codes for closed sets.

Proof For the first item, we have ${\textsf {PHP}}_{[0,1]}\rightarrow {\textsf {NIN}}_{[0,1]}$ as for any injection $Y:[0,1]\rightarrow {\mathbb N}$ , the set $E_{n}:=\{x\in [0,1]:Y(x)=n\}$ has measure zero but the union does not. By [Reference Normann and Sanders75, Theorem 3.1], the system ${\textsf {Z}}_{2}^{\omega }+{\textsf {QF-AC}}^{0,1}$ cannot prove ${\textsf {NIN}}_{[0,1]}$ .

For the second item, the following formula expresses that $(X_{n})_{n\in {\mathbb N}}$ is a sequence of closed measure zero sets:

(3.1) $$ \begin{align}\textstyle (\forall n, k\in {\mathbb N})( \exists (I_{m})_{m\in {\mathbb N}} )\big( X_{n}\subset \cup_{i\in {\mathbb N}} I_{i} \wedge \frac{1}{2^{k}}> \sum_{j\in {\mathbb N}} |I_{j}|\big), \end{align} $$

where each $I_{n}$ is an open interval with rational end-points. By [Reference Normann and Sanders73, Theorems 3.1 and 3.5], ${\textsf {Z}}_{2}^{\Omega }$ proves that countable coverings of closed sets have finite sub-coverings. Applying this covering result to (3.1), we obtain the following formula:

$$\begin{align*}\textstyle (\forall n, k\in {\mathbb N})( \exists q_{0},\dots , q_{2k} \in {\mathbb Q} )\big[ X_{n}\subset \cup_{1\leq i\leq k} (q_{2i-1}, q_{2i}) \wedge \frac{1}{2^{k}}> \sum_{1\leq i\leq k} |q_{2i-1}- q_{2i}|\big], \end{align*}$$

where the formula in square brackets is decidable using $\exists ^{3}$ . Now apply ${\textsf {QF-AC}}^{0,0}$ , provable in ${\textsf {ZF}}$ and included in ${\textsf {RCA}}_{0}^{\omega }$ , to obtain the conclusion of ${\textsf {PHP}}_{[0,1]}$ .

For the third item, consider (3.1) and assume $(X_{n})_{n\in {\mathbb N}}$ is given as a sequence $(C_{n})_{n\in {\mathbb N}}$ of RM-closed sets. By [Reference Brown18, Lemma 3.13], a countable covering of an RM-closed set has a finite sub-covering assuming ${\textsf {WKL}}_{0}$ , i.e., we obtain

$$\begin{align*}\textstyle (\forall n, k\in {\mathbb N})( \exists q_{0},\dots , q_{2k} \in {\mathbb Q} )\big[ C_{n}\subset \cup_{1\leq i\leq k} (q_{2i-1}, q_{2i}) \wedge \frac{1}{2^{k}}> \sum_{1\leq i\leq k} |q_{2i-1}- q_{2i}|\big]. \end{align*}$$

In case the formula in square brackets is decidable (using $\exists ^{2}$ ), we can apply ${\textsf {QF-AC}}^{0,0}$ and obtain the required interval covering of $\cup _{n\in {\mathbb N}}C_{n}$ .

To show that $C_{n}\subset \cup _{1\leq i\leq k} (q_{2i-1}, q_{2i})$ is decidable using $\exists ^{2}$ , note that this formula is equivalent to ‘ $(\forall x\in [0,1])(x\in O_{n,k})$ ’, where the RM-open set $O_{n,k}\subset [0,1]$ is the union of the RM-open sets $[0,1]\setminus C_{n}$ and $\cup _{1\leq i\leq k} (q_{2i-1}, q_{2i})$ . By [Reference Simpson93, II.7.1], there is a (code for a) continuous function $f_{n,k}$ such that $x\in O_{n,k}\leftrightarrow f_{n,k}(x)>0$ for all $n,k\in {\mathbb N}$ and $x\in [0,1]$ . By [Reference Normann and Sanders79, Theorem 2.2], codes for continuous functions on ${\mathbb R}$ yield third-order functions on ${\mathbb R}$ , even in ${\textsf {RCA}}_{0}^{\omega }$ . Using $\exists ^{2}$ , we may compute the infimum of $f_{n,k}$ on $[0,1]$ by [Reference Kohlenbach50, Proposition 3.14]. The following equivalence now holds for all $n,k\in {\mathbb N}$ :

(3.2) $$ \begin{align} \big[C_{n}\subset \cup_{1\leq i\leq k} (q_{2i-1}, q_{2i})\big]\leftrightarrow \big[0< \inf_{x\in [0,1]}f_{n,k}(x)\big], \end{align} $$

as continuous functions attain their infimum on the unit interval given ${\textsf {WKL}}_{0}$ by [Reference Simpson93, IV.2.3]. The right-hand side of (3.2) is decidable given $\exists ^{2}$ .

In light of the previous proof, ${\textsf {PHP}}_{[0,1]}$ follows from the principle ${\textsf {MCC}}$ from [Reference Normann and Sanders73]. Moreover, the third item in Theorem 3.6 goes through for ‘ ${\textsf {ACA}}_{0}^{\omega }$ ’ replaced by ‘ ${\textsf {RCA}}_{0}^{\omega }+{\textsf {WKL}}$ ’, using [Reference Kohlenbach50, Proposition 3.15] to obtain (3.2) without recourse to $(\exists ^{2})$ .

Thirdly, the following theorem should be contrasted with Theorem 3.8, keeping in mind the close connection between quasi-continuity and cliquishness (see Remark 2.20); the set $C_{f}$ exists by Theorems 2.10 and 2.19.

Theorem 3.7 ( ${\textsf {ACA}}_{0}^{\omega }$ ).

  • For Riemann integrable quasi-continuous $f:[0,1]\rightarrow {\mathbb R}$ , $C_{f}$ has measure one.

  • For Riemann integrable Baire 1 $f:[0,1]\rightarrow {\mathbb R}$ , the set $C_{f}$ has measure one.

Proof For the first item, let $f:[0,1]\rightarrow {\mathbb R}$ be quasi-continuous. Our starting point is the proof of Theorem 2.19, in particular the set $O_{m}$ defined as the collection of all $x\in [0,1]$ such that (2.10). By the definition of quasi-continuity, (2.10) and (2.11) are equivalent, and this remains true if $N=M$ . Using $\mu ^{2}$ , let $Y_{m}(x)$ be the least $N\in {\mathbb N}$ as in (2.10), if such exists, and zero otherwise. Hence, we $x\in O_{m}\leftrightarrow x\in \cup _{q\in {\mathbb Q}\cap O_{m}}B(q,\frac {1}{2^{Y_{m}(q)}})$ , for any $x\in [0,1]$ . In this way, we have obtained an RM-code for the sequence $(O_{m})_{m\in {\mathbb N}}$ . Recall that $D_{f}=\cup _{m\in {\mathbb N}}D_{m}$ where $D_{m}:=[0,1]\setminus O_{m}$ and $D_{m}:=\{x\in [0,1]:{\textsf {osc}}_{f}(x)\geq \frac {1}{2^{m}}\}$ If $f:[0,1]\rightarrow {\mathbb R}$ is also Riemann integrable then Corollary 3.4 guarantees that the set $D_{k}:=\{x\in [0,1]:{\textsf {osc}}_{f}(x)\geq \frac {1}{2^{k}}\}$ has measure zero. Now apply Theorem 3.6 to conclude that $D_{f}$ has measure zero.

For the second item, let $f:[0,1]\rightarrow {\mathbb R}$ be the pointwise limit of the sequence of continuous functions $(f_{n})_{n\in {\mathbb N}}$ . Now consider the sets $F_{m,n}$ from the proof of Theorem 2.10. One readily proves that $\cup _{m\in {\mathbb N}} F_{m,n} \subset D_{n}:=\{x\in [0,1]:{\textsf {osc}}_{f}(x)\geq \frac {1}{2^{n}}\}$ . The latter is measure zero by Corollary 3.4, in case f is also Riemann integrable. By the proof of Theorem 2.10, $F_{n,m}$ is represented by RM-codes, i.e., we may apply the third item of Theorem 3.6 to conclude that $\cup _{n,m\in {\mathbb N}} F_{m,n}$ has measure zero. Since $D_{f}$ is a subset of the latter union, we are done.

Fourth, we have the following theorem where we note that the sets $C_{f}$ and $ D_{f}$ exist by Theorem 2.4 in, e.g., item (c) of Theorem 3.8. The last sentence of the theorem should be contrasted with Corollary 3.7, recalling Remark 2.20. We recall the induction fragment ${\textsf {IND}}_{{\mathbb R}}$ introduced in Section 2.6.

Theorem 3.8 ( ${\textsf {ACA}}_{0}^{\omega }+{\textsf {IND}}_{{\mathbb R}}+{\textsf {QF-AC}}^{0,1}$ ).

The following are equivalent.

  1. (a) The pigeonhole principle for measure spaces as in ${\textsf {PHP}}_{[0,1]}$ .

  2. (b) (Vitali–Lebesgue) For Riemann integrable $f:[0,1]\rightarrow {\mathbb R}$ with an oscillation function, the set $D_{f}$ has measure $0$ .

  3. (c) For Riemann integrable usco $f:[0,1]\rightarrow {\mathbb R}$ , the set $D_{f}$ has measure $0$ .

  4. (d) For Riemann integrable $f:[0,1]\rightarrow [0,1]$ with an oscillation function and $\int _{0}^{1}f(x)dx=0$ , the set $\{x\in [0,1]:f(x)=0\}$ has measure one.

  5. (e) For Riemann integrable usco $f:[0,1]\rightarrow [0,1]$ with $\int _{0}^{1}f(x)dx=0$ , the set $\{x\in [0,1]:f(x)=0\}$ has measure one.

  6. (f) $\textsf {(FTC)}$ For Riemann integrable $f:[0,1]\rightarrow {\mathbb R}$ with an oscillation function and $F(x):=\lambda x.\int _{0}^{x}f(t)dt$ , the following set exists:

    (3.3) $$ \begin{align} \{x\in [0,1]:F \text{ is differentiable at } x \text{ with derivative } f(x)\} \end{align} $$
    and has measure one.
  7. (g) $\textsf {(FTC)}$ The previous item for usco functions.

  8. (h) For $f:[0,1]\rightarrow {\mathbb R}$ not continuous almost everywhere with oscillation function ${\textsf {osc}}_{f}:[0, 1]\rightarrow {\mathbb R}$ , there is $N\in {\mathbb N}$ and $E\subset [0,1]$ of positive measure such that ${\textsf {osc}}_{f}(x)\geq \frac {1}{2^{N}}$ for $x\in E$ .

We can replace ‘usco’ by ‘cliquish with an oscillation function’ in the above.

Proof First of all, most items follow as in the proof of Theorem 3.3. For instance, assume ${\textsf {PHP}}_{[0,1]}$ and suppose for $f:[0,1]\rightarrow {\mathbb R}$ as in item (b) of the theorem, $D_{f}$ has positive measure. Then some $D_{k}:=\{x\in [0,1]:{\textsf {osc}}_{f}(x)\geq \frac {1}{2^{k}}\}$ has positive measure by ${\textsf {PHP}}_{[0,1]}$ . Now proceed as in the first paragraph of the proof of Theorem 3.3 to derive a contradiction.

In turn, item (b) of the theorem implies ${\textsf {PHP}}_{[0,1]}$ by fixing a sequence $(X_{n})_{n\in {\mathbb N}}$ of closed sets and considering the second paragraph of the proof of Theorem 3.3; the only modification is that $C_{h}$ has measure one, which implies that $\cup _{n\in {\mathbb N}}X_{n}$ has measure zero (instead of just being a strict subset), and ${\textsf {PHP}}_{[0,1]}$ follows as required for the equivalence between the first two items. The equivalences for items (c)–(e) are proved in the same way.

For items (f) and (g), the usual epsilon–delta proof establishes that $F(x):=\int _{0}^{x}f(t)dt$ is continuous and that $F'(y)=f(y)$ if and only if f is continuous at y. Hence, the set $C_{f}$ is exactly the set in (3.3).

Finally, let $f:[0,1]\rightarrow {\mathbb R}$ be as in item (h) and define the closed set $D_{k}:=\{ x\in [0,1]: {\textsf {osc}}_{f}(x)\geq \frac {1}{2^{k}}\}$ . By assumption, $D_{f}=\cup _{k\in {\mathbb N}}D_{k}$ has positive measure and ${\textsf {PHP}}_{[0,1]}$ implies there is $k_{0}\in {\mathbb N}$ such that $ D_{k_{0}}$ has positive measure, as required. For the reversal, assume item (h) and let $f:[0,1]\rightarrow {\mathbb R}$ be Riemann integrable oscillation function ${\textsf {osc}}_{f}:[0,1]\rightarrow {\mathbb R}$ . In case $C_{f}$ has measure one, we are done in light of item (b). In case $C_{f}$ does not have measure one, f is not continuous almost everywhere and we can apply item (h). Let $N_{0}\in {\mathbb N}$ and $E\subset [0,1]$ of positive measure be such that ${\textsf {osc}}_{f}(x)\geq \frac {1}{2^{N_{0}}}$ for $x\in E$ . As in the first paragraph of this proof, f is not Riemann integrable, a contradiction, and we are done.

We note that ${\textsf {PHP}}_{[0,1]}$ does not (seem to) provide a proof of the fact that sequences of measure zero sets have RM-codes. Similar to the third item of Theorem 2.5, we could study ${\textsf {PHP}}_{[0,1]}$ restricted to sequences $(X_{n})_{n\in {\mathbb N}}$ such that $[0,1]\setminus \cup _{n\in {\mathbb N}}X_{n}$ is dense. By Theorem 3.3, this study would, however, require either ${\textsf {WBCT}}_{[0,1]}$ or the restriction to Riemann integrable functions with dense $C_{f}$ . This suggests an asymmetry between measure and category from the RM-point of view.

Thus, we have established equivalences involving ${\textsf {PHP}}_{[0,1]}$ and the Vitali–Lebesgue theorem, rendering the latter unprovable in ${\textsf {Z}}_{2}^{\omega }$ . The same holds for the restrictions to usco or cliquish functions, while the restrictions to quasi-continuous functions are provable in ${\textsf {ACA}}_{0}^{\omega }$ . In contrast to the close relation between cliquishness and quasi-continuity, there is a great divide, some might say ‘abyss’, between ${\textsf {ACA}}_{0}^{\omega }$ and ${\textsf {Z}}_{2}^{\omega }$ . We have no explanation for this phenomenon at the moment.

Finally, the following theorem can be proved using the Baire category theorem.

For any continuous $f:[0,1] \rightarrow {\mathbb R}$ , define $f_{0}=f$ and $f_{k+1}(x):=\int _{0}^{x}f_{k}(t)dt$ . In case $(\forall x\in [0,1])(\exists k\in {\mathbb N})(f_{k}(x)=0 )$ , then f is identically zero.

Replacing ‘continuous $f:[0,1] \rightarrow {\mathbb R}$ ’ by ‘Riemann integrable $f:[0,1] \rightarrow [0, 1]$ ’ and ‘identically’ by ‘almost everywhere’, the resulting theorem is equivalent to ${\textsf {PHP}}_{[0,1]}$ . We conjecture there to be many more similar variations.

4 A bigger picture

In this section, we discuss the bigger picture associated with our above results.

  • In Section 4.1, we discuss the intimate connection between our above results and the RM of the uncountability of ${\mathbb R}$ [Reference Sanders90].

  • In Section 4.2, we exhibit parallels between some of our results and well-known properties of the Axiom of Choice in set theory.

  • In Section 4.3, we discuss Banach’s theorem from [Reference Banach7] as follows:

    the continuous nowhere differentiable functions are dense in $C([0,1])$ .

    We show that slight variations of Banach’s result are not provable in ${\textsf {Z}}_{2}^{\omega }$ .

Regarding the final item, we shall study the notion of generalised absolute continuity, which is intermediate between the continuous and absolutely continuous functions. We refer to, e.g., [Reference Bartle10, Reference Gordon36, Reference Saks87] for details but do mention that generalised absolute continuity is intimately connected to integration theory and the (most general version of) the fundamental theorem of calculus.

Finally, the reader should recall Remark 1.14 before reading Section 4.3. In the former remark, it is shown that closed sets as in Definition 1.8, i.e., without any additional representation, are readily found in basic analysis, like the study of regulated or bounded variation functions. The above study of usco functions provides similar, but less basic, examples. The results in Section 4.3 are the most basic in nature, as they pertain to continuous functions. The implications for coding in second-order RM are clearly significant.

4.1 Reflections on and of Reverse Mathematics

We discuss Figure 1, which summarises how the above principles are related; we also discuss how our results are intimately connected to the RM of the uncountability of ${\mathbb R}$ from [Reference Sanders90].

First of all, we note that the statement a countable set is meagre has a trivial proof in ${\textsf {RCA}}_{0}^{\omega }$ , i.e., there is some non-trivial asymmetry between measure and category in Figure 1. Furthermore, we conjecture that ${\textsf {BCT}}_{[0,1]}$ does not imply ${\textsf {PHP}}_{[0,1]}$ , say over ${\textsf {Z}}_{2}^{\omega }+{\textsf {QF-AC}}^{0,1}$ , and vice versa.

Secondly, we have developed the RM of the uncountability of ${\mathbb R}$ in [Reference Sanders90]. The following were shown to be equivalent over ${\textsf {ACA}}_{0}^{\omega }+{\textsf {QF-AC}}^{0,1}+{\textsf {FIN}}$ , where the axiom ${\textsf {FIN}}$ allows one to neatly handle finite sets of reals.

  1. (a) The principle ${\textsf {NIN}}_{{\textsf {alt}}}$ : for a sequence of finite sets $(X_{n})_{n\in {\mathbb N}}$ in $[0,1]$ , there is $x\in [0,1]\setminus \cup _{n\in {\mathbb N}}X_{n}$ .

  2. (b) For regulated $f:[0,1]\rightarrow {\mathbb R}$ , there is a point $x\in [0,1]$ where f is continuous (or quasi-continuous, or lower semi-continuous, or Darboux).

  3. (c) For regulated $f:[0,1]\rightarrow [0,1]$ with Riemann integral $\int _{0}^{1}f(x)dx=0$ , there is $x\in [0,1]$ with $f(x)=0$ (Bourbaki [Reference Bourbaki15, p. 61, Corollary 1]).

  4. (d) (Volterra [Reference Volterra101]) For regulated $f,g:[0,1]\rightarrow {\mathbb R}$ , there is $x\in [0,1]$ such that f and g are both continuous or both discontinuous at x.

  5. (e) (Volterra [Reference Volterra101]) For regulated $f:[0,1]\rightarrow {\mathbb R}$ , there is either $q\in {\mathbb Q}\cap [0,1]$ where f is discontinuous, or $x\in [0,1]\setminus {\mathbb Q}$ where f is continuous.

  6. (f) $\textsf {(FTC)}$ For regulated $f:[0,1]\rightarrow {\mathbb R}$ , there is $y\in (0,1)$ where $F(x):=\lambda x.\int _{0}^{x}f(t)dt$ is differentiable with derivative equal to $f(y)$ .

  7. (g) Blumberg’s theorem [Reference Blumberg12] restricted to regulated functions.

Clearly item (f) involves the fundamental theorem of calculus, while item (d) involves Volterra’s early work, all restricted to regulated functions. We have obtained similar results for functions of bounded variation. In this paper, we have shown that item (f) for usco functions is equivalent to ${\textsf {BCT}}_{[0,1]}$ (Theorem 2.25), while item (d) for usco functions is equivalent to ${\textsf {PHP}}_{[0,1]}$ (Theorem 3.8). We have obtained similar results for cliquish functions (that come with an oscillation function).

In light of the above, we can say that the RM of the uncountability of ${\mathbb R}$ is the product of taking the RM of ${\textsf {PHP}}_{[0,1]}$ and the RM of ${\textsf {BCT}}_{[0,1]}$ and pushing everything down from usco/cliquish functions to the level of regulated/bounded variation functions. This observation provides a partial explanation why the RM of ${\textsf {PHP}}_{[0,1]}$ and the RM of ${\textsf {BCT}}_{[0,1]}$ can proceed along the same lines despite the apparent differences between measure and category.

Thirdly, with the gift on hindsight, we could obtain equivalences between the following principles, say working over the aforementioned system ${\textsf {ACA}}_{0}^{\omega }+{\textsf {QF-AC}}^{0,1}+{\textsf {FIN}}$ from [Reference Sanders90]. The first item expresses that countable sets have measure zero, as can be found in Figure 1 on the right-hand side.

  • For a sequence of finite sets $(X_{n})_{n\in {\mathbb N}}$ in $[0,1]$ , $\cup _{n\in {\mathbb N}}X_{n}$ has measure zero.

  • For regulated $f:[0,1]\rightarrow {\mathbb R}$ , the set $C_{f}$ has measure one.

  • The previous item for ‘continuity’ replaced by quasi-continuity or usco.

  • For regulated $f:[0,1]\rightarrow [0,1]$ with Riemann integral $\int _{0}^{1}f(x)dx=0$ , the set $\{ x\in [0,1]:f(x)=0\}$ has measure one.

  • A set $A\subset {\mathbb R}$ without limit points has measure zero.

Similar equivalences are possible for functions of bounded variation, like in [Reference Sanders90, Section 3.4], and the many intermediate classes of ‘generalised’ bounded variation (see [Reference Appell, Banaś and Merentes1]). A real challenge would be to study Carleson’s theorem in this context [Reference Carleson21].

Finally, the above analogy is not absolute: while symmetrically continuous functions feature in the RM of the uncountability of ${\mathbb R}$ (see [Reference Sanders90, Theorem 3.9]), we have not been able to obtain similar results for ${\textsf {BCT}}_{[0,1]}$ , ${\textsf {PHP}}_{[0,1]}$ , or ${\textsf {WBCT}}_{[0,1]}$ .

4.2 Reflections on and of set theory

We discuss the relationship between our results and set theory; the reader disinterested in foundational musings will skip this section. In a nutshell, we will show evidence for a parallel between our results and some central results in set theory, like the mercurial nature of the cardinality of the real numbers, disasters in the absence of the Axiom of Choice ( ${\textsf {AC}}$ for short), and the essential role of ${\textsf {AC}}$ in measure and integration theory.

First of all, following the famous work of Gödel [Reference Gödel34] and Cohen [Reference Cohen22, Reference Cohen23], the Continuum Hypothesis cannot be proved or disproved in ${\textsf {ZFC}}$ , i.e., Zermelo–Fraenkel set theory with ${\textsf {AC}}$ , the usual foundations of mathematics. Thus, the exact cardinality of ${\mathbb R}$ cannot be established in ${\textsf {ZFC}}$ . A parallel observation in higher-order RM is that ${\textsf {Z}}_{2}^{\omega }$ cannot prove that there is no injection from ${\mathbb R}$ to ${\mathbb N}$ (see [Reference Normann and Sanders76] for details). In a nutshell, the cardinality of ${\mathbb R}$ has a particularly mercurial nature, in both set theory and higher-order arithmetic.

Secondly, many standard results in mainstream mathematics are not provable in ${\textsf {ZF}}$ , i.e., ${\textsf {ZFC}}$ with ${\textsf {AC}}$ removed, as explored in great detail [Reference Herrlich39]. The absence of ${\textsf {AC}}$ is even said to lead to disasters in topology and analysis (see [Reference Keremedis47]). A parallel phenomenon was observed in [Reference Normann and Sanders71, Reference Normann and Sanders72], namely that certain rather basic equivalences go through over ${\textsf {RCA}}_{0}^{\omega }+{\textsf {QF-AC}}^{0,1}$ , but not over ${\textsf {Z}}_{2}^{\omega }$ .

Examples include the equivalence between compactness results and local–global principles, which are intimately related according to Tao [Reference Tao and Gowers96]. In this light, it is fair to say that disasters happen in both set theory and higher-order arithmetic in the absence of ${\textsf {AC}}$ . It should be noted that ${\textsf {QF-AC}}^{0,1}$ (not provable in ${\textsf {ZF}}$ ) can be replaced by ${\textsf {NCC}}$ from [Reference Normann and Sanders73] (provable in ${\textsf {Z}}_{2}^{\Omega }$ ) in the aforementioned.

Thirdly, we discuss the essential role of ${\textsf {AC}}$ in measure and integration theory, which leads to rather concrete parallel observations in higher-order arithmetic. Indeed, the full pigeonhole principle for measure spaces is not provable in ${\textsf {ZF}}$ , which immediately follows from, e.g., [Reference Herrlich39, Diagram 3.4]. A parallel phenomenon in higher-order arithmetic is that even the restriction to closed sets, namely ${\textsf {PHP}}_{[0,1]}$ cannot be proved in ${\textsf {Z}}_{2}^{\omega }+{\textsf {QF-AC}}^{0,1}$ by Theorem 3.6 (but ${\textsf {Z}}_{2}^{\Omega }$ suffices).

Moreover, a more ‘down to earth’ observation is obtained by comparing the topic of [Reference Kanovei and Katz45] and item (d) in Theorem 3.3. Regarding [Reference Kanovei and Katz45], the authors show that ${\textsf {AC}}$ is needed to justify our intuition of the Lebesgue integral as the area under the graph of a function. Theorem 3.3 establishes the parallel observation that the same justification for the Riemann integral cannot be proved in ${\textsf {Z}}_{2}^{\omega }+{\textsf {QF-AC}}^{0,1}$ (but ${\textsf {Z}}_{2}^{\Omega }$ suffices as usual).

4.3 On the scope of coding

In the above, we have obtained equivalences for the Baire category theorem as in ${\textsf {BCT}}_{[0,1]}$ , which is not provable in ${\textsf {Z}}_{2}^{\omega }$ by Theorem 2.2. By contrast, the restrictions of ${\textsf {BCT}}_{[0,1]}$ to RM-codes and R2-representations are provable in ${\textsf {ACA}}_{0}^{\omega }$ , following [Reference Simpson93, II.5.8] and [Reference Normann and Sanders71, Theorem 7.10]. A natural question is whether the latter ‘coded’ versions suffice for the study of $C([0,1])$ , the space of continuous functions. In this section, we discuss this question and provide a counterexample based on generalised absolute continuity as in Definition 4.1.

First of all, Banach [Reference Banach7] already showed that ‘most’ continuous functions on the unit interval are nowhere differentiable, in the sense that such functions are dense in $C([0,1])$ . Nemoto [Reference Nemoto65, Theorem 5.4] provides a proof of this fact in constructive mathematics, with the same coding for $C([0,1])$ and for open sets as in second-order RM [Reference Simpson93, II.5.6 and IV.2.13]. In particular, the proof makes use of the second-order Baire category theorem ([Reference Simpson93, II.5.8] and [Reference Nemoto65, Section 3]) and goes through (up to insignificant technical details) in ${\textsf {RCA}}_{0}$ with intuitionistic logic, following the results in [Reference Nemoto and Sato66]. By [Reference Normann and Sanders79, Corrollary 2.5], continuous functions on the unit interval have RM-codes, i.e., Banach’s aforementioned theorem about $C([0,1])$ without codes can be proved using the Baire category theorem for RM-codes, working in ${\textsf {RCA}}_{0}^{\omega }+{\textsf {WKL}}$ .

Secondly, we now show that slight variations of the aforementioned theorem by Banach cannot be proved in ${\textsf {Z}}_{2}^{\omega }$ . To this end, we introduce some sub-classes of $C([0,1])$ in Definition 4.1 that are connected to integration theory. In particular, $f:[0,1]\rightarrow {\mathbb R}$ is gauge (or: Perron, or: Denjoy) integrable if and only if there is $F\in {\textsf {ACG}}^{*}$ such that $F'=f$ almost everywhere. Details may be found in [Reference Bartle10, Reference Gordon36, Reference Saks87].

Definition 4.1 (Generalised absolute continuity).

Fix $f:[0,1]\rightarrow {\mathbb R}$ and $X\subset [0,1]$ .

  • We say that $f\in {\textsf {AC}}(X)$ if for all $\varepsilon>0$ , there is $\delta>0$ such that for any finite collection of pairwise disjoint $(a_{0},b_{0}),(a_{1},b_{1}),...,(a_{k},b_{k})$ with endpoints in X we have $\sum _{i\leq k}|a_{i}-b_{i}|<\delta \rightarrow \sum _{i\leq k}|f(a_{i})-f(b_{i})|<\varepsilon $ .

  • We say that $f\in {\textsf {AC}}^{*}(X)$ if it satisfies the previous item with ‘ $|f(a_{i})-f(b_{i})|$ ’ replaced by ‘ ${\textsf {osc}}_{f}([a_{i}, b_{i}])$ ’ in the conclusion.

  • We say that $f\in {\textsf {ACG}}$ in case it is continuous on $[0,1]$ and there is a sequence of closed sets $(C_{n})_{n\in {\mathbb N}}$ such that $f_{\upharpoonright C_{n}}$ is ${\textsf {AC}}(C_{n})$ for each $n\in {\mathbb N}$ .

  • We say that $f\in {\textsf {ACG}}^{*}$ for the previous item with ‘ ${\textsf {AC}}$ ’ replaced by ‘ ${\textsf {AC}}^{*}$ ’.

Lee establishes the equivalence of various definitions of ${\textsf {ACG}}^{*}$ in [Reference Lee56]. The previous definition from [Reference Lee56] is the most basic one, in our opinion. By Remark 1.14, closed sets as in Definition 1.8, i.e., without any representation, already pop up ‘in the wild’ in the study of regulated and bounded variation functions. In this light, we should not assume closed sets to have extra constructive data, like RM-codes or R2-representations.

Thirdly, we have the following theorem where we note that ${\textsf {ACG}}$ and ${\textsf {ACG}}^{*}$ functions are not nowhere differentiable ([Reference Lee56, Theorem 4] and [Reference Gordon36, p. 235]). In other words, the complements of ${\textsf {ACG}}$ and ${\textsf {ACG}}^{*}$ are larger than the class of nowhere differential functions from Banach’s aforementioned theorem.

Theorem 4.2. The following cannot be proved in ${\textsf {Z}}_{2}^{\omega }+{\textsf {IND}}_{0}$ .

  • Any function in ${\textsf {ACG}}$ is differentiable at some point of the unit interval.

  • Any function in ${\textsf {ACG}}^{*}$ is differentiable at some point of the unit interval.

  • The complement of ${\textsf {ACG}}$ is dense in $C([0,1])$ .

  • The complement of ${\textsf {ACG}}^{*}$ is dense in $C([0,1])$ .

Proof First of all, a continuous and nowhere differentiable function is readily defined in ${\textsf {RCA}}_{0}$ following the results in [Reference Nemoto65]. One could also use the well-known definition of Weierstrass’ function and establish its properties directly using [Reference Simpson93, II.6.5].

Secondly, we recall that ${\textsf {NIN}}_{[0,1]}$ is not provable in ${\textsf {Z}}_{2}^{\omega }+{\textsf {IND}}_{0}$ by [Reference Normann and Sanders75, Theorem 2.16]. To establish the theorem, we show that all items imply ${\textsf {NIN}}_{[0,1]}$ over ${\textsf {ACA}}_{0}^{\omega }+{\textsf {IND}}_{0}$ . To this end, let $Y:[0, 1]\rightarrow {\mathbb N}$ be an injection, fix continuous $f:[0,1]\rightarrow {\mathbb R}$ , and define $C_{n}:=\{ x\in [0,1]: Y(x)\leq n \}$ . Using ${\textsf {IND}}_{0}$ , one proves that each $C_{n}$ is closed (because finite), and $[0,1]=\cup _{n\in {\mathbb N}}C_{n}$ by assumption. By definition, $f_{\upharpoonright C_{n}}$ is in ${\textsf {AC}}(C_{n})$ and ${\textsf {AC}}^{*}(C_{n})$ , again using ${\textsf {IND}}_{0}$ , for $n\in {\mathbb N}$ . Hence, we have shown that $C([0,1])$ equals ${\textsf {ACG}}$ and ${\textsf {ACG}}^{*}$ , which yields a contradiction with the first two items, as Weierstrass’ function is nowhere differentiable. The last two items similarly yield a contradiction, and we are done.

We note that the notion of generalised bounded variation [Reference Gordon36] can be treated in the same way as in the previous theorem. Similarly, one can treat Gordon’s classes $\textsf {ACGs}$ and ${\textsf {ACG}}_{\delta }$ from [Reference Gordon35, Reference Gordon36].

Appendix A Technical Appendix: introducing Reverse Mathematics

We discuss Reverse Mathematics (Section A.1) and introduce—in full detail—Kohlenbach’s base theory of higher-order Reverse Mathematics (Section A.2). Some common notations may be found in Section A.3.

A.1 Introduction

Reverse Mathematics (RM for short) is a program in the foundations of mathematics initiated around 1975 by Friedman [Reference Friedman31, Reference Friedman32] and developed extensively by Simpson [Reference Simpson93]. The aim of RM is to identify the minimal axioms needed to prove theorems of ordinary, i.e., non-set theoretical, mathematics.

We refer to [Reference Stillwell95] for a basic introduction to RM and to [Reference Dzhafarov and Mummert28, Reference Simpson92, Reference Simpson93] for an overview of RM. We expect basic familiarity with RM, but do sketch some aspects of Kohlenbach’s higher-order RM [Reference Kohlenbach50] essential to this paper, including the base theory ${\textsf {RCA}}_{0}^{\omega }$ (Definition A.1).

First of all, in contrast to ‘classical’ RM based on second-order arithmetic ${\textsf {Z}}_{2}$ , higher-order RM uses a subset of $\textsf {L}_{\omega }$ , the richer language of higher-order arithmetic. Indeed, while the former is restricted to natural numbers and sets of natural numbers, higher-order arithmetic can accommodate sets of sets of natural numbers, sets of sets of sets of natural numbers, et cetera. To formalise this idea, we introduce the collection of all finite types $\mathbf {T}$ , defined by the two clauses:

(i) $0\in \mathbf {T}$ and (ii) If $\sigma , \tau \in \mathbf {T}$ then $( \sigma \rightarrow \tau ) \in \mathbf {T}$ ,

where $0$ is the type of natural numbers, and $\sigma \rightarrow \tau $ is the type of mappings from objects of type $\sigma $ to objects of type $\tau $ . In this way, $1\equiv 0\rightarrow 0$ is the type of functions from numbers to numbers, and $n+1\equiv n\rightarrow 0$ . Viewing sets as given by characteristic functions, we note that ${\textsf {Z}}_{2}$ only includes objects of type $0$ and $1$ .

Secondly, the language $\textsf {L}_{\omega }$ includes variables $x^{\rho }, y^{\rho }, z^{\rho },\dots $ of any finite type $\rho \in \mathbf {T}$ . Types may be omitted when they can be inferred from context. The constants of $\textsf {L}_{\omega }$ include the type $0$ objects $0, 1$ and $ <_{0}, +_{0}, \times _{0},=_{0}$ which are intended to have their usual meaning as operations on ${\mathbb N}$ . Equality at higher types is defined in terms of ‘ $=_{0}$ ’ as follows: for any objects $x^{\tau }, y^{\tau }$ , we have

(A.1) $$ \begin{align} [x=_{\tau}y] \equiv (\forall z_{1}^{\tau_{1}}\dots z_{k}^{\tau_{k}})[xz_{1}\dots z_{k}=_{0}yz_{1}\dots z_{k}], \end{align} $$

if the type $\tau $ is composed as $\tau \equiv (\tau _{1}\rightarrow \dots \rightarrow \tau _{k}\rightarrow 0)$ . Furthermore, $\textsf {L}_{\omega }$ also includes the recursor constant $\mathbf {R}_{\sigma }$ for any $\sigma \in \mathbf {T}$ , which allows for iteration on type $\sigma $ -objects via generalisations of the defining axiom in item (c) of Definition A.1. Formulas and terms are defined as usual. One obtains the sub-language $\textsf {L}_{n+2}$ by restricting the above type formation rule to produce only type $n+1$ objects (and related types of similar complexity).

A.2 The base theory of higher-order Reverse Mathematics

We introduce Kohlenbach’s base theory ${\textsf {RCA}}_{0}^{\omega }$ , first introduced in [Reference Kohlenbach50, Section 2].

Definition A.1. The base theory ${\textsf {RCA}}_{0}^{\omega }$ consists of the following axioms.

  1. (a) Basic axioms expressing that $0, 1, <_{0}, +_{0}, \times _{0}$ form an ordered semi-ring with equality $=_{0}$ .

  2. (b) Basic axioms defining the well-known $\Pi $ and $\Sigma $ combinators (aka K and S in [Reference Avigad and Feferman3]), which allow for the definition of $\lambda $ -abstraction.

  3. (c) The defining axiom of the recursor constant $\mathbf {R}_{0}$ : for $m^{0}$ and $f^{1}$ :

    (A.2) $$ \begin{align} \mathbf{R}_{0}(f, m, 0):= m \text{ and } \mathbf{R}_{0}(f, m, n+1):= f(n, \mathbf{R}_{0}(f, m, n)). \end{align} $$
  4. (d) The axiom of extensionality: for all $\rho , \tau \in \mathbf {T}$ , we have

    (E ρ, τ ) $$\begin{align} (\forall x^{\rho},y^{\rho}, \varphi^{\rho\rightarrow \tau}) \big[x=_{\rho} y \rightarrow \varphi(x)=_{\tau}\varphi(y) \big]. \end{align}$$
  5. (e) The induction axiom for quantifier-free formulas of $\textsf {L}_{\omega }$ .

  6. (f) ${\textsf {QF-AC}}^{1,0}$ : the quantifier-free Axiom of Choice as in Definition A.2.

Note that variables (of any finite type) are allowed in quantifier-free formulas of the language $\textsf {L}_{\omega }$ : only quantifiers are banned. Gödel called the functionals obtained from $\mathbf {R}_\rho $ for all $\rho \in \mathbf {T}$ the primitive recursive functionals of finite type. Their theory is axiomatised by Gödel’s system T, studied in detail in [Reference Avigad and Feferman3, Section 2.2].

Definition A.2. The axiom ${\textsf {QF-AC}}$ consists of the following for all $\sigma , \tau \in \textbf {T}$ :

(QF−AC σ, τ ) $$\begin{align} (\forall x^{\sigma})(\exists y^{\tau})A(x, y)\rightarrow (\exists Y^{\sigma\rightarrow \tau})(\forall x^{\sigma})A(x, Y(x)), \end{align}$$

for any quantifier-free formula A in the language of $\textsf {L}_{\omega }$ .

As discussed in [Reference Kohlenbach50, Section 2], ${\textsf {RCA}}_{0}^{\omega }$ and ${\textsf {RCA}}_{0}$ prove the same sentences ‘up to language’ as the latter is set-based and the former function-based. This conservation results is obtained via the so-called ${\textsf {ECF}}$ -interpretation, which we now discuss.

Remark A.3 (The ${\textsf {ECF}}$ -interpretation).

The (rather) technical definition of ${\textsf {ECF}}$ may be found in [Reference Troelstra99, p. 138, Section 2.6]. Intuitively, the ${\textsf {ECF}}$ -interpretation $[A]_{{\textsf {ECF}}}$ of a formula $A\in \textsf {L}_{\omega }$ is just A with all variables of type two and higher replaced by type one variables ranging over so-called ‘associates’ or ‘RM-codes’ (see [Reference Kohlenbach49, Section 4]); the latter are (countable) representations of continuous functionals. The ${\textsf {ECF}}$ -interpretation connects ${\textsf {RCA}}_{0}^{\omega }$ and ${\textsf {RCA}}_{0}$ (see [Reference Kohlenbach50, Proposition 3.1]) in that if ${\textsf {RCA}}_{0}^{\omega }$ proves A, then ${\textsf {RCA}}_{0}$ proves $[A]_{{\textsf {ECF}}}$ , again ‘up to language’, as ${\textsf {RCA}}_{0}$ is formulated using sets, and $[A]_{{\textsf {ECF}}}$ is formulated using types, i.e., using type zero and one objects.

In light of the widespread use of codes in RM and the common practise of identifying codes with the objects being coded, it is no exaggeration to refer to ${\textsf {ECF}}$ as the canonical embedding of higher-order into second-order arithmetic.

A.3 Notations and the like

We introduce the usual notations for common mathematical notions, like real numbers, as also introduced in [Reference Kohlenbach50].

Definition A.4 (Real numbers and related notions in ${\textsf {RCA}}_{0}^{\omega }$ ).

  1. (a) Natural numbers correspond to type zero objects, and we use ‘ $n^{0}$ ’ and ‘ $n\in {\mathbb N}$ ’ interchangeably. Rational numbers are defined as signed quotients of natural numbers, and ‘ $q\in {\mathbb Q}$ ’ and ‘ $<_{{\mathbb Q}}$ ’ have their usual meaning.

  2. (b) Real numbers are coded by fast-converging Cauchy sequences $q_{(\cdot )}:{\mathbb N}\rightarrow {\mathbb Q}$ , i.e., such that $(\forall n^{0}, i^{0})(|q_{n}-q_{n+i}|<_{{\mathbb Q}} \frac {1}{2^{n}})$ . We use Kohlenbach’s ‘hat function’ from [Reference Kohlenbach50, p. 289] to guarantee that every $q^{1}$ defines a real number.

  3. (c) We write ‘ $x\in {\mathbb R}$ ’ to express that $x^{1}:=(q^{1}_{(\cdot )})$ represents a real as in the previous item and write $[x](k):=q_{k}$ for the k-th approximation of x.

  4. (d) Two reals $x, y$ represented by $q_{(\cdot )}$ and $r_{(\cdot )}$ are equal, denoted $x=_{{\mathbb R}}y$ , if $(\forall n^{0})(|q_{n}-r_{n}|\leq {2^{-n+1}})$ . Inequality ‘ $<_{{\mathbb R}}$ ’ is defined similarly. We sometimes omit the subscript ‘ ${\mathbb R}$ ’ if it is clear from context.

  5. (e) Functions $F:{\mathbb R}\rightarrow {\mathbb R}$ are represented by $\Phi ^{1\rightarrow 1}$ mapping equal reals to equal reals, i.e., extensionality as in $(\forall x , y\in {\mathbb R})(x=_{{\mathbb R}}y\rightarrow \Phi (x)=_{{\mathbb R}}\Phi (y))$ .

  6. (f) The relation ‘ $x\leq _{\tau }y$ ’ is defined as in (A.1) but with ‘ $\leq _{0}$ ’ instead of ‘ $=_{0}$ ’. Binary sequences are denoted ‘ $f^{1}, g^{1}\leq _{1}1$ ’, but also ‘ $f,g\in C$ ’ or ‘ $f, g\in 2^{{\mathbb N}}$ ’. Elements of Baire space are given by $f^{1}, g^{1}$ , but also denoted ‘ $f, g\in {\mathbb N}^{{\mathbb N}}$ ’.

  7. (g) For a binary sequence $f^{1}$ , the associated real in $[0,1]$ is $\mathbb {r}(f):=\sum _{n=0}^{\infty }\frac {f(n)}{2^{n+1}}$ .

  8. (h) Sets of type $\rho $ objects $X^{\rho \rightarrow 0}, Y^{\rho \rightarrow 0}, \dots $ are given by their characteristic functions $F^{\rho \rightarrow 0}_{X}\leq _{\rho \rightarrow 0}1$ , i.e., we write ‘ $x\in X$ ’ for $ F_{X}(x)=_{0}1$ .

For completeness, we list the following notational convention for finite sequences.

Notation A.5 (Finite sequences).

The type for ‘finite sequences of objects of type $\rho $ ’ is denoted $\rho ^{*}$ , which we shall only use for $\rho =0,1$ . Since the usual coding of pairs of numbers goes through in ${\textsf {RCA}}_{0}^{\omega }$ , we shall not always distinguish between $0$ and $0^{*}$ . Similarly, we assume a fixed coding for finite sequences of type $1$ and shall make use of the type ‘ $1^{*}$ ’. In general, we do not always distinguish between ‘ $s^{\rho }$ ’ and ‘ $\langle s^{\rho }\rangle $ ’, where the former is ‘the object s of type $\rho $ ’, and the latter is ‘the sequence of type $\rho ^{*}$ with only element $s^{\rho }$ ’. The empty sequence for the type $\rho ^{*}$ is denoted by ‘ $\langle \rangle _{\rho }$ ’, usually with the typing omitted.

Furthermore, we denote by ‘ $|s|=n$ ’ the length of the finite sequence $s^{\rho ^{*}}=\langle s_{0}^{\rho },s_{1}^{\rho },\dots ,s_{n-1}^{\rho }\rangle $ , where $|\langle \rangle |=0$ , i.e., the empty sequence has length zero. For sequences $s^{\rho ^{*}}, t^{\rho ^{*}}$ , we denote by ‘ $s*t$ ’ the concatenation of s and t, i.e., $(s*t)(i)=s(i)$ for $i<|s|$ and $(s*t)(j)=t(|s|-j)$ for $|s|\leq j< |s|+|t|$ . For a sequence $s^{\rho ^{*}}$ , we define $\overline {s}N:=\langle s(0), s(1), \dots , s(N-1)\rangle $ for $N^{0}<|s|$ . For a sequence $\alpha ^{0\rightarrow \rho }$ , we also write $\overline {\alpha }N=\langle \alpha (0), \alpha (1),\dots , \alpha (N-1)\rangle $ for any $N^{0}$ . By way of shorthand, $(\forall q^{\rho }\in Q^{\rho ^{*}})A(q)$ abbreviates $(\forall i^{0}<|Q|)A(Q(i))$ , which is (equivalent to) quantifier-free if A is.

Acknowledgements

We thank Anil Nerode for his valuable advice, especially the suggestion of studying nsc for the Riemann integral, and discussions related to Baire classes. We thank Dave R. Renfro for his efforts in providing a most encyclopedic summary of analysis, to be found online.

Funding

Our research was supported by the Deutsche Forschungsgemeinschaft via the DFG grant SA3418/1-1 and the Klaus Tschira Boost Fund via the grant Projekt KT43. We express our gratitude towards the aforementioned institutions.

Footnotes

1 A less famous smallness notion is porosity (see [Reference Zajíček102]), which we may study in a future paper.

2 The system ${\textsf {Z}}_{2}^{\omega }$ from Section 1.3.2 is a conservative extension of ${\textsf {Z}}_{2}$ via third-order comprehension functionals ${\textsf {S}}_{k}^{2}$ that decide $\Pi _{k}^{1}$ -formulas. By [Reference Normann and Sanders71, Theorem 6.16] or [Reference Normann and Sanders76, Theorem 3.4], ${\textsf {Z}}_{2}^{\omega }+{\textsf {QF-AC}}^{0,1}$ cannot prove ${\textsf {BCT}}_{[0,1]}$ ; a similar result is proved in Theorem 2.2.

3 The notion of Baire 1 $^{*}$ goes back to [Reference Ellis29] and equivalent definitions may be found in [Reference Kirchheim48]. In particular, Baire 1 $^{*}$ is equivalent to the Jayne–Rogers notion of piecewise continuity from [Reference Jayne and Rogers44].

4 The notion of countably discontinuity, under a different name, goes back to Lusin (see [Reference Novikov and Adyan80]).

5 If $A_{n}$ were infinite, the Bolzano–Weierstrass theorem implies the existence of a limit point $y\in [0,1]$ for $A_{n}$ . One readily shows that $f(y+)$ or $f(y-)$ does not exist, a contradiction as f is assumed to be regulated. This argument is readily formalised in ${\textsf {ACA}}_{0}^{\omega }+{\textsf {QF-AC}}^{0,1}$ .

6 The Baire category theorem for RM-open and R2-open sets is provable in ${\textsf {ACA}}_{0}^{\omega }$ by [Reference Simpson93, II.5.8] and [Reference Normann and Sanders71, Theorem 7.10]. Hence, in case $D_{k}$ as in (1.1) have RM-codes or R2-representations, the associated Baire category theorem implies that $D_{f}=\cup _{k\in {\mathbb N}}D_{k}$ is not $[0,1]$ , i.e., $C_{f}$ is non-empty. By [Reference Sanders90, Theorem 3.7], we obtain ${\textsf {NIN}}_{[0,1]}$ which is not provable in ${\textsf {Z}}_{2}^{\omega }$ by [Reference Normann and Sanders76, Theorem 3.1].

7 To be absolutely clear, the notation ‘ ${\textsf {osc}}_{f}$ ’ and the appearance of f therein in particular, is purely symbolic and lambda abstraction involving ‘ $\lambda f$ ’ is expressly forbidden.

8 Define $f:{\mathbb R}\rightarrow {\mathbb R}$ as: $f(x)=\frac {-1}{x}$ if $x>0$ and $f(x)=1$ if $x\leq 0$ , which is usco but not bounded below. By [Reference Normann and Sanders79, Theorem 2.9], usco functions are bounded above in ${\textsf {RCA}}_{0}^{\omega }+{\textsf {QF-AC}}^{0,1}+{\textsf {WKL}}$ .

9 In fact, it is consistent with ${\textsf {Z}}_{2}^{\omega }+{\textsf {QF-AC}}^{0,1}$ that there are bounded usco functions on the unit interval that are everywhere discontinuous (see [Reference Normann and Sanders79, Section 3]).

10 A function $f:[0,1]\rightarrow {\mathbb R}$ is sequentially sico if for any sequence of open sets $(G_{n})_{n\in {\mathbb N}}$ , there are sequences $(O_{n})_{n\in {\mathbb N}}$ and $(N_{n})_{n\in {\mathbb N}}$ of open and nowhere dense sets with $f^{-1}(G_{n})=O_{n}\cup {N_{n}}$ . The proof that sico functions are cliquish (see [Reference Neubrunnová67, Theorems 2.1 and 2.2]) goes through without extra induction or fragments of the Axiom of Choice if we assume sequentially sico functions.

11 For $A\subseteq B\subset {\mathbb R}$ , we say that A is relatively open (in B) if for any $a\in A$ , there is $N\in {\mathbb N}$ such that $B(x, \frac {1}{2^{N}})\cap B\subset A$ . Note that B is always relatively open in itself.

12 As observed below Corollary 2.8, the principle ${\textsf {open}}$ in the latter is ‘explosive’ in that $\Pi _{1}^{1}\text {-}{\textsf {CA}}_{0}^{\omega }+{\textsf {open}}$ proves $\Pi _{2}^{1}\text {-}\textsf {CA}_{0}$ [Reference Normann and Sanders75], while $\Pi _{1}^{1}\text {-}{\textsf {CA}}_{0}^{\omega }$ is $\Pi _{3}^{1}$ -conservative over $\Pi _{1}^{1}\text {-}{\textsf {CA}}_{0}$ [Reference Sakamoto and Yamazaki86]. The supremum principle for Riemann integrable functions (even with a modulus) behaves the same.

References

Appell, J., Banaś, J., and Merentes, N., Bounded Variation and Around , De Gruyter Series in Nonlinear Analysis and Applications, vol. 17, De Gruyter, Berlin, 2014.Google Scholar
Ascoli, G.Sul concetto di integrale definito. Atti della Accademia Reale Dei Lincei, Rendiconti. Classe di Scienze Fisiche, Matematiche e Naturali , vol. 2 (1875), no. 2, pp. 862872.Google Scholar
Avigad, J. and Feferman, S., Gödel’s functional (“Dialectica”) interpretation , Handbook of Proof Theory , Studies in Logic and the Foundations of Mathematics, vol. 137, Elsevier, Amsterdam, 1998, pp. 337405.Google Scholar
Bagemihl, F., A note on Scheeffer’s theorem . The Michigan Mathematical Journal , vol. 2 (1953/54), pp. 149150 (1955).Google Scholar
Baire, R., Sur les fonctions de variables réelles . Annali di Matematica Pura ed Applicata , vol. 3 (1899), no. 3, pp. 1123.CrossRefGoogle Scholar
Baire, R., Leçons sur les fonctions discontinues , Les Grands Classiques Gauthier-Villars, Jacques Gabay, Sceaux, 1995 (in French), reprint of the 1905 original.Google Scholar
Banach, S., Über die Baire’sche Kategorie gewisser Funktionenmengen , Studia Mathematica , vol. 3 (1931), pp. 174179.Google Scholar
Barrett, J. M., The reverse mathematics of Cousin’s lemma , Ph.D. Thesis, Victoria University of Wellington, 2020, supervised by Rod Downey and Noam Greenberg, xi + 51 pp.Google Scholar
Barrett, J. M., Downey, R. G., and Greenberg, N., Cousin’s lemma in second-order arithmetic, preprint, 2021, arxiv:2105.02975.Google Scholar
Bartle, R. G., A Modern Theory of Integration , Graduate Studies in Mathematics, vol. 32, American Mathematical Society, Providence, 2001.Google Scholar
Bishop, E., Foundations of Constructive Analysis , McGraw-Hill, New York, 1967.Google Scholar
Blumberg, H., New properties of all real functions . Transactions of the AMS - American Mathematical Society , vol. 24 (1922), no. 2, pp. 113128.Google Scholar
Borsík, J., Sums of quasicontinuous functions defined on pseudometrizable spaces . Real Analysis Exchange , vol. 22 (1996/97), no. 1, pp. 328337.CrossRefGoogle Scholar
Borsík, J. and Doboš, J., A note on real cliquish functions . Real Analysis Exchange , vol. 18 (1992/93), no. 1, pp. 139145.Google Scholar
Bourbaki, N., Functions of a Real Variable , Elements of Mathematics, Springer, Berlin–Heidelberg, 2004.Google Scholar
Broughan, K. A., The boundedness principle characterizes second category subsets . Bulletin of the Australian Mathematical Society , vol. 16 (1977), no. 2, pp. 257265.Google Scholar
Brown, A. B., A proof of the Lebesgue condition for Riemann integrability . American Mathematical Monthly , vol. 43 (1936), no. 7, pp. 396398.Google Scholar
Brown, D. K., The Baire category theorem in weak subsystems of second-order arithmetic , Ph.D. thesis, The Pennsylvania State University; ProQuest LLC, Ann Arbor, 1987.Google Scholar
Brown, D. K. and Simpson, S. G., The Baire category theorem in weak subsystems of second-order arithmetic , this Journal, vol. 58 (1993), no. 2, pp. 557578.Google Scholar
Buchholz, W., Feferman, S., Pohlers, W., and Sieg, W., Iterated Inductive Definitions and Subsystems of Analysis , Lecture Notes in Mathematics, vol. 897, Springer, Berlin–Heidelberg, 1981.Google Scholar
Carleson, L., On convergence and growth of partial sums of Fourier series . Acta Mathematica , vol. 116 (1966), pp. 135157.Google Scholar
Cohen, P., The independence of the continuum hypothesis . Proceedings of the National Academy of Sciences of the United States of America , vol. 50 (1963), pp. 11431148.Google Scholar
Cohen, P., The independence of the continuum hypothesis. II . Proceedings of the National Academy of Sciences of the United States of America , vol. 51 (1964), pp. 105110.CrossRefGoogle ScholarPubMed
Darboux, G., Mémoire Sur les fonctions discontinues . Annales scientifiques de l’École Normale Supérieure 2e série , vol. 4 (1875), pp. 57112.Google Scholar
Dini, U., Fondamenti per la Teorica Delle Funzioni di Variabili Reali , Nistri, Pisa, 1878.Google Scholar
Doboš, J. and Šalát, T. Cliquish functions, Riemann integrable functions and quasi-uniform convergence . Acta Mathematica Universitatis Comenianae , vol. 40/41 (1982), pp. 219223.Google Scholar
Dunham, W., A historical gem from Vito Volterra , Mathematics Magazine , vol. 63 (1990), no. 4, pp. 234237.Google Scholar
Dzhafarov, D. D. and Mummert, C., Reverse Mathematics: Problems, Reductions, and Proofs , Springer, Cham, 2022.CrossRefGoogle Scholar
Ellis, H. W., Darboux properties and applications to non-absolutely convergent integrals , Canadian Journal of Mathematics , vol. 3 (1951), pp. 471485.Google Scholar
Ewert, J., Characterization of cliquish functions , Acta Mathematica Hungarica , vol. 89 (2000), no. 4, pp. 269276.CrossRefGoogle Scholar
Friedman, H., Some systems of second order arithmetic and their use , Proceedings of the International Congress of Mathematicians (Vancouver, BC, 1974) , vol. 1 , Canadian Mathematical Congress: Vancouver, 1975, pp. 235242.Google Scholar
Friedman, H., Systems of second order arithmetic with restricted induction, I & II (abstracts) , this Journal, vol. 41 (1976), pp. 557559.Google Scholar
Gauld, D., Did the young Volterra know about cantor? Mathematics Magazine , vol. 66 (1993), no. 4, pp. 246247.CrossRefGoogle Scholar
Gödel, K., The consistency of the axiom of choice and of the generalized continuum-hypothesis . Proceedings of the National Academy of Science , vol. 24 (1938), no. 12, pp. 556557.Google Scholar
Gordon, R. A., The inversion of approximate and dyadic derivatives using an extension of the Henstock integral . Real Analysis Exchange , vol. 16 (1990/91), no. 1, 154168.Google Scholar
Gordon, R. A., The Integrals of Lebesgue, Denjoy, Perron, and Henstock , Graduate Studies in Mathematics, vol. 4, American Mathematical Society, Providence, 1994.Google Scholar
Hankel, H., Untersuchungen über die unendlich oft oscillirenden und unstetigen Functionen, Ludwig Friedrich Fues, Memoir presented at the University of Tübingen on 6 March 1870.Google Scholar
Hankel, H., Untersuchungen über die unendlich oft oscillirenden und unstetigen Functionen . Mathematische Annalen , vol. 20 1882, pp. 63112.Google Scholar
Herrlich, H., Axiom of Choice , Lecture Notes in Mathematics, vol. 1876, Springer, Berlin–Heidelberg, 2006.Google Scholar
Hilbert, D. and Bernays, P., Grundlagen der Mathematik. II , Grundlehren der mathematischen Wissenschaften, vol. 50, Springer, Berlin–Heidelberg, 1970.Google Scholar
Holá, Ľ., There are ${2}^{\mathrm{c}}$ quasicontinuous non Borel functions on uncountable polish space . Results in Mathematics , vol. 76 (2021), no. 3, Article no. 126, 11 pp.Google Scholar
Holá, Ľ., Holý, D., and Moors, W., USCO and Quasicontinuous Mappings , De Gruyter Studies in Mathematics, vol. 81, De Gruyter, Berlin, 2021.Google Scholar
Hunter, J., Higher-order reverse topology , Ph.D. thesis, The University of Wisconsin–Madison; ProQuest LLC, Ann Arbor, 2008.Google Scholar
Jayne, J. E. and Rogers, C. A., First level Borel functions and isomorphisms . Journal de Mathématiques Pures et Appliquées (9) , vol. 61 (1982), no. 2, pp. 177205.Google Scholar
Kanovei, V. and Katz, M., A positive function with vanishing Lebesgue integral in Zermelo–Fraenkel set theory . Real Analysis Exchange , vol. 42 (2017), no. 2, pp. 385390.Google Scholar
Kempisty, S., Sur les fonctions quasicontinues . Fundamenta Mathematicae , vol. 19 (1932), no. 1, pp. 184197.Google Scholar
Keremedis, K., Disasters in topology without the axiom of choice . Archive for Mathematical Logic , vol. 40 (2001), no. 8, pp. 569580.Google Scholar
Kirchheim, B., Baire one star functions . Real Analysis Exchange , vol. 18 (1992/93), no. 2, pp. 385399.Google Scholar
Kohlenbach, U., Foundational and mathematical uses of higher types , Reflections on the Foundations of Mathematics , Lecture Notes in Logic, vol. 15, Cambridge University Press, Cambridge, 2002, pp. 92116.Google Scholar
Kohlenbach, U., Higher order reverse mathematics , Reverse Mathematics 2001 , Lecture Notes in Logic, vol. 21, Cambridge University Press, Cambridge, 2005, pp. 281295.Google Scholar
Kosiński, L., Martel, É., and Ransford, T., A uniform boundedness principle in pluripotential theory . Arkiv för Matematik , vol. 56 (2018), no. 1, pp. 101109.Google Scholar
Kostyrko, P., Some properties of oscillation . Mathematica Slovaca , vol. 30 (1980), pp. 157162.Google Scholar
Koumoullis, G., A generalization of functions of the first class . Topology and Its Applications , vol. 50 (1993), no. 3, pp. 217239.Google Scholar
Kuratowski, K., Topology , vol. I , Academic Press, New York–London, 1966.Google Scholar
Lebesgue, H., Intégrale, Longueur, Aire . Annali di Mathematica Pura ed Applicata (3) , vol. 7 (1902), pp. 231359.Google Scholar
Lee, P.-Y., On $\mathrm{ACG}^{\ast }$ functions . Real Analysis Exchange , vol. 15 (1989/90), no. 2, pp. 754759.Google Scholar
Lee, P.-Y., Tang, W.-K., and Zhao, D., An equivalent definition of functions of the first Baire class . Proceedings of the American Mathematical Society , vol. 129 (2001), no. 8, pp. 22732275.Google Scholar
Longley, J. and Normann, D., Higher-Order Computability , Theory and Applications of Computability, Springer, Berlin–Heidelberg, 2015.CrossRefGoogle Scholar
Maliszewski, A., On the products of bounded Darboux Baire one functions . Journal of Applied Analysis , vol. 5 (1999), no. 2, pp. 171185.Google Scholar
Menkyna, R., On representations of Baire one functions as the sum of lower and upper semicontinuous functions . Real Analysis Exchange , vol. 38 (2012/13), no. 1, pp. 169175.Google Scholar
Montalbán, A., Open questions in reverse mathematics . Bulletin of the Symbolic Logic , vol. 17 (2011), no. 3, pp. 431454.Google Scholar
Myerson, G. I., First-class functions . American Mathematical Monthly , vol. 98 (1991), no. 3, pp. 237240.Google Scholar
Mytilinaios, M. E. and Slaman, T. A., On a question of Brown and Simpson , Computability, Enumerability, Unsolvability , London Mathematical Society Lecture Note Series, vol. 224, Cambridge University Press, Cambridge, 1996, pp. 205218.Google Scholar
Neeman, I., Necessary use of ${\Sigma}_1^1$ induction in a reversal , this Journal, vol. 76 (2011), no. 2, pp. 561574.Google Scholar
Nemoto, T., A constructive proof of the dense existence of nowhere-differentiable functions in $\mathrm{C}\left[0,1\right]$ . Computability , vol. 9 (2020), nos. 3–4, pp. 315326.Google Scholar
Nemoto, T. and Sato, K., A marriage of Brouwer’s intuitionism and Hilbert’s finitism I: Arithmetic , this Journal, vol. 87 (2022), no. 2, pp. 437497.Google Scholar
Neubrunnová, A., On certain generalizations of the notion of continuity , Matematický Časopis Sloven. Akad. Vied., vol. 23 (1973), pp. 374380.Google Scholar
Neubrunnová, A., On quasicontinuous and cliquish functions . Časopis pro Pěstování Matematiky , vol. 99 (1974), pp. 109114.Google Scholar
Nguyen, B. M. and Nguyen, X. T., On the continuity of vector convex multivalued functions . Acta Mathematica Vietnamica , vol. 27 (2002), no. 1, pp. 1325.Google Scholar
Normann, D. and Sanders, S., On the mathematical and foundational significance of the uncountable . Journal of Mathematical Logic , vol. 19 (2019), no. 1, p. 1950001.Google Scholar
Normann, D. and Sanders, S., Open sets in reverse mathematics and computability theory . Journal of Logic and Computation , vol. 30 (2020), no. 8, pp. 16391679.Google Scholar
Normann, D. and Sanders, S., Pincherle’s theorem in reverse mathematics and computability theory . Annals of Pure and Applied Logic , vol. 171 (2020), no. 5, Article no. 102788, 41 pp.Google Scholar
Normann, D. and Sanders, S., The axiom of choice in computability theory and reverse mathematics . Journal of Logic and Computation , vol. 31 (2021), no. 1, pp. 297325.Google Scholar
Normann, D. and Sanders, S., The Vitali covering theorem in reverse mathematics and computability theory, submitted, 2022. https://arxiv.org/abs/1902.02756 Google Scholar
Normann, D. and Sanders, S., On robust theorems due to Bolzano, Jordan, Weierstrass, and cantor in reverse mathematics , this Journal (2022), pp. 151. https://doi.org/10.1017/jsl.2022.71 Google Scholar
Normann, D. and Sanders, S., On the uncountability of $\mathbb{R}$ , this Journal, vol. 87 (2022), no. 4, pp. 14741521.Google Scholar
Normann, D. and Sanders, S., Betwixt Turing and Kleene , Proceedings of LFCS’22 , Logical Foundations of Computer Science, vol. 13137, Cambridge University Press, Cambridge, 2022, pp. 117.Google Scholar
Normann, D. and Sanders, S., On the computational properties of basic mathematical notions . Journal of Logic and Computation , vol. 32 (2022), no. 8, pp. 17471795.Google Scholar
Normann, D. and Sanders, S., The Biggest Five of reverse mathematics, Journal of Mathematical Logic , to appear, https://doi.org/10.1142/S0219061324500077.CrossRefGoogle Scholar
Novikov, P. S. and Adyan, S. I., On a semicontinuous function . Moskov. Gos. Ped. Inst. Uč. Zap. , vol. 138 (1958), pp. 310 (in Russian).Google Scholar
Osgood, W. F., Non-uniform convergence and the integration of series term by term . American Journal of Mathematics , vol. 19 (1897), no. 2, pp. 155190.Google Scholar
Pawlak, R. J., On some class of functions intermediate between the class  ${\mathrm{B}}_1^{\ast }$ and the family of continuous functions. Tatra Mountains Mathematical Publications , vol. 19 (2000), no. part I, pp. 135144.Google Scholar
Pfeffer, W. F., A note on the generalized Riemann integral . Proceedings of the American Mathematical Society , vol. 103 (1988), no. 4, pp. 11611166.Google Scholar
Riemann, B., Ueber die Darstellbarkeit einer Function durch eine trigonometrische Reihe, Abhandlungen der Königlichen Gesellschaft der Wissenschaften zu Göttingen , vol. 13, Habilitation thesis defended in 1854, published in 1867, p. 47.Google Scholar
Riemann, B., Bernhard Riemann: Collected Works (Baker, R. C., Christenson, C. O., and Orde, H., translators), Kendrick Press, Heber City, 2004.Google Scholar
Sakamoto, N. and Yamazaki, T., Uniform versions of some axioms of second order arithmetic . Mathematical Logic Quarterly , vol. 50 (2004), no. 6, pp. 587593.Google Scholar
Saks, S., Theory of the Integral , Dover Publications, New York, 1964.Google Scholar
Sanders, S., The uncountability of $\mathbb{R}$ in reverse mathematics , Proceedings of CiE22 , Lecture Notes in Computer Science, vol. 13359, Springer, Berlin–Heidelberg, 2022, pp. 272286.Google Scholar
Sanders, S., On the computational properties of the Baire category theorem, submitted, 2022, arxiv:2210.05251.Google Scholar
Sanders, S., Big in reverse mathematics: The uncountability of the real numbers , this Journal (2023), pp. 134. https://doi.org/10.1017/jsl.2023.42 Google Scholar
Silva, C. E. and Wu, Y., No functions continuous only at points in a countable dense set, preprint, 2023, arxiv:1809.06453v3.Google Scholar
Simpson, S. G., Reverse Mathematics 2001 , Lecture Notes in Logic, vol. 21, Association for Symbolic Logic, La Jolla, 2005.Google Scholar
Simpson, S. G., Subsystems of Second Order Arithmetic , second ed., Perspectives in Logic, Cambridge University Press, Cambridge, 2009.Google Scholar
Stephen Smith, H. J., On the integration of discontinuous functions . Proceedings of the London Mathematical Society , vol. 6 (1874/75), pp. 140153.Google Scholar
Stillwell, J., Reverse Mathematics, Proofs from the Inside Out , Princeton University Press, Princeton, 2018.Google Scholar
Tao, T., Compactness and compactification , The Princeton Companion to Mathematics (Gowers, T., editor), Princeton University Press, Princeton, 2008, pp. 167169.Google Scholar
Tao, T., An Epsilon of Room, I: Real Analysis , Graduate Studies in Mathematics, vol. 117, American Mathematical Society, Providence, 2010.Google Scholar
Thomae, C. J. T., Einleitung in die Theorie der bestimmten Integrale , Louis Nebert, Halle a.S., 1875.Google Scholar
Troelstra, A. S., Metamathematical Investigation of Intuitionistic Arithmetic and Analysis , Lecture Notes in Mathematics, vol. 344, Springer, Berlin, 1973.Google Scholar
Trohimčuk, J. J., An example of a point-set. Ukrain. Mat. Ž. , vol. 13 (1961), no. 1, pp. 117118 (in Russian).Google Scholar
Volterra, V., Alcune osservasioni sulle funzioni punteggiate discontinue . Giornale di matematiche , vol. XIX (1881), pp. 7686.Google Scholar
Zajíček, L., On $\sigma$ -porous sets in abstract spaces . Abstract and Applied Analysis , vol. 5 (2005), pp. 509534.Google Scholar
Figure 0

Figure 1 Some relations among our principles.