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

Add phantom permutation in std::protocols::permutation::permutation() + change tests #2069

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

georgwiese
Copy link
Collaborator

@georgwiese georgwiese commented Nov 11, 2024

With this PR, std::protocols::permutation::permutation() adds a phantom permutation as well, making witgen work when using it.

Also, I changed the tests to be analogous to recent changes to the lookup_via_challenges test:

  • The _ext variant is removed, since we automatically run the extension field variant on Goldilocks (which is tested)
  • The example itself is more realistic, in this case it emulates a block machine connected via a permutation.

@georgwiese georgwiese changed the title Simplify permutation test Add phantom permutation in std::protocols::permutation::permutation() + change tests Nov 11, 2024
@georgwiese georgwiese marked this pull request as ready for review November 11, 2024 15:03
Comment on lines +12 to +14
// Currently, witgen fails if the block machine has just enough rows to
// fit all the blocks, so let's not have a call in the last row.
col fixed sel = [1, 1, 1, 1, 1, 1, 1, 0];
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This can be removed after #2070.

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