Have you ever done a repeated "undo" in a text editor or something and found you...

@Paul_Taylor@mathstodon.xyz

Have you ever done a repeated "undo" in a text editor or something and found yourself "redoing" instead, because you accidentally did something else along the way? Here is the mathematical factlet behind this.

Take the coproduct of the 2-element group with itself in the category of groups, then the codiagonal $2+2\to 2$ and finally its kernel. It's the group of integers!

The thing is, it very easily switches between forwards and backwards!

It's been a while since I've thought about group theory: 2+2 is the infinite dihedral group.