A general definition of symmetry in mathematics

I wonder whether there is a definition of symmetry in mathematics that were not restricted to groups of symmetry and geometry. More precisely, a unified definition that makes sense in any branch of mathematics: Analysis, Topology, Algebra, Logic, etc. I would appreciate examples of symmetry in these areas of mathematics.

An example: In the x-y plane we see that the definition of symmetry of a set of points on a straight line. In this case, symmetry are functions (which form a symmetry group) that alter the shape of the figure. These functions define the so-called symmetrical relationship.

I suspect that this response is in Category Theory. But I'm not sure.

Thank you.


Solution 1:

If an abstract category-theoretic answer will satisfy you, then you could say something very general like

A symmetry of a morphism $\phi:A\to B$ means a pair $(\alpha,\beta)$ of automorphisms of $A$ and $B$ respectively, such that $\beta \circ \phi = \phi \circ \alpha$.

One easily sees that the symmetries of any $\phi$ constitute a group. If $\phi$ is mono (or epi) then $\beta$ determines $\alpha$ (or vice versa), and the symmetry group is a subgroup of $\operatorname{Aut}(B)$ (or $\operatorname{Aut}(A)$).

As a special case, when $\phi$ is an identity morphism, a symmetry is just an automorphism.

Ordinary geometric symmetries arise in this framework in the category of metric spaces and distance-preserving maps, where $\phi$ is the inclusion map from $A\subseteq \mathbb R^n$ into $\mathbb R^n$.