News for hackers. Stuff that matters.
Re:Mathematics for Programmers [pdf] by eru on Saturday September 26, 2020 @04:40AM (#24597319)
> Yes, I should have been more precise: "modulo some power of two, which is not a prime, unless we're talking about 2^1".

If you want to be even more nit-picky, 2^0 might also work. But whether your definition of a field admits fields with only a single element is just a question of taste, that is even less important or deep than whether your flavour of natural numbers includes 0 or not.

Re:Mathematics for Programmers [pdf] by Tainnor on Saturday September 26, 2020 @08:58AM (#24598473)
I've never seen anybody allow a field with just a single element, usually it says "a field is a ring with 1!=0...". But yeah, I suppose you could allow it, it's just an incredibly boring ring in which you actually can't divide at all, because there is no nonzero element.
Re:Mathematics for Programmers [pdf] by Tainnor on Saturday September 26, 2020 @10:18PM (#24603683)
eh that was wrong, you can of course divide in the zero ring, because the single element is its own inverse.
Re:Mathematics for Programmers [pdf] by eru on Saturday September 26, 2020 @10:47PM (#24603814)
Yes. Of course, still an incredibly boring field.
Re:Mathematics for Programmers [pdf] by threatofrain on Saturday September 26, 2020 @12:24PM (#24599940)
Has anyone yet demonstrated a field with a single element?
Re:Mathematics for Programmers [pdf] by Tainnor on Saturday September 26, 2020 @10:12PM (#24603656)
It's not a question of demonstration but of definition. I've only ever people define fields as requiring two distinct elements 0 and 1. However, every field is also a ring and there can be, up to isomorphism, only a single ring with one element, because you don't really get any choice as to how you define the operations. That's called the trivial ring or zero ring and it basically satisfies all of the axioms for a field too, except for not having two distinct elements. So if it were possible for a field with a single element to exist, it would have to be this one.

It is my understanding that some mathematicians are looking into some objects that are kind of "like" a field with one element, but not in the sense of classical algebra, see: https://en.m.wikipedia.org/wiki/Field_with_one_element

However, I haven't really looked into that.