<feed xmlns='http://www.w3.org/2005/Atom'>
<title>plonkers/lib/fields.mli, branch main</title>
<subtitle>PLONK from scratch</subtitle>
<id>http://src.lordello.net/plonkers/atom/lib/fields.mli?h=main</id>
<link rel='self' href='http://src.lordello.net/plonkers/atom/lib/fields.mli?h=main'/>
<link rel='alternate' type='text/html' href='http://src.lordello.net/plonkers/'/>
<updated>2025-08-01T16:02:12Z</updated>
<entry>
<title>Refactor Project</title>
<updated>2025-08-01T16:02:12Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2025-08-01T16:02:12Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/plonkers/commit/?id=51e1e445215c14e3ce90ab12906f07ffb2b09aaf'/>
<id>urn:sha1:51e1e445215c14e3ce90ab12906f07ffb2b09aaf</id>
<content type='text'>
We now put all field, curve, and pairing instantiations under
`bls12_381` module. We no longer have an `E12` curve - since we don't
use it.
</content>
</entry>
<entry>
<title>Refactor Curve Into Functor</title>
<updated>2025-07-30T07:01:58Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2025-07-30T07:01:58Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/plonkers/commit/?id=395fa4a06d5c4ac90f65838137728ed569bc4f90'/>
<id>urn:sha1:395fa4a06d5c4ac90f65838137728ed569bc4f90</id>
<content type='text'>
Curves can now be generically instantiated with a functor, depending
on its parameterization (underlying field, Weirstrass `b` value,
generator point and order).

This makes things very nice! We also now define `E12` explicitely,
with a test that `twist E2.g = E12.g`.
</content>
</entry>
<entry>
<title>Pairing Tests and Refactor</title>
<updated>2025-07-28T10:35:51Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2025-07-28T10:35:51Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/plonkers/commit/?id=96c1a864a7c3cdd5006cef5ae8e30cdca61d303a'/>
<id>urn:sha1:96c1a864a7c3cdd5006cef5ae8e30cdca61d303a</id>
<content type='text'>
We refactored the extension field types to use an array for
coefficients instead of a tuple. Tests were modified to only have
string literals for numerical literals (istead of previously encoding
a whole `Fp12` in a single string for example). As a result, we get
better formatting and more line breaks instead of super dense and long
lines. Unfortunately, this makes a very big PR instead. The pairing
development will continue in the next one to not overgrow this too much.
</content>
</entry>
<entry>
<title>Implemented Point Addition (untested)</title>
<updated>2024-08-16T17:03:35Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2024-08-16T17:03:35Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/plonkers/commit/?id=97a35bd8aefecc502de05a7d040b8d7bbda15216'/>
<id>urn:sha1:97a35bd8aefecc502de05a7d040b8d7bbda15216</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Switch to BLS12-381</title>
<updated>2024-07-25T20:58:36Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2024-07-25T20:58:36Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/plonkers/commit/?id=5eb33df1046c6627cc80716ffccaa927284c91a7'/>
<id>urn:sha1:5eb33df1046c6627cc80716ffccaa927284c91a7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement Polynomial Extension Fields</title>
<updated>2024-06-24T06:46:01Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2024-06-24T06:46:01Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/plonkers/commit/?id=9747206e7a0a08f6dc8c92730f0780e1b66cb23e'/>
<id>urn:sha1:9747206e7a0a08f6dc8c92730f0780e1b66cb23e</id>
<content type='text'>
Notably, only `Fp[X]/1+x^2`, or `Fp2` is tested at the moment. More
tests for `Fp12` coming right up!
</content>
</entry>
<entry>
<title>Journal and next steps</title>
<updated>2024-06-18T08:09:40Z</updated>
<author>
<name>Nicholas Rodrigues Lordello</name>
<email>n@lordello.net</email>
</author>
<published>2024-06-18T08:09:32Z</published>
<link rel='alternate' type='text/html' href='http://src.lordello.net/plonkers/commit/?id=4b5936586e570b125b1c68d04b1479262af9c98b'/>
<id>urn:sha1:4b5936586e570b125b1c68d04b1479262af9c98b</id>
<content type='text'>
In this commit, we refactor the module to contain all the fields that we
need: namely the prime field for the BN254 curve, but also the extension
fields (polynomial rings) needed for the elliptic curve pairings used by
PLONK.

In addition, I added a "journal" for documenting findings as I go as
well as useful resources I used when implementing this from scratch.
</content>
</entry>
</feed>
