Re:Please reconsider the Boolean evaluation of midnight
by bjourne on Friday March 07, 2014 @08:09AM
(#7359947)
But you can make an equally succinct argument in the opposite direction, namely to treat time values as polar coordinates. Then they indeed form an abelian group:
The examples are for hours only, but you can extend it for minutes too. Showing that time values on a clock forms an abelian group under addition is a textbook example everyone uses when introducing group theory.
[ Parent
| on HN ]
Re:Please reconsider the Boolean evaluation of midnight
by mooism2 on Friday March 07, 2014 @08:19AM
(#7359987)
But it's wrong.
I'll assume the times you gave were in the UK's timezone. Here they are rewritten to use Germany's timezone.
a + 1:00 = a
16:00 + 14:00 = 03:00
13:00 + 13:00 = 01:00
Still think this makes sense?Time deltas? Then you don't have the timezone or epoch problem. Works fine.
But time stamps? You can't add two time stamps and get a sensible answer.
Time stamps form a torsor, not a group: http://math.ucr.edu/home/baez/torsors.html