11.3 Cauchy reals
The Cauchy reals are, by intent, the completion of $\mathrm{\u0e42\x84\x9a}$ under limits of Cauchy sequences^{}. In the classical construction of the Cauchy reals, we consider the set $\mathrm{\u0e50\x9d\x92\x9e}$ of all Cauchy sequences in $\mathrm{\u0e42\x84\x9a}$ and then form a suitable quotient $\mathrm{\u0e50\x9d\x92\x9e}/\u0e42\x89\x88$. Then, to show that $\mathrm{\u0e50\x9d\x92\x9e}/\u0e42\x89\x88$ is Cauchy complete^{}, we consider a Cauchy sequence $x:\mathrm{\u0e42\x84\x95}\u0e42\x86\x92\mathrm{\u0e50\x9d\x92\x9e}/\u0e42\x89\x88$, lift it to a sequence^{} of sequences $\stackrel{\u0e22\u0e0f}{x}:\mathrm{\u0e42\x84\x95}\u0e42\x86\x92\mathrm{\u0e50\x9d\x92\x9e}$, and construct the limit of $x$ using $\stackrel{\u0e22\u0e0f}{x}$. However, the lifting ofย $x$ to $\stackrel{\u0e22\u0e0f}{x}$ uses the axiom of countable choice (the instance ofย (LABEL:eq:ac) where $X=\mathrm{\u0e42\x84\x95}$) or the law of excluded middle^{}, which we may wish to avoid. Every construction of reals whose last step is a quotient suffers from this deficiency. There are three common ways out of the conundrum in constructive mathematics:

1.
Pretend that the reals are a setoid $(\mathrm{\u0e50\x9d\x92\x9e},\u0e42\x89\x88)$, i.e., the type of Cauchy sequences $\mathrm{\u0e50\x9d\x92\x9e}$ with a coincidence relation^{} attached to it by administrative decree. A sequence of reals then simply is a sequence of Cauchy sequences representing them.

2.
Give in to temptation and accept the axiom of countable choice. After all, the axiom is valid in most models of constructive mathematics based on a computational viewpoint, such as realizability models.

3.
Declare the Cauchy reals unworthy and construct the Dedekind reals instead. Such a verdict is perfectly valid in certain contexts, such as in sheaftheoretic models of constructive mathematics. However, as we saw in \autorefsec:dedekindreals, the constructive Dedekind reals have their own problems.
Using higher inductive types, however, there is a fourth solution, which we believe to be preferable to any of the above, and interesting even to a classical mathematician. The idea is that the Cauchy real numbers should be the free complete metric space generated byย $\mathrm{\u0e42\x84\x9a}$. In general, the construction of a free gadget of any sort requires applying the gadget operations^{} repeatedly many times to the generators^{}. For instance, the elements of the free group^{} on a set $X$ are not just binary products^{} and inverses^{} of elements of $X$, but words obtained by iterating the product and inverse constructions. Thus, we might naturally expect the same to be true for Cauchy completion, with the relevant โoperationโ being โtake the limit of a Cauchy sequenceโ. (In this case, the iteration would have to take place transfinitely, since even after infinitely many steps there will be new Cauchy sequences to take the limit of.)
The argument referred to above shows that if excluded middle or countable choice hold, then Cauchy completion is very special: when building the completion of a space, it suffices to stop applying the operation after one step. This may be regarded as analogous to the fact that free monoids and free groups can be given explicit descriptions in terms of (reduced) words. However, we saw in \autorefsec:freealgebras that higher inductive types allow us to construct free gadgets directly, whether or not there is also an explicit description available. In this section^{} we show that the same is true for the Cauchy reals (a similar technique would construct the Cauchy completion of any metric space; see \autorefex:metriccompletion). Specifically, higher inductive types allow us to simultaneously add limits of Cauchy sequences and quotient by the coincidence relation, so that we can avoid the problem of lifting a sequence of reals to a sequence of representatives.
Title  11.3 Cauchy reals 

\metatable 