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: learning: questions

Topic: Choosing a vector space basis; choosing a coproduct


view this post on Zulip David Egolf (Sep 02 2023 at 19:44):

I am wondering what connection we can make between the process of "picking a basis" for a vector space of dimension nn and "picking a particular coproduct" of nn one dimensional vector spaces.

For example, let's work in the category of real finite dimensional vector spaces. Then consider the two dimensional vector space R2\mathbb{R}^2, where the vectors are pairs of real numbers which we can add component-wise, and where we can multiply by scalars by multiplying each component. We have inclusion functions i1:RR2i_1: \mathbb{R} \to \mathbb{R}^2 and i2:RR2i_2: \mathbb{R} \to \mathbb{R}^2 defined by i1(r)=(r,0)i_1(r) = (r,0) and i2(r)=(0,r)i_2(r) = (0,r) for any rRr \in \mathbb{R}. I think that R2\mathbb{R}^2 together with with these two inclusion functions forms a coproduct of R\mathbb{R} and R\mathbb{R} in FinVectR\mathsf{FinVect}_\mathbb{R}.

However, we could try to define some different inclusion functions. For example, we could try defining i1:RR2i_1': \mathbb{R} \to \mathbb{R}^2 so that it sends R\mathbb{R} to a line of slope aa going through the origin, and i2:RR2i_2': \mathbb{R} \to \mathbb{R}^2 sending R\mathbb{R} to a line of slope aaa' \neq a going through the origin. Then is R2\mathbb{R}^2 together with i1:RR2i_1': \mathbb{R} \to \mathbb{R}^2 and i2:RR2i_2': \mathbb{R} \to \mathbb{R}^2 also a coproduct of R\mathbb{R} and R\mathbb{R} in FinVectR\mathsf{FinVect}_\mathbb{R}?

If this is so, then it is interesting to note that, given R2\mathbb{R}^2, i1i_1' and i2i_2' specify a particular coproduct of R\mathbb{R} and R\mathbb{R} by specifying two one-dimensional subspaces of R2\mathbb{R}^2. Each nonzero vector of R2\mathbb{R}^2 specifies a one-dimensional subspace of R2\mathbb{R}^2, so picking a basis {b1,b2}\{b_1, b_2\} for R2\mathbb{R}^2 also corresponds to selecting two one-dimensional subspaces of R2\mathbb{R}^2.

Inspired by this similarity (assuming the above is correct), I am wondering if the process of "picking a basis" for a real nn-dimensional vector space VV is equivalent to "picking nn coprojections from R\mathbb{R} that make VV into a coproduct". In other words, maybe "picking a basis" for an nn-dimensional real vector space is essentially the same thing as "picking a specific coproduct" for nn copies of R\mathbb{R}?

view this post on Zulip Jean-Baptiste Vienney (Sep 02 2023 at 19:55):

For me, a good definition of a basis of a finite-dimensional R\mathbb{R}-vector space EE of dimension nn is this one:
"An isomorphism R...RE\mathbb{R} \oplus ... \oplus \mathbb{R} \rightarrow E"
where R...R\mathbb{R} \oplus ... \oplus \mathbb{R} is the external direct sum of nn copies of R\mathbb{R} which is the same thing than the vector space Rn\mathbb{R}^n ie. the cartesian product of nn copies of R\mathbb{R} because the cartesian product of a finite number of vector spaces is at the same time a product and a coproduct.

Probably it is equivalent to your definition.

view this post on Zulip Jean-Baptiste Vienney (Sep 02 2023 at 19:57):

From such an isomorphism, you recover a basis (ek)1kn(e_{k})_{1 \le k \le n} by defining eke_k to be the image of (0,...,1,...,0)(0,...,1,...,0) (11 in the kthk^{th} position, in all others positions 00) by this isomorphism.

view this post on Zulip Jean-Baptiste Vienney (Sep 02 2023 at 19:58):

From a basis (ek)1kn(e_{k})_{1 \le k \le n}, you get such an isomorphism by sending (λ1,...,λn)(\lambda_1,...,\lambda_n) to λ1.e1+...+λn.en\lambda_1.e_1+...+\lambda_n.e_n.

