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

Smt changes #70

Merged
merged 101 commits into from
Feb 26, 2024
Merged

Smt changes #70

merged 101 commits into from
Feb 26, 2024

Conversation

rozlynd
Copy link
Contributor

@rozlynd rozlynd commented Jan 9, 2023

New version of the SMT encoding. The encoding is simpler but performs similarly. The previous version is still available; it can be invoked with the debug flag "oldsmt".

Copy link
Contributor

@damiendoligez damiendoligez left a comment

Choose a reason for hiding this comment

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

First part of my review.

src/backend/fpfile.ml Show resolved Hide resolved
test/bugs/sndord_test.tla Outdated Show resolved Hide resolved
src/util/util.ml Outdated Show resolved Hide resolved
src/type/t_visit.mlt Outdated Show resolved Hide resolved
src/type/t_visit.mli Outdated Show resolved Hide resolved
src/encode/n_axioms.ml Outdated Show resolved Hide resolved
src/encode/n_axioms.ml Outdated Show resolved Hide resolved
src/encode/n_axioms.ml Outdated Show resolved Hide resolved
src/encode/n_axioms.mli Outdated Show resolved Hide resolved
src/encode/n_axioms.mlt Outdated Show resolved Hide resolved
adef-inr and others added 6 commits March 24, 2023 13:58
Co-authored-by: Damien Doligez <[email protected]>
Co-authored-by: Damien Doligez <[email protected]>
Co-authored-by: Damien Doligez <[email protected]>
Co-authored-by: Damien Doligez <[email protected]>
Co-authored-by: Damien Doligez <[email protected]>
Co-authored-by: Damien Doligez <[email protected]>
This raised an error with cvc5
Renamed the function, previously "tla_smb_to_string"
m^n is specified for m,n:int iff m # 0 OR n > 0

The operator has no counterpart in SMT, and no axiom is provided for
reasoning, but at least we cannot prove statements like 0^(-1) \in Int.
Flag "nonewqut" not supported anymore

Flag "noarith" renamed to "disable_arithmetic"; always true for
Zipperposition

Flag "no_smt_set_extensionality" disables the special use of SMT
triggers for the axiom of set extensionality
@rozlynd
Copy link
Contributor Author

rozlynd commented Jan 26, 2024

I just pushed a bunch of commits. Most of them are changes that address something @damiendoligez pointed out. A few are fixes to bugs I found along the way. Anyway, I think I'm done now.

@rozlynd
Copy link
Contributor Author

rozlynd commented Jan 26, 2024

Should I try to merge now?

@damiendoligez
Copy link
Contributor

@kape1395

@damiendoligez, maybe it is enough to merge instead of rebase? That's usually simpler. I could do the main -> smt-changes merge. Then, the opposite will be a non-conflicting merge.

Yes, merging is fine if it's easier than rebasing.

@damiendoligez
Copy link
Contributor

@adef-inr We have a few more conflicts, but they should be easy to resolve.

@damiendoligez
Copy link
Contributor

I have pushed a trivial change to make the source compatible with Ocaml 5. Let's see what CI says now.

@damiendoligez
Copy link
Contributor

Pushed two very small changes in the failed tests, and a change to the test harness to get more feedback from CI when a test fails.

@adef-inr you may want to have a look at commit 783df0a : why does a useless quantifier throw the SMT prover off track? Is it caused by your back-end processor somehow?

@kape1395
Copy link
Collaborator

Maybe this branch can be merged already and the why does a useless quantifier throw the SMT prover off track? Is it caused by your back-end processor somehow? could be tracked as a separate branch/issue?

@damiendoligez damiendoligez merged commit d53d147 into main Feb 26, 2024
12 of 13 checks passed
@damiendoligez
Copy link
Contributor

Merged and opened #121 to track the issue with the quantifier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants