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

Improve speed of proof of matvec_mul() #408

Merged
merged 2 commits into from
Nov 15, 2024
Merged

Conversation

rod-chapman
Copy link
Contributor

Adjust modelling of arrays in CBMC for proof of this function, as recommended by CBMC team (See CBMC Issue 8505).

Proof for this function reduces from 70 seconds to about 9 seconds on desktop.

All tests OK
All proofs OK
lint OK

Adjust modelling of arrays in CBMC for proof
of this function, as recommended by CBMC team (CBMC Issue 8505).

Signed-off-by: Rod Chapman <[email protected]>
Copy link
Contributor

@hanno-becker hanno-becker left a comment

Choose a reason for hiding this comment

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

Those are impressive gains, @rod-chapman. Can you leave a comment in matvec_mul/Makefile with a vague description of what is happening, and open an issue so we don't forget to incorporate this into the proof guide once we have a better understanding of those options?

The explanatory text is adapted from that appearing
in CBMC Issue 8505.

Signed-off-by: Rod Chapman <[email protected]>
@rod-chapman
Copy link
Contributor Author

Comment added to Makefile

@hanno-becker hanno-becker merged commit 7b5a9e4 into main Nov 15, 2024
33 checks passed
@hanno-becker hanno-becker deleted the matvec_mul_proof_speed branch November 15, 2024 05:08
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.

2 participants