All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Constructing Finite Fields by Adding an Imaginary Unit: Mathematical Foundations and Ethereum Implementation

By

ibobev

6mo ago· 4 min readenInsight

Summary

The article explains the mathematical concept of constructing finite fields, specifically focusing on creating a field of order p² by adding an imaginary unit. It describes how finite fields are formed from integers modulo a prime, how elements can be represented as polynomials when n > 1, and the operations of addition and multiplication in these fields. The content uses the Ethereum alt_bn128 implementation as a practical example, illustrating how these mathematical concepts are applied in cryptography and blockchain technology.

Key quotes

· 5 pulled
Let p be a prime number. Then the integers mod p form a finite field.
The number of elements in a finite field must be a power of a prime, i.e. the order q = p^n for some n.
When n > 1, we can take the elements of our field to be polynomials of degree n − 1 with coefficients in the integers mod p.
Addition works just as you'd expect addition to work, adding coefficients mod p, but multiplication is a little more complicated.
You multiply field elements by multiplying their polynomial representatives, but then you divide by an irreducible polynomial and take the remainder.
Snippet from the RSS feed
Forming a finite field of order p^2 by adding an imaginary unit. Example from Ethereum implementation.

You might also wanna read