Category Theory
Zulip Server
Archive

You're reading the public-facing archive of the Category Theory Zulip server.
To join the server you need an invite. Anybody can get an invite by contacting Matteo Capucci at name dot surname at gmail dot com.
For all things related to this archive refer to the same person.


Stream: deprecated: algebra & CT

Topic: Category of polynomial functions


view this post on Zulip Evan Patterson (Feb 05 2023 at 20:40):

In their paper "Differential categories" (p. 1062), Blute et al describe a neat way to construct the category of vector spaces and polynomial maps between them. Let S:VectkVectkS: \mathsf{Vect}_k \to \mathsf{Vect}_k be the free commutative kk-algebra monad, which sends a vector space VV to the (underlying vector space of) the symmetric algebra S(V)S(V). Then the opposite of the Kleisli category of SS, or equivalently the coKleisli category of the comonad SopS^{\mathrm{op}}, is a category whose morphisms VWV \to W are polynomial functions from VV to WW. Call this category Polyk\mathsf{Poly}_k.

The authors go on to say that "it is well known that" Polyk\mathsf{Poly}_k is a distributive category. Is this true? In fact, I am confused on a more basic point. Does Polyk\mathsf{Poly}_k even have coproducts? If so, what are they?

view this post on Zulip John Baez (Feb 05 2023 at 21:07):

Hmm. I'm not sure.

I would often think of the category of vector spaces and polynomial maps between them in a somewhat different way. I would think of the Eilenberg-Moore category of your monad SS as the category of commutative kk-algebras. Then its opposite is called the category of affine schemes. This is the usual way algebraic geometer's way of thinking of any commutative kk-algebra as the "algebra of functions" on some sort of space, called an affine scheme.

Sitting inside the Eilenberg-Moore category is the Kleisli category. Its opposite is thus a full subcategory of the category of affine schemes, where the only objects are those coming from vector spaces. These special objects are called the "affine spaces" An\mathbb{A}^n, at least in the finite-dimensional case. They are the affine schemes that look like vector spaces! (See the third definition here).

view this post on Zulip John Baez (Feb 05 2023 at 21:08):

So... so far, I'm just telling you that Polyk\mathsf{Poly}_k is familiar in algebraic geometry as the category of affine spaces and arbitrary maps of affine schemes between these. This is suppose to help us visualize whether this category should have colimits.

view this post on Zulip John Baez (Feb 05 2023 at 21:09):

We should think of the objects as spaces that look like vector spaces, and the maps as functions that are defined by polynomials.

view this post on Zulip John Baez (Feb 05 2023 at 21:10):

That doesn't sound like it should have coproducts: the coproduct A1+A1\mathbb{A}^1 + \mathbb{A}^1 should be an affine scheme that looks like the disjoint union of two lines!

view this post on Zulip John Baez (Feb 05 2023 at 21:12):

Yes, that seems right. So unwinding a bit, I'm saying the opposite of Polyk\mathsf{Poly}_k doesn't have binary coproducts, or in other words, the Kleisli category of SS doesn't have binary products.

view this post on Zulip John Baez (Feb 05 2023 at 21:14):

And I'm suggesting that if you take VV to be a 1-dimensional vector space, then S(V)S(V) is an object in the Kleisli category that doesn't have a product with itself.

view this post on Zulip John Baez (Feb 05 2023 at 21:15):

However all I've really shown is that if you take its product with itself in the Eilenberg-Moore category, you get an object that's no longer in the Kleisli category!

view this post on Zulip John Baez (Feb 05 2023 at 21:16):

Still, I'm offering a possible counterexample to the claim that Polyk\mathsf{Poly}_k has coproducts, and it should be pretty easy to check this, by seeing whether S(V)S(V) fails to have a product with itself in the Kleisli category of SS.

view this post on Zulip Evan Patterson (Feb 05 2023 at 21:45):

Thanks John, this is helpful! I'll have to think about that last part more, but it seems plausible that Polyk\mathsf{Poly}_k does not have coproducts. What most interests me is not necessarily this particular category but having a "good" category whose morphisms are polynomial functions, where "good" should include having limits and colimits. Perhaps the lesson from your comments is that I should be looking at a bigger category, such as the category of affine schemes. Algebraic geometry has always seemed scary to me, but I might need to bite the bullet and learn some basic things.

view this post on Zulip John Baez (Feb 05 2023 at 22:25):

Algebraic geometry is a very big subject, but affine schemes are not!

The category of affine schemes is just the opposite of the category of commutative rings, where we take the opposite because a map XYX \to Y between spaces induces a map sending functions on YY to functions on XX. This way of talking lets us think of commutative algebras as spaces.

But right now you are working over a field, so you are dealing with commutative algebras over a field kk... and the opposite of the category of those is called the category of affine schemes over kk.

Affine schemes over R\mathbb{R} were basically invented by Descartes when he realized that algebra could be seen as geometry. E.g., the commutative algebra R[x,y]/x2+y2=1\mathbb{R}[x,y]/\langle x^2 + y^2 = 1\rangle is the algebra of functions on an affine scheme over R\mathbb{R} called the 'circle'.

view this post on Zulip Jean-Baptiste Vienney (Feb 06 2023 at 05:43):

Evan Patterson said:

