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: weighted colimits in cats enriched over weighted sets


view this post on Zulip fosco (Feb 04 2022 at 18:40):

Let QQ be a quantale; define the category wSet[Q]{\bf wSet}[Q] of weighted sets over QQ to be the category where

Usually one works in the following particular case: QQ is the poset [0,]op[0,\infty]^\text{op} and the quantale operation is the sum. In such case, u:X[0,]u : X \to [0,\infty] is called a norm on XX and denoted with vertical bars xX|x|_X. So, a nonexpansive map is a function f:XYf : X\to Y as above, such that fxYxX|fx|_Y\le |x|_X.

One can prove that the category of weighted sets is (symmetric) monoidal closed: regarded as a category, the quantale is closed, and one can use the internal hom pqp\Rightarrow q in QQ to define an internal hom in wSet[Q]{\bf wSet}[Q]. In the particular case above, X×YX\times Y becomes a weighted set with norm (x,y)x+y(x,y)\mapsto |x|+|y|; the internal hom between (X,u)(X,u) and (Y,v)(Y,v) is the set of all functions YXY^X, with norm given by the sup over xXx\in X of the set of real numbers fx˙x|fx| \dot- |x| (the sum is truncated at zero: so, note that for the ff's that are morphisms of weighted sets, this is actually 0; the norm of ff measures how far is ff from being nonexpansive).

So, since it is monoidal closed, we can enrich over wSet[Q]{\bf wSet}[Q]! We can consider the 2-category wSet-Cat{\bf wSet}\textsf{-Cat} and do something with it. My problem is the following: I want to compute interesting weighted limits and colimits in wSet-Cat{\bf wSet}\textsf{-Cat}, motivated by the observation that tensors are kinda interesting constructions.

(I denote just as wSet{\bf wSet} the category of sets weighted over [0,]op[0,\infty]^\text{op} or, equivalently up to quantale iso, [0,1][0,1]).

Let AA be a set; a category with arbitrary coproducts C\cal C is tensored over Set\sf Set by the assignment XAX:=aAXX\mapsto A\odot X := \coprod_{a\in A} X. It seems to me that for a wSet\bf wSet-category C\cal C, being tensored over wSet{\bf wSet} means that we are building a tensor aX\coprod_a X where each repeated summand XX "weighs" differently, according to the map λ:A[0,1]\lambda : A\to [0,1] (that can be thought of as assigning a probability λa[0,1]\lambda_a \in [0,1] to aAa\in A).

In more concrete terms, let's say we are given a set AA of wires in parallel and a switch, let's say in an electrical circuit, that chooses port aa with a certain probability λa\lambda_a: this intuition is motivated by the fact that if one tries to cast the universal property of the tensor, in order for the hom-set C(AX,Y){\cal C}(A\odot X, Y) to be isomorphic (as a weighted set) to the set wSet(A,C(X,Y)){\bf wSet}(A, {\cal C}(X,Y)), a morphism AXYA\odot X\to Y is a function from the coproduct aX\sum_a X to YY, i.e. a family of functions fa:XYf_a : X \to Y, but "decorated" with the additional information that fa|f_a| cannot exceed λa\lambda_a (so it's an upper bound for the probability that, at the switching point, the summand faf_a will be chosen to perform the "operation" XYX\to Y).

view this post on Zulip fosco (Feb 04 2022 at 18:41):

Motivated by this rather enticing intuition, I have tried to find other, more elaborate shapes of weights W:JwSetW : {\cal J} \to {\bf wSet} for which one can compute the weighted co/limit of a diagram F:JCF : {\cal J} \to {\cal C} of wSet{\bf wSet}-enriched categories.

Unfortunately, I have no idea what kind of J\cal J are interesting: contrary to the case where the base of enrichment is Cat\sf Cat, there's little information on how to "generate" weights that carry interesting information, and the few attempts I made used very simple shapes that carried little interest.

view this post on Zulip fosco (Feb 04 2022 at 18:42):

(this question stemmed from @Paolo Perrone 's talk on "The rise of quantitative category theory")

view this post on Zulip Morgan Rogers (he/him) (Feb 04 2022 at 19:45):

So is the question whether anyone knows what shapes you should look at?

view this post on Zulip fosco (Feb 04 2022 at 20:01):

Yes, the question is left open on purpose: what are interesting shapes of weights one might want to compute?

view this post on Zulip Paolo Perrone (Feb 06 2022 at 10:18):

Not much with a meaning of "probability", but rather, "distance", one may want to compute a sequential colimit where the weights are a sequence that converges to zero, a bit as in my example in the talk (Of course one does not need weighted categories for that, Lawvere metric spaces are enough for example.)