A Foundation for Synthetic Stone Duality
Abstract
The language of homotopy type theory has proved to be an appropriate internal language for various higher toposes, for example for the Zariski topos in Synthetic Algebraic Geometry. This paper aims to do the same for the higher topos of light condensed anima of Dustin Clausen and Peter Scholze. This seems to be an appropriate setting for synthetic topology in the style of Martín Escardó.
We use homotopy type theory extended with 4 axioms. We prove Markov’s principle, LLPO and the negation of WLPO. Then we define a type of open propositions, inducing a topology on any type such that any map is continuous. We give a synthetic definition of second countable Stone and compact Hausdorff spaces, and show that their induced topologies are as expected. This means that any map from e.g. the unit interval to itself is continuous in the usual epsilon-delta sense.
With the usual definition of cohomology in homotopy type theory, we show that for Stone and that for compact Hausdorff can be computed using Čech cohomology. We use this to prove and where is the set . As an application, we give a synthetic proof of Brouwer’s fixed-point theorem.
Keywords and phrases:
Homotopy Type Theory, Synthetic Topology, CohomologyCopyright and License:
2012 ACM Subject Classification:
Theory of computation Type theoryAcknowledgements:
The idea of proving Theorem 4.18 by using the topological characterization of Stone spaces as totally disconnected compact Hausdorff spaces was explained to us by Martín Escardó. We profited a lot from a discussion with Reid Barton and Johann Commelin. The fact that Markov’s principle (Corollary 1.16) holds was noticed by David Wärn. We had an interesting discussion with Bas Spitters on the topic of the article at TYPES 2024.Funding:
ForCUTT project, ERC advanced grant 101053291.Editors:
Rasmus Ejlers Møgelberg and Benno van den BergSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
Introduction
The language of homotopy type theory consists of dependent type theory enriched with the univalence axiom and higher inductive types. It has proven exceptionnally well-suited to a synthetic development of homotopy theory [13]. It also provides a framework precise enough to analyze categorical models of type theory [20]. Moreover, arguments in this language can be represented in proof assistants rather directly. In this article we use homotopy type theory to give a synthetic development of topology, analogous to the synthetic development of algebraic geometry in [4].
We introduce four axioms inspired by the light condensed sets introduced in [5]. Interestingly, our axioms have strong connections with constructive mathematics [3], in particular constructive reverse mathematics [11, 7]. Indeed they imply several of Brouwer’s principles (e.g. any real function on the unit interval is continuous, the celebrated fan theorem), as well as not intuitionistically valid principles (Markov’s Principle, the so-called Lesser Limited Principle of Omniscience).
Our axioms also closely align with the program of Synthetic Topology [9, 12, 19, 10, 21]. Indeed we have a dominance of open propositions, so that any type comes with an induced topology. Using this induced topology, we manage to capture synthetically the notion of second-countable compact Hausdorff spaces. While working on our axioms, we learnt about [2], which provides a similar axiomatisation in extensional type theory. We show that some of their axioms are consequences of ours. For example111We can actually prove all of their axioms, from which their directed univalence follows. This will be presented in a following paper., we can define in our setting the notion of overtly discrete types, which is dual to the notion of compact Hausdorff spaces.
A central theme of homotopy type theory is that the notion of type is more general than the notion of set. We illustrate this theme in this work. Indeed we can form the types of Stone spaces and of compact Hausdorff spaces, which are not sets but rather a groupoids. Moreover these spaces are closed under -type types, which would be impossible to formulate in the traditional setting. Additionally, we can leverage higher types by using the elegant definition of cohomology groups in homotopy type theory [13]. We then prove a special case of a theorem of Dyckhoff [8] describing the cohomology of compact Hausdorff spaces. As an application, we give a synthetic proof of Brouwer’s fixed point theorem, similar to the proof of an approximated form in [16].
We expect our axioms to be validated by the interpretation of homotopy type theory into the higher topos of light condensed anima [17], although checking this rigorously is still work in progress. We even expect this to be valid in a constructive metatheory, using [6]. It is important to stress that our axioms only capture the properties of light condensed anima that are internally valid. Since David Wärn [23] has proved that an important property of condensed abelian groups is not valid internally, this means that we cannot prove it in our setting. We also conjecture that the present axiom system is complete for the properties that are internally valid.
1 Stone duality
1.1 Preliminaries
Remark 1.1.
For any type, a subtype of is a family of propositions over . We write . If is a set, we call a subset. Given we sometimes write instead of . For subtypes , we write for pointwise implication. We will freely switch between a subtype and the corresponding embedding In particular, if we write we mean such that .
Definition 1.2.
A type is countable if and only if it is merely equal to some decidable subset of .
Definition 1.3.
For a set we write for the free Boolean algebra on . A Boolean algebra is countably presented if there exist countable sets with generators and relations such that induces an equivalence between and .
Remark 1.4.
Any countably presented algebra is merely of the form .
Remark 1.5.
We denote the type of countably presented Boolean algebras by . This type does not depend on a choice of universe. Moreover has a natural category structure.
Example 1.6.
If both the set of generators and relations are empty, we get the Boolean algebra . Its underlying set is with . We have that is initial in .
Definition 1.7.
For a countably presented Boolean algebra, we define the spectrum as the set of Boolean morphisms from to . Any type which is merely equivalent to some spectrum is called a Stone space.
Example 1.8.
-
(i)
There is only one Boolean morphism from to , thus is the singleton type .
-
(ii)
The trivial Boolean algebra is presented as . We have in the trivial Boolean algebra, so there cannot be a map from it into preserving both and . Therefore the corresponding Stone space is the empty type .
-
(iii)
The type is called the Cantor space. It is equivalent to the set of binary sequences . Given and , we write for , the -th bit of the corresponding binary sequence.
-
(iv)
We denote by the Boolean algebra generated by quotiented by the relations for . A morphism corresponds to a function that hits at most once. We denote by . For and we write for . For , we define as the unique such that . We define as the unique such that for all .
By conjunctive normal form, any element of can be written uniquely as or as for some finite .
Lemma 1.9.
Given , we have an equivalence of propositions:
Proof.
There is only one Boolean morphism , and it satisfies for all if and only if for all .
1.2 Axioms
Axiom 1 (Stone duality).
For all , the evaluation map is an isomorphism.
Axiom 2 (Surjections are formal surjections).
For all morphism in , we have that is injective if and only if is surjective.
Axiom 3 (Local choice).
For all and type family over such that , there merely exists some and surjection such that .
Axiom 4 (Dependent choice).
For all types with surjections for all , the projection from the sequential limit to is surjective.
1.3 Anti-equivalence of and
By Axiom 1, the map is an embedding of into any universe of types. We denote its image by .
Remark 1.10.
Stone spaces will take over the role of the affine schemes from [4], so let us repeat some results here. Analogously to Lemma 3.1.2 of [4], for , Axiom 1 tells us that . Proposition 2.2.1 of [4] now says that gives a natural equivalence
By the above and Lemma 9.4.5 of [13], the map defines a dual equivalence of categories between and . In particular the spectrum of any colimit in is the limit of the spectrum of the opposite diagram.
Remark 1.11.
Axiom 3 can also be formulated as follows: Given with arbitrary types, a map and a surjection , there exists a Stone space , a surjective map and an arrow making the following diagram commute:
Lemma 1.12.
For , we have if and only if .
Proof.
If , there is no map in preserving both and , thus . Conversely, if then . Since is the spectrum of the trivial Boolean algebra and is an embedding, we conclude that is the trivial Boolean algebra, hence .
Corollary 1.13.
For , we have that
Proof.
Let and suppose . By Lemma 1.12 we have that , therefore the morphism is injective. By Axiom 2 the map is surjective, thus is merely inhabited.
1.4 Principles of omniscience
The so-called principles of omniscience are all weaker than the law of excluded middle (LEM), and help measure how close a logical system is to satisfying LEM [7, 11]. In this section, we will show that two such principles hold (MP and LLPO), and that another one fails (WLPO).
Theorem 1.14 (The negation of the weak lesser principle of omniscience (WLPO)).
Proof.
We will prove that any decidable property of binary sequences is determined by a finite prefix of fixed length, contradicting being decidable for all . Indeed assume such that if and only if . By Axiom 1, there is some with if and only if . There exists such that is expressed in terms of the generators . Now consider given by for all and if and only if . As and are equal on , we have . However, and , giving a contradiction.
Theorem 1.15.
For all , we have that
Proof.
By Lemma 1.9, we have that implies that is empty. Hence is trivial by Lemma 1.12. Then there exists such that . As for at most one , there exists a unique with .
Corollary 1.16 (Markov’s principle (MP)).
For all , we have that
Proof.
Given , consider the sequence satisfying if and only if is minimal with . Then apply the above theorem.
Theorem 1.17 (The lesser limited principle of omniscience (LLPO)).
For all , we have that
Proof.
Define on generators as follows
Note that is a well-defined morphism in as whenever . We claim that is injective. If , write . Recall that any is of the form or for some finite set .
-
If , then . So if , then and .
-
Suppose . Then , so .
By Axiom 2, we have that corresponds to a surjection . Thus for , there exists some such that . If , then for any we have that
Similarly, if , we have that for all . The surjection above does not have a section. Indeed:
Lemma 1.18.
The function defined above does not have a retraction.
Proof.
Suppose is a retraction of . Then and . Note that for all . As a consequence, is of the form for some finite set . By similar reasoning so is . But then
This is a contradiction.
1.5 Open and closed propositions
Open (resp. closed) propositions are defined as countable disjunctions (resp. conjunctions) of decidable propositions. In this section we will study their logical properties.
Definition 1.19.
A proposition is open (resp. closed) if there exists some such that (resp. ). We denote by and the types of open and closed propositions.
Remark 1.20.
The negation of an open proposition is closed, and by MP (Corollary 1.16), the negation of a closed proposition is open. Moreover both open and closed propositions are -stable. By WLPO (Theorem 1.14), not every closed proposition is decidable. Therefore, not every open proposition is decidable. Every decidable proposition is both open and closed.
Lemma 1.21.
We have the following:
-
Closed propositions are stable under countable conjunctions and finite disjunctions.
-
Open propositions are stable under countable disjunctions and finite conjunctions.
Proof.
All statements but the one about finite disjunctions have similar proofs, so we only present the proof that closed propositions are stable under countable conjunctions. Let be a countable family of closed propositions. By countable choice, for each we have an such that . Consider a surjection , and let Note that if and only if .
To prove that closed propositions are closed under finite disjunctions, we use the known fact that LLPO (Theorem 1.17) is equivalent to the statement that for and open, we have that . We conclude using that closed propositions are negations of open propositions, and that the conjunction of two open propositions is open.
From now on we will use the above properties silently.
Corollary 1.22.
If a proposition is both open and closed, then it is decidable.
Proof.
If is open and closed, then is open. So it is -stable and we conclude from .
Lemma 1.23.
For a sequence of closed propositions, we have .
Proof.
Both and are open, hence -stable. The equivalence follows.
Lemma 1.24.
If is open and is closed then is closed. If is closed and open, then is open.
Proof.
Note that is closed. Using -stability we conclude that . The other proof is similar.
1.6 Types as spaces
The subset of the set of propositions induces a topology on every type. This is the viewpoint taken in synthetic topology, from which we borrow terminology [9, 12].
Definition 1.25.
Let be a type, and let be a subtype. We call open (resp. closed) if is open (resp. closed) for all .
Remark 1.26.
It follows immediately that the pre-image of an open by any map is open, so that any map is continuous. In Theorem 3.11, we will see that the resulting topology is as expected for Stone spaces. In Lemma 4.27, we will see that the same holds for the unit interval.
2 Overtly discrete spaces
Definition 2.1.
We call a type overtly discrete if it is a sequential colimit of finite sets.
Remark 2.2.
It follows from Corollary 7.7 of [18] that overtly discrete types are sets, and that the sequential colimit can be defined as in set theory. We write for the type of overtly discrete types.
Using dependent choice, we have the following results:
Lemma 2.3.
A map between overtly discrete sets is a sequential colimit of maps between finite sets.
Lemma 2.4.
For a sequential colimit of maps of finite sets , we have that the factorisation is the sequential colimit of the factorisations .
Corollary 2.5.
An injective (resp. surjective) map between overtly discrete types is a sequential colimit of injective (resp. surjective) maps between finite sets.
2.1 Closure properties of
We can get the following result using Lemma 2.3 and dependent choice.
Lemma 2.6.
Overtly discrete types are stable under sequential colimits.
We have that -types, identity types and propositional truncation commute with sequential colimits (Theorem 5.1, Theorem 7.4 and Corollary 7.7 in [18]). Then by closure of finite sets under these constructors, we can get the following:
Lemma 2.7.
Overtly discrete types are stable under -types, identity types and propositional truncations.
2.2 and
Lemma 2.8.
A proposition is open if and only if it is overtly discrete.
Proof.
If is overtly discrete, then with finite sets. But a finite set being inhabited is decidable, hence is a countable disjunction of decidable propositions, so it is open. Suppose . Let , which is a decidable proposition, hence a finite set. Then the colimit of is .
Corollary 2.9.
Open propositions are stable under -types.
Corollary 2.10 (transitivity of openness).
Let be a type, let open and let open. Then is open as well.
Remark 2.11.
It follows from Proposition 2.25 of [12] that is a dominance in the setting of Synthetic Topology.
Lemma 2.12.
A type is overtly discrete if and only if it is the quotient of a countable set by an open equivalence relation.
Proof.
If is the sequential colimit of finite sets , then is an open quotient of . Conversely, assume with decidable and open. By dependent choice we get such that . Define , and define as the equivalence relation generated by the relation . Then the are finite sets, and their colimit is .
2.3 Relating and
Lemma 2.13.
Every countably presented Boolean algebra is a sequential colimit of finite Boolean algebras.
Proof.
Consider a countably presented Boolean algebra of the form . For each , let be the union of and the finite set of generators occurring in for some . Denote . Each is a finite Boolean algebra, and there are canonical maps . Then is the colimit of this sequence.
Corollary 2.14.
A Boolean algebra is overtly discrete if and only if it is countably presented.
Proof.
Assume . By Lemma 2.12, we get a surjection and that has open equality. Consider the induced surjective morphism . By countable choice, we get for each a sequence such that . Consider given by
Then . The converse comes from Lemma 2.13.
Remark 2.15.
By Lemma 2.7 and Corollary 2.14, it follows that any in has an overtly discrete kernel. As a consequence, the kernel is enumerable and is in . By uniqueness of epi-mono factorizations and Axiom 2, the factorization corresponds to .
3 Stone spaces
3.1 Stone spaces as profinite sets
Here we present Stone spaces as sequential limits of finite sets. This is the perspective taken in Condensed Mathematics [15, 1, 5]. Some of the results in this section are versions of the axioms used in [2]. A full proof of all these axioms is part of future work.
Lemma 3.1.
Any is a sequential limit of finite sets.
Proof.
Assume . By Remark 1.10 and Lemma 2.13, we have that is a sequential limit of spectra of finite Boolean algebras, which are finite sets.
Lemma 3.2.
A sequential limit of finite sets is a Stone space.
Proof.
By Remark 1.10 and Lemma 2.6, we have that is closed under sequential limits, and finite sets are Stone.
Corollary 3.3.
Stone spaces are stable under finite limits.
Remark 3.4.
By Remark 2.16 and Axiom 2, maps (resp. surjections, injections) of Stone spaces are sequential limits of maps (resp. surjections, injections) of finite sets.
Lemma 3.5.
For a sequence of finite types with and , we have that is the sequential colimit of .
Proof.
By Remark 1.10 we have . Since is finite, we have that commutes with sequential colimits, therefore is the sequential colimit of . By applying Remark 1.10 again, the latter type is .
Lemma 3.6.
For and , there exists some such that factors through .
Proof.
For each , the fiber of over is a decidable subset . We must have that , hence there exists some with . It follows that for all as required.
Corollary 3.7.
For a sequence of finite types with , we have that is the sequential colimit of .
Proof.
3.2 and
Corollary 3.8.
For all , the proposition is closed.
Proof.
By Lemma 1.12, is equivalent to , which is open by Lemma 2.13 and Lemma 2.12. Hence is a closed proposition, and by Corollary 1.13, so is .
Corollary 3.9.
A proposition is closed if and only if it is a Stone space.
Proof.
By the above, if is both a Stone space and a proposition, it is closed. By Lemma 1.9, any closed proposition is Stone.
Lemma 3.10.
For all and , the proposition is closed.
Proof.
Suppose and let be a countable set of generators for . Then if and only if for all . So is a countable conjunction of decidable propositions, hence closed.
3.3 The topology on Stone spaces
Theorem 3.11.
Let be a subset of a Stone space. The following are equivalent:
-
(i)
There exists a map such that for any .
-
(ii)
There exists a family of decidable subsets of such that .
-
(iii)
There exists a Stone space and some embedding whose image is .
-
(iv)
There exists a Stone space and some map whose image is .
-
(v)
is closed.
Proof.
-
. and can be defined from each other by . Then observe that
-
. Let . By Axiom 1, we have in such that . Let . Then is as desired because:
-
. Immediate.
-
. Assume corresponds to in . By Remark 2.15, and there exists a surjection . For , we denote by the decidable subset of corresponding to . Then we have that .
-
. By definition.
-
. We have a surjection defined by Remark 1.11 gives us that there merely exists as follows:
Define . As by the above, is the image of some Stone space. Note that is the image of , thus is the image of some Stone space.
Corollary 3.12.
Closed subtypes of Stone spaces are Stone.
Corollary 3.13.
For and closed, we have that is closed.
Proof.
By Corollary 3.12, we have that is Stone, so its truncation is closed by Corollary 3.8.
Corollary 3.14.
Closed propositions are closed under sigma types.
Proof.
Let and . Then . As is Stone by Corollary 3.9, Corollary 3.13 gives that is closed.
Remark 3.15.
Analogously to Corollary 2.10 and Remark 2.11, it follows that closedness is transitive and forms a dominance.
Lemma 3.16.
Assume with such that . Then there exists a decidable subset such .
Proof.
Assume . By Theorem 3.11, for all there is such that if and only if and if and only if . Denote by the sequence defined by and . Then , so by Lemma 1.12 there exists finite sets such that If , then for all , hence If , we have . Thus we can define the required by .
4 Compact Hausdorff spaces
Definition 4.1.
A type is called a compact Hausdorff space if its identity types are closed propositions and there exists some with a surjection . We write for the type of compact Hausdorff spaces.
4.1 Topology on compact Hausdorff spaces
Lemma 4.2.
Let , and surjective. Then is closed if and only if it is the image of a closed subset of by .
Proof.
As is surjective, we have . If is closed, so is and hence is the image of a closed subset of . Conversely, let be closed. Then if and only if
Hence by Corollary 3.13, is closed.
The next two corollaries mean that compact Hausdorff spaces are compact in the sense of Synthetic Topology.
Corollary 4.3.
Assume given with closed. Then is closed, and equivalent to .
Proof.
From Lemma 4.2 and Theorem 3.11, it follows that is closed if and only if it is the image of a map for some . Then if and only , which is closed by Corollary 3.8. Therefore is -stable and equivalent to .
Corollary 4.4.
Assume given with open. Then is open.
The next lemma means that compact Hausdorff spaces are not too far from being compact in the classical sense.
Lemma 4.5.
Given and closed subsets such that , there is some with .
Proof.
By Lemma 4.2 it is enough to prove the result when is Stone, and by Theorem 3.11 we can assume decidable. So assume and such that
Then we have that
Hence in and there is some with , which means that
as required.
Corollary 4.6.
Let and . Suppose is a decreasing sequence of closed subsets of . Then .
Proof.
It is always the case that . For the converse direction, suppose that for all . We define closed by . Then for all we have that is non-empty. By Lemma 4.5 this implies that . By Corollary 4.3, we have that is merely inhabited. Thus as required.
Corollary 4.7.
Let be a subset of a compact Hausdorff space and be a surjective map with . Then is closed (resp. open) if and only if there exists a sequence of decidable subsets of such that (resp. ).
Proof.
The characterization of closed subsets follows from characterization (ii) in Theorem 3.11, Lemma 4.2 and Corollary 4.6. To deduce the characterization of open subsets we use Remark 1.20 and Lemma 1.23.
Remark 4.8.
For , there is a surjection . It follows that for any there is a surjection from to a basis of . Classically this means that is second countable.
The next lemma means that compact Hausdorff spaces are normal.
Lemma 4.9.
Assume and closed such that . Then there exist open such that , and .
Proof.
Let be a surjective map with . As and are closed, by Lemma 3.16, there is some such that and . Note that and are closed by Lemma 4.2. As , we have that . Similarly . Then and are disjoint because .
4.2 Compact Hausdorff spaces are stable under sigma types
Lemma 4.10.
A type is Stone if and only if it is merely a closed subset of .
Proof.
By Remark 1.4, any can be written as . By Remark 2.15, the quotient map induces an embedding , which is closed by Theorem 3.11.
Lemma 4.11.
Compact Hausdorff spaces are stable under -types.
Proof.
Assume and . By Corollary 3.14 we have that identity types in are closed. By Lemma 4.10 we know that for any there merely exists a closed with a surjection . By local choice we merely get with a surjection such that for all we have closed and a surjection . This gives a surjection and the source is Stone by Remark 3.4 and Corollary 3.12.
4.3 Stone spaces are stable under sigma types
We will show that Stone spaces are precisely totally disconnected compact Hausdorff spaces. We will use this to prove that a sigma type of Stone spaces is Stone.
Lemma 4.12.
Assume , then is countably presented.
Proof.
There is some surjection with . This induces an injection of Boolean algebras . Note that lies in if and only if:
As equality in is closed and equality in is decidable, the implication is open for every . By Corollary 4.4, we conclude that is an open subalgebra of . Therefore, it is in by Lemma 2.8 and Lemma 2.7 and in by Corollary 2.14.
Definition 4.13.
For all and , we define the connected component of as the intersection of all decidable such that .
Lemma 4.14.
For all with , we have that is a countable intersection of decidable subsets of .
Proof.
By Lemma 4.12, we can enumerate the elements of , say as . For we define as if and otherwise. Then .
Lemma 4.15.
Assume with and suppose open with . Then we have some decidable with and .
Proof.
By Lemma 4.14, we have with decidable. If , then
By Lemma 4.5 there is some with
Therefore . As is open, and is as desired.
Lemma 4.16.
Assume with . Then any map in is constant.
Proof.
Assume with decidable and disjoint subsets of . Assume . By Lemma 4.14, is closed. Using Remark 3.15, it follows that are closed and disjoint. By Lemma 4.9 there exist disjoint open such that and . By Lemma 4.15 we have a decidable such that . Note that is clopen, hence decidable by Corollary 1.22. But , hence but , hence .
Lemma 4.17.
Let , then is Stone if and only .
Proof.
By Axiom 1, it is clear that for all with we have that . Conversely, assume such that . We claim that the evaluation map is both injective and surjective, hence an equivalence. Let be such that , i.e. such that for all . Then , hence by assumption. Thus is injective. Let be a surjective map. It induces an injection , which by Axiom 2 induces a surjection . Note that is equal to so is surjective.
Theorem 4.18.
Assume and . Then is Stone.
Proof.
By Lemma 4.11 we have that is a compact Hausdorff space. By Lemma 4.17 it is enough to show that for all and we have that is a singleton. Assume , then for any map we have that:
so that and since is Stone, by Lemma 4.17 we have that . Therefore we have . Assume , then for any map we have that by Lemma 4.16. Since is Stone, we conclude by Lemma 4.17.
4.4 The unit interval as a compact Hausdorff space
Since we have dependent choice, the unit interval can be defined using Cauchy reals or Dedekind reals. We can freely use results from constructive analysis [3]. As we have WLPO, MP and LLPO, we can use the results from constructive reverse mathematics that follow from these principles [11, 7].
Definition 4.19.
We define for each the Stone space of binary sequences of length . And we define by Finally we write for the binary relation on given by .
Remark 4.20.
The inclusion induces a restriction for each .
Definition 4.21.
We define as
Theorem 4.22.
The type is a compact Hausdorff space.
Proof.
By LLPO, we have that is surjective. Note that if and only if for all we have . This is a countable conjunction of decidable propositions, so that equality in is closed.
The following is also given by Definitions 2.7 and 2.10 of [3].
Definition 4.23.
Assume given and such that . Then is the proposition , which is independent of the choice of .
Remark 4.24.
For all , we have that is an open proposition and that is equivalent to .
Lemma 4.25.
For all decidable, we have that is a finite union of closed intervals.
Proof.
If is contains precisely the with a fixed initial segment, is a closed interval. Any decidable subset of is a finite union of such subsets.
Lemma 4.26.
The complement of a finite union of closed intervals is a finite union of open intervals.
By Corollary 4.7 we can thus conclude:
Lemma 4.27.
Every open can be written as a countable union of open intervals.
It follows that the topology of is generated by open intervals, which corresponds to the standard topology on . Hence our notion of continuity agrees with the -definition of continuity one would expect and we get the following:
Theorem 4.28.
Every function is continuous in the -sense.
5 Cohomology
In this section we compute for all Stone, and show that for compact Hausdorff can be computed using Čech cohomology. We use this to compute .
Remark 5.1.
We only work with the first cohomology group with coefficients in as it is sufficient for the proof of Brouwer’s fixed-point theorem, but the results could be extended to for any family of countably presented abelian groups indexed by .
Remark 5.2.
5.1 Čech cohomology
Definition 5.3.
Given a type , types for and , we define as the chain complex
where the boundary maps are defined as
Definition 5.4.
Given a type , types for and , we define its Čech cohomology groups by
We call elements of cocycles and elements of coboundaries.
This means that if and only if is exact at the middle term. Now we give three general lemmas about Čech complexes.
Lemma 5.5.
Assume a type , types for and with . Then .
Proof.
Assume given a cocycle, i.e. such that for all and we have that . We define by . Then for all and we have that so that is a coboundary.
Lemma 5.6.
Given a type , types for and , we have that .
Proof.
Assume given a cocycle, i.e. such that for all and we have that . We define by . Then for all and we have that so that is a coboundary.
Lemma 5.7.
Assume a type and types for such that and such that . Then given with , we can conclude .
Proof.
We define by . It is a cocycle in the Čech complex, so that by exactness there is such that for all and we have that . Then we define by so that for all and we have that is equivalent to , which holds by definition. So is constant on each and therefore gives . By we conclude .
5.2 Cohomology of Stone spaces
Lemma 5.8.
Assume given and such that . Then there exists a sequence of finite types with limit and a compatible sequence of families of finite types over with and .
Proof.
By theorem Theorem 4.18 and the usual correspondence between surjections and families of inhabited types, a family of inhabited Stone spaces over correspond to a Stone space with a surjection . Then we conclude using Remark 3.4.
Lemma 5.9.
Assume given with such that . Then we have that .
Proof.
We apply Lemma 5.8 to get and finite. Then by Corollary 3.7 we have that is the sequential colimit of the . By Lemma 5.5 we have that each of the is exact, and a sequential colimit of exact sequences is exact.
Lemma 5.10.
Given , we have that .
Proof.
Assume given a map . We use local choice to get such that with . Then we conclude by Lemma 5.9 and Lemma 5.7.
Corollary 5.11.
For any the canonical map is an equivalence.
Proof.
This map is always an embedding. To show it is surjective it is enough to prove that is connected, which is precisely Lemma 5.10.
5.3 Čech cohomology of compact Hausdorff spaces
Definition 5.12.
A Čech cover consists of and such that and .
By definition any compact Hausdorff space is part of a Čech cover .
Lemma 5.13.
Given a Čech cover and , we have an isomorphism natural in .
Proof.
By definition an element in is a map such that for all we have . Since is a set and the are merely inhabited, this is equivalent to . Naturality in is immediate.
Lemma 5.14.
Given a Čech cover we have an exact sequence
Proof.
We use the long exact cohomology sequence associated to
We just need to conclude. But by Corollary 5.11 we have that which vanishes by Lemma 5.10.
Lemma 5.15.
Given a Čech cover we have an exact sequence
Proof.
For , we have that is Stone so that by Lemma 5.10, giving short exact sequences
They fit together in a short exact sequence of complexes
But since by Lemma 5.6, we conclude using the associated long exact sequence.
Theorem 5.16.
Given a Čech cover , we have that
Proof.
By applying Lemma 5.13, Lemma 5.14 and Lemma 5.15 we get that and are cokernels of isomorphic maps, so they are isomorphic.
This means that Čech cohomology does not depend on .
5.4 Cohomology of the interval
Remark 5.17.
Recall from Definition 4.19 that there is a binary relation on such that is equivalent to and for we have .
We define and .
Lemma 5.18.
For any we have an exact sequence
where and
Proof.
It is clear that the map is injective as is inhabited, so the sequence is exact at . Assume a cocycle , meaning that for all , if then . Then by Remark 5.17 we see that is constant, so the sequence is exact at .
Assume a cocycle , meaning that for all such that , and we have that . Using Remark 5.17 to pass along the equivalence between and , we define . We can check that , so that is indeed a coboundary and the sequence is exact at .
Proposition 5.19.
We have that and .
Proof.
Consider and the associated Čech cover of defined by:
Then for we have that . By Lemma 5.18 and stability of exactness under sequential colimit, we have an exact sequence
By Corollary 3.7 this sequence is equivalent to
So it being exact implies that and . We conclude by Lemma 5.13 and Theorem 5.16.
Remark 5.20.
We could carry a similar computation for , by approximating it with with added. We would find . We will give an alternative, more conceptual proof in the next section.
5.5 Brouwer’s fixed-point theorem
Here we consider the modality defined by localising at as explained in [14]. It is denoted by . We say that is -local if and that it is -contractible if .
Lemma 5.21.
and are -local.
Proof.
By Proposition 5.19, from we get that the map is an equivalence, so is -local. We see that is -local as it is a retract of .
Remark 5.22.
Since is -local, we have that any Stone space is -local.
Lemma 5.23.
is -local.
Proof.
Any identity type in is a -torsor, so it is -local by Lemma 5.21. So the map is an embedding. From we get that it is surjective, hence an equivalence.
Lemma 5.24.
Assume a type with such that for all we have such that and . Then is -contractible.
Proof.
For all we get a map such that and . Since is -local this means that . We conclude by applying the elimination principle for the modality.
Corollary 5.25.
We have that and are -contractible.
Proposition 5.26.
.
Proof.
As for any group quotient, the fibers of the map are -torsors, so we have an induced pullback square
Now we check that the bottom map is an -localisation. Since is -local by Lemma 5.23, it is enough to check that its fibers are -contractible. Since is connected it is enough to check that is -contractible. This is Corollary 5.25.
Remark 5.27.
By Lemma 5.23, for any we have that , so that by Proposition 5.26 we have that .
We omit the proof that is equivalent to . The equivalence can be constructed using trigonometric functions, which exist by Proposition 4.12 in [3].
Proposition 5.28.
The map has no retraction.
Proof.
By Corollary 5.25 and Proposition 5.26 we would get a retraction of , so would be contractible.
Theorem 5.29 (Intermediate value theorem).
For any and such that and , there exists such that .
Proof.
By Corollary 4.3, the proposition is closed and therefore -stable, so we can proceed with a proof by contradiction. If there is no such , we have for all . By Remark 4.24 we have that or for all distinct numbers . So the following two sets cover
Since and are disjoint, we have which allows us to define a non-constant function , which contradicts Lemma 5.21.
Theorem 5.30 (Brouwer’s fixed-point theorem).
For all there exists such that .
Proof.
As above, by Corollary 4.3, we can proceed with a proof by contradiction, so we assume for all . For any we set , so we have that one of the coordinates of is invertible. Let be the line through and . The intersections of and are given by the solutions of an equation quadratic in . By invertibility of one of the coordinates of , there is exactly one solution with . We denote this intersection by and the resulting map has the property that it preserves . Then is a retraction from onto its boundary , which is a contradiction by Proposition 5.28.
References
- [1] Dagur Ásgeirsson. The foundations of condensed mathematics. Master’s thesis, Université de Paris, 2021. URL: https://dagur.sites.ku.dk/condensed-foundations/.
- [2] Reid Barton and Johan Commelin. Lean-ctt-snapshot. URL: https://github.com/jcommelin/lean-ctt-snapshot.
- [3] Errett Bishop and Douglas Bridges. Constructive analysis, volume 279 of Grundlehren der mathematischen Wissenschaften [Fundamental Principles of Mathematical Sciences]. Springer-Verlag, Berlin, 1985. doi:10.1007/978-3-642-61667-9.
- [4] Felix Cherubini, Thierry Coquand, and Matthias Hutzler. A foundation for synthetic algebraic geometry, 2023. arXiv:2307.00073.
- [5] Dustin Clausen and Peter Scholze. Analytic stacks, 2023-2024. Lecture series. URL: https://www.youtube.com/playlist?list=PLx5f8IelFRgGmu6gmL-Kf_Rl_6Mm7juZO.
- [6] Thierry Coquand, Fabian Ruch, and Christian Sattler. Constructive sheaf models of type theory. Math. Struct. Comput. Sci., 31(9):979–1002, 2021. doi:10.1017/S0960129521000359.
- [7] Hannes Diener. Constructive reverse mathematics : Habilitationsschrift, 2018. URL: https://dspace.ub.uni-siegen.de/handle/ubsi/1306.
- [8] Roy Dyckhoff. Categorical methods in dimension theory. Categor. Topol., Proc. Conf. Mannheim 1975, Lect. Notes Math. 540, 220-242 (1976)., 1976.
- [9] Martín Escardó. Synthetic topology: of data types and classical spaces. Electronic Notes in Theoretical Computer Science, 87:21–156, 2004. Proceedings of the Workshop on Domain Theoretic Methods for Probabilistic Processes. doi:10.1016/j.entcs.2004.09.017.
- [10] Florian Faissole and Bas Spitters. Synthetic topology in homotopy type theory for probabilistic programming. In Proc, page 2017, 2017.
- [11] Hajime Ishihara. Reverse Mathematics in Bishop’s Constructive Mathematics. Philosophia Scientiae, 6:43–59, September 2006. doi:10.4000/philosophiascientiae.406.
- [12] Davorin Lešnik. Synthetic Topology and Constructive Metric Spaces. PhD thesis, University of Ljubljana, 2021. arXiv:2104.10399.
- [13] The Univalent Foundations Program. Homotopy type theory: Univalent foundations of mathematics. https://homotopytypetheory.org/book, 2013.
- [14] Egbert Rijke, Michael Shulman, and Bas Spitters. Modalities in homotopy type theory. Logical Methods in Computer Science, Volume 16, Issue 1, January 2020. doi:10.23638/LMCS-16(1:2)2020.
- [15] Peter Scholze. Lectures on condensed mathematics, 2019. URL: https://people.mpim-bonn.mpg.de/scholze/Condensed.pdf.
- [16] Michael Shulman. Brouwer’s fixed-point theorem in real-cohesive homotopy type theory. Mathematical Structures in Computer Science, 28(6):856–941, 2018. doi:10.1017/S0960129517000147.
- [17] Michael Shulman. All -toposes have strict univalent universes. arXiv preprint, 2019. arXiv:1904.07004.
- [18] Kristina Sojakova, Floris van Doorn, and Egbert Rijke. Sequential colimits in homotopy type theory. In Proceedings of the 35th Annual ACM/IEEE Symposium on Logic in Computer Science (LICS 2020), page 14. ACM, New York, [2020] ©2020. doi:10.1145/3373718.3394801.
- [19] Paul Taylor. Abstract Stone duality, 2011. URL: https://www.paultaylor.eu/ASD/.
- [20] Niels van der Weide. The internal languages of univalent categories, 2024. doi:10.48550/arXiv.2411.06636.
- [21] Steven Vickers. Locales and toposes as spaces. In Handbook of spatial logics, pages 429–496. Springer, 2007. doi:10.1007/978-1-4020-5587-4_8.
- [22] David Wärn. Eilenberg-Maclane spaces and stabilisation in homotopy type theory. J. Homotopy Relat. Struct., 18(2-3):357–368, 2023. doi:10.1007/s40062-023-00330-5.
- [23] David Wärn. On internally projective sheaves of groups, 2024. arXiv:2409.12835.
