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

Improve FLP specification #429

Merged
merged 1 commit into from
Oct 4, 2024
Merged

Improve FLP specification #429

merged 1 commit into from
Oct 4, 2024

Conversation

cjpatton
Copy link
Collaborator

Closes #226.

Clean up the reference code a bit so that it can be excerpted in the draft: add comments; use more meaningful variable names; and make variables consistent across the prover and verifier. We've also replaced prove_wrapped() and query_wrapped() with class methods on ProveGadget and QueryGadget respectively. This way the listing of these classes is a little tidier.

Replace the current description of the algorithms with the reference code for and a brief overview of each. This entails defining poly_eval(), which we've done in the conventions section. ProveGadget and QueryGadget are listed in the appendix, as their descriptions are a bit tedious and their functionality is relatively straightforward. Note however that these are load-bearing parts of the specification.

Other things:

  • Remove the "Encoding" subsection, which is pretty useless. Instead, we just say how these are instantiated in the "Validity Circuit" section.

  • Remove calls to check_valid_eval() from the draft, as this more useful for testing than it is as part of the spec.

  • Clean up the parameter tables, including indicating types.

  • Do another pass of the overview and tighten things up a bit.

@cjpatton cjpatton marked this pull request as ready for review September 19, 2024 23:51
draft-irtf-cfrg-vdaf.md Outdated Show resolved Hide resolved
draft-irtf-cfrg-vdaf.md Outdated Show resolved Hide resolved
draft-irtf-cfrg-vdaf.md Outdated Show resolved Hide resolved
draft-irtf-cfrg-vdaf.md Outdated Show resolved Hide resolved
draft-irtf-cfrg-vdaf.md Outdated Show resolved Hide resolved
draft-irtf-cfrg-vdaf.md Outdated Show resolved Hide resolved
draft-irtf-cfrg-vdaf.md Outdated Show resolved Hide resolved
draft-irtf-cfrg-vdaf.md Outdated Show resolved Hide resolved
poc/vdaf_poc/flp_bbcggi19.py Outdated Show resolved Hide resolved
poc/vdaf_poc/flp_bbcggi19.py Outdated Show resolved Hide resolved
@cjpatton
Copy link
Collaborator Author

cjpatton commented Oct 3, 2024

Rebased.

draft-irtf-cfrg-vdaf.md Outdated Show resolved Hide resolved
Clean up the reference code a bit so that it can be excerpted in the
draft: add comments; use more meaningful variable names; and make
variables consistent across the prover and verifier. We've also replaced
`prove_wrapped()` and `query_wrapped()` with class methods on
`ProveGadget` and `QueryGadget` respectively. This way the listing of
these classes is a little tidier.

Replace the current description of the algorithms with the reference
code for and a brief overview of each. This entails defining
`poly_eval()`, which we've done in the conventions section.
`ProveGadget` and `QueryGadget` are listed in the appendix, as their
descriptions are a bit tedious and their functionality is relatively
straightforward. Note however that these are load-bearing parts of the
specification.

Other things:

* Remove the "Encoding" subsection, which is pretty useless. Instead, we
  just say how these are instantiated in the "Validity Circuit" section.

* Remove calls to `check_valid_eval()` from the draft, as this more
  useful for testing than it is as part of the spec.

* Clean up the parameter tables, including indicating types.

* Do another pass of the overview and tighten things up a bit.

Co-authored-by: David Cook <[email protected]>
@cjpatton cjpatton merged commit 096be4a into main Oct 4, 2024
6 checks passed
@divergentdave divergentdave deleted the cjpatton/226 branch October 8, 2024 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Review: 05: Chris Wood: Prose description of the FLP lacks precision
2 participants