57

EDIT: This post was substantially modified with the help of the comments and answers. Thank you!


Judging by their definitions, the $\mathrm{Ext}$ and $\mathrm{Tor}$ functors are among the most non-constructive things considered in algebra:

(1) Their very definition requires taking an infinite projective or injective resolution; constructing a homotopy equivalence between two such resolutions requires infinitely many choices.

(2) Injective resolutions are rather problematic in a constructive world (e. g. the proof of "injective = divisible" requires Zorn, and as far as I understand the construction of an injective resolution relies on this fact).

(3) Projective/injective resolutions are not really canonical, so $\mathrm{Ext}$ and $\mathrm{Tor}$ are not functors from "pairs of modules" to "groups", but rather functors from "pairs of modules" to some category between "groups" and "isomorphism classes of groups". This is a problem already from the classical viewpoint.

(4) Projective resolutions are not guaranteed to exist in a constructive world, because the free module on a set needs not be projective! In order to avert this kind of trouble, we could try restricting ourselves to very well-behaved modules (such as, finite-dimensional over a field), but even then we are in for a bad surprise: Sometimes, the "best" projective resolution for a finitely-generated module uses non-finitely-generated projective modules (I will show such an example further below). These can be tricky to deal with, constructively. Mike Shulman has mentioned (in the comments) that injective and projective resolutions (and already the proofs that the different definitions of "projective" are equivalent, and that the different definitions of "injective" are equivalent) require choice - maybe the currently accepted notions of injectivity and projectivity are not "the right one" except for finitely-generated modules? (Cf. also this here.)

On the other hand, if we think about the ideas behind $\mathrm{Ext}$ and $\mathrm{Tor}$ and projective resolutions (I honestly don't know the ideas behind injective resolutions, besides to dualize the notion of projective resolutions), they are (at least partially) inspired by some of the most down-to-earth constructive mathematics, namely syzygy theory. So a natural question to pose is: How can we implement the theory of $\mathrm{Ext}$ and $\mathrm{Tor}$, or at least a part of this theory which still has the same applications as the whole theory, without having to extend our logical framework beyound constructivism?

It is not hard to address the issues (1), (2), (3) above one at a time, at least when it comes to the basic properties of $\mathrm{Ext}$ and $\mathrm{Tor}$:

For (1), the workaround is easy: If you want $\mathrm{Ext}^n\left(M,N\right)$ for two modules $M$ and $N$ and some $n\in\mathbb N$, you don't need a whole infinite projective resolution $...\to P^2\to P^1\to P^0\to M$. It is enough to have an exact sequence $P^{n+1}\to P^n\to P^{n-1}\to ...\to P^1\to P^0\to M$, where $P^0$, $P^1$, ..., $P^n$ are projective. (It is not necessary for $P^{n+1}$ to be projective. Generally, $P^{n+1}$ is somewhat like a red herring when $\mathrm{Ext}^n\left(M,N\right)$ is concerned.)

For (2), the only solution I know is not to use injective resolutions. Usually, things that can be formulated with projective resolutions only can also be proven with projective resolutions only. But this is not a solution I like, since it breaks symmetry.

(3) I think this is what anafunctors are for, but I have not brought myself to read the ncatlab article yet. I know, laziness is an issue... At the moment, I am solving this issue in a low-level way: Never speak of $\mathrm{Ext}\left(M,N\right)$, but rather speak of $\mathrm{Ext}\left(M_P,N\right)$ or $\mathrm{Ext}\left(M,N_Q\right)$, where $P$ and $Q$ are respective projective/injective resolutions. This seems to be the honest way to do work with $\mathrm{Ext}$'s anyway, because once you start proving things, these resolutions suddenly do matter, and you find yourself confused (well... I find myself confused) if you suppress them in the notation. [Note: If you want to read Makkai's lectures on anafunctors and you are tired of the Ghostview error messages, remove the "EPSF-1.2" part of the first line of each of the PS files.]

