Lectures onType Theory
Chapter 212
Chapter 212OptionalScaffold

Choice-Free HII Cauchy Completion

Prerequisites. Direct starred prerequisites: Chapter 199. No later core chapter depends on this route.

Remark 212.1

Draft status. This chapter is a scaffold.

Opening obstruction

Completing a quotient of Cauchy sequences appears to require choosing representatives from countably many equivalence classes.

Development contract

Define completion and closeness simultaneously by the selected HII/QIIT, prove its eliminator, metric laws, completeness and rational embedding, and replay the pinned formalization without importing the whole QIIT schema into the core real-number chapter.

Choice-free HII Cauchy completion

The Cauchy construction must complete and quotient at once: completing the quotient of Cauchy sequences requires lifting sequences of equivalence classes, i.e. countable choice. A higher inductive-inductive definition avoids this appeal to countable choice by introducing the limit and equality constructors simultaneously with a closeness relation.

Definition 74.68 — Cauchy reals

Generate Rc together with relations uϵv, indexed by ϵ:Q+. A family x:Q+Rc is a Cauchy approximation when xδδ+ϵxϵ for all positive δ,ϵ. The constructor lim takes such a family:

Γq:Q
Γrat(q):Rc
Rc-Rat
Γx:Q+RcΓp:δ:Q+ϵ:Q+xδδ+ϵxϵ
Γlim(x,p):Rc
Rc-Lim
Γp:ϵ:Q+uϵv
Γeq(u,v,p):u=Rcv
Rc-Eq

In the closeness rules, every difference occurring in a subscript is required to be positive (following convention 26.14).

Γw:ϵ<qr<ϵ
Γclrr(w):rat(q)ϵrat(r)
Cl-RR
Γw:rat(q)ϵδyδ
Γclrl(w):rat(q)ϵlim(y)
Cl-RL
Γw:xδϵδrat(r)
Γcllr(w):lim(x)ϵrat(r)
Cl-LR
Γw:xδϵδηyη
Γclll(w):lim(x)ϵlim(y)
Cl-LL
Γξ:uϵvΓζ:uϵv
Γcltr(ξ,ζ):ξ=ζ
Cl-Prop

We abbreviate lim(x,p) as lim(x). Simultaneous induction uses a motive P(u) for u:Rc and a relational motive Sϵ(u,v,p) over p:uϵv. It asks for a P-case for rat and lim, an S-case for each of clrr,clrl,cllr,clll, and compatibility with eq and cltr. Taking S constantly 1 yields the following induction principle.

Lemma 74.69 — Induction for mere properties

Let P:RcProp. If P(rat(q)) holds for all q:Q, and P(lim(x)) holds whenever P(xϵ) holds for all ϵ, then u:RcP(u).

Proof of Lemma 74.69 — Induction for mere properties

Proof. Instantiate the simultaneous induction principle with the constant relational motive 1. For each of clrr,clrl,cllr,clll choose :1 as the relational clause; the cltr clause is refl. The constructor eq asks that its two endpoint P-proofs agree, which holds because every P(u) is a proposition. The assumed rational and limit clauses supply the two remaining point cases. ◻

Theorem 74.70

Let A be a separated premetric space and let CA be Gilbert’s higher inductive–inductive completion. Then:

  1. CA is a separated premetric space, the unit ηA:ACA is an embedding, and every Cauchy approximation x has limit lim(x);

  2. if B is Cauchy complete, L:Q+, and f:AB is L-Lipschitz, there is an L-Lipschitz extension f¯:CAB with f¯(ηA(a))=f(a); it is the unique continuous map with that unit equation;

  3. the defining limit clause uses the rescaled approximation f¯(lim(x))=lim(ϵf¯(xϵ/L)).

For A=Q, Gilbert’s formalization proves that Rc:=CQ is a Cauchy-complete archimedean ordered field.

Proof of Theorem 74.70

