Skip to content

Add Flux tool description and CI workflow #403

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

Merged
merged 5 commits into from
Jul 16, 2025

Conversation

nilehmann
Copy link

This PR introduces Flux to the list of tools used in the book and adds a corresponding CI workflow.

The CI workflow runs Flux on a subset of core (specifically, files under src/ascii) to verify the absence of array out-of-bounds errors. It demonstrates how to annotate the code with refinement types to specify the pre- and post-conditions necessary to prove safety on the subset that Flux is enabled.

The Flux tool and necessary dependencies are built from source on CI (pinning specific commits).

Resolves #362

@nilehmann nilehmann requested a review from a team as a code owner June 30, 2025 03:28
Copy link
Member

@tautschnig tautschnig left a comment

Choose a reason for hiding this comment

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

I believe this is ready to go except for some remaining documentation gaps, see comments.

Copy link

@carolynzech carolynzech left a comment

Choose a reason for hiding this comment

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

Great work, thanks!

@carolynzech carolynzech added this pull request to the merge queue Jul 16, 2025
Merged via the queue into model-checking:main with commit a914785 Jul 16, 2025
28 of 39 checks passed
@nilehmann nilehmann deleted the flux-submission branch July 16, 2025 17:42
github-merge-queue bot pushed a commit that referenced this pull request Jul 22, 2025
Update the version of Flux and simplify contracts for int conversion as
discussed in
#403 (comment).

Note that this also includes an update in Flux to the toolchain version
matching the one in verify-rust-std, which should fix [this CI
failure](https://github.com/model-checking/verify-rust-std/actions/runs/16326340547/job/46117341963).
Our PR became out of sync between toolchain updates. We apologize for
that!

---------

Co-authored-by: Ranjit Jhala <[email protected]>
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.

Add Tool: Flux
6 participants