Skip to content

DRAFT: Implementation of FRI and WHIR in sagemath#2

Merged
yswami-tfh merged 4 commits intoworldfnd:mainfrom
yswami-tfh:sage_fri
Mar 11, 2025
Merged

DRAFT: Implementation of FRI and WHIR in sagemath#2
yswami-tfh merged 4 commits intoworldfnd:mainfrom
yswami-tfh:sage_fri

Conversation

@yswami-tfh
Copy link
Copy Markdown
Collaborator

This patch set contains an implementation of FRI and WHIR. The FRI code also implements DEEP-FRI out-of-domain sampling. The Jupyter notebooks contain a sample run of the protocols.

Adding code for FRI, DEEP-FRI and WHIR. Working towards adding ZK.
Fixed a few bugs and cleaned up jupyter notebook contents.
@yswami-tfh yswami-tfh force-pushed the sage_fri branch 3 times, most recently from fe5bc56 to 986a715 Compare March 9, 2025 05:32
Fully functional ZK with WHIR.
@yswami-tfh yswami-tfh merged commit 2537db9 into worldfnd:main Mar 11, 2025
@yswami-tfh yswami-tfh deleted the sage_fri branch March 12, 2025 18:26
piohei pushed a commit to piohei/ProveKit that referenced this pull request Aug 7, 2025
piohei pushed a commit to piohei/ProveKit that referenced this pull request Aug 7, 2025
piohei pushed a commit that referenced this pull request Aug 7, 2025
Bisht13 added a commit that referenced this pull request Feb 20, 2026
…cross-evals, PrefixCovector tests

- Remove R1CSSolver trait, convert test_witness_satisfaction to free fn (#3)
- Make w2_layers compression conditional on has_challenges (#4)
- Parallelize cross-evaluation dot products with rayon::join (~12% prove speedup) (#6)
- Add debug_assert in PrefixCovector::accumulate (#11)
- Add PrefixCovector unit tests: size, mle_evaluate, accumulate, prefix=logical (#2)
- Fix clippy: &mut Vec -> &mut [] in solve_witness_vec
@batmendbar batmendbar mentioned this pull request Apr 6, 2026
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