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

Separate HIR Assignments and Constraints #358

Open
DavePearce opened this issue Oct 23, 2024 · 0 comments
Open

Separate HIR Assignments and Constraints #358

DavePearce opened this issue Oct 23, 2024 · 0 comments

Comments

@DavePearce
Copy link
Collaborator

DavePearce commented Oct 23, 2024

At the moment, HIR assignments and constraints reuse the same underlying primitives as for MIR and AIR. However, there are some problems here:

  • defconstraint supports both domains, guards and perspectives.
  • defpermutation is a combination assignment and constraint.

The tricky question is whether we want hir.Schema to implement Schema or not. The issue being that Schema splits out constraints and assignments, whereas at the hir level they are (in some cases) merged together.

The other question is whether we actually need to do this. Its not clear that its really necessary at this stage. What is the benefit? Basically when we debug at the hir level we have something that looks like the original corset.

@DavePearce DavePearce changed the title Support Assignments with Constraints Separate HIR Assignments and Constraints Oct 23, 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

No branches or pull requests

1 participant