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: Approximate Composition


view this post on Zulip Sam Tenka (Apr 11 2020 at 19:11):

(This is a type B question in @Jules Hedges 's classification).
Categories can model distance or (approximate equality), e.g. with (asym)metric spaces as categories enriched over Cost. But there, still, composition works "on the nose". It seems (to borrow @Bar Roytman 's language) that category theory is great for clarifying the subtleties of sameness but that sameness is not the same as nearness. Are there words I should google to see whether and how one can treat (approximate composition) categorically?

Here are some examples where there seems to be approximate composition --- and still enough structure that it'd be nice and perhaps plausible to say general things about them:
A. The poset map from Integers to Rationals has a left adjoint Floor and a right adjoint Ceil. Equipping the categories with addition as a monoidal structure, we find that Floor and Ceil are not monoidal. But, (psychologically, to me), they almost are! The problem is that Floor(0.6) + Floor(0.6) is different from Floor(0.6 + 0.6).
B. In floating point arithmetic, fuzzy-equality is not transitive. But somehow numerical methods folks reason about floating point anyway! It seems they do so using refinements of interval arithmetic, and from these abstract usefully compositional properties such as "backward stability".
C. Ideal springs compose: stiffnesses add in the parallel direction and softnesses add in the sequential direction. But the transverse modes along physical springs don't compose like this: new and longer-wavelength vibration modes arise when one puts real springs in sequence.
D. Small + small is usually equal to small. Is there a nice way to talk about this without having to measure and add actual numeric sizes? This is very similar to (A). Intuitively, there is an inverse or adjoint that actually is compositional.

view this post on Zulip Gershom (Apr 11 2020 at 19:57):

On A), note that iirc multiplication is monoidal, so you do have monoidal functors, just not the ones you were looking for. Here is another approach: Consider floor and ceilas "truncation" operators in the homotopy sense -- you're chopping off some digits. So you really have one operator per each choice of how many terminal digits to chop off. Now, of course the monoidal property fails because one needs to "carry the 1" up to the next digit. But at each level, you can only of course force an immediate change in the action on the next level, so there is a sense in which the carry operation obeys the cocycle condition. This was explored by Isaken in "A Cohomological Viewpoint on Elementary School Arithmetic" (discussed at https://ncatlab.org/nlab/show/carrying) so perhaps what we really should be looking at is an adjoint to some family of cochain complexes.

At first I thought "this is a fun kill a fly with a nuke triviality that doesn't get at what you're really looking for" but now I think... perhaps it does. I.e. when things don't compose exactly, you instead get a map into the 2-thing with the thing-that-should-be-on-the-nose at the first level and the "defect" in the second level, and soforth. So (co)-homology really is, or should be, a way to measure failure of things to compose.

Entirely speculatively, I wonder if one could tabulate various "calculates up-to-n" for various n in a way that gives a sort of spectral sequence and look at the thing "wholemeal". In a sense, that's one way to understand what the applied algebraic topologists working in topological data analysis are doing.

view this post on Zulip Sam Tenka (Apr 11 2020 at 20:03):

I love this! Thanks, @Gershom

view this post on Zulip Soichiro Fujii (Apr 12 2020 at 04:51):

This might be relevant:
Tholen, Approximate composition. See here for his presentation at ACT 2019.

view this post on Zulip Matteo Capucci (he/him) (Apr 12 2020 at 10:15):

Gershom said:

On A), note that iirc multiplication is monoidal, so you do have monoidal functors, just not the ones you were looking for. Here is another approach: Consider floor and ceilas "truncation" operators in the homotopy sense -- you're chopping off some digits. So you really have one operator per each choice of how many terminal digits to chop off. Now, of course the monoidal property fails because one needs to "carry the 1" up to the next digit. But at each level, you can only of course force an immediate change in the action on the next level, so there is a sense in which the carry operation obeys the cocycle condition. This was explored by Isaken in "A Cohomological Viewpoint on Elementary School Arithmetic" (discussed at https://ncatlab.org/nlab/show/carrying) so perhaps what we really should be looking at is an adjoint to some family of cochain complexes.

At first I thought "this is a fun kill a fly with a nuke triviality that doesn't get at what you're really looking for" but now I think... perhaps it does. I.e. when things don't compose exactly, you instead get a map into the 2-thing with the thing-that-should-be-on-the-nose at the first level and the "defect" in the second level, and soforth. So (co)-homology really is, or should be, a way to measure failure of things to compose.

Entirely speculatively, I wonder if one could tabulate various "calculates up-to-n" for various n in a way that gives a sort of spectral sequence and look at the thing "wholemeal". In a sense, that's one way to understand what the applied algebraic topologists working in topological data analysis are doing.

Very very interesting take. Thanks!