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

feat: coset division #36

Open
Tracked by #25
0xJepsen opened this issue May 6, 2024 · 3 comments
Open
Tracked by #25

feat: coset division #36

0xJepsen opened this issue May 6, 2024 · 3 comments
Labels
feature ✨ New feature or request

Comments

@0xJepsen
Copy link
Contributor

0xJepsen commented May 6, 2024

No description provided.

@kevaundray
Copy link

IIUC -- coset division is useful for when the polynomial you are dividing by, vanishes on the domain. ie we want to compute f(x)/g(x) and we want to do it in lagrange basis.

If g(x) vanishes on the domain, then you will end up with a division by 0. Commonly with SNARKs, your domain are the 2^n'th roots of unity because you are doing an FFT and g(x) has roots on it because it is likely the vanishing polynomial x^n - 1 (does not need to be).

To mitigate this, you evaluate f(x) and g(x) on a coset of the roots of unity

@Autoparallel Autoparallel changed the title coset division feat: coset division Jul 1, 2024
@Autoparallel
Copy link
Contributor

This is a good explanation from @kevaundray, thank you :)

@Autoparallel
Copy link
Contributor

Needs more info

@Autoparallel Autoparallel added the feature ✨ New feature or request label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature ✨ New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants