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.
Infinite simple continued fractions parametrise the irrational real numbers
Statement
The continued-fraction coding determined by Simple continued fractions, convergents, and the integer-coordinate coding of gives a bijection from the sequences with and for onto . Both the coding map and its inverse are continuous for the cylinder and subspace topologies.
Facts & Assumptions
Given: The objects, hypotheses, and choice principles stated above.
Define a bijection by and ; the division algorithm makes these two cases exhaustive (thm-division-algorithm-in-z). For put and for . Its finite simple continued fractions are defined by recursion on the length, evaluated in (def-rationals, def-rat-operations): and for . The recursion never divides by zero, because for makes every tail value at least . A finite prefix determines the cylinder of all codes extending it. Infinite continued-fraction values are established, rather than assumed, in this item. (Simple continued fractions, convergents, and the integer-coordinate coding of ).
Let and with for . With the initial values , , , and the recurrences , for : and ; the are positive for and strictly increasing for ; and for . For a finite prefix , is the code cylinder of all codes extending that prefix, and is the closed real interval with endpoints and . The intervals are nested as the prefix is extended, and , which tends to . A code cylinder and a real interval are different objects and the two are not identified. Both endpoints of are rational, being ratios of integers; whether an infinite code's value can equal such an endpoint is not settled there. (Continued-fraction convergents, determinant identities, and nested irrational cylinders).
Identify with its canonical copy inside . Then for every real there is exactly one integer with written and called the integer part, or floor, of . Existence is the Archimedean property (thm-of-archimedean) together with the well-ordering of (thm-well-ordering-principle); uniqueness is the discreteness of , no integer lying strictly between and . (Integer part: for every real there is exactly one integer with ).
The map (def-real-numbers) is an embedding of ordered fields. Every real is approximated by rationals: for and rational there is with . Consequently, strictly between any two reals lies a rational. (The rationals embed densely in the reals).
For each let be a closed bounded interval with (def-interval), and suppose the family is nested: for every . Write for the length of . Then: 1. is nonempty; more precisely, with and , both of which exist, one has and . 2. is a single point if and only if . (A nested sequence of nonempty closed bounded intervals has nonempty intersection, and the intersection is a single point exactly when the lengths tend to ).
The Baire sequence space is , the set of functions from to itself, with the product topology obtained by giving each copy of the discrete topology (def-product-topology, def-standard-topologies). For a finite sequence , its cylinder is . The empty sequence has cylinder , and these cylinders form a basis. (Baire sequence space and its cylinder topology).
For the subspace topology on is , the family of traces on of the open sets of ; a subset of lying in is said to be open in . (Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace).
For : is a metric on , the open ball is the bounded open interval , and consequently is open in the metric topology of exactly when for every there is with ; this topology is called the usual topology of . (The absolute value makes a metric space: is a metric, its open balls are the intervals , and it is unbounded, claims 1 to 3).
Proof
Write for the set of sequences with and for , and for a finite prefix put ; by [F1] the assignment with and for is a bijection of onto , since is a bijection of onto and is a bijection of onto the integers that are at least , and it acts coordinatewise, so it carries the cylinder of [F6] onto the cylinder of the decoded prefix and for , and every arises from exactly one in this way; give the topology transported along the bijection, so that the bijection is a homeomorphism and, the being a basis of by [F6] and their images being exactly the sets , those sets are a basis of , which is the cylinder topology of the Statement, while carries the subspace topology of [F7] inherited from .
For let and be as in [F2] and, for , put ; the initial values of [F2] give for every real , and for and every real the denominator satisfies , since and, for , and by [F2], so is defined at every real when and at every real when .
For the intervals are closed and bounded, are nested as increases, and satisfy , all by [F2], so by claims 1 and 2 of [F5] their intersection is a single real, written , and for every ; moreover is irrational, for suppose with integers and , and note first that the are positive for and strictly increasing for by [F2] and are integers, so and give for ; for both and the endpoint lie in , so because , and hence ; taking makes , and it is a nonnegative integer, hence , so for every , which is impossible because the determinant identity of [F2] gives .
For and reals at which is defined, clearing denominators gives , and by [F2] the determinant equals for while for the initial values give ; in every case it is or , and the denominators are positive by step 1.2, so is strictly monotone on its domain, strictly increasing when that determinant is and strictly decreasing when it is .
Fix and ; the recurrences of [F2] give and , both arguments lying in the domain found in step 1.2 because when while is defined on all of , so by [F2] the interval is the closed interval with endpoints and , both of which are rational by [F2]; the interval is nondegenerate because , and depends only on , since do.
Let and define , and ; by induction on every is irrational and for , since given irrational [F3] supplies the unique integer with , so that with because is irrational while is an integer, whence and , and is irrational because a rational nonzero would make rational; consequently for , the recursion never divides by zero, and is a member of the set of step 1.1.
Let be open in , so for some open in by [F7], and let satisfy ; claim 3 of [F8] gives a real with , and the diameters tend to by [F2], so some has ; for every the interval equals , because [F2] computes it from the prefix alone, and both and lie in it by step 1.3, so and ; hence every point of the preimage lies in a cylinder contained in it, so that preimage is the union of the cylinders it contains and is open by step 1.1, and the coding map is continuous.
Fix and ; subtracting and using the determinant identity of [F2] gives for every real , and at the value is the endpoint of other than identified in step 2.2; for the two differences and therefore have the same sign and satisfy , because , so lies strictly between the two endpoints of and is neither of them.
Let , let and be as in step 2.3, and let and be the convergent numerators and denominators of the code ; then for every , by induction on : at the values , , and of [F2] give because , and for the inductive step with , so multiplying numerator and denominator by gives by the recurrences of [F2]; every denominator here is nonzero, since and lie in the domains found in step 1.2.
Let with and let be the least index with ; the quantities are computed from the common initial segment alone, which is empty when , the four quantities then being the initial values of [F2], so by step 2.2 the codes and determine the same function , and is the closed interval with endpoints and while is the closed interval with endpoints and ; assume , which costs nothing by symmetry, so that as these are integers, and all four arguments lie in the domain of ; if is strictly increasing there, which is one of the two cases of step 2.1, then and with , so the two meet in when and in when , while if is strictly decreasing the same computation with the endpoints exchanged gives and with , so the two meet in at most the single point ; in both cases has at most one point, and any such point is an endpoint of both intervals and so is rational by step 2.2.
Let and let be the code produced in step 2.3; for every the tail identity of step 3.2 gives with , so step 3.1 places strictly between the two endpoints of and in particular inside it, whence , which by step 1.3 is the single point ; therefore , and maps onto .
Let with and let be least with ; by step 1.3 the values and are irrational with and , so if then that common value would lie in and hence be rational by step 3.3, a contradiction; therefore and is injective.
By step 1.3 the map sends every member of to an irrational real, it is surjective onto by step 4.1 and injective by step 4.2, so is a bijection, its inverse sends an irrational to the code of step 2.3, and composing with the coordinatewise bijection of step 1.1 presents it as a bijection defined on .
Let be a cylinder and let , say with , so that is a closed interval with rational by step 2.2 and irrational by step 1.3, giving , and by [F4] there are rationals with ; if is irrational with then for exactly one by step 5.1 and , and were for some then, taking to be the least such index, so that , the nesting of [F2] would put in , which by step 3.3 has at most one point and that point is rational, contradicting irrationality of , so and ; consequently the set is a union of open intervals and so is open in by [F8], and , the inclusion from left to right being the defining condition of the union and the reverse holding because the interval just produced for the arbitrary point of the image is one of the united intervals; hence that image is open in by [F7], and since every open subset of is a union of cylinders by step 1.1 and the image of a union is the union of the images, maps open sets to open sets, which for the bijection of step 5.1 says exactly that its inverse is continuous.
The coding map is a bijection onto by step 5.1, it is continuous by step 2.4, and its inverse is continuous by step 6.1, which is the assertion.
Remarks
-
The tail identity is what makes the algorithm invert the coding. Running floors and reciprocals on an irrational produces a code, but nothing in that recipe by itself says the code's value is again. The identity of step 3.2 says it: the whole of , not merely an approximation to it, is recovered from the first partial quotients together with the exact remainder , and since the value sits strictly inside the -th prefix interval. The intersection of those intervals is a single point, so it is .
-
Irrationality is used twice, and for different purposes. It is what makes the algorithm run forever, since a remainder equal to its own integer part would stop it; and it is what makes prefixes separate, since two prefix intervals of the same length belonging to different codes can share only a rational endpoint. The second use is what gives injectivity and the continuity of the inverse at once.
-
Where the parametrisation fails for rationals. Nothing above extends to a rational target: the algorithm terminates, and the coding map is onto the irrationals only. That is the reason the companion identification is with and not with , and the reason cannot be homeomorphic to by this route.
Depends on
- Simple continued fractions, convergents, and the integer-coordinate coding of $\mathbb N^{\mathbb N}$
- Continued-fraction convergents, determinant identities, and nested irrational cylinders
- Integer part: for every real $x$ there is exactly one integer $m$ with $m \le x < m + 1$
- The rationals embed densely in the reals
- A nested sequence of nonempty closed bounded intervals has nonempty intersection, and the intersection is a single point exactly when the lengths tend to $0$
- Baire sequence space $\mathbb N^{\mathbb N}$ and its cylinder topology
- Subspace topology: the traces of the open sets, its closed sets and its bases, the continuity of the inclusion, and the characteristic property of a map into a subspace
- The absolute value makes $\mathbb{R}$ a metric space: $d(x,y) = |x-y|$ is a metric, its open balls are the intervals $(x-r, x+r)$, and it is unbounded
Used by
Dependency tree · next 3 levels
Direct dependencies and their dependencies through the next three levels: 127 results over 31 levels. An arrow runs from a result to what uses it, and this result sits at the bottom with a heavier outline. Click the chart to enlarge it.
Sources
- David Marker, Descriptive Set Theory, §§1–2 (standard reference, not scraped)
- Michael Kunzinger, General Topology, §§11.3–11.4 (standard reference, not scraped)
- MFF General Topology course summary, §4.3 (standard reference, not scraped)
- Jesse Peterson, Real Analysis, §§3.6–3.7 (standard reference, not scraped)