Proof. Items (1)–(3) are Theorems 3.16, 3.18–3.20 of [Gil17]; the last displayed equation is the limit clause in the proof of Theorem 3.20, where division by the positive constant L makes ϵf¯(xϵ/L) a Cauchy approximation. The rational specialization and its field operations are the formalized development of [Gil17]. Addition and negation are Lipschitz extensions; multiplication is extended on rationally bounded intervals and the compatible extensions are glued. Thus the field conclusion is imported at the exact signature proved in that source rather than inferred from an unrescaled limit equation. ◻

Remark 212.5 — What extension does not prove

If the rational map into a Cauchy-complete premetric space F is Lipschitz, theorem 74.70 gives its unique continuous extension RcF. Field-homomorphism, order-reflection, and injectivity require separate compatibility arguments. We therefore make no initiality claim for arbitrary Cauchy-complete archimedean ordered fields.

An untruncated locator for x:Rd chooses, for each q<r, either q<x or x<r. Repeated trisection with a locator produces nested rational brackets qn<x<rn of width at most (2/3)n(r0q0).

Theorem 74.72 — Agreement

The canonical order-reflecting additive embedding i:RcRd fixing Q is an equivalence provided that every x:Rd merely has a locator c:q:Qr:Q(q<r)(q<x)+(x<r). In particular, LEM or countable choice (n:NP(n)n:NP(n) for families of sets) implies RcRd.

Proof of Theorem 74.72 — Agreement

Proof. Fix x and, under the outer truncation, choose a locator c and an inhabited-cut bracket q0<x<r0. Given qn<x<rn, put sn:=(2qn+rn)/3,tn:=(qn+2rn)/3. If c(sn,tn) returns sn<x, take (qn+1,rn+1)=(sn,rn); if it returns x<tn, take (qn+1,rn+1)=(qn,tn). Thus the brackets are nested and qn<x<rn,rnqn=(2/3)n(r0q0). For their midpoints an:=(qn+rn)/2 and mn, nesting gives |aman|<(2/3)n(r0q0). Choose an antitone N(ϵ) with the right side below ϵ/2. Then ϵrat(aN(ϵ)) is a Cauchy approximation and determines z:Rc. The embedding i is the nonexpanding extension of the rational-cut map; the formalized characterizations Li(u)(q)rat(q)<u,Ui(u)(q)u<rat(q) show that it preserves these limits and reflects strict order [Gil17].

The Cauchy-limit inequality also places i(z) in every closed bracket [qn,rn]: all later midpoints lie in that bracket, and the error bound tends to zero. It remains to identify the resulting cut. If q<x, roundedness chooses q with q<q<x. Choose n with rnqn<qq. Were qnq, we would have rn<q, contradicting q<x<rn; hence q<qn. The bracket bound gives qni(z), and roundedness yields q<i(z). Thus the qn are cofinal in the lower cut. Dually, if x<r, choose x<r<r and then n with rnqn<rr; the assumption rrn would imply r<qn, contradicting qn<x<r, so i(z)rn<r, and roundedness yields i(z)<r. The rn are coinitial in the upper cut. Cut extensionality therefore gives i(z)=x. Every fiber of the embedding i is a mere proposition, so the merely constructed preimage proves that i is an equivalence.

Under LEM, decide q<x; its negation gives xq<r, hence x<r. Without LEM, locatedness gives the same sum for each rational pair q<r, and countable choice assembles those choices into a locator. This proves the two stated sufficient conditions. ◻

Without LEM or choice the two real types can differ, and Rd is generally the more robust object; theorem 74.67 proves its Cauchy completeness, while no Dedekind-finality or Cauchy-initiality theorem is claimed here. The direct extension is the higher inductive–inductive completion CA of a separated premetric space A: its unit inserts points of A, its limit constructor completes Cauchy approximations, and its closeness family imposes separatedness, exactly as in theorem 74.70.

Exercise 74.19

★★☆ Show that a Cauchy sequence s:NQ equipped with an antitone modulus of convergence M:Q+N determines a Cauchy approximation ϵrat(sM(ϵ/2)), and hence a Cauchy real.

Exercise 74.20

★★☆ Assuming the characterization of ϵ on rational points (rat(q)ϵrat(r) iff ϵ<qr<ϵ), prove that rat:QRc is injective.

Search the book

Type to search the local edition.