Now, (4) is my main problem. I could live without injective resolutions, without the fake canonicity of $\mathrm{Ext}$ and $\mathrm{Tor}$, and without infinite projective resolutions, but if I am to do homological algebra, I can hardly dispense with finite-length projective resolutions! Unfortunately, as I said, in constructive mathematics, there is no guarantee that a module has a projective resolution at all. The standard way to construct a projective resolution for an $R$-module $M$ begins by taking the free module $R\left[M\right]$ on $M$-as-a-set - or, let me rather say, $M$-as-a-type. Is this free module projective, constructively? This depends on what we know about $M$-as-a-type. Alas, in general, modules considered in algebra often have neither an obvious set of generators nor an a-priori algorithm for membership testing; they can be as complicated as "the module of all $A$-equivariant maps from $V$ to $W$" with $A$, $V$, $W$ being infinite-dimensional. Some are even proper classes, even in the classical sense. The free module over a discrete finite set is projective constructively, but the free module over an arbitrary type does so only if we allow a weaker form of AC through the backdoor. Anyway, even if there is a projective resolution, it cannot really be used for explicit computations if the modules involved are not finitely generated. Now, here is an example of where non-finitely generated modules have an appearance:

Theorem. If $R$ is a ring, then the global homological dimension of the polynomial ring $R\left[x\right]$ is $\leq$ the global homological dimension of $R$ plus $1$.

I am referring to the proof given in Crawley-Boevey's lecture notes. (Look at page 31, absatz (2).) For the proof, we let $M$ be an $R\left[x\right]$-module, and we take the projective resolution

$0 \to R\left[x\right] \otimes_R M \to R\left[x\right] \otimes_R M \to M \to 0$,

where the second arrow sends $p\otimes m$ to $px\otimes m-p\otimes xm$, and the third arrow sends $q\otimes n$ to $qn$. (This is a particular case of the standard resolution of a representation of a quiver, which appears on page 7 of a different set of lecture notes by the same Crawley-Boevey.)

Now, the problem is that even if $M$ is finitely generated as an $R\left[x\right]$-module, $R\left[x\right] \otimes_R M$ needs not be.

Is there a known way around this?

Generally, what is known about constructive $\mathrm{Ext}$/$\mathrm{Tor}$ theory? Are there texts on it, just as Lombardi's one on various other parts of algebra (strangely, this text talks a lot about projective modules, but gives $\mathrm{Ext}$ and $\mathrm{Tor}$ a wide berth)? Do the problems dissolve if I really use anafunctors? Do derived categories help? Should we replace our notions of "injective" and "projective" by better ones? Or is there some deeper reason for the non-constructivity, i. e. is $\mathrm{Ext}$/$\mathrm{Tor}$ theory too strong?


