Repository navigation
Conversation
#4473 added tests/integration_test/compile_time_of_ifs_in_a_row.rs, and #4557 made the solver written in Vx the default one hour later. Each PR passed CI alone. Together, four of the tests fail on main, so CI fails on each PR. The solver written in Vx does not prove the contracts of these programs within its step limit. Each `t + 1` of an i64 is a wrap by 2^64, and only an integer search shows that a sum does not wrap. z3 proves each contract in less than a second. The tests measure the facts that the type checker gives the prover, so they now choose z3 with VX_SOLVER=z3. #4574 stays open for the solver written in Vx. Part of #4574
Collaborator
Author
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.
Part of #4574.
What changes
#4473 added
tests/integration_test/compile_time_of_ifs_in_a_row.rs, and #4557 made the solver written in Vx the default one hour later. Each PR passed CI alone. Together, four of the five tests fail onmain, so CI fails on each PR.The solver written in Vx does not prove the contracts of these programs within its step limit, and vxc reports E8001. Each
t + 1of ani64is a wrap by 2^64. Only an integer search shows that a sum does not wrap. The solver does that search again for each set of values of the 30 conditions. z3 proves each contract in less than a second.These tests measure the facts that the type checker gives the prover, so they now choose z3 with
VX_SOLVER=z3. #4574 stays open for the solver written in Vx. The fix there is to find the bounds that follow through the rows of the simplex, such asq = 0for each wrap. That is the part of #4392 that is not done.Tests
The five tests of
compile_time_of_ifs_in_a_row.rspass. WithoutVX_SOLVER=z3, four of them fail, as in the CI of #4565, #4568, #4485 and #4564.