Repository navigation
Pin z3 4.15.4 on CI - #26
Open
evertonfraga wants to merge 1 commit into
Open
evertonfraga wants to merge 1 commit into
evertonfraga wants to merge 1 commit into
Conversation
CI installed the image's apt z3, 4.8.12 (2021). It leaves obligations unknown that later versions decide (an existential with a witness, bounds on uninterpreted bitwise results), and the golden suite pins every verdict, so a fixture written against a current z3 failed CI. CI now downloads the z3 4.15.4 release for x64 glibc 2.39 (Ubuntu 24.04's glibc), checks its SHA-256, and puts it on PATH. The installation guide and README name the version CI uses.
This was referenced Oct 23, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CI now uses a pinned z3 4.15.4 instead of the z3 4.8.12 from Ubuntu 24.04's apt archive.
.github/workflows/ci.yml, "Install z3" step:z3-4.15.4-x64-glibc-2.39.zipfrom the Z3Prover release (glibc 2.39 is Ubuntu 24.04's);bin/toPATH.Moving to another version means changing
Z3_VERSIONandZ3_SHA256together.The comment on
runs-onno longer says the image provides z3.docs/guide/src/installation.mdandREADME.mdname the version CI uses. Another version can decide some obligations differently, mostlyunknownwhere 4.15.4 proves or refutes.Why: the golden suite pins every obligation's verdict (#23), and 4.8.12 leaves obligations unknown that current versions decide. These include existentials with a witness and bounds on uninterpreted bitwise results. #25 first failed CI for that reason.
Testing
PATHsteps run for the first time in this PR's CI.CI=true bash test/run_tests.shpasses with z3 4.15.4, and also with 4.8.12, 5.1.0 (Homebrew's current stable) and 5.3.1 (latest release). So the pin can move forward without regenerating goldens, as of today.main's suite is unchanged and runs under 4.15.4 in this PR's CI.