Conjoin the metric-space formula of the metric-space kit with an explicit formula for openness, move it to the given positions by renaming, and apply class comprehension with the space fixed.
Throughout, formulas are written with abbreviations as in Formulas of the Language of Class Theory, Free Variables, Predicative Formulas and Abbreviations (vi), a formula being predicative when it is so with its abbreviations eliminated, and the given are the first of distinct set variables as in Renaming and Substituting Variables in Predicative Formulas, so that are distinct also when . The parameters , , and are variables other than and other than the bound variables below, at their fixed values as in Conditions Expressed by a Predicative Formula, and Guards (i); is a set, being an element of . For sets and , abbreviates , the strict order of . The letters denote further set variables, distinct from one another, from and from the parameters. Routine set bookkeeping is used without comment: elements of classes are sets (Classes, Membership, Sets and Proper Classes (i)), and so are subclasses of sets (Subclasses of Sets Are Sets, the Union and Power Set of a Set Exist Uniquely, Binary Unions of Sets Are Sets, and the Universal Class Is Proper (i)) and maps between sets, which lie in the class of functions from to (Membership in a Cartesian Product, and the Cartesian Product of Two Sets Is a Set (ii), The Elements of the Class of Functions from a Set to a Set, and This Class Is a Set (i)), in particular both components of a metric space (Metric Space); and a one-entry tuple is (The Ordered Pair of Two Sets and Nested Tuples (ii)).
The formula. Write , and for , and . For arbitrary sets, " is a metric space" includes the standing hypothesis of Metric Space that is a map from the Cartesian product to . By Kit for def:metric-space (vi) with , and , there is a predicative formula in , with parameters among , , and , that expresses " is a map and is a metric space"; its bound variables are chosen other than the letters above. Let
where is also a predicative formula in (Renaming and Substituting Variables in Predicative Formulas (ii)). It is predicative, no quantifier in it being applied to a class variable (Predicativity of Expressions with Abbreviations, and Symbol-Free Forms of the Basic Defined Set Symbols (i)), and its free variables are among and the parameters. Let sets , and be assigned to , and . If is not a map or is not a metric space, then fails, and so do and the condition
Suppose now that and that is a metric space, so that holds. The first conjunct of holds exactly when (Subclasses and Subsets (i)); if it fails, and the displayed condition both fail. So suppose , let , so that , and let be a real number with . For the pair lies in (Membership in a Cartesian Product, and the Cartesian Product of Two Sets Is a Set (i)), so, being a function, holds exactly for (Predicativity of Expressions with Abbreviations, and Symbol-Free Forms of the Basic Defined Set Symbols (x)); hence, by Predicativity of Expressions with Abbreviations, and Symbol-Free Forms of the Basic Defined Set Symbols (ii), holds exactly when implies , while for it holds trivially. So the part of beginning with says that every with and lies in , that is, by Open Ball in a Metric Space (ii) and Subclasses and Subsets (i), that the open ball satisfies
Hence the second conjunct of says that for every there is a real number with , that is, by Open Subset of a Metric Space (i), that is open in . In all cases holds if and only if the displayed condition does. So is a predicative formula in , in the sense of Renaming and Substituting Variables in Predicative Formulas, expressing the displayed condition with , and the sets assigned to , and .
Open subsets. By Renaming and Substituting Variables in Predicative Formulas (i), with its number of variables equal to and , and , the formula is a predicative formula in that holds, under every assignment of sets to , exactly when is a metric space, and is open in . This proves (i).
The class of open subsets. Let be a metric space. Apply The Class Comprehension Theorem for Predicative Formulas (i) to with its abbreviations eliminated, with as its single variable and , , , , and as its parameters, and being assigned and . It gives a class whose elements are exactly the sets for which holds with , and assigned , and , that is, as is a metric space, the sets that are open in . This proves (ii).
Loadingβ¦