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

Write easy examples to compare PIL1 and PIL2 resources #2

Open
9 tasks
hecmas opened this issue Feb 9, 2024 · 0 comments
Open
9 tasks

Write easy examples to compare PIL1 and PIL2 resources #2

hecmas opened this issue Feb 9, 2024 · 0 comments
Assignees

Comments

@hecmas
Copy link
Contributor

hecmas commented Feb 9, 2024

We have to study and understand better how to compare programs made in PIL1 vs their equivalents in PIL2. For this, we're going to go through a series of "small" examples that are intended to cover most frequent scenarios.

Examples

  • Basic arithmetic

Parameters to compare

  • Area, i.e., the number of columns times the number of rows.
  • Number of intended program's operations with such area. For example, for the binary program, this would be the number of binary operations it can perform with particular area.
  • Number of constraints.
  • Constraint degree
  • Constraint "window" (some people refer to this as the number of openings).

Consequences to consider

  • Proving time.
  • Proof size.
  • Verification time.

Note 1: The main objective should be achieving the least proving time, without incurring in a prohibitive proof size and/or verification time.
Note 2: Verification time is, at least, linearly dependent on the proof size. Therefore, proof size is the parameter to worry about between these two. Anyways, these can always be reduced using proof composition.


Started to work on this in this note.

@hecmas hecmas self-assigned this Feb 9, 2024
@hecmas hecmas changed the title Write easy example to compare PIL1 and PIL2 resources Write easy examples to compare PIL1 and PIL2 resources Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant