-
Notifications
You must be signed in to change notification settings - Fork 77
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
Proof Parameters: FRI step list #4
Comments
The FRI step parameters do not affect the soundness of the proof, but they affect the proof length and verification time. As you increase a certain FRI step, more values need to be revealed from the corresponding Merkle tree but the number of Merkle trees reduces. However, the number of values that is revealed is The exact formula is rather complicated, but we found that to get the minimal proof size steps of 3 are usually the best option, Some information can be found in StarkDEX Deep Dive: the STARK Core Engine in the "Proof Length Optimizations" section. |
We are also interested in understanding more about the configuration of FRI steps and would appreciate if there was a howto guide or documentation about that. |
A quick way to fix the FRI Steps is to take a look at the error, calculate the log2() difference between the two numbers the prover shows, and add or remove as many fri steps as to fill the gap |
Sorry, this might be a basic question, but is there some way to extract the number of steps from e.g. the trace and use it to generate the right proof parameters (which at least don't make the prover crash)? I would like to be able to generate the required configuration files automatically based on the trace/program. Is the trace format documented somewhere? |
Is there a resource for understanding the tradeoff between different FRI step lists?
Looking at the codebase, it is easy enough to see that for any given program the prover requires that the product of 2^(FRI steps) plus the last_layer_degree_bound is equal to the trace length of the program. Beyond this however, what is the difference between using different values of FRI steps? What effect does this have on the soundness of the proofs?
The given STONE prover talk doesn't explore this from what I understand, and I can't find other resources explaining the parameter.
The text was updated successfully, but these errors were encountered: