poly-commit icon indicating copy to clipboard operation
poly-commit copied to clipboard

Commitment to a certain degree polynomial

Open Fiono11 opened this issue 6 years ago • 5 comments

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!

Fiono11 avatar Jan 30 '20 14:01 Fiono11

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 avatar Jan 31 '20 18:01 Pratyush

@Fiono11 does this resolve your issue?

Pratyush avatar Feb 05 '20 22:02 Pratyush

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 avatar Feb 07 '20 11:02 Fiono11

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!

Fiono11 avatar Feb 07 '20 14:02 Fiono11

@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。

3for avatar Sep 04 '20 03:09 3for