In their paper "Differential categories" (p. 1062), Blute et al describe a neat way to construct the category of vector spaces and polynomial maps between them. Let S:VectkVectkS: \mathsf{Vect}_k \to \mathsf{Vect}_k be the free commutative kk-algebra monad, which sends a vector space VV to the (underlying vector space of) the symmetric algebra S(V)S(V). Then the opposite of the Kleisli category of SS, or equivalently the coKleisli category of the comonad SopS^{\mathrm{op}}, is a category whose morphisms VWV \to W are polynomial functions from VV to WW. Call this category Polyk\mathsf{Poly}_k.

The authors go on to say that "it is well known that" Polyk\mathsf{Poly}_k is a distributive category. Is this true? In fact, I am confused on a more basic point. Does Polyk\mathsf{Poly}_k even have coproducts? If so, what are they?

I think that the coKleisli category of the monad S:VectkVectkS:\mathsf{Vect}_{k} \rightarrow \mathsf{Vect}_{k} in fact has finite coproducts.

It comes from what is a model of linear logic.

Usually to interpret the connectors ,K,!,×,\otimes,\mathbb{K},!,\times,\top of linear logic, we require a symmetric monoidal category with products and a comonad with the Seely isomorphisms !(A×B)!A!B!(A \times B) \cong !A \otimes !B and !I!\top \cong I, that is !! is a strong monoidal functor between the cartesian monoidal structure and the symmetric monoidal structure . This is definition 3.1 on the nLab page !!-modality.

If we have a Seely comonad, then the coKlesli category of !! have products which are still ×\times.

Now, S:VectkVectkS:\mathsf{Vect}_{k} \rightarrow \mathsf{Vect}_{k} is a monad, we have coproducts in Vectk\mathsf{Vect}_{k} and the Seely isomorphism (which are now for coproducts but in fact look exactly the same since Vectk\mathsf{Vect}_{k} has biproducts) S(AB)S(A)S(B)S(A \oplus B) \cong S(A) \otimes S(B) and S(0)KS(0) \cong \mathbb{K} are well-known (actually, there are isomorphisms like this everywhere in mathematics). We thus have a Seely monad and the Kleisli category Polyk\mathsf{Poly}_{k} of SS has coproducts.

These coproducts are given on the objects like in Vectk\mathsf{Vect}_{k} by ABA \oplus B and on morphisms like this:

If you take
f:ACf:A \rightarrow C
g:BCg:B \rightarrow C
in the Kleisli category of SS.

You want a pairing (f,g):ABC(f,g): A \oplus B \rightarrow C

ie. if you take
f:AS(C)f:A \rightarrow S(C)
g:BS(C)g:B \rightarrow S(C)
in Veck\mathsf{Vec}_{k}.

You want (f,g):ABS(C)(f,g):A \oplus B \rightarrow S(C) in Veck\mathsf{Vec}_{k}.

This is simply given by the pairing in Veck\mathsf{Vec}_{k}:
(f,g):ABS(C)(f,g):A \oplus B \rightarrow S(C).

Now the Seely isomorphism and the monad are useful to build the injections and verify that everything work in order that it really gives you coproducts in Polyk\mathsf{Poly}_{k}. This is here that the whole mechanism of linear logic with proofs made equivalent by cut elimination and the translation in the category theory world under the form of this categorical semantics plays its role.

view this post on Zulip Jean-Baptiste Vienney (Feb 06 2023 at 07:14):

Oups I did a mistake

view this post on Zulip Jean-Baptiste Vienney (Feb 06 2023 at 07:16):

You are looking for coproducts in the opposite category ahah

view this post on Zulip Jean-Baptiste Vienney (Feb 06 2023 at 07:23):

It looks more complicated indeed.

view this post on Zulip Jean-Baptiste Vienney (Feb 06 2023 at 07:34):

I'm interested by an answer to your question.

view this post on Zulip Jean-Baptiste Vienney (Feb 06 2023 at 07:50):

I look dumb but I learned something, I'm very used to that.

view this post on Zulip Evan Patterson (Feb 06 2023 at 20:59):

Thanks for the comment and no worries, it's easy to get mixed up by the op-ing going on here.

In order to have coproducts in Polyk\mathsf{Poly}_k, it seems that we would need to be able to find, for any two vector spaces V1V_1 and V2V_2, another vector space VV such that S(V)S(V1)S(V2)S(V) \cong S(V_1) \oplus S(V_2). I don't see how to do that and I'm doubtful that it's possible.

view this post on Zulip John Baez (Feb 06 2023 at 22:22):

Okay, good: my remarks on affine schemes give a geometrical intuition for why this is not possible, and maybe also point the way to a quick proof:

In a polynomial algebra S(V)S(V) we just have two elements pp that are idempotent (have p2=pp^2 = p), namely 0 and 1. But in S(V1)S(V2)S(V_1) \oplus S(V_2) we have four, namely (0,0),(0,1),(1,0)(0,0), (0,1), (1,0) and (1,1)(1,1).

view this post on Zulip John Baez (Feb 06 2023 at 22:24):

This is the algebraic way of saying "the affine scheme VV is connected, but the coproduct of two copies of this affine scheme is not".

view this post on Zulip Evan Patterson (Feb 06 2023 at 22:49):

OK, nice! I think that settles it. Thanks John!