Skip to content

Spec blocks#175

Draft
Aurel300 wants to merge 4 commits into
rewrite-2023from
feature/spec-blocks
Draft

Spec blocks#175
Aurel300 wants to merge 4 commits into
rewrite-2023from
feature/spec-blocks

Conversation

@Aurel300
Copy link
Copy Markdown
Owner

@Aurel300 Aurel300 commented May 13, 2026

  • don't emit unused variable binds in the pure encoding
    • This might not emit some function calls into the AST, which may then not trigger some quantifiers; however, this should only happen if the call's result wasn't used at all.
    • Skipping binds is still imprecise when going across phi nodes (so any branching), so we have more binds than strictly necessary.
  • change MIR pure encoder interface
    • ExprInput is now a hashmap of locals -> expressions; it must contain the keys indicated by MirPureEncOutput::inputs.
  • support prusti_assert!, prusti_assume!, prusti_refute!
    • there are regressions in the test suite due to this change
  • support body_invariant!

@Aurel300 Aurel300 force-pushed the feature/spec-blocks branch from 7924d38 to 934b222 Compare May 14, 2026 10:02
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.

1 participant