Coder Social home page Coder Social logo

Comments (6)

irakliyk avatar irakliyk commented on April 28, 2024

I think the first part will definitely work. The second part will also kind of work, but I doubt savings would be more than about 500 bytes in most cases.

The reason for the second part is that we still need to send most of the remainder. We can skip only positions which we get from folding. For example, if the remainder size is 128 elements, and and the proof contains 30 queries, then the best we could hope for is that 30 of 128 elements can be skipped. If we are in a 128-bit field, these 30 skipped elements would result in proof size reduction of 30 * 16 = 480 bytes.

from winterfell.

irakliyk avatar irakliyk commented on April 28, 2024

The first point of this was addressed in #128

from winterfell.

irakliyk avatar irakliyk commented on April 28, 2024

There is actually another optimization we can do which makes the second point here irrelevant. Specifically, instead of sending the actual codeword for the remainder (which we then need to interpolate into a polynomial in coefficient form), we can just send the polynomial in coefficient form. Then, the verifier would evaluate the polynomial and make sure the resulting evaluations match the commitment.

Depending on the blowup factor, this could result in signifiant savings (i.e.,g 1KB or more).

from winterfell.

Al-Kindi-0 avatar Al-Kindi-0 commented on April 28, 2024

Yes, but I think that this is exactly the optimization I mentioned at the start of issue https://github.com/0xPolygonMiden/miden-vm/issues/568 . Then, as mentioned there, the iNTT check becomes unnecessary as one can just evaluate at $g^i$, where $g$ is the remainder domain generator and $i$ is the folded index at this domain, and compare to $evaluation$ one gets from the FRI-folding formula at the previous step.

from winterfell.

Al-Kindi-0 avatar Al-Kindi-0 commented on April 28, 2024

Actually, an NTT on the verifier side might make sense for remainder polynomials of large degree.

from winterfell.

irakliyk avatar irakliyk commented on April 28, 2024

Closed by #128 and #139.

from winterfell.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.