Skip to content

derandomization for R1CS#479

Merged
srinathsetty merged 2 commits intomainfrom
derand
Mar 17, 2026
Merged

derandomization for R1CS#479
srinathsetty merged 2 commits intomainfrom
derand

Conversation

@srinathsetty
Copy link
Collaborator

No description provided.

@srinathsetty srinathsetty requested a review from Copilot March 17, 2026 18:37
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds explicit derandomization helpers for R1CS witnesses and instances so callers can remove witness-commitment randomness deterministically.

Changes:

  • Add R1CSWitness::derandomize returning a witness with r_W = 0 plus the removed randomness.
  • Add R1CSInstance::derandomize to de-randomize comm_W using a DerandKey and the witness randomness.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@srinathsetty srinathsetty merged commit 9a53869 into main Mar 17, 2026
12 checks passed
@srinathsetty srinathsetty deleted the derand branch March 17, 2026 19:39
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