view this post on Zulip Jean-Baptiste Vienney (Sep 02 2023 at 20:02):

Hmm, I think another definiton which is maybe closer to what you say is that:
" A basis with nn elements of EE is given by nn functions ik:REi_{k}:\mathbb{R} \rightarrow E such that (E,i1,...,in)(E,i_1,...,i_n) is a coproduct of nn copies of R\mathbb{R}"

view this post on Zulip Jean-Baptiste Vienney (Sep 02 2023 at 20:02):

I'm pretty sure it's equivalent

view this post on Zulip Jean-Baptiste Vienney (Sep 02 2023 at 20:03):

So you were talking exactly about the case n=2n=2 of this I guess.

view this post on Zulip Jean-Baptiste Vienney (Sep 02 2023 at 20:06):

In this case you recover the basis by defining ek=ik(1)e_k=i_{k}(1). And if you have a basis, you define ik(λ)=λ.eki_{k}(\lambda)=\lambda.e_{k}

view this post on Zulip David Egolf (Sep 02 2023 at 20:42):

Thanks, @Jean-Baptiste Vienney! By the way, for context, I was hoping this line of thought might help with trying to make arguments that don't depend on a particular basis.

view this post on Zulip Jean-Baptiste Vienney (Sep 02 2023 at 21:21):

Hmm, I see but for me it is rather giving a categorical definition of what is a basis, which is good too that don't using basis ie. we can define a basis of dimension nn of an object EE in a monoidal category as a choice of maps (ik:IE)1n(i_k:I \rightarrow E)_{1 \le n} such that (E,(ik:IE))(E,(i_{k}:I \rightarrow E)) is a coproduct of nn copies of II.

Then, for instance in Set\mathbf{Set}, a basis of a set EE of cardinal nn is a choice of an order on these objects, ie. you write E={e1,...,en}E=\{e_1,...,e_n\}. It comes from the fact that in Set\mathbf{Set} as a monoidal category with tensor product the cartesian product and monoidal unit a one element set *, a funtion E* \rightarrow E is exactly the same thing than an element of EE.

By the way, working out what you can do with such a definition of a basis in a monoidal category would be interesting! For instance, you could define what is a finite-dimensional object, what is the matrix of a map, what is a change of basis... But I think that you must assume that the category is also enriched over commutative monoids in order to be able to do enough interesting things. Probably you can then prove that a map between two finite-dimensional objects of the same dimension is an iso iff any matrix of the map with respect to two basis is invertible. Also you know that in such a category, C[I,I]\mathcal{C}[I,I] is always a semi-ring...

I was interested by thinking about this some times ago, and I thougt that maybe you could use this paper to get the definition of the determinant (without negatives, because I want only to assume that the category is enriched over commutative monoids, not abelian groups): Determinants of matrices over semirings

view this post on Zulip Jean-Baptiste Vienney (Sep 02 2023 at 21:24):

But I'm always afraid of doing something like this which can be perceived as abstract non-sense with only trivial applications. It's true that it would be making something simple: a basis into something which looks more complicated, and without any application to complicated stuff. I like doing such things but I don't feel like everybody think the same.

view this post on Zulip John Baez (Sep 02 2023 at 21:36):

I like to think about a basis of a vector space VV as an isomorphism α:VFS\alpha : V \to FS where F:SetVectF : \mathsf{Set} \to \mathsf{Vect} is the "free vector space on a set functor". In this blog article I basically described the essential image of this functor FF. Roughly, this means to describe in purely linear algebraic terms what extra structure a vector space gets from having a basis.

I also did it for finite-dimensional vector spaces. The answer for finite-dimensional vector spaces is different in flavor from the answer for vector spaces.

Most of what I was describing was work of Aurelio Carboni, but the case of arbitrary vector spaces, as opposed to finite-dimensional ones, involves a conjecture that was proved by Theo Johnson-Freyd in a comment to my article.

view this post on Zulip Jean-Baptiste Vienney (Sep 02 2023 at 21:59):

Thanks, I will look at this!

view this post on Zulip David Michael Roberts (Sep 07 2023 at 05:57):

