Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plantard Arithmetic for NTT, STARKS & Lattices #491

Open
mratsim opened this issue Dec 13, 2024 · 0 comments
Open

Plantard Arithmetic for NTT, STARKS & Lattices #491

mratsim opened this issue Dec 13, 2024 · 0 comments

Comments

@mratsim
Copy link
Owner

mratsim commented Dec 13, 2024

Plantard arithmetic, introduced in https://thomas-plantard.github.io/pdf/Plantard21.pdf significantly improve modular arithmetic for single word fields. Those fields are popular for lattices and Starks based on small fields.

In particular, quoting section 4.2.4

4.2.4 Comparison with Pseudo-Mersenne
Pseudo-Mersenne numbers offer enough moduli for them
to be used in each application we are proposing. However,
table 6 clearly shows that even without correction, pseudo-
Mersenne based arithmetic is slower than our by at lease
17% and up to 38% depending of applications, and up to
52% when redundancy is not available.

image

This should allow the BabyBear and KoalaBear field to be very competitive with M31.

Further research

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant