Cohomology Detects Failures of Classical Mathematics
Posted by Mike Shulman
Ordinarily I try to avoid cross-posting between here and the Homotopy Type Theory blog, but this remark seems probably of interest to the crowd here as well. After my recent post there about how to define cohomology in HoTT, Zhen Lin kindly pointed me to a very nice paper of Andreas Blass called Cohomology detects failures of the axiom of choice. A main result of this paper is that the following two statements are equivalent (over ZF):
- The axiom of choice.
- For any discrete set and any (not necessarily abelian) group , the cohomology vanishes.
The fact that discrete spaces have no higher cohomology is “obvious” in classical algebraic topology, but this shows that if we want to do homotopy theory “constructively” then we need to give up that expectation. In this post I want to explain one of Blass’s proofs from a geometric point of view, and then consider what cohomology has to say about the law of excluded middle.
Here is one of Blass’s proofs that the vanishing of the cohomology of all sets implies AC. Let be a surjection of sets, for which we want to find a section.
Suppose first that every fiber is isomorphic to some fixed nonempty set . Of course, if we were given specified isomorphisms for all , then we could fix a particular element and define by , but we are only assuming that such isomorphisms exist. (In HoTT language, they “merely” exist.)
In this special case, from a geometric point of view, we can consider as a locally trivial bundle over with fiber , and we know that such bundles are classified by the cohomology of the base with coefficients in the automorphism group of the fiber. Thus, if we let , we should be able to construct a “characteristic class” of in .
The way to do this depends on the definition of . Blass points out that many of the classical definitions are not correct in the absence of choice (his criterion of “correctness” being that they give rise to long exact sequences). He takes the route of simply defining to be the set of isomorphism classes of -torsors over .
From a category-theoretic (or HoTT) point of view, it’s more natural to define to be the set of natural isomorphism classes of functors , where is the one-object groupoid corresponding to . It’s again easy to construct our characteristic class in this case, since for , the groupoid is equivalent to the groupoid , whose objects are sets isomorphic to and whose morphisms are all isomorphisms between them. Then defines a functor from to , hence also to .
(In ZF, this equivalence of groupoids is only a “weak equivalence”, i.e. there is a functor that is essentially surjective and fully faithful. Thus, our “functor” is only an anafunctor, so we have to use those in the definition of cohomology. In HoTT, however, this is not a problem.)
Now by assumption, , so this characteristic class is trivial. This means that our functor is naturally isomorphic to the one that is constant at . Such a natural transformation assigns to each an isomorphism , and as we remarked above this is sufficient to define a section of .
This handles the special case when all the fibers of are isomorphic. In order to deal with the general case, Blass uses a trick: he defines to be the set of nonempty finite sequences of elements of , with the function which selects the first element of a sequence and then maps it down to via . Then the fiber is a subset of , but there also exists an injection that adjoins some fixed element of at the front of each sequence. By the Schroeder-Bernstein theorem, therefore, , and so we can apply the previous case to get a section of , and hence (by selecting first elements) a section of .
It’s important, of course, that the Schroeder-Bernstein theorem does not depend on the axiom of choice. It does, however, depend on the law of excluded middle, so we might wonder, is Blass’s theorem still valid constructively?
Now by a classical result of Bishop and Diaconescu, the axiom of choice implies the law of excluded middle. I will explain the proof in a moment; the crucial thing to note is that it only uses AC to obtain a section of a surjection all of whose fibers are isomorphic. Since the first part of Blass’s argument (when all fibers are isomorphic) seems perfectly constructive, it will therefore also imply LEM, so that the second part of the argument can freely use Schroeder-Bernstein.
Why does AC imply LEM? Suppose is a proposition for which we want to show “ or not ”. Let be the quotient of by the equivalence relation which identifies exactly when holds. (In reproducing this proof in HoTT, Spitters and Rijke have observed that is exactly the homotopy-theoretic suspension of , hence the notation.) Then is a surjection. If it has a section , then we can consider and , each of which is either or . This gives four cases, two of which easily imply , and the other two of which easily imply “not ”.
Now what are the fibers of ? Every element of is either or (though this is not necessarily an exclusive-or), so it suffices to show that the fibers over and are isomorphic. The fiber over always contains , and it contains iff . Similarly, the fiber over always contains , and it contains iff . Thus, the two are isomorphic by an isomorphism that interchanges and .
Thus we recover, even constructively, Blass’s theorem that the vanishing of of sets is equivalent to the axiom of choice. Blass’s original theorem was actually sharper: the vanishing of for all and a particular set is equivalent to projectivity of . Can this sharper version also be obtained constructively? I don’t know.
Regardless, I think it’s quite cute that we can connect geometric ideas like characteristic classes of fiber bundles in cohomology with logical ideas like the axiom of choice. In some sense, this is what topos theory is supposed to be all about.
Re: Cohomology Detects Failures of Classical Mathematics
Nice! Are there structures other than discrete sets whose cohomology fails to behave as expected when the axiom of choice doesn’t hold? For example, algebraic gadgets of some sort?
I would imagine so, but my memory only conjures forth the Whitehead problem, “is every abelian group with free?” This sounds vaguely choice-ish, since it’s about surjections and whether they split: it’s equivalent to “if every surjection with kernel splits, is free?” But it’s independent of ZFC and related to more subtle axioms of set theory.
So, now I want to know quite generally: “What axioms of set theory does cohomology detect?”
Cohomology can be regarded as the art of counting holes, so we should use it to locate holes in the foundations of mathematics.