Endnote for everyone who does not care about constructive mathematics: Even dropping constructivism aside, I believe that there remain quite a lot of real issues with homological algebra. First there is the matter of canonicity, then there is the problem of too-big constructions (proper classes etc.), the frightening unapproachability of injective covers, the idea that one day we might want to work in a topos where even ZF is too much asked, etc. I am changing the topic to a discussion of how to fix these issues (well, it already is such a discussion), constructivism being just one of the many directions to work in.

  • Why is (3) a problem classically? Aren't the results you get from different resolutions canonically isomorphic? So that if you have global choice, you can pick a resolution for each module to make the construction into a functor. If that's right, then yes, that is the sort of problem that anafunctors solve constructively. – Mike Shulman Jan 03 '11 at 00:25
  • "pick a resolution for each module" -- you can't apply the axiom of choice to a proper class. – darij grinberg Jan 03 '11 at 00:32
  • 4
    Regarding injective and projective resolutions constructively, you may be interested in the paper Injectivity, projectivity, and the axiom of choice by Andreas Blass. – Mike Shulman Jan 03 '11 at 00:32
  • You COULD solve this problem by choice if you would restrict yourself to finitely-generated modules (they are still a proper class, but their isomorphism classes are a set). But then you have to battle against (4). – darij grinberg Jan 03 '11 at 00:33
  • Thanks for the reference. I'll look into it when I have access to Jstor, but as for now it seems to me that it does not really give an answer to my questions. It seems to slavishly adher to the classical definitions of "injective" and "projective" and to show that the AC is needed then. What I want is a constructive workaround by (slightly but effectively) changing the definitions of "injective" and "projective". – darij grinberg Jan 03 '11 at 00:35
  • 1
    @darij: that's why I said "global choice" -- that means a version of AC that does apply to proper classes. Many other things go weird in category theory if you don't have global choice (e.g. a category with finite products may not have a product functor C×C→C), unless you use anafunctors, so I usually assume that "classically" in this context includes global choice. But even if you have only ordinary AC, I expect that in practice it would be sufficient to have Ext and Tor functors defined on arbitrarily-big small subcategories of Modules. – Mike Shulman Jan 03 '11 at 00:36
  • 1
    Ah, I was blind. Jstor is once again selling something that is in open access. – darij grinberg Jan 03 '11 at 00:37
  • 1
    Okay. I did not see a reference anywhere in your question to changing the definitions of "injective" and "projective." – Mike Shulman Jan 03 '11 at 00:38
  • 1
    @Mike: ah, that's what the cryptic "global choice" meant. You are right then, but I am still uncomfortable with that principle. I understand the idea that "in practice" everything is small, finite, constructive, computable and fair, but somehow I cannot be satisfied unless I know a way to code it all in a functional programming language... – darij grinberg Jan 03 '11 at 00:41
  • @Mike: that's an oversight on my part. – darij grinberg Jan 03 '11 at 00:41
  • If you're happy about the existence of proper classes in addition to sets, then I don't see why global choice is any more objectionable than ordinary AC. – Mike Shulman Jan 03 '11 at 00:53
  • 2
    Also, I believe that at least in NBG class-set theory (which is more or less the weakest one in which it can be stated, since in ZFC you can't quantify over classes), global choice is conservative over ordinary AC: it doesn't entail any new consequences about sets that you couldn't prove using ordinary AC. – Mike Shulman Jan 03 '11 at 00:54
  • 10
    There is a constructive (even functorial) resolution using a 2-sided bar construction that works for any ring R with module M. (It uses the forgetful-free adjoint pair between R-modules and sets.) If you define it using this horribly impractical definition, there is no indeterminacy and the "standard" definitions become theorems about ways to compute Tor. – Tyler Lawson Jan 03 '11 at 00:55
  • What do you mean by "existence of proper classes"? Classes are logical assertions... – darij grinberg Jan 03 '11 at 00:55
  • @Darij: I thought you were worrying about whether there is a functor "Ext" defined on the large category of modules. Such a functor would have to be a proper class. If proper classes don't "exist" then what does your question mean? – Mike Shulman Jan 03 '11 at 01:04
  • 1
    @Tyler: Yes, you're right classically at least; that does give you a functor without using global choice. It's less clear to me that it is "constructive" -- I mean you can define the bar "resolution" constructively, but is it a resolution? I.e. is that "definition" of Tor/Ext "correct"? – Mike Shulman Jan 03 '11 at 01:05
  • @Tyler: Good point. It will still be far from finitely-generated, so I do have worries about the many definitions of "projective" still being equivalent, and I am not sure whether the homotopy equivalences will still be that canonical, but it's already an answer to some of the issues. – darij grinberg Jan 03 '11 at 01:06
  • 1
    @Mike: For me, a functor is a function between parametric types in Haskell, so if it is well-typed it is well-defined... I know, my basics in logic leave a lot to be desired. – darij grinberg Jan 03 '11 at 01:08
  • 2
    @Mike: It's the chain complex associated to a two-sided bar construction $B(F_R, F_R, M)$ where $F_R$ is the free R-module functor; as such its homology groups are the homotopy groups of the underlying simplicial abelian group, which is homotopy discrete because it has an extra degeneracy. So the resulting complex is always acyclic in positive degrees due to having a canonical retraction. – Tyler Lawson Jan 03 '11 at 01:14
  • @Tyler: OK, I see: For every $R$-module $M$, we can find a projective $R$-module $P$ (where "projective" means "lifting property") such that $M$ is a factor of $P$. In fact, let $P$ be the $R$-module of finite lists of pairs $\left(m,r\right)\in M\times R$, where the zero element is the empty list, addition is concatenation of lists, and multiplication by an element $q\in R$ transforms every entry $\left(m,r\right)$ of the list into $\left(m,qr\right)$, and this all modulo permutation of entries and "condensation" of two entries $\left(m,r_1\right)$ and $\left(m,r_2\right)$ with the ... – darij grinberg Jan 03 '11 at 01:47
  • ... same $m$ into one $\left(m,r_1+r_2\right)$, and deletion of $\left(m,0\right)$ entries. This is a kind of free module, even when $M$ is not a discrete set. – darij grinberg Jan 03 '11 at 01:48
  • So projective resolutions seem to work indeed, in the constructive sense. The nice thing about constructive mathematics is that if we are given a projective module, we automatically have an algorithm to lift maps, so we don't need the AC to do this even infinitely often. So I don't think projective resolutions require anything beyound basic constructive mathematics. I am FAR from being convinced of the same about injective resolution. – darij grinberg Jan 03 '11 at 01:51
  • 5
    But there seems to be a lingering issue that frees might not be projective in the absence of choice. – Todd Trimble Jan 03 '11 at 02:05
  • 2
    @Tyler, I guess I misspoke: I didn't mean that it wouldn't be acyclic, but that it might not be projective/cofibrant. The modules will all be free, but as Todd says, in the absence of choice, free modules need not be projective. – Mike Shulman Jan 03 '11 at 04:04
  • 1
    @Todd, @Mike: Oh, heck. I guess I was mostly worrying about Tor - frees are definitely flat. I find it unlikely that projectives really exist in general without AC, and I don't know the extent to which Ext makes sense. I agree with your point. – Tyler Lawson Jan 03 '11 at 04:14
  • Sorry, this may be utterly naive, but how do you construct the tensor product of two modules? All the constructions I can think of (if you don't restrict your rings severely) involve huge free modules, whose construction in turn seems to require choice. – Theo Buehler Jan 03 '11 at 05:26
  • @Tyler: Hmm, that's interesting! I never thought about flatness constructively. (The paper of Blass I cited above shows that without some form of AC, there aren't generally enough projectives.) – Mike Shulman Jan 03 '11 at 06:15
  • 5
    @Theo B: why do those huge free modules require choice? I thought there was a canonical basis for them (like the underlying set of $M\times N$). That gives you the tensor product of abelian groups; then the tensor product of R-modules is just a coequalizer in Ab. – Mike Shulman Jan 03 '11 at 06:16
  • @Mike. You're absolutely right, thanks. I got myself extremely confused, sorry. – Theo Buehler Jan 03 '11 at 06:41
  • 2
    For what it's worth, if you're looking for an application of injective resolutions, they're important in sheaf theory. Mostly one considers injective resolutions in the category of sheaf complexes, but occasionally resolutions of groups and R-modules (which can be considered as sheaves over a point) come into play.

    That said, I don't have anything useful to contribute to the ongoing discussion!

    – Greg Friedman Jan 03 '11 at 07:54
  • 1
    To Todd's point, these modules definitely will not be projective. While you get a functorial construction, I'm not sure that all of the standard theorems will hold. Like you may not be able to prove any more that every projective resolution gives you the same answer. – arsmath Jan 03 '11 at 22:44
  • Darij, I see with your edit that you're not committed to a specific philosophy of constructivism. I suggest that you look at the Groebner bases chapter of Eisenbud's commutative algebra book, and see if the algorithms there satisfy your desire for a more constructive approach. The algorithms themselves are not very complex. – arsmath Jan 05 '11 at 08:30
  • 3
    This is a good idea, because I like Gröbner bases... but as far as I know, Gröbner bases work over a field only. Constructively, fields are extremely rare (e. g. we can't construct a splitting field, and we can't make a ring into a field by dividing by a maximal ideal), but I guess some of the ideas will be very useful. – darij grinberg Jan 05 '11 at 13:48
  • 2
    It is improbable that anyone having been involved in this thread so far is not aware of it, and yes, anafunctors and Makkai has even explicitly mentioned above, but---imagining readers discovering this thread for the first time---and conceiving of MO as (also, accidentally) some-sort-of-living-encyclopedia, it seems not irrelevant to record Makkai's classic paper on that subject, where `anafunctor' seems to have appeared for the first time: M. Makkai: Avoiding the axiom of choice in general category theory. Journal of Pure and Applied Algebra (1996) 109-173 – Peter Heinig Jul 06 '17 at 19:09
  • It seems that the new URL for Lectures on Representation of Quivers by Crawley-Boevey is this: https://www.math.uni-bielefeld.de/~wcrawley/quivlecs.pdf (Just in case, here is a link to Wayback Machine.) – Martin Sleziak May 18 '22 at 11:28

5 Answers5

19

I have some sympathy for the question, since I have gotten bothered by the noncanoncity -- although less so by the nonconstructivity -- of the usual definition in my youth. (These days I'm less bothered by such things.) Here are a few ways around it for $Ext$.

  1. There is a definition going back Yoneda, I think, of $Ext^n(M,N)$ as an equivalence class of exact sequences $0\to N\to \ldots \to M\to 0$ of length $n+2$ (including $M,N$). Take a look at Hilton and Stammbach's Homological Algebra. This is quite cumbersome but it solves the dependency on, let alone existence of, suitable resolutions.

  2. This was mentioned already by Mike Shulman. You can take $Ext^n(M,N)= Hom_{D(R)}(M,N[n])$ in the derived category $D(R)$ of $R$-modules. Once you get used to the formalism, this is much more convenient than 1 (at least for me).

  3. You can choose a canonical resolution initially for the definition of $Ext^n(M,N)$. Here is one general choice. Let $F^0(M)=F(M)$ be the free module generated by elements of $M$. We have canonical map $c_M:F(M)\to M$, let $F^{-1}(M)= F(\ker c_M)$. By continuing in this fashion, we build a canonical free resolution $\ldots F^{-1}(M)\to F^0(M)\to M\to 0$. Dually, you can use the injective hull* to build an injective resolution of $N$. As several people have pointed out, some important categories have enough injectives but not enough projectives, so it's good to get used to them.

Addendum Regarding your original question about how constructive this can be made, I think for certain classes of modules (e.g. finitely presented modules) over certain classes of rings (e.g. polynomial rings), this is not only possible, but it seems to have been implemented in some computer algebra packages already. I notice that the latest Macaulay 2 has commands for Ext and Tor.

*If your are unhappy with this, use instead the double character module $$I(N)= Hom_{\mathbb{Z}}(Hom_{\mathbb{Z}}(N,\mathbb{Q}/\mathbb{Z}), \mathbb{Q}/\mathbb{Z})$$

Donu Arapura
  • 34,197
  • 2
  • 91
  • 158
  • Thanks a lot. I have heard of 1, although this creates a new problem (namely, $\mathrm{Ext}$ becomes a proper class), and doesn't work for $\mathrm{Tor}$ (not even for $\mathrm{Tor}^0$, which is reflected by the fact that the tensor product is the most difficult to understand thing in linear algebra). As for 2, I am trying to get used to derived categories; ATM I can't prove that this definition is equivalent to the usual one however. 3 is what Tyler proposed, and what I am currently using. – darij grinberg Jan 03 '11 at 17:29
  • 1
    However, injective hulls are not as canonical, as far as I understand, so 3 really works only for the projective part of the theory. – darij grinberg Jan 03 '11 at 17:30
  • 2
    Yes, I agree, these approaches solves some problems and creates others. Incidentally, whenever I teach sheaf cohomology, I use Godement's canonical flasque resolutions and avoid injectives altogether (and before anyone says anything, I know this won't work for arbitrary topoi...). – Donu Arapura Jan 03 '11 at 17:38
  • Oh, another thing: I heard of the double-character definition of $I(N)$, but I am not sure whether it really has any of the required properties constructively. We need to show that the canonical map $N\to I(N)$ is injective. Is it? – darij grinberg Mar 19 '11 at 11:56
  • 3
    @Donu, that won't work for arbtrary --- oops, you anticipated me... :-) – Ravi Vakil Jul 21 '11 at 22:33
  • 5
    @darijgrinberg [I have heard of 1, although this creates a new problem (namely, Ext becomes a proper class)] As long as you consider only modules of finite type over a noetherian ring $A$, you can define $Ext_A^n(M, N)$ as a set of equivalence classes on a set, because a module of finite type over $A$ is isomorphic to $A^m/R$, where $R$ is a submodule of $A^m$. – Makoto Kato May 01 '14 at 11:49
14

Perhaps constructively it is misguided to expect Tor and Ext to be definable in terms of a single resolution.

One way to define Ext(M,N) is as the homology groups of DHom(M,N) in the derived category of chain complexes. The derived category of chain complexes is obtained from the category of chain complexes by inverting quasi-isomorphisms. In the presence of projective or injective resolutions, the category of chain complexes has a (projective or injective) Quillen model structure so that DHom(M,N) can be computed as Hom(QM,N) or Hom(M,RN) for a projective (= cofibrant) resolution QM or an injective (= fibrant) resolution RN.

In the absence of resolutions, it seems likely to me that the "right" thing to look at would still be DHom(M,N); it would just be harder to compute. A priori you would have to look at arbitrary zigzags of chain complexes, with backwards-pointing maps being quasi-isomorphisms. But it might still happen that there is a calculus of fractions or something that would reduce it to two- or three-step zigzags that you have to look at. But you would still then have to use different "resolutions" to represent different elements of Ext(M,N).

This is all based on general nonsense intuition, however, not on any experience of actually trying to do anything with Tor and Ext constructively, so it could be way off.

Mike Shulman
  • 65,064
  • 1
    Thanks: even if this doesn't answer my question, it provides me a lot to think and read about. ;) I am a bit scared of derived categories: with the definition I know, the derived category of a locally small but not small category is not even locally small anymore, so there seems to be some inherent evil in that notion which should be exorcised first (in the fires of type theory?...). Now I have done enough rambling for 10 soft-questions, so I guess I should stop. Thanks again for all the help. – darij grinberg Jan 03 '11 at 01:13
  • 4
    It's true that if you take a locally-small non-small category and invert some weak equivalences, the result may no longer be locally small. I would guess that local-smallness of the derived category of a ring requires a weak form of choice (similar to http://nlab.mathforge.org/nlab/show/WISC). I'm not sure what's evil about non-locally-small categories, though. – Mike Shulman Jan 03 '11 at 04:07
13

Jarl Flaten and I have developed the theory of Ext groups constructively in homotopy type theory, and have formalized most of the results in Coq. We use Yoneda's resolution-free approach to Ext, so there are no choices involved in the definition, and it works even in models in which there are not enough projective or injective R-modules. We prove the standard long exact sequences, and show that when you do have resolutions, you use them to compute Ext.

While we haven't worked through the details, you can use Ext to define other derived functors, including Tor. The derived functors of a covariant right exact functor $T$ can be defined as $$ T_n(C) := \operatorname{nat.trans.}(\operatorname{Ext}^n(C,-), T(-)). $$ This is due to Yoneda (1960), and is briefly described in the notes to Chapter XII of Mac Lane's Homology.

References:

J. Daniel Christensen and Jarl G. Taxerås Flaten. Ext groups in homotopy type theory. https://arxiv.org/abs/2305.09639

Jarl G. Taxerås Flaten. Formalising Yoneda Ext in Univalent Foundations. https://arxiv.org/abs/2302.12678

Slides for a talk I gave are available at https://jdc.math.uwo.ca/papers.html

Formalization: https://github.com/HoTT/Coq-HoTT and https://github.com/jarlg/Yoneda-Ext

Dan Christensen
  • 1,082
  • 9
  • 13
7

This is not exactly what you're asking, but computationally there is no problem with Ext and Tor over finitely-generated commutative algebras over a field. The algorithms are described in Eisenbud's commutative algebra book, as well as other places. For schemes, you can use the Cech definitions. I don't know to what extent these depend on choice to prove that they compute the right thing, since the theory relies on injective resolutions at various points, even though they are avoidable in calculations.

It seems to me that you could constructively handle injective modules the same way that you constructively handle the algebraic closure of a field. (Does the existence of the algebraic closure of $\mathbb{Q}$ require choice?) I don't think you literally need the whole injective module, just as in the way you usually don't literally need the whole algebraic closure of a ring. You adjoin roots of polynomials/solutions of linear equations as necessary. I don't know if you can give a constructive proof that this stops, though.

arsmath
  • 6,720
  • 1
    The existence and uniqueness of algebraic closures can be deduced from the ultrafilter lemma, so doesn't require the full power of choice: see http://mathoverflow.net/questions/46566/is-the-statement-that-every-field-has-an-algebraic-closure-known-to-be-equivalent . In the specific case of Q, doesn't the proof that C is algebraically closed go through in ZF? Then we can just take the algebraic numbers in C. – Qiaochu Yuan Jan 03 '11 at 18:57
  • @Qiaochu: In ZF, I believe so, but constructively, I don't think you can even prove that the real numbers are real-closed: the intermediate value theorem requires some LEM. – Mike Shulman Jan 03 '11 at 20:45
  • The "just adjoin roots as necessary" sounds similar to what I suggested about needing to use different "resolutions" to represent different morphisms in the derived category? – Mike Shulman Jan 03 '11 at 20:47
  • That's a good point. You could work with chain complexes that are quasi-isomorphic to the original module, such that the first module in the complex is an essential extension of the original module, and each additional module is the complex is an essential extension of the previous one. Now we just need to prove that we can get every morphism of the derived category that way... – arsmath Jan 03 '11 at 22:52
  • 1
    @Qiaochu: I believe: Constructively (without any form of choice), the complex numbers built as pairs of Cauchy real numbers are algebraically closed, but the complex numbers built as pairs of Dedekind real numbers might not. (The former embed into the latter.) The algebraic numbers, defined as a subset of either kind of complex numbers, are always algebraically closed. They're also preserved by inverse image under geometric morphisms. – Ingo Blechschmidt Jun 07 '18 at 11:35
5

I am no authority on what I'm about to write, but the nLab discusses a weakened form of the axiom of choice called COSHEP (the Category Of Sets Has Enough Projectives), aka the Presentation Axiom (PAx) that some constructivists apparently consider reasonable. The principle does indeed hold for various models of intuitionistic set theory, for example any presheaf topos and also the effective topos, where the full axiom of choice fails badly.

Under COSHEP, it is easy to construct projective resolutions in algebra. And apparently this is a main application for constructive mathematicians, so the question raised by Darij has certainly been considered in the literature.

As regards injective resolutions: isn't the situation in Grothendieck toposes rather better than for projective resolutions? I am thinking here that a primary mathematical justification for interest in constructive proofs is that they admit a much wider semantic range than classical proofs. In particular, the internal logic of a topos is 'constructive', and a primary reason one is interested in constructive proofs is that they tend to carry over to toposes. Anyway, if I'm not too badly informed, the category of abelian group objects in a Grothendieck topos always has enough injectives; it may not have enough projectives however. Indeed, the interest in things like "flabby sheaves" seems to come down squarely on the injective side. (Hm, just noticed that Greg Friedman made a similar point in a comment above.)

All that being said, I expect that to push "enough injectives" through to Grothendieck toposes, one must assume certain baseline choice principles on the base topos $Set$. The "enough injectives" result on Grothendieck toposes probably hinges on some external considerations (like the existence of a generator) rather than internal logical considerations, so I'm a little murky on what constructivism really has to say here. All I'm saying above is that if your primary interest in constructive proofs is that they carry over to Grothendieck toposes, then fear not: they have enough injectives already.

I'm hoping that someone such as Andreas Blass will weigh in here at some point.

Todd Trimble
  • 52,336
  • 1
    My primary interest in constructive proofs is that they are constructive, and alas I don't know what a topos is. This is going to change when I have something like a month of spare time for reading Barr's TTT book. Unfortunately, I have no idea when this is going to be. To be honest, I have NO idea why free modules are not projective constructively, so it seems like confusion has got the better of me now. – darij grinberg Jan 03 '11 at 14:08
  • Thanks for the reply, the mention of COSHEP seems to explain some things. – darij grinberg Jan 03 '11 at 14:10
  • 1
    @Darij: A detailed introduction into topos theory takes months or even years to read, I think. As a first introduction, you might check out http://www.maths.gla.ac.uk/~tl/cafe_topos_intro.pdf – Martin Brandenburg Jan 03 '11 at 15:22
  • 2
    @Darij: perhaps you've got it sorted out by now, but you just have to work through the usual element-chasing proofs that free modules are projective to see where AC comes in. "Given f: P --> X, P free, and an epi p: Y --> X, I have to lift f through p. Let e_i be a basis of P; the lift should take e_i to some y which maps down to p(y). So I need to choose such y etc." It's hard to do this without some form of choice. – Todd Trimble Jan 03 '11 at 16:02
  • 1
    I see, this depends on what we mean by a "surjection". For me, a map $f:X\to Y$ (of sets) is called a surjection if and only if for every $y\in Y$, there exists an $x\in X$ such that $f(x)=y$. Now, "for every" is, type-theoretically, a lambda abstraction, so if I know that "for every $y\in Y$, there exists an $x\in X$ such that $f(x)=y$", then I actually have a map $g:Y\to X$ which assigns to each $y\in Y$ an $x\in X$ satisfying $f(x)=y$. Now, this has an ugly consequence, namely that if $X$ is a set and $\sim$ is an equivalence relation on $X$, then the canonical projection ... – darij grinberg Jan 03 '11 at 17:41
  • ... $X\to X\diagup\sim$ is not necessarily a surjection. To be honest, I don't really know what constructive mathematics is, so the mistake is probably in some of my assumptions about this. – darij grinberg Jan 03 '11 at 17:42
  • Well, AC says that every epi in the category of sets splits, and that's what you've written down: $g$ is a splitting of $f$. But AC is a lot stronger than saying that for every element $y: 1 \to Y$ there exists a lifting $x: 1 \to X$ through $f$, i.e., so that $f(x) = y$. (There are various notions of 'epi': my default is that $\hom(f, Z): \hom(Y, Z) \to \hom(X, Z)$ is one-to-one for each $Z$, but there's also 'regular epi', 'strong epi, and 'retraction', which is what you have. The default is equivalent to the element-wise notion I gave above if 1 is a projective generator.) – Todd Trimble Jan 03 '11 at 18:28
  • Ah, so now I think maybe I see what you were getting at re: changing the definition of "projective." The usual definition is "lifts against maps whose underlying set-function is surjective," with "surjective" in the usual (i.e. non-type-theory) sense, where something can exist without being assigned computationally. But in the absence of AC it is a different property to lift against maps whose underlying set-function is (what someone other than a type theorist would call) split surjective, and free modules do have that property. – Mike Shulman Jan 03 '11 at 20:57
  • So one might then ask: can we reformulate all of homological algebra using this weaker notion of projective and stronger notion of surjective? This sounds similar to the observation that it requires AC to prove that any Kan complex can be made into an algebraic Kan complex (http://nlab.mathforge.org/nlab/show/algebraic+Kan+complex) and that in the absence of AC, it is perhaps the algebraic notion which is more correct. – Mike Shulman Jan 03 '11 at 21:02
  • I am not a real type theorist, just someone who knows the very basics and likes the idea, so please don't be buy my opinion for "what a type theorist says"! Otherwise - yes, this is exactly the problem... – darij grinberg Jan 03 '11 at 21:03
  • I think that "what a type theorist says" depends on what sort of type theory you're doing, although I'm not a type theorist either. In type theory with "proof-irrelevant propositions" or "bracket types" you can express non-computational existence, but in other type theories existence implies computability. But perhaps a type theorist will come along and correct me. – Mike Shulman Jan 04 '11 at 17:42