-
Notifications
You must be signed in to change notification settings - Fork 90
Description
It is not actually obvious to me right this minute that this is possible, and I don't think equivalence classes of Cauchy approximations will cut it.
When defining the limit of a Cauchy approximation of equivalence classes Cauchy approximations -- that is, showing that the metric space of equivalence classes of Cauchy approximations is complete -- essentially what you want is to construct a new Cauchy approximation, mapping each epsilon to the value of an inhabitant of the equivalence class at that epsilon. It requires countable choice to pick out the inhabitant (because the domain Q+ is countable).
HoTT, now that I actually look at it for how it defines Cauchy reals, uses a higher inductive-inductive type family to simultaneously construct the reals and the neighborhood relation between them. Every place I've seen this sort of higher inductive-inductive construction done before uses Cubical Agda or some other system that does fancy shenanigans with defining equality in terms of paths.
I haven't yet figured out if you can do it with just truncation the way agda-unimath seems to.