A minor comment: given a fin. dim. vector space VV and choosing an isomorphism to a specified Rn\mathbb{R}^n gives an ordered basis, but choosing an isomorphism to the vector space of functions RS\mathbb{R}^S, where SS is a finite set, gives an unordered (in the sense of not-necessarily ordered) basis. This might make a very tiny amount of difference. The first case induces a canonical orientation, for instance, on VV, but the second one doesn't.

view this post on Zulip John Baez (Sep 07 2023 at 08:09):

It definitely makes a difference, and putting the structure of a commutative special Frobenius algebra on a finite-dimensional complex vector space is the same as choosing an unordered basis for it.

view this post on Zulip John Baez (Sep 07 2023 at 08:10):

For real vector spaces this is alas not true since this sort of fact holds only for separably closed fields (i.e. fields with no finite separable extensions).

view this post on Zulip Spencer Breiner (Sep 07 2023 at 11:44):

What goes wrong in the real case? Are there other SCFAs that come from the separable extensions?

view this post on Zulip John Baez (Sep 07 2023 at 11:57):

Yes, the general one is a product of finitely many copies of R\mathbb{R} and C\mathbb{C}.

view this post on Zulip John Baez (Sep 07 2023 at 11:58):

So you wind up describing your vector space as consisting of real functions on one finite set and complex functions on another!

view this post on Zulip John Baez (Sep 07 2023 at 12:00):

I don't see an 'equational' way to get rid of the complex stuff, offhand.

view this post on Zulip David Michael Roberts (Sep 07 2023 at 12:44):

John Baez said:

I don't an 'equational' way to get rid of the complex stuff, offhand.

It seems you accidentally a verb

view this post on Zulip David Michael Roberts (Sep 07 2023 at 12:52):

But more seriously, it's good to know how much of a difference one sees between the two cases!

view this post on Zulip John Baez (Sep 07 2023 at 13:26):

Yes, and if we were working over Q\mathbb{Q} the situation would become a nightmare because every algebraic number field gives a commutative special commutative Frobenius algebra over Q\mathbb{Q}. So you'd get Q[5]\mathbb{Q}[\sqrt{5}], and Q[473]\mathbb{Q}[\sqrt[3]{-47}], and tons more!

view this post on Zulip John Baez (Sep 07 2023 at 13:27):

Well, this is either a nightmare or Grothendieck's Fundamental Theorem of Galois Theory, depending on how you look at it. :upside_down:

view this post on Zulip Jean-Baptiste Vienney (Sep 08 2023 at 00:12):

John Baez said:

Most of what I was describing was work of Aurelio Carboni, but the case of arbitrary vector spaces, as opposed to finite-dimensional ones, involves a conjecture that was proved by Theo Johnson-Freyd in a comment to my article.

I've been looking at the paper Matrices, relations, and group representations by Aurelio Carboni. I'm far from having understood everything for the moment, but I've already learned something very useful from it.

He says that the construction Rel(C)Rel(\mathcal{C}) makes sense whenever C\mathcal{C} is a regular category. Until then, I knew this construction only in the case where C\mathcal{C} is the category Set\mathbf{Set}. It makes me wondering two things:

view this post on Zulip Jean-Baptiste Vienney (Sep 08 2023 at 00:15):

David Michael Roberts said:

A minor comment: given a fin. dim. vector space VV and choosing an isomorphism to a specified Rn\mathbb{R}^n gives an ordered basis, but choosing an isomorphism to the vector space of functions RS\mathbb{R}^S, where SS is a finite set, gives an unordered (in the sense of not-necessarily ordered) basis. This might make a very tiny amount of difference. The first case induces a canonical orientation, for instance, on VV, but the seco.d one doesn't.

Indeed, and I think that what has been said about unordered basis in category theory doesn't make less interesting the idea of exploring and generalizing the notion of ordered basis in category theory too.

view this post on Zulip Rose Kudzman-Blais (Sep 08 2023 at 00:40):

Jean-Baptiste Vienney said:

John Baez said:

Most of what I was describing was work of Aurelio Carboni, but the case of arbitrary vector spaces, as opposed to finite-dimensional ones, involves a conjecture that was proved by Theo Johnson-Freyd in a comment to my article.

