Skip to content

bench: add FiveConstraint ideal check benchmarks#129

Open
albert-garreta wants to merge 1 commit intomainfrom
add-ideal-check-benches
Open

bench: add FiveConstraint ideal check benchmarks#129
albert-garreta wants to merge 1 commit intomainfrom
add-ideal-check-benches

Conversation

@albert-garreta
Copy link
Copy Markdown
Member

Add three new benchmark UAIRs and their corresponding ideal check benchmarks:

  1. FiveConstraintDecompositionUair: 5 binary poly columns, 24 int columns, 5 linear constraints. Resembles the sha256+ecdsa UAIR structure, except that the latter also has non-linear constraints involving the integer columns.

  2. FiveConstraintSimpleUair: 5 binary poly columns, 5 int columns, 5 linear constraints. Each constraint checks binary_poly[i] == int[i] modulo (X - 2).

  3. FiveConstraintQuadraticUair: 0 poly columns, 24 int columns, 5 degree-2 constraints. Each constraint checks int[a] * int[b] + linear_sum - int[result] == 0.

All benchmarks run at sizes 2^10, 2^12, 2^14 for field limbs 3 and 4.

Add three new benchmark UAIRs and their corresponding ideal check
benchmarks:

1. FiveConstraintDecompositionUair: 5 binary poly columns, 24 int
   columns, 5 linear constraints. Resembles the sha256+ecdsa UAIR
   structure, except that the latter also has non-linear constraints
   involving the integer columns.

2. FiveConstraintSimpleUair: 5 binary poly columns, 5 int columns,
   5 linear constraints. Each constraint checks binary_poly[i] == int[i]
   modulo (X - 2).

3. FiveConstraintQuadraticUair: 0 poly columns, 24 int columns,
   5 degree-2 constraints. Each constraint checks
   int[a] * int[b] + linear_sum - int[result] == 0.

All benchmarks run at sizes 2^10, 2^12, 2^14 for field limbs 3 and 4.
@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@github-actions
Copy link
Copy Markdown

Coverage (base → head): 82.5% → 80.53% ⬇️ 1.97 pp
Only posts when PR coverage is lower than the base branch's latest push (or freshly computed base).

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.

1 participant