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.
It is said that that the trace in the context of traced monoidal categories is generalization of a matrix trace. I'm having a hard time seeing how the matrix trace is a feedback loop though. I came across this paper
grab7449.png but the formula seems wrong.
Adam Nemecek said:
It is said that that the trace in the context of traced monoidal categories is generalization of a matrix trace.
This is true when you consider the trace operator with respect to the monoidal product of the categories of matrices and not the biproduct . In the sense that the category of matrices over a ring is a traced monoidal category and some of the axioms of the trace operator, such as dinaturality, correspond to basic properties of the matric trace, like the cyclic property.
Here's a screenshot of some notes I wrote a while ago, which explains how the classical trace operation for matrices gives a trace operator on the tensor product of matrices.
Firefox_Screenshot_2023-08-14T03-57-11.115Z.png
You get back the classical trace of an square matrix by considering it as an endomorphism and then taking the trace of the unit , giving you a map which is just a scalar, so
Adam Nemecek said:
I came across this paper
grab7449.png but the formula seems wrong.
In this paper, they are talking about a partial trace operator on the biproduct for the category of matrices. It's a partial trace since this formula only holds when is invertible of when the infinite sum converges
In general, if you have a category with biproducts and infinite sums, you have a general formula for a trace operator given by
thanks for the answer. do you have any good resources on this?
Adam Nemecek said:
thanks for the answer. do you have any good resources on this?
Happy to help. And certainly. Though resources on what part exactly?
i think id like to know more about the connection between this general trace and finvects
Just to clarify which trace you mean: the one on the tenor product or the biproduct ?
i guess the former
Alright well a good place to start is with this survey paper by Peter Selinger: https://www.mscs.dal.ca/~selinger/papers/graphical.pdf
ok thanks
this is the feedback trace right?
if the tensor product is the feedback trace, what is the biproduct trace then?
Then here is the background section on traces I wrote for a paper:
tracenotes.pdf
Adam Nemecek said:
if the tensor product is the feedback trace, what is the biproduct trace then?
In my mind, I would say that the feedback trace is more the trace on (bi/co)products:
trace for products = feedback via fix points
trace for coproducts = feedback via iteration
trace for biproducts = feedback via iteration/fix points
that actually makes a lot of sense
can you think of a way this can be translated into programming?
i had this idea that i need to think about some more
but it feels as if this was roughly like iteration over a double ended queue
a double ended queue is a circular buffer of sorts
and like you can be inserting things at both ends as you are iterating over the elements
i need to think some more about what this really means and what other operations are needed
Adam Nemecek said:
if the tensor product is the feedback trace, what is the biproduct trace then?
That said, compact closed also allow for feedbacks in a way. Graphically speaking at least
and most imporatntly what is the advantage here
Adam Nemecek said:
can you think of a way this can be translated into programming?
No unfortunately programming is outside of my knowledge.
I suggest looking at Masahito Hasegawa's papers on trace monoidal categories.
Possibly this one as well: https://www.sciencedirect.com/science/article/pii/S0022404999001802 (though this one is in a much more general setting -- so possibly not very useful for what you want to do )
Maybe this paper might also help: http://www.numdam.org/item/ITA_2002__36_2_181_0/
have come across some of these but didnt' quite take the plunge yet. will do
thanks