I've been looking at the paper Matrices, relations, and group representations by Aurelio Carboni. I'm far from having understood everything for the moment, but I've already learned something very useful from it.

He says that the construction Rel(C)Rel(\mathcal{C}) makes sense whenever C\mathcal{C} is a regular category. Until then, I knew this construction only in the case where C\mathcal{C} is the category Set\mathbf{Set}. It makes me wondering two things:

Thanks Jean-Baptiste for making me aware of this paper by Carboni. It will be of great help for what I am currently working on.
In that pre-print, we actually showed something different. We weren't looking at the relations in a quantale, rather that QRelQ-Rel, the category of QQ-valued relations, is a linear bicategory, provided QQ itself is a linearly distributive category. This implies that RelRel is a linear bicategory as the the 2 element quantale has a negation, making it linear. As for your other point, what makes Rel a linear bicategory is that there is a notion of negation, which is given by inverse followed by complementation. So, as long as you have inverse relation (which you do for any regular category) and a sufficiently nice notion of complemented subobjects in C\mathcal{C}, Rel(C)Rel(\mathcal{C}) is a linear bicategory. This is mentioned quickly in Example 2.3 (2) of [Introduction to linear bicategories].

view this post on Zulip Jean-Baptiste Vienney (Sep 08 2023 at 00:56):

Rose Kudzman-Blais said:

Jean-Baptiste Vienney said:

John Baez said:

Most of what I was describing was work of Aurelio Carboni, but the case of arbitrary vector spaces, as opposed to finite-dimensional ones, involves a conjecture that was proved by Theo Johnson-Freyd in a comment to my article.

I've been looking at the paper Matrices, relations, and group representations by Aurelio Carboni. I'm far from having understood everything for the moment, but I've already learned something very useful from it.

He says that the construction Rel(C)Rel(\mathcal{C}) makes sense whenever C\mathcal{C} is a regular category. Until then, I knew this construction only in the case where C\mathcal{C} is the category Set\mathbf{Set}. It makes me wondering two things:

Thanks Jean-Baptiste for making me aware of this paper by Carboni. It will be of great help for what I am currently working on.
In that pre-print, we actually showed something different. We weren't looking at the relations in a quantale, rather that QRelQ-Rel, the category of QQ-valued relations, is a linear bicategory, provided QQ itself is a linearly distributive category. This implies that RelRel is a linear bicategory as the the 2 element quantale has a negation, making it linear. As for your other point, what makes Rel a linear bicategory is that there is a notion of negation, which is given by inverse followed by complementation. So, as long as you have inverse relation (which you do for any regular category) and a sufficiently nice notion of complemented subobjects in C\mathcal{C}, Rel(C)Rel(\mathcal{C}) is a linear bicategory. This is mentioned quickly in Example 2.3 (2) of [Introduction to linear bicategories].

Thanks, it's very cool!

view this post on Zulip JS PL (he/him) (Sep 08 2023 at 04:41):

Jean-Baptiste Vienney said:

Rel(Set)\mathbf{Rel}(\mathbf{Set}) is a (co)differential category and a full model of differential logic. I think that checking if Rel(C)\mathbf{Rel}(\mathcal{C}) is a (co)differential category is just the case of referencing the right stuff...

I believe that it is known that if C\mathcal{C} has a free commutative monoid functor !!, then !! becomes a free exponential modality on Rel(C)\mathbf{Rel}(\mathcal{C}), thus a model of linear logic (I there might be a reference for this... I just can't find it right now). Since a free exponential modality always has differential structure, it follows that Rel(C)\mathbf{Rel}(\mathcal{C}) is a (co)differential category.

I don't want to derail the discussion too much here. But I'm happy to talk about Rel(C)\mathbf{Rel}(\mathcal{C}) being a differential category or differential category stuff in general in another thread or in DMs.

view this post on Zulip Jean-Baptiste Vienney (Sep 08 2023 at 16:35):

Thanks JS. We could talk more of that another day. I don't want to go into details of anything research related now because I must concentrate on courses during the next two semesters. But I could ask you more later.