The functions (sum of / max(s, 1/2), built from the cut-off functions of the exhaustion, tents = max(0, 1 - q d(x, about the points of a dense sequence, their sum s and rational coefficients , form a countable family, enumerated without choice by a recursion over the number of tents; a compactly supported function is uniformly continuous, and choosing in turn the exhaustion index, the scale 1/q, the number of tents and coefficients near brings such a function within any given distance of f.
Throughout, for the difference is the pointwise difference, by The Continuous Functions with Compact Support Form a Real Normed Space under the Uniform Norm (i) and The Space of Continuous Functions with Compact Support and the Uniform Norm (ii); the norm metric of the real normed space of The Continuous Functions with Compact Support Form a Real Normed Space under the Uniform Norm (ii) is by The Norm Metric of a Real Normed Space (i); and a function with for every satisfies , by The Continuous Functions with Compact Support Form a Real Normed Space under the Uniform Norm (iii). Sums and products of continuous real functions are continuous by Continuity of Sums and Products of Real-Valued Functions on a Metric Space (v), and Lipschitz functions are continuous by A Lipschitz Map is Uniformly Continuous and Continuous (ii). Countable sets are as in Countable Set (i).
If , the only function is the empty function, so has the single element ; the set is finite by Finite Sets: the Pigeonhole Principle, Uniqueness of the Length, Subsets, Unions, Products, Images, Bounded Sets of Natural Numbers, Extreme Elements, Sets of Maps, Finite Unions and Finite Choice (iii), hence countable by Countable Sets: a Bijection from ℕ onto ℕ×ℕ, Finite Sets, Subsets, Surjective Images, Images, Products, and the Integers and Rationals (iii), and it meets every open ball of , so is separable. Assume from now on that .
Step 1: cut-offs, a dense sequence and tents. Let and , , be as in Exhaustion of a Locally Compact Separable Metric Space by Compact Sets, with Cut-Off Functions. By Separable Metric Space and Separable Real Normed Space (i) there is a countable dense set ; it is nonempty, since meets for any , so there is a surjective map . Put ; every open ball of contains some .
For define the tent by . Then ; if and only if ; if ; and is continuous, being Lipschitz because and . For put
Then is continuous as a finite sum of continuous functions, and . Since for and , we have , so is continuous because is.
Step 2: an enumeration of the rational combinations of tents. The set is countable by Countable Sets: a Bijection from ℕ onto ℕ×ℕ, Finite Sets, Subsets, Surjective Images, Images, Products, and the Integers and Rationals (ix) and contains , so there is a surjective map ; and by Countable Sets: a Bijection from ℕ onto ℕ×ℕ, Finite Sets, Subsets, Surjective Images, Images, Products, and the Integers and Rationals (ii) there is a bijection , written . Let be the set of maps from to the set of functions . By Recursion on the Natural Numbers Starting at One (i) there is a map from to with
By induction on , every is continuous, as a sum of real multiples of tents. We claim: for all and all rational numbers there is with
For take with . If the claim holds for and are rational, take with , with , and with ; then .
Step 3: the countable family. For let
a pointwise product of continuous functions, hence continuous. If then ; so by Support of a Real Function on a Metric Space (i) and Closure of a Subset of a Metric Space (ii) the support of lies in , and it is compact, as a closed subset of the compact set . Hence by The Space of Continuous Functions with Compact Support and the Uniform Norm (i). The set is countable by Countable Sets: a Bijection from ℕ onto ℕ×ℕ, Finite Sets, Subsets, Surjective Images, Images, Products, and the Integers and Rationals (i) and Countable Sets: a Bijection from ℕ onto ℕ×ℕ, Finite Sets, Subsets, Surjective Images, Images, Products, and the Integers and Rationals (vii), so the image is countable by Countable Sets: a Bijection from ℕ onto ℕ×ℕ, Finite Sets, Subsets, Surjective Images, Images, Products, and the Integers and Rationals (vi).
Step 4: approximation. Let and , and choose in this order: by Exhaustion of a Locally Compact Separable Metric Space by Compact Sets, with Cut-Off Functions (ii), with ; by Continuous Functions with Compact Support: the Zero Function, Closure under Operations, Vanishing off the Support, Existence of the Maximum Modulus, and Uniform Continuity (v), with for all with ; by The Real Numbers, with the Natural Numbers, Integers and Rationals Identified with Subsets of the Reals, and Completeness (ix), with ; with , which exists by Compact Subsets of a Metric Space: Covers by Open Sets, Finite Unions and Increasing Covers; Sublevel Sets of the Distance and Closed Balls (iii), since these unions are open, increase with , and cover (each has some in ); rational numbers with , which exist by The Real Numbers, with the Natural Numbers, Integers and Rationals Identified with Subsets of the Reals, and Completeness (x) and are taken together by Finite Sets: the Pigeonhole Principle, Uniqueness of the Length, Subsets, Unions, Products, Images, Bounded Sets of Natural Numbers, Extreme Elements, Sets of Maps, Finite Unions and Finite Choice (xi); and, by Step 2, with . Put , and abbreviate , , .
Let . If and , then , so
as the terms with vanish, this gives
If , some has , so and , while by Exhaustion of a Locally Compact Separable Metric Space by Compact Sets, with Cut-Off Functions (iii); hence by
If , then , so by Continuous Functions with Compact Support: the Zero Function, Closure under Operations, Vanishing off the Support, Existence of the Maximum Modulus, and Uniform Continuity (iii), and reads ; since ,
Thus for every , and .
Step 5: conclusion. Let and . Step 4 with gives with , so meets the open ball of radius about . Hence is a countable dense subset of by Dense Subset of a Metric Space (i), this metric space is separable by Separable Metric Space and Separable Real Normed Space (i), and the normed space is separable by Separable Metric Space and Separable Real Normed Space (ii).
Loading…