Why Nostr? What is Njump?
2023-10-07 12:15:15
in reply to

Refurio Anachro on Nostr: Ah, there it is! Thanks for the link! I'm looking forward to catch up! I just ...

Ah, there it is! Thanks for the link! I'm looking forward to catch up!

I just recently noticed that I thought for yours I knew how finite fields worked, but actually didn't.

Addition ist dead easy, there's just one field for any finite order, the primes are cyclic, prime powers come from Galois extensions, so they must be like vectors over prime fields, right? Any other way to get a field of order n is going to be isomorphic.

Well, of course not. For one, F_p^2 doesn't have twice as many elements as F_p (unless p=2). It says square, not double! The elements of F_p^n are the polynomials of degree n-1. But then that's still not all!

To write up a multiplication table we need to pick an irreducible polynomial P of degree n, so that when we multiply two elements of our field, we can use P=0 to bring down the degree of our product back to the allowed range.

And here's the kicker I totally missed for more than a decade: The labeling of F_p^n depends on our choice of P! There's even an especially nice kind of canonical polynomials for this purpose.

These are called Conway polynomials, and were invented by R. Parker. They are quite difficult to compute so current computer algebra systems use precomputed tables of them, so they can label GF(q)'s elements consistently.

Author Public Key
npub1ell2tqnyt68yqkyrpxez3y4hm86k49ns3mu2ajhq09elwhuf9hus5rne8q