Skip to content

Ideal checks reworked to only work with binary polynomials#101

Draft
frozenspider wants to merge 13 commits into
mainfrom
feature/binary-ideal-checks
Draft

Ideal checks reworked to only work with binary polynomials#101
frozenspider wants to merge 13 commits into
mainfrom
feature/binary-ideal-checks

Conversation

@frozenspider
Copy link
Copy Markdown
Collaborator

@frozenspider frozenspider commented Feb 11, 2026

Since we only need ideal checks to work with binary polynomials, code has been reworked to work with it specifically instead of variants of DensePolynomial.
Other changes:

  • Unified ideal check benchmarks, made them generic over the given AIR
  • Removed TestAirNoMultiplication and introduced TestAirBinary to replace it (thanks @ElijahVlasov for the idea!)
  • Added CoefficientProjectable and to_u64 to both versions of BinaryPoly
  • IdealOrZero changed to be an enum

Note that this does not include any performance optimizations per se, other than what we're getting for free from this change.

closes #88

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 11, 2026

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

@frozenspider frozenspider changed the title [WIP] Ideal checks reworked to only work with binary polynomials Ideal checks reworked to only work with binary polynomials Feb 11, 2026
@frozenspider frozenspider marked this pull request as ready for review February 11, 2026 20:23
…checks

# Conflicts:
#	piop/src/ideal_check.rs
#	piop/src/ideal_check/combined_poly_builder.rs
#	piop/src/ideal_check/structs.rs
#	test-uair/src/lib.rs
@frozenspider frozenspider marked this pull request as draft February 20, 2026 14:03
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.

[THIS WEEK] create a benchmark with binary polynomials

1 participant