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

Tight k on lookups #5

Merged
merged 1 commit into from
Apr 24, 2024
Merged

Tight k on lookups #5

merged 1 commit into from
Apr 24, 2024

Conversation

miguel-ambrona
Copy link

PR on PSE:
privacy-scaling-explorations#317

We disable two checks on key generation that made sure the row being filled was within the usable rows.

These checks are not necessary for fixed columns (where we disabled them), because fixed columns are public and are not blinded. Indeed, they are computed at setup time.

These checks served as a sanity check though, because in general one would not want to assign values at unusable offsets. On exception is the case of lookups. Thanks to this change, we can now run circuits with 2^k lookup tables on a k-domain. Before this change, a (k+1)-domain was needed.

This solution is good IMHO, but I suggest opening a GitHub issue to revisit this problem in the future to possibly enable/disable the check via an additional argument to the assign_fixed function.

@iquerejeta iquerejeta self-requested a review April 24, 2024 10:02
Copy link
Collaborator

@iquerejeta iquerejeta left a comment

Choose a reason for hiding this comment

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

Sounds good - could you open an issue to track the PR in PSE and to revisit this in the future?

@miguel-ambrona
Copy link
Author

miguel-ambrona commented Apr 24, 2024

Sounds good - could you open an issue to track the PR in PSE and to revisit this in the future?

Thanks @iquerejeta !
I'll open an issue to track that as soon as the issues are enabled for this repo.

@miguel-ambrona miguel-ambrona merged commit b410501 into fixed_73408a1 Apr 24, 2024
15 checks passed
iquerejeta added a commit that referenced this pull request May 8, 2024
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