How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced — the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted — a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated — a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Monotone Functions, Discontinuities, and Continuity Sets: Examples and Counterexamples
1 · Prerequisites
- Binary Operations, Monoids, Groups and Subgroups
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Countability and Uncountability
- Divisibility, Greatest Common Divisors and Bézout's Identity
- Foundations of the Real Numbers for Analysis
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Metric Spaces
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Order, Zorn's Lemma, and the Axiom of Choice
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Series: Convergence and the Nonnegative Tests
- Suprema and Infima
- The Cantor Set, Baire Category, and Measure Zero in ℝ
- The ZFC Axioms and the Basic Set Constructions
- Topology of ℝ
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Summary
3 · Logical flowchart
4 · Definitions, theorems and proofs
None yet.
5 · Examples, counterexamples and false statements
Thomae's function computed: , , at every integer , at every irrational, and at every real
Example
Let be Thomae's function (The Dirichlet function , and Thomae's function with at a rational in lowest terms with and at every irrational ), so that at a rational with least denominator and at an irrational . Then:
- and for every integer ;
- , and more generally for every natural ;
- ;
- at every irrational ;
- at every real (The oscillation of on a set and the oscillation at a point, both taken in the extended reals), so is at every integer, at every half-integer that is not an integer, and at every irrational.
Claim 5 is claim 2 of The Dirichlet function is continuous at no point of , and Thomae's function is continuous at every irrational and at no rational, so its set of continuity points is exactly the set of irrationals and its oscillation at equals evaluated at the points computed here; nothing new is proved about the oscillation, and the point of the example is to see the numbers.
Facts & Assumptions
Given: Thomae's function , with for rational ; are the canonical copies and is the canonical natural (The rationals embed densely in the reals, The canonical natural of a field).
for every real (The Dirichlet function is continuous at no point of , and Thomae's function is continuous at every irrational and at no rational, so its set of continuity points is exactly the set of irrationals and its oscillation at equals , claim 2); and is continuous at exactly when ( is continuous at if and only if , The oscillation of on a set and the oscillation at a point, both taken in the extended reals).
No integer lies strictly between and ; equivalently a real of the form with naturals is not an integer, lying strictly between and (Integer part: for every real there is exactly one integer with , Canonical naturals are positive and strictly increasing).
There exist irrational reals, the irrationals being dense in (Both and are dense in , and every nonempty open subset of is uncountable).
Verification
Claim 1: for an integer one has , so and , the least element of a set of naturals containing ; hence . The case is included.
Claim 2: let be a natural and put . Then , so and . Conversely, if is a natural with , then would put strictly between and , which no integer is; so . Hence and . Taking gives .
Claim 3: put . Then , so . Also lies strictly between and and so is not an integer, and lies strictly between and and so is not an integer. Hence and .
Claim 4 is the second clause of the definition of , and irrational reals exist.
Claim 5: at every real . At an integer this is by step 1.1; at a real of the form with an integer, the least denominator is , by the same computation as in step 1.2 applied to together with lying strictly between and , so the value is ; and at an irrational it is .
In particular is continuous at every irrational, where , and discontinuous at every rational, where ; the numbers above are the sizes of those failures.
Remarks
-
The least denominator is what the values record. is large exactly at the rationals with small denominators, and those are sparse: every point with least denominator is a multiple of , and consecutive multiples of are apart. The graph is the familiar picture of tall spikes at the integers, half as tall at the half-integers, and so on down.
-
Every value is attained, by step 1.2, so the range of is exactly ; the value is attained at every irrational.
A bounded nondecreasing whose set of discontinuities is exactly , obtained from the prescribed-jump construction applied to one fixed enumeration of the rationals
Example
Write for the canonical copy of the rationals inside (The rationals embed densely in the reals). There is a function with all of the following properties:
- is nondecreasing (Nondecreasing, increasing (strictly increasing), nonincreasing, decreasing, monotone and strictly monotone real functions on a subset of , with the dictionary to monotone sequences) and for every real ;
- is discontinuous at every rational and continuous at every irrational, so its discontinuity set is exactly ;
- every discontinuity of is a jump (Discontinuity of at a point of its domain, and its classification: removable discontinuity, jump discontinuity and essential discontinuity, equivalently Rudin's discontinuities of the first and of the second kind).
Explicitly, fixing a bijection ( is countably infinite), one may take
which is the construction of Converse to Froda: for every at most countable there is a bounded nondecreasing whose set of discontinuities is exactly , every one of them a jump applied to (Series, partial sums, convergence and the sum, divergence, and the tail series, For , , and for the series diverges).
This is the extreme case allowed by Froda's theorem. Froda's theorem: the set of discontinuities of a monotone function on an interval is at most countable, the injection into being built from one fixed enumeration of the rationals by least index, so no choice principle is used says that a monotone function on an interval has at most countably many discontinuities; is countable and dense, so the bound is attained by a set that meets every interval. A monotone function can therefore be discontinuous on a dense set, and it is nevertheless continuous on a set whose complement is countable.
Facts & Assumptions
Given: The canonical copy of the rationals.
, and composing a bijection with the embedding gives a bijection onto the canonical copy; in particular that copy is nonempty and at most countable ( is countably infinite, The rationals embed densely in the reals, Finite, countably infinite, countable, uncountable, Equinumerous sets, and , A nonempty set is at most countable iff it is a surjective image of ).
For every at most countable there is a bounded nondecreasing with , continuous at every point outside and discontinuous at every point of , with every discontinuity a jump (Converse to Froda: for every at most countable there is a bounded nondecreasing whose set of discontinuities is exactly , every one of them a jump, Nondecreasing, increasing (strictly increasing), nonincreasing, decreasing, monotone and strictly monotone real functions on a subset of , with the dictionary to monotone sequences, Discontinuity of at a point of its domain, and its classification: removable discontinuity, jump discontinuity and essential discontinuity, equivalently Rudin's discontinuities of the first and of the second kind).
The set of discontinuities of a monotone function on an interval is at most countable (Froda's theorem: the set of discontinuities of a monotone function on an interval is at most countable, the injection into being built from one fixed enumeration of the rationals by least index, so no choice principle is used).
Verification
, as a subset of , is at most countable.
Applying the prescribed-discontinuity theorem with produces a nondecreasing with values in , continuous at every irrational, discontinuous at every rational, and with every discontinuity a jump. This is exactly claims 1, 2 and 3.
The displayed formula is the function the theorem constructs, for the surjection of [L1]: the construction there sums the masses over the indices with .
The example is consistent with Froda's theorem and is extremal for it: the discontinuity set is at most countable, as Froda requires, and no larger discontinuity set is possible for any monotone function.
Remarks
-
The jump at a rational is at least , where is the index with . That lower bound is what the construction of Converse to Froda: for every at most countable there is a bounded nondecreasing whose set of discontinuities is exactly , every one of them a jump establishes, and it is what makes a discontinuity; the total mass available is , which is why stays inside . A different enumeration gives a different function with the same discontinuity set.
-
Continuity at every irrational is not an accident of this construction. The complement of a countable set is where a monotone function built this way must be continuous, and Froda's theorem: the set of discontinuities of a monotone function on an interval is at most countable, the injection into being built from one fixed enumeration of the rationals by least index, so no choice principle is used says the same thing in general: the discontinuities of a monotone function can never fill an uncountable set. The companion statement in the other direction, that no function whatever is continuous exactly at the rationals (No function is continuous at every rational and discontinuous at every irrational, because is not ), shows that the roles of and its complement cannot be exchanged here.
Froda's countable bound is attained: a bounded nondecreasing function on discontinuous exactly at the points for , an infinite discontinuity set inside a bounded interval
Example
Put
(The canonical natural of a field, Intervals of : the nine order-convex forms, nondegeneracy, and length). Then:
- is countably infinite (Finite, countably infinite, countable, uncountable);
- there is a nondecreasing with whose set of discontinuities is exactly , every one of them a jump (Converse to Froda: for every at most countable there is a bounded nondecreasing whose set of discontinuities is exactly , every one of them a jump, Nondecreasing, increasing (strictly increasing), nonincreasing, decreasing, monotone and strictly monotone real functions on a subset of , with the dictionary to monotone sequences, Discontinuity of at a point of its domain, and its classification: removable discontinuity, jump discontinuity and essential discontinuity, equivalently Rudin's discontinuities of the first and of the second kind);
- is contained in the bounded interval , so a monotone function may have infinitely many discontinuities inside a bounded interval.
Indexing. contains , so the points are for and never , which is undefined at ; the first point of is .
The point is not in and is continuous there. has as a limit point but does not contain it, and claim 2 asserts continuity at every point outside , so in particular at : a monotone function may be continuous at a limit point of its own discontinuity set.
Facts & Assumptions
Given: The set .
A nonempty set that is the image of a map defined on is at most countable; a set in bijection with is countably infinite (A nonempty set is at most countable iff it is a surjective image of , Finite, countably infinite, countable, uncountable, Equinumerous sets, and , Injection, surjection, bijection).
For every at most countable there is a nondecreasing with , continuous at every point outside and discontinuous at every point of , with every discontinuity a jump (Converse to Froda: for every at most countable there is a bounded nondecreasing whose set of discontinuities is exactly , every one of them a jump).
The set of discontinuities of a monotone function on an interval is at most countable (Froda's theorem: the set of discontinuities of a monotone function on an interval is at most countable, the injection into being built from one fixed enumeration of the rationals by least index, so no choice principle is used).
is positive and strictly increasing on the naturals , and for every real there is a natural with (Canonical naturals are positive and strictly increasing, The canonical natural of a field, For every in a complete ordered field there is a natural with , Every complete ordered field is Archimedean).
Verification
The map , , has image , and is nonempty since ; so is at most countable.
is injective: gives , hence , hence . Being injective with image , it is a bijection , so is countably infinite.
: gives , so .
Claim 2: applying the prescribed-discontinuity theorem to the at most countable set gives a nondecreasing with values in , discontinuous exactly at the points of , every discontinuity a jump.
Claims 1 and 3 are steps 1.1, 1.2 and 1.3, and the whole is consistent with Froda's theorem, which permits any at most countable discontinuity set and no larger one.
Remarks
-
What the example is for. Froda's theorem bounds the discontinuity set of a monotone function by countability and by nothing else; in particular it does not bound it by finiteness, even inside a bounded interval. The set above is the simplest witness: infinitely many jumps accumulating at a single point, all within .
-
The accumulation point is a point of continuity. The real is not a member of , so claim 2 gives continuity of at , even though every neighbourhood of contains infinitely many discontinuities of . Being a limit of discontinuities is not itself an obstruction to continuity.
-
A denser example is available. Taking instead gives a monotone function discontinuous on a dense set (A bounded nondecreasing whose set of discontinuities is exactly , obtained from the prescribed-jump construction applied to one fixed enumeration of the rationals); the present example is the smaller and more concrete one, and it is the one where the points can be listed.
The -th root as a continuous inverse: for a natural the map is continuous and strictly increasing on with image , so its inverse is continuous and strictly increasing
Example
Let with and put (Intervals of : the nine order-convex forms, nondegeneracy, and length) and , (Integer powers ). Then:
- is continuous on (Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point);
- is increasing on (Nondecreasing, increasing (strictly increasing), nonincreasing, decreasing, monotone and strictly monotone real functions on a subset of , with the dictionary to monotone sequences), hence injective (Injection, surjection, bijection);
- ;
- consequently the inverse map of is continuous on and increasing, and is the unique nonnegative -th root of (Existence and uniqueness of -th roots: a unique with ).
So the -th root function is continuous, and it is obtained from Continuous inverse theorem: a continuous injective on an interval is a bijection onto the order-convex set , and the inverse is continuous and strictly monotone in the same sense as rather than from a direct - estimate.
Facts & Assumptions
Given: A natural , the order-convex set and with .
Every polynomial function is continuous, in particular on any subset of (Sums, scalar multiples, products, absolute values, maxima, minima and quotients with nonvanishing denominator of continuous functions are continuous, as are constants, the identity and every polynomial function, claim 5, Integer powers ).
If and then ; and gives (Monotonicity of and of , claims 1 and 2).
For every real and every natural there is a unique real with , written (Existence and uniqueness of -th roots: a unique with , Rational powers of a positive base).
A continuous injective function on an order-convex is strictly monotone, its image is order-convex, and its inverse on that image is continuous and strictly monotone in the same sense (Continuous inverse theorem: a continuous injective on an interval is a bijection onto the order-convex set , and the inverse is continuous and strictly monotone in the same sense as , A continuous injective function on an interval is strictly monotone, Nondecreasing, increasing (strictly increasing), nonincreasing, decreasing, monotone and strictly monotone real functions on a subset of , with the dictionary to monotone sequences).
is order-convex (Intervals of : the nine order-convex forms, nondegeneracy, and length).
Verification
Claim 1: is the restriction to of a polynomial function, hence continuous on .
Claim 2: for one has since , so is increasing on ; an increasing function is injective.
Claim 3: , since gives ; and , since for the real lies in and satisfies .
Claim 4: is order-convex and is continuous and injective on it, so by the continuous inverse theorem is a bijection onto the order-convex set , which is by step 1.3, and the inverse is continuous and strictly monotone in the same sense as , that is increasing.
The value is the unique with , since inverts and ; so in the notation of the root theorem.
Remarks
-
Why . At the map is constantly (Integer powers ), so it is neither injective nor surjective onto , and no inverse exists. Every claim above is stated for and the hypothesis is used in step 1.2.
-
Why the domain is and not . For even the map is not injective on , since , so the continuous inverse theorem does not apply there; restricting to the nonnegative reals is what makes it injective, and it is also where Existence and uniqueness of -th roots: a unique with provides the roots.
-
What is gained over the root theorem alone. Existence and uniqueness of -th roots: a unique with produces the number for each separately and says nothing about how it varies with . Claim 4 is the statement that is a continuous increasing function, and it comes from the structure of the situation rather than from any estimate on roots.
The Cantor set has measure zero, yet the Cantor function maps it onto all of : a null set can have image an interval of length
Example
Let be the Cantor set (The Cantor middle-thirds set as the intersection of the sets obtained by removing open middle thirds) and let be the Cantor function (The Cantor function on , defined on the Cantor set through ternary digits and extended constantly across each removed interval). Then:
- has measure zero (Measure zero (a countable cover by intervals of total length below every ) and content zero (a finite such cover));
- : the Cantor function maps the Cantor set onto the whole of (Injection, surjection, bijection);
- does not have measure zero (A sequence of intervals covering has total length at least , so no interval of positive length has measure zero).
So a continuous function can carry a set of measure zero onto a set that is not of measure zero, and indeed onto an interval of length : being null is not preserved by continuous images.
Facts & Assumptions
Given: The Cantor set and the Cantor function .
has content zero and therefore measure zero (The Cantor set is compact, perfect, uncountable, nowhere dense and of measure zero, and it contains no interval of positive length, so its only nonempty connected subsets are single points, claim 2, Measure zero (a countable cover by intervals of total length below every ) and content zero (a finite such cover)).
is surjective onto as a function on , that is ; and is constant on whenever lie in with , while every point of lies in the open interval of such a pair (The Cantor function is well defined, satisfies whenever , is surjective onto , and is constant on every interval removed from the Cantor set, claims 3 and 4).
No set containing a bounded interval with two distinct endpoints has measure zero (A sequence of intervals covering has total length at least , so no interval of positive length has measure zero, Intervals of : the nine order-convex forms, nondegeneracy, and length).
is continuous on (The Cantor function is continuous on ).
Verification
Claim 1 is claim 2 of the Cantor set theorem.
Claim 3 is the nondegenerate-interval lemma applied to , whose endpoints and are distinct.
, since and .
: let and take with . If we are done. Otherwise , so lies in the open interval of a pair of points of with , and is constant on ; hence with , so .
Claim 2 follows from steps 1.3 and 1.4: . With claims 1 and 3 this says that the null set has image the set , which is not null, under the continuous function .
Remarks
-
Nothing here contradicts any theorem about null sets. Measure zero is preserved by countable unions (A countable union of measure-zero sets has measure zero, by countable choice) and by passing to subsets, both of which are statements about covers. What this example shows is that it is not preserved by continuous images, and that is not a gap in any theorem above: no result in this library asserts that a continuous image of a null set is null.
-
The image is as large as it could possibly be. takes values in (The Cantor function is well defined, satisfies whenever , is surjective onto , and is constant on every interval removed from the Cantor set), so always; claim 2 says the inclusion is an equality. So , which is null and nowhere dense (The Cantor set is compact, perfect, uncountable, nowhere dense and of measure zero, and it contains no interval of positive length, so its only nonempty connected subsets are single points), surjects onto an interval of length ; that is uncountable is proved independently as claim 4 of The Cantor set is compact, perfect, uncountable, nowhere dense and of measure zero, and it contains no interval of positive length, so its only nonempty connected subsets are single points.
-
Where the increase happens. The remark The Cantor function is continuous and nondecreasing, climbs from to , and is constant on every interval removed in the construction of the Cantor set, so all of its increase happens on a set of measure zero records the complementary fact: is locally constant off , so all of its climb from to takes place on the null set , and this example says that the climb is complete.
The function equal to at a rational in lowest terms and to at every irrational is finite at every point and unbounded on every nondegenerate interval
Example
Let be the least denominator of a rational (The Dirichlet function , and Thomae's function with at a rational in lowest terms with and at every irrational ) and define by
where is the canonical natural (The canonical natural of a field) and is the canonical copy of the rationals inside (The rationals embed densely in the reals). Equivalently at a rational , where is Thomae's function. Then:
- is a real number for every real : is finite at every point;
- is unbounded on every nondegenerate interval (Lower bound, bounded below, bounded set, Intervals of : the nine order-convex forms, nondegeneracy, and length): for all reals and every real there is with .
So a function may be finite at every single point and yet fail to be bounded on every interval, however short. In particular is bounded on no neighbourhood of any point.
Facts & Assumptions
Given: The function above, with for .
is a natural with , and for every natural with (The Dirichlet function , and Thomae's function with at a rational in lowest terms with and at every irrational ).
Strictly between any two distinct reals there lies a rational (The rationals embed densely in the reals, Both and are dense in , and every nonempty open subset of is uncountable).
A nonzero integer has absolute value at least , since no integer lies strictly between and (Integer part: for every real there is exactly one integer with , Basic properties of the absolute value).
For every real there is a natural with , and for every real a natural with ; is positive and strictly increasing on the naturals (For every in a complete ordered field there is a natural with , Every complete ordered field is Archimedean, Canonical naturals are positive and strictly increasing, The canonical natural of a field).
is an ordered field (Complete ordered field (least-upper-bound property)).
Verification
Claim 1: for a rational the value is a canonical natural, hence a real number, and for an irrational the value is . Every real falls under exactly one clause, so is a function .
Separation of rationals by their denominators. Let be rationals. Then . Indeed, put , , and , all integers; then , the numerator is an integer, and it is nonzero because ; so its absolute value is at least .
Claim 2: let be reals and let be real. Take a rational with and put . Take a natural with , and put
With , , and as in step 2.1, take a rational with . Then , so ; and with .
Hence . If instead then , and step 1.2 would give , contradicting step 3.1.
Therefore , and : the values of on exceed every real, so is unbounded on , and hence on every set containing it.
Remarks
-
Finiteness at a point says nothing about local boundedness. The two notions are often conflated; this example separates them as sharply as possible, since is unbounded on every nondegenerate interval and yet takes only real values.
-
is nowhere continuous, and the oscillation is infinite everywhere. Continuity at would give a neighbourhood on which , hence a neighbourhood on which is bounded, which claim 2 forbids; equivalently at every real (The oscillation of on a set and the oscillation at a point, both taken in the extended reals, Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point). This is a different pathology from Thomae's function, whose values are bounded by and which is continuous at every irrational (The Dirichlet function is continuous at no point of , and Thomae's function is continuous at every irrational and at no rational, so its set of continuity points is exactly the set of irrationals and its oscillation at equals ).
-
The separation estimate is the only arithmetic used. Step 1.2 is the standard fact that two distinct rationals with denominators and are at least apart, and it is proved from nothing more than "a nonzero integer has absolute value at least ".
The Dirichlet function is the pointwise limit of a sequence of Baire class one functions and is itself not Baire class one, so the Baire hierarchy on is already strict at the first level
Example
Let be the restriction to (Intervals of : the nine order-convex forms, nondegeneracy, and length) of the Dirichlet function (The Dirichlet function , and Thomae's function with at a rational in lowest terms with and at every irrational ), so at a rational and at an irrational . Then:
- is the pointwise limit on of a sequence of functions each of which is of Baire class one on (Pointwise convergence of a sequence of real functions, and the Baire class one functions as the pointwise limits of sequences of continuous functions), namely the indicators of the finite sets for a fixed surjection ;
- is not of Baire class one on .
So the class of pointwise limits of sequences of Baire class one functions is strictly larger than the class of Baire class one functions. That larger class is classically called Baire class two; no definition of it is given in this library and none is used, the statement above being phrased entirely in terms of pointwise limits (Pointwise convergence of a sequence of real functions, and the Baire class one functions as the pointwise limits of sequences of continuous functions).
Facts & Assumptions
Given: The Dirichlet function restricted to , written , and for the canonical copy of the rationals inside (The rationals embed densely in the reals).
is nonempty and at most countable, so it is the image of a surjection ( is countably infinite, Finite, countably infinite, countable, uncountable, A nonempty set is at most countable iff it is a surjective image of , The rationals embed densely in the reals).
Both and are dense in , so every nondegenerate interval contains a rational and an irrational (Both and are dense in , and every nonempty open subset of is uncountable, The closure equals the set together with its limit points, equals the set of points every neighbourhood of which meets it, and is the smallest closed superset; a set is closed iff it contains its limit points, The -neighbourhood and the punctured -neighbourhood of a point of ).
A Baire class one function on with is continuous at the points of a set that is dense in (Baire's theorem: a Baire class one function on a closed bounded interval is continuous at the points of a dense subset of that is the trace of a set, so its set of discontinuities is meager, claim 3).
Sums, scalar multiples, maxima and minima of continuous functions are continuous, as are constants and the identity (Sums, scalar multiples, products, absolute values, maxima, minima and quotients with nonvanishing denominator of continuous functions are continuous, as are constants, the identity and every polynomial function, claims 1, 3 and 5); continuity at a point is the - condition of Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point, and a Lipschitz function is continuous.
A nonempty finite set of reals presented as has a minimum, which is one of its members (Every nonempty finite set of reals has a maximum and a minimum, Maximum and minimum of a set).
For every real there is a natural with , and is positive and strictly increasing on the naturals (Every complete ordered field is Archimedean, For every in a complete ordered field there is a natural with , The canonical natural of a field, Canonical naturals are positive and strictly increasing).
and (Basic properties of the absolute value); a sequence of reals converges to when it is eventually within every positive of (Limits and Cauchy sequences of reals, Sequences of reals: bounded, eventually, frequently, tails, subsequences).
The Dirichlet function on is continuous at no point (The Dirichlet function is continuous at no point of , and Thomae's function is continuous at every irrational and at no rational, so its set of continuity points is exactly the set of irrationals and its oscillation at equals , claim 1).
Verification
Fix a surjection and, for , let be the indicator of : if for some , and otherwise.
Suppose, for contradiction, that is of Baire class one on .
But is continuous at no point of . Let and let be real; put and , so that and , the strict inequality holding because , and . The nondegenerate interval contains a rational and an irrational , with , so one of and equals ; hence no witnesses continuity at for . This is the argument of the Dirichlet claim, restricted to the domain .
For define by , the minimum of a nonempty finite set of reals. Then , and exactly when for some , the minimum being attained.
Then the set of points of at which is continuous is dense in , since ; in particular it is nonempty.
is -Lipschitz, hence continuous: choosing with gives , and exchanging and gives ; so witnesses continuity at every point.
For define by ; the index runs over the whole of , the term at being the constant since , so that is a sequence in the sense of Sequences of reals: bounded, eventually, frequently, tails, subsequences. Each is continuous on , being the pointwise maximum of the constant and the continuous function .
For each fixed the sequence converges pointwise on to . If then for every . If then, taking a natural with , every has , so .
Hence each is of Baire class one on , being the pointwise limit of a sequence of continuous functions.
The sequence converges pointwise on to . If then for some , since is onto, and for every . If is irrational then for every , so for every . Claim 1 is proved.
Steps 2.2 and 1.3 contradict one another, so the assumption of step 1.2 is false and is not of Baire class one on : claim 2 holds, and with step 7.1 the example is complete.
Remarks
-
Why the restriction to . Baire's theorem: a Baire class one function on a closed bounded interval is continuous at the points of a dense subset of that is the trace of a set, so its set of discontinuities is meager is stated on a closed bounded interval, and that is where the category argument lives; the same conclusion holds on by applying it on each , but nothing below needs that and it is not claimed here.
-
The two limits are of different kinds and the order matters. is a double pointwise limit: as grows, and as grows. Claim 2 says the two cannot be collapsed into one: no single sequence of continuous functions converges pointwise to .
-
The failing hypothesis, named exactly. What obstructs Baire class one is the density of the continuity set, and has an empty continuity set (The Dirichlet function is continuous at no point of , and Thomae's function is continuous at every irrational and at no rational, so its set of continuity points is exactly the set of irrationals and its oscillation at equals ). Thomae's function, by contrast, is continuous at every irrational and so is not excluded by this argument.
An additive that is not : the coefficient of one fixed Hamel basis vector. It is unbounded above and below on every nondegenerate interval, its graph is dense in , and every nonempty level set is dense in
Example
Assume the Axiom of Choice (The Axiom of Choice), which enters through Assuming the Axiom of Choice, has a Hamel basis over : there is such that every real is a finite -linear combination of elements of in exactly one way, and each basis vector carries a well-defined -linear coefficient map and hence through Zorn's lemma. Fix a Hamel basis of over the canonical copy of the rationals (The rationals embed densely in the reals, A field is a vector space over itself, and over any subfield every -vector space is a -vector space by restricting the scalars, Vector space over a field), fix , and let
be the coefficient map of (Assuming the Axiom of Choice, has a Hamel basis over : there is such that every real is a finite -linear combination of elements of in exactly one way, and each basis vector carries a well-defined -linear coefficient map, claim 4). Write (Linear combination of a finite list, and the span as the smallest linear subspace containing ). Then:
- is additive (Cauchy's functional equation , and the additive functions ) and is not of the form for any real (FALSE: every additive is of the form for a single real );
- is bounded neither above nor below on any nondegenerate interval (Lower bound, bounded below, bounded set, Intervals of : the nine order-convex forms, nondegeneracy, and length), is monotone on no nondegenerate interval (Nondecreasing, increasing (strictly increasing), nonincreasing, decreasing, monotone and strictly monotone real functions on a subset of , with the dictionary to monotone sequences), is of constant sign on none, and is continuous at no point of (Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point);
- the graph is dense in for the metric ( as the set of functions , and , , are metrics on it, Interior, closure, boundary, limit point, isolated point and dense subset of a metric space);
- the values of are exactly the rationals, and for every rational the level set is dense in ; for an irrational the level set is empty.
Claim 2 is the contrapositive of Six regularity conditions each force an additive to be : continuity at a single point, monotonicity on a nondegenerate interval, boundedness above on one, boundedness below on one, constancy of sign on one, and a graph that is not dense in applied to claim 1, clause by clause, and claim 3 is the contrapositive of its sixth clause.
Facts & Assumptions
Given: The Axiom of Choice; a Hamel basis of over ; a fixed ; the coefficient map and .
The Axiom of Choice (The Axiom of Choice, Zorn's lemma).
Assume the Axiom of Choice. Then a Hamel basis exists; for the coefficient map is well defined, additive, -homogeneous, has range all of , has , and (Assuming the Axiom of Choice, has a Hamel basis over : there is such that every real is a finite -linear combination of elements of in exactly one way, and each basis vector carries a well-defined -linear coefficient map, claims 1, 4 and 5, Linear combination of a finite list, and the span as the smallest linear subspace containing , Linear subspace of a vector space).
There is an additive that is not of the form , namely a coefficient map : it takes only rational values while would force irrational values (FALSE: every additive is of the form for a single real , Both and are dense in , and every nonempty open subset of is uncountable).
If an additive is bounded above on a nondegenerate interval, or bounded below on one, or monotone on one, or of constant sign on one, or continuous at a single point, or has non-dense graph in , then for every real (Six regularity conditions each force an additive to be : continuity at a single point, monotonicity on a nondegenerate interval, boundedness above on one, boundedness below on one, constancy of sign on one, and a graph that is not dense in ).
is a metric on and a subset is dense exactly when every open ball meets it ( as the set of functions , and , , are metrics on it, Open ball, closed ball and sphere in a metric space, Interior, closure, boundary, limit point, isolated point and dense subset of a metric space, The closure of a nonempty is , equals together with its limit points, and is the smallest closed superset).
is a linear subspace of over , so and give , and is closed under addition (Linear subspace of a vector space, Linear combination of a finite list, and the span as the smallest linear subspace containing ).
Strictly between any two distinct reals there lies a rational, and is an ordered field (The rationals embed densely in the reals, Complete ordered field (least-upper-bound property)).
An additive satisfies for rational (An additive satisfies , and for every rational and every real ; in particular at every rational ).
Verification
Assume the Axiom of Choice, fix and , and put and .
Claim 1: is additive, and it is not of the form for any real .
Claim 4, the range: the range of is exactly , so for every irrational and for every rational .
is dense in : by [L1] there is with , and for every rational ; given reals , the two reals and are distinct, so a rational lies strictly between them, and then lies strictly between and if , and strictly between and if . Either way meets .
Claim 2, clause by clause. Were bounded above on a nondegenerate interval, or bounded below on one, or monotone on one, or of constant sign on one, or continuous at a single point, the regularity theorem would give for every real , contradicting step 2.1. So none of the five holds.
Claim 3: were the graph of not dense in , the sixth clause of the regularity theorem would give the same contradiction. So the graph is dense.
For a rational the level set is for any with : indeed holds exactly when , that is exactly when . Here follows from additivity.
Each such level set is dense in : given reals , the interval meets by step 2.3, say in , and then lies in . Claim 4 is proved, and with steps 2.1, 3.1 and 3.2 so are claims 1, 2 and 3.
Remarks
-
The pathology is entirely a consequence of the two facts in claim 1. The proof uses nothing about except that it is additive and not linear; every other property is read off Six regularity conditions each force an additive to be : continuity at a single point, monotonicity on a nondegenerate interval, boundedness above on one, boundedness below on one, constancy of sign on one, and a graph that is not dense in by contraposition. A single such function therefore witnesses the failure of all six regularity conditions at once.
-
What the level sets look like. They are the cosets of the -subspace , one for each rational value, and each is dense. So is partitioned into countably many dense sets, on each of which is constant. The companion function of A bounded function on with no local maximum and no local minimum at any point, upper semicontinuous at no point and lower semicontinuous at no point: compose the Hamel coefficient with a strictly increasing injection of into is built by relabelling those values.
-
No measurability claim is made. The classical statement that a Hamel coefficient map is not Lebesgue measurable is not asserted here: this library develops no measure as it stands, so the statement is not expressible, and nothing above depends on it.
A bounded function on with no local maximum and no local minimum at any point, upper semicontinuous at no point and lower semicontinuous at no point: compose the Hamel coefficient with a strictly increasing injection of into
Example
Assume the Axiom of Choice (The Axiom of Choice, Zorn's lemma), which enters through Assuming the Axiom of Choice, has a Hamel basis over : there is such that every real is a finite -linear combination of elements of in exactly one way, and each basis vector carries a well-defined -linear coefficient map. Let be the Hamel coefficient map of An additive that is not : the coefficient of one fixed Hamel basis vector. It is unbounded above and below on every nondegenerate interval, its graph is dense in , and every nonempty level set is dense in , whose values are exactly the rationals and each of whose nonempty level sets is dense in . Define
Say that is a local maximum point of when there is a real with for every (The -neighbourhood and the punctured -neighbourhood of a point of ), and a local minimum point when there is a real with for every . Then:
- for every real , so is bounded (Lower bound, bounded below, bounded set);
- has no local maximum point and no local minimum point;
- is upper semicontinuous at no point of and lower semicontinuous at no point (Upper and lower semicontinuity of at a point of and on ); in particular it is continuous at no point (Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point).
Why and not a bijection onto . All that is needed of is that it be strictly increasing, take values in , and send rationals to rationals; the explicit formula above does all three and costs no countability argument.
Facts & Assumptions
Given: The Axiom of Choice; the Hamel coefficient map ; the map above; and .
The Axiom of Choice (The Axiom of Choice, Zorn's lemma).
Assume the Axiom of Choice. Then there is an additive whose range is exactly the canonical copy of the rationals and each of whose level sets , , is dense in (An additive that is not : the coefficient of one fixed Hamel basis vector. It is unbounded above and below on every nondegenerate interval, its graph is dense in , and every nonempty level set is dense in , claims 1 and 4, Assuming the Axiom of Choice, has a Hamel basis over : there is such that every real is a finite -linear combination of elements of in exactly one way, and each basis vector carries a well-defined -linear coefficient map, Cauchy's functional equation , and the additive functions , An additive satisfies , and for every rational and every real ; in particular at every rational , The rationals embed densely in the reals).
A set is dense exactly when for every real and every real (Both and are dense in , and every nonempty open subset of is uncountable, The -neighbourhood and the punctured -neighbourhood of a point of ).
is upper semicontinuous at when for every real there is a real with for every , lower semicontinuous at with , and continuous at exactly when it is both (Upper and lower semicontinuity of at a point of and on , Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point, is upper semicontinuous on if and only if is relatively open in for every real , lower semicontinuous if and only if is, and continuous if and only if it is both).
is an ordered field, and with for and for (Complete ordered field (least-upper-bound property), Basic properties of the absolute value).
is a maximum of a set when it belongs to it and dominates it, and dually for a minimum (Maximum and minimum of a set); is a nondegenerate interval (The -neighbourhood and the punctured -neighbourhood of a point of , Intervals of : the nine order-convex forms, nondegeneracy, and length).
Verification
Assume the Axiom of Choice and fix as in [L1]; define and .
is strictly increasing. For : reduces to , and dividing by the positive gives . For : reduces to , and dividing by the positive gives . For the first quantity is negative and the second is nonnegative. In every case , and is an increasing function of that quantity.
for every real , since gives ; and takes rationals to rationals, since and are rational when is. Claim 1 follows: for every real .
Let be real and put , a rational, and . The reals and are rational, and by step 2.1.
With and as in step 3.2, every real gives points with and : the level sets and are dense in , hence meet .
Claim 2: is not a local maximum point, since every contains with ; and is not a local minimum point, since every contains with . As was arbitrary, has no local maximum point and no local minimum point.
Claim 3: put . For every real the point of step 4.1 lies in and satisfies , so the inequality fails; hence no witnesses upper semicontinuity at for , and is upper semicontinuous at no point.
Symmetrically, with the point satisfies , so fails and is lower semicontinuous at no point; being continuous at a point would require both, so is continuous at no point.
Claims 1, 2 and 3 hold for the function constructed in step 1.1.
Remarks
-
Boundedness is what makes the example surprising. A function with no local extremum anywhere is easy to arrange if it is allowed to be unbounded; here every value lies strictly inside and yet no point is even a local extremum, because arbitrarily close to any point the function takes both a strictly larger and a strictly smaller value.
-
Everything comes from the level sets. The only property of used after step 1.1 is that its nonempty level sets are dense and indexed by the rationals (An additive that is not : the coefficient of one fixed Hamel basis vector. It is unbounded above and below on every nondegenerate interval, its graph is dense in , and every nonempty level set is dense in ); contributes only the bounding into and the preservation of strict order. Any function with countably many dense level sets, relabelled by a strictly increasing injection into a bounded interval, would do as well.
-
The additivity of is not used here. It was used to prove that the level sets are dense, on the companion item; once that is known, has nothing to do with Cauchy's equation. In particular is not additive: it takes values in and .
An upper semicontinuous function on that is bounded below and attains no minimum, so the semicontinuous extreme value theorem is genuinely one-sided
Statement refuted
Refuted claim: an upper semicontinuous function on a nonempty compact subset of that is bounded below attains a minimum (Upper and lower semicontinuity of at a point of and on , Maximum and minimum of a set).
What Semicontinuous extreme value theorem: an upper semicontinuous function on a nonempty compact is bounded above and attains a maximum, and a lower semicontinuous one is bounded below and attains a minimum proves is the one-sided statement: an upper semicontinuous function on a nonempty compact set attains a maximum, and a lower semicontinuous one attains a minimum. The refuted claim mixes the two, and it is false.
Counterexample
Then is upper semicontinuous on , bounded below by , with (Greatest lower bound (infimum)), and for every : the infimum is not attained, so has no minimum. It does attain a maximum, namely at , as Semicontinuous extreme value theorem: an upper semicontinuous function on a nonempty compact is bounded above and attains a maximum, and a lower semicontinuous one is bounded below and attains a minimum requires.
Facts & Assumptions
Given: The function with and for .
is upper semicontinuous at when for every real there is a real with for every (Upper and lower semicontinuity of at a point of and on , The -neighbourhood and the punctured -neighbourhood of a point of ).
The identity is continuous, so for the - condition for on a neighbourhood of avoiding is that of the identity (Sums, scalar multiples, products, absolute values, maxima, minima and quotients with nonvanishing denominator of continuous functions are continuous, as are constants, the identity and every polynomial function, Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point).
A nonempty set of reals bounded below has a greatest lower bound (Every nonempty set bounded below has an infimum, Greatest lower bound (infimum), Lower bound, bounded below, bounded set); is a minimum of when and for every (Maximum and minimum of a set).
For every real there is a natural with (For every in a complete ordered field there is a natural with ).
An upper semicontinuous function on a nonempty compact set attains a maximum (Semicontinuous extreme value theorem: an upper semicontinuous function on a nonempty compact is bounded above and attains a maximum, and a lower semicontinuous one is bounded below and attains a minimum); upper semicontinuity is equivalent to the strict sublevel sets being relatively open ( is upper semicontinuous on if and only if is relatively open in for every real , lower semicontinuous if and only if is, and continuous if and only if it is both).
Verification
is upper semicontinuous at : and for every , so for every and every real ; any works.
is upper semicontinuous at every : taking , every with satisfies , hence and .
is bounded below by and for every : for the value is , and for the value is .
: the set is nonempty and bounded below by by step 1.3, so its infimum exists and ; and for every real there is a natural with , and then , so no positive real is a lower bound and .
has no minimum: a minimum would be a value that is a lower bound of , hence at most the infimum ; but every value of is strictly positive.
So is upper semicontinuous on the nonempty compact set , is bounded below, and attains no minimum, which refutes the claim. It does attain a maximum, for every , in agreement with the semicontinuous extreme value theorem.
Remarks
-
The failing hypothesis, named exactly. is not lower semicontinuous at : taking , every neighbourhood of contains points with . Lower semicontinuity is precisely what Semicontinuous extreme value theorem: an upper semicontinuous function on a nonempty compact is bounded above and attains a maximum, and a lower semicontinuous one is bounded below and attains a minimum requires for a minimum, and it is precisely what is missing.
-
Reflecting the example gives the dual failure. The function is lower semicontinuous on , bounded above, and attains no maximum, by Upper and lower semicontinuity of at a point of and on ; so neither half of the theorem can be strengthened to the other extremum.
A continuous injection on that is not monotone, so the interval hypothesis cannot be dropped from the strict-monotonicity theorem
Statement refuted
Refuted claim: every continuous injective function on a subset is strictly monotone (Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point, Injection, surjection, bijection, Nondecreasing, increasing (strictly increasing), nonincreasing, decreasing, monotone and strictly monotone real functions on a subset of , with the dictionary to monotone sequences).
A continuous injective function on an interval is strictly monotone proves this under the hypothesis that is order-convex (Intervals of : the nine order-convex forms, nondegeneracy, and length). The refuted claim drops that hypothesis, and it is false.
Counterexample
Let and define by
Then is continuous on and injective, and it is not monotone: while . The set is not order-convex, since and .
Facts & Assumptions
Given: The set and the function above.
is continuous at when for every real there is a real with for every (Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point, The -neighbourhood and the punctured -neighbourhood of a point of ).
Constants, the identity and their sums and scalar multiples are continuous on every subset of (Sums, scalar multiples, products, absolute values, maxima, minima and quotients with nonvanishing denominator of continuous functions are continuous, as are constants, the identity and every polynomial function, claims 1 and 5).
is increasing when for all in , decreasing when for all in , and monotone when nondecreasing or nonincreasing (Nondecreasing, increasing (strictly increasing), nonincreasing, decreasing, monotone and strictly monotone real functions on a subset of , with the dictionary to monotone sequences).
is order-convex when and imply (Intervals of : the nine order-convex forms, nondegeneracy, and length).
A continuous injective function on an order-convex subset of is strictly monotone, and its inverse on the image is continuous (A continuous injective function on an interval is strictly monotone, Continuous inverse theorem: a continuous injective on an interval is a bijection onto the order-convex set , and the inverse is continuous and strictly monotone in the same sense as ).
Verification
and : on the map is the identity, and on the map sends to and to and is order-reversing, so its image is .
is continuous on . Let and let be real; take . Every with satisfies , so and .
Let and let be real; take . Every with satisfies , so and .
is not monotone: with rules out nonincreasing, and with rules out nondecreasing.
is not order-convex: , and , but .
is injective: it is injective on , being the identity there; it is injective on , since gives ; and the two images and are disjoint, so no point of one piece has the same value as a point of the other.
So is a continuous injection on that is not monotone, refuting the claim; and the hypothesis that fails is exactly order-convexity of the domain, which is what the theorem assumes.
Remarks
-
The inverse is still continuous here, and that is a coincidence of this example. is a bijection onto and its inverse is the same kind of piecewise map, continuous by the same argument. So this example does not refute the continuity of the inverse; what it refutes is monotonicity, and Continuous inverse theorem: a continuous injective on an interval is a bijection onto the order-convex set , and the inverse is continuous and strictly monotone in the same sense as derives continuity of the inverse from monotonicity, so on a domain that is not order-convex that route is unavailable even when the conclusion happens to hold.
-
Two pieces are enough, and the gap does the work. The values on and on never interfere, because the two images are disjoint; injectivity is therefore free and the two pieces may be oriented oppositely. On an order-convex domain the intermediate value theorem forbids exactly that, which is the content of steps 1.2 to 4.1 of A continuous injective function on an interval is strictly monotone.
Sources
Standard references
Recommended treatments; not extraction sources.
- Thomae's function (Wikipedia)
- Dirichlet Function (MathWorld)
- Classification of discontinuities (Wikipedia)
- Froda's theorem (Wikipedia)
- Math 402/502 Real Analysis Homework (University of New Mexico)
- Discontinuities of monotone functions (Wikipedia)
- Nth root (Wikipedia)
- MATH 320 Lecture Notes, October 21 (Stony Brook University)
- Real Analysis Notes 10 (California State University, Dominguez Hills)
- Cantor function (Wikipedia)
- Cantor set (Wikipedia)
- The Cantor Function and the Cantor Set (University of Melbourne)
- Elements of Real Analysis (Rutgers University-Camden)
- Baire function (Wikipedia)
- Dirichlet function (Wikipedia)
- Cauchy's functional equation (Wikipedia)
- Hamel basis, in Basis (linear algebra) (Wikipedia)
- On Functions Whose Graph Is a Hamel Basis
- Semi-continuity (Wikipedia)
- Monotonic function (Wikipedia)
- Chapter 4: Continuous Functions (Trinity College Dublin)