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

Axiom Arithmetic Constraints not working #37

Open
jp4g opened this issue Jun 17, 2023 · 1 comment
Open

Axiom Arithmetic Constraints not working #37

jp4g opened this issue Jun 17, 2023 · 1 comment

Comments

@jp4g
Copy link
Collaborator

jp4g commented Jun 17, 2023

I tried randomly assigning the witnesses for arithmetic constraints in Axiom and the proof verifies always.

but PSE seems to constrain correctly (incorrectly setting a/b/c will cause verification to fail)

This already needs to be refactored slightly to use Axiom's contexts in order to support QuantumCells across all witnesses which is needed for equality constraints, will update with more diagnostics/ solution

@jp4g
Copy link
Collaborator Author

jp4g commented Jun 18, 2023

For deeper context, I ported over the PSE MockProver tests to axiom.

Here is the correct assignment for a, b, and c:
right

Which MockProver successfully runs for:
image

However if a, b, and c are set incorrectly:
wrong

MockProver similarly succeeds:
image

When attempting to make the same change to the PSE constraint synthesizer, an error is expectedly produced:
image

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

No branches or pull requests

1 participant