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.
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.
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 and and all the piecewise linear functions . You can make linear combinations of your piecewise linear functions and the composition is bilinear, so it is a category enriched over -vector spaces ie. a -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 but I'm not sure what could be the definition of a piecewise linear function ?
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.
A piecewise linear function is a continuous function satisfying either of the following equivalent properties:
From Roarke-Sanderson, chapters 1 and 2.
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).
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).