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: Piecewise linear functions


view this post on Zulip Bruno Gavranović (Oct 30 2022 at 20:11):

Is there a category of piecewise linear functions? Piecewise linear functions are often used in math, but I've never seen a category theoretic account of them.

view this post on Zulip Jean-Baptiste Vienney (Oct 30 2022 at 20:31):

The identity function is piecewise linear and piecewise linear functions are stable by composition so yes there is for example a category with only one object R\mathbb{R} and and all the piecewise linear functions RR\mathbb{R} \rightarrow \mathbb{R}. You can make linear combinations of your piecewise linear functions and the composition is bilinear, so it is a category enriched over R\mathbb{R}-vector spaces ie. a R\mathbb{R}-linear category.

A category with only one object is not very interesting, it would be more interesting to have more objects, for instance all the Rn\mathbb{R}^{n} but I'm not sure what could be the definition of a piecewise linear function RnRp\mathbb{R}^{n} \rightarrow \mathbb{R}^{p} ?

view this post on Zulip Mike Shulman (Oct 31 2022 at 05:19):

Wikipedia suggests that in higher dimensions, the domain of each piece should be a polygon or polytope. There is a well-studied category of piecewise-linear manifolds.

view this post on Zulip Reid Barton (Oct 31 2022 at 05:42):

A piecewise linear function f:RnRmf: \mathbb{R}^n \to \mathbb{R}^m is a continuous function satisfying either of the following equivalent properties:

  1. ff is "locally conical" in the sense that any xRnx \in \mathbb{R}^n admits a conical neighborhood UU (e.g. a ball centered on xx) on which ff preserves the conical structure: f(ax+by)=af(x)+bf(y)f(ax + by) = af(x) + bf(y) for yUy \in U, 0a,b0 \le a, b, a+b=1a + b = 1.
  2. The domain Rn\mathbb{R}^n admits a locally finite decomposition into simplices such that ff is (affine) linear on each simplex.

From Roarke-Sanderson, chapters 1 and 2.

view this post on Zulip Robin Piedeleu (Oct 31 2022 at 08:18):

There is even a (symmetric monoidal) category of piecewise-linear relations! @Guillaume Boisseau and I have a paper giving a presentation of it. For us a piecewise linear relation is a finite union of convex polyhedra (which, in our definition, includes convex cones, with potentially unbounded faces).

view this post on Zulip Robin Piedeleu (Oct 31 2022 at 08:26):

I think in this setting the maps - the single-valued, total relations - are the piecewise-linear functions in the sense that Reid described above (and Reid helped us a lot in working out some of the details of the completeness proof, in this zulip thread btw).