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

Commitment to a certain degree polynomial #9

Open
Fiono11 opened this issue Jan 30, 2020 · 5 comments
Open

Commitment to a certain degree polynomial #9

Fiono11 opened this issue Jan 30, 2020 · 5 comments

Comments

@Fiono11
Copy link

Fiono11 commented Jan 30, 2020

Hello,

Does this scheme allow the commitment to a certain degree d polynomial, or only to a polynomial of at most degree D? In other words, can you verify the degree of the committed polynomial?

Thanks!

@Pratyush
Copy link
Member

Just to clarify, you're asking whether, for some d < D, we can commit to a polynomial of degree d and in a manner that makes it verifiable that the resulting commitment is to a polynomial of a degree at most d?

If so, yes, the library supports that. When creating your polynomial, just provide d as the degree bound here:

https://github.com/scipr-lab/poly-commit/blob/77676213c10069b376960ab824ddcc436ac66a67/src/data_structures.rs#L92

@Pratyush
Copy link
Member

Pratyush commented Feb 5, 2020

@Fiono11 does this resolve your issue?

@Fiono11
Copy link
Author

Fiono11 commented Feb 7, 2020

Hi! No, I was asking if you can commit to a polynomial of degree d and verify that its degree is exactly d instead of at most d.

@Fiono11
Copy link
Author

Fiono11 commented Feb 7, 2020

Btw, can you make a proof evaluation of a point for a given commitment of a polynomial p(x) without sending the evaluation v (as in p(z) = v), but sending instead vG? Thanks!

@3for
Copy link
Contributor

3for commented Sep 4, 2020

@Fiono11 I think it's possible, just treat the polynomial commitment as an inner product. See this paper Doubly-efficient zkSNARKs without trusted setup, the dot-product proof protocol maybe suitable。

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

No branches or pull requests

3 participants