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

feat: Get composition and trace polynomials from AIR using modified winterfell and giza #128

Closed
wants to merge 29 commits into from

Conversation

entropidelic
Copy link
Contributor

@entropidelic entropidelic commented Feb 28, 2023

ref #43

This PR implements functionality to get a composition and trace polynomials from a trace and an AIR, using a modified versions of winterfell and giza.

  • Implemented the function get_cp_and_tp, that takes as input a trace and an AIR as defined by winterfell and giza data structures, and outputs composition and trace polynomials as our Polynomial data structure. This function is designed to work for any trace and AIR as long as they are defined using the Felt data type from giza. This includes the Cairo AIR, defined in giza as ProcessorAir struct.
  • Implemented tests for proving and verifying fibonacci computation and for getting composition and trace polynomials from fibonacci and Cairo computations.

Note: Due to some incorrect assertions done in winterfell in debug mode, these tests should be run in release mode.

@entropidelic entropidelic marked this pull request as ready for review February 28, 2023 16:12
@entropidelic entropidelic requested review from a team, schouhy and ajgara as code owners February 28, 2023 16:12
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

Successfully merging this pull request may close these issues.

2 participants