74

The concept of relation in the history of mathematics, either consciously or not, has always been important: think of order relations or equivalence relations.

Why was there the necessity of singling out a particular kind of relations, namely the functional ones? I guess (but I don't have data about this) historically the recognition that "operational" expressions like x3 or i=0xnn! could be formalized as functional relations led to devote more attention to functions understood in the modern set theoretical sense (i.e. as a special case of relations). That viewpoint permitted to consider things such as the Dirichlet function χQ (which was previously not even considered to be a true "function"!) as fully legitimate objects, and to not dismiss them as pathological, with great theoretical advantage. The language and notation of functions was preferred even to deal with things that, technically, were relations: think of "multi-valued functions" in complex analysis such as x or log(x).

1) In which instances in modern mathematics are relations used as important generalizations of functions? One example that comes to mind is correspondences in the sense of algebraic geometry.


In modern Algebra the concept of homomorphism, a kind of function between algebraic structures, is central; we are used to see expressions like f(xy)=f(x)f(y). But it would be equally possible to define a "homomorphic relation" R, for example on groups, by the requirement: (xRz & yRt) (xy)R(zt), where is the group multiplication.

2) Has this kind of "homomorphic relations" been studied (on groups or other algebraic structures)? Why algebra is pervaded with homomorphisms but we never see "homomorphic relations"? Are there something more than just historical reasons?


Let Set be the usual category of sets, and Rel be the category of sets-with-relations-as-morphisms.

There is the faithful functor Set Rel that simply keeps sets intact and sends a function to its graph. And there is also a faithful functor Rel Set mapping X2X and RX×Y to R:2X2Y,AR(A)={yY|xA:(x,y)R}.

Despite the trivial foundational fact that set theoretical functions are defined to be a special kind of relations, it seems that in category theory Set has priority on Rel. For example the Yoneda's lemma is stated for Set; and people talk of simplicial sets, not simplicial relations; and the category Rel is just retrieved as "the Kleisli category of the powerset endofunctor on Set" (I just learned this from wikipedia) and it doesn't seem to be so ubiquitous as Set (but this impression might just depend on my ignorance in category theory).

3) Are functions really more central/important than relations in category theory? If so, is it just for historical reasons or there are some more "intrinsic" reasons? E.g. is there an analogous of Yoneda's lemma for Rel?

Qfwfq
  • 22,715
  • 1
    Not really answering the question, but: In the foundational theory SEAR (http://ncatlab.org/nlab/show/SEAR), relations are a primitive object, and functions are defined as special relations. From the first four axioms (numbered 0,..,3) one arrives at the fact Rel is a power allegory (http://ncatlab.org/nlab/show/allegory) and the subcategory of sets and functions is a well-pointed topos. There are some remarks at the nLab page on allegories which may be useful. – David Roberts Feb 07 '13 at 01:34
  • I don't really understand (3)- what kind of analogue to Yoneda's Lemma would you envision? – Daniel Moskovich Feb 07 '13 at 04:32
  • 9
    Before jumping all the way to relations, one might take an intermediate step and ask why mathematics focuses on total functions instead of partial functions. I think the answer to both questions is the same, however. – Zhen Lin Feb 07 '13 at 08:19
  • 34
    I like to think of the role of functions as "the arrow of time" of mathematics. They make Set not equivalent to its opposite the way Rel is, and this is the root of an enormous amount of duality symmetry-breaking in category theory. – Eric Wofsey Feb 07 '13 at 10:41
  • 7
    Just a remark: functions, not relations, usually inherit the algebraic structure of the co-domain. The sum and product of relations on R can be defined too, but looses many algebraic properties. – Pietro Majer Feb 07 '13 at 13:31
  • @DanielMoskovich: Yoneda's lemma states that there's a fully faithful embedding of a category C into the category Cat(Cop,Set). Perhaps a Yoneda's lemma for Rel Which is about the relationship between C and Cat(Cop,Rel), or maybe something less naif. Also, simplicial sets are objects of SetΔ; what about RelΔ? – Qfwfq Feb 07 '13 at 16:32
  • Typo: "[...] a Yoneda's lemma for Rel Wich is about [...]" should read "[...] a Yoneda's lemma for Rel is about [...]" in the above comment.
  • – Qfwfq Feb 07 '13 at 16:36
  • 1
    Another question could be: Set is to a general topos as Rel is to what structure? – Qfwfq Feb 07 '13 at 16:38
  • 1
    @Zhen Lin: Partial functions are useful as a web search shows. Also real analysis is nicely expressed in terms of partial functions. Solutions of first order differential equations with a parameter y are often partial functions whose domain varies with y. How to express that this partial function varies continuously, smoothly, etc? Where is the functional analysis of partial functions? The change from monoid to category, group to groupoid, is algebraically the change from a total to a partial algebraic structure, and makes a big difference. The step is not easy, and often not welcomed. – Ronnie Brown Feb 07 '13 at 17:24
  • 3
    @Ronnie Brown: maybe a modern way to conceptualize partial-function solutions of ODEs and PDEs is just sheaf theory. If the "sheaf of local solutions" of a differential operator is taken as a subsheaf of the sheaf of germs of continuous/smooth/analytic functions, it allows you to express that the solutions vary continuously/smoothy/analytically etc. – Qfwfq Feb 07 '13 at 21:44
  • Too short and too partial for an answer: I think that functions are on the technical side whereas relation are on the conceptual side. A function (partial) "is" a partition whereas a relation thought as a bipartite graph is much more complicated.
    A related (no pun) question is that partial functions should be used instead of function.
    – Jérôme JEAN-CHARLES Feb 08 '13 at 11:15
  • 5
    @Qfwfq: Set is to toposes as Rel is to power allegories. – Zhen Lin Feb 08 '13 at 19:07
  • I think the main reason we stick so close to functions is purely historical. Set theory and category theory are natural generalizations of things that already existed - that is, geometry, space and time, as was said above. However, I'd also say that there seems to be a general theme of looking at relation-eqsue objects when one starts working with motives. That is, subsets of X×Y satisfying some property, rather than functions XY. – Jonathan Beardsley Aug 28 '14 at 20:00
  • A question from math.se about homomorphic relations: http://math.stackexchange.com/questions/148715/can-we-extend-the-definition-of-a-homomorphism-to-binary-relations – Michał Masny Aug 28 '14 at 20:54
  • Basically the same question on math.se -- though this MO question came first. – Tim Campion May 02 '18 at 21:05
  • In probability theory we have the notion of a coupling (or joining), which is to probability-preserving maps as relations are to sets. See for instance the Monge and Kantorovich formulations of the optimal transport problem https://en.wikipedia.org/wiki/Transportation_theory_(mathematics) : the Monge version requires a measure-preserving transport map, whereas the Kantorovich problem merely asks for a transportation plan that need not arise from a map. (But, if there is enough convexity and smoothness present, one can show that the plan must be a map.) – Terry Tao Mar 29 '24 at 16:11