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

Qel fixes #6999

Merged
merged 4 commits into from
Nov 17, 2023
Merged

Qel fixes #6999

merged 4 commits into from
Nov 17, 2023

Conversation

hgvk94
Copy link
Contributor

@hgvk94 hgvk94 commented Nov 16, 2023

No description provided.

@@ -405,8 +406,18 @@ class mbproj::impl {
return true;
}

bool has_unsupported_th(const expr_ref_vector fmls) {
Copy link
Contributor

Choose a reason for hiding this comment

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

shouldn't you use allow-lists of supported theories instead of blocked lists of unsupported theories? Someone will then start fuzzing this using the special relations theory or user-propagator operators?

@NikolajBjorner NikolajBjorner merged commit f94a475 into Z3Prover:master Nov 17, 2023
15 checks passed
NikolajBjorner added a commit that referenced this pull request Nov 17, 2023
The code is making some assumptions that arrays are 1-dimensional. This is not generally true.
Introducing pattern matching to ensure the assumption is met.
Avoid get_arg(..) especially when there is an approach based on pattern matching recognizers.
@NikolajBjorner
Copy link
Contributor

On closer inspection there appear to be further systematic issues. Arrays are not necessarily 1-dimensional but the code made some unchecked assumptions. I have updated the code some places.

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.

None yet

2 participants