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

(Optionally) implement build for each combination of valid booleans #17

Closed
koenichiwa opened this issue Sep 18, 2023 · 0 comments · Fixed by #21
Closed

(Optionally) implement build for each combination of valid booleans #17

koenichiwa opened this issue Sep 18, 2023 · 0 comments · Fixed by #21
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@koenichiwa
Copy link
Owner

Currently we're using a constant, but this constant is not guaranteed to be initialized during compilation.

Until that is fixed the following warning will remain in readme.md:

Warning

Although I haven't been able to recreate the issue yet, it seems that const values aren't guaranteed to be evaluated at compile time. This creates the issue that the group verification is not guaranteed to fail in its current implementation. I tried a workaround to force the compiler to evaluate the constant, but ran into this issue rust-lang/rust#60551.

If users need this guarantuee, they'll need to be able to at least opt into this behaviour.

Another solution is to add a way of testing this behaviour. I have some ideas for that, but I'll need some time to put them in writing.

I tried to define the problem in the following stack exchange question:
https://math.stackexchange.com/questions/4771133/finding-all-possible-valid-values-of-a-set-based-on-a-list-of-rules

In the future it might be necessary to optionally add a SAT solver if compilation proves to take up too much time.

This is possibly blocked by #16

@koenichiwa koenichiwa added enhancement New feature or request help wanted Extra attention is needed labels Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
1 participant