Skip to content

Support optional terminators and mismatch diagnostics for loop rules - #126

Merged
Philipp15b merged 2 commits into
mainfrom
codex/optional-loop-terminators
Sep 25, 2026
Merged

Philipp15b merged 2 commits into
mainfrom
codex/optional-loop-terminators

Conversation

@Philipp15b

@Philipp15b Philipp15b commented Sep 25, 2026 •

Copy link
Copy Markdown
Collaborator

Make the terminator optional for @unroll and add an optional terminator to @omega_invariant.
Both use the terminator from the inferred fixed-point semantics unless one is given.

Report mismatches as diagnostics with the expected terminator and inferred fixed-point kind.
Also update unrolling explanations and the docs.

Fixes #104

Implementation assisted by Codex.

@Philipp15b Philipp15b changed the title Support optional terminators for unrolling and omega invariants Support optional terminators and mismatch diagnostics for loop rules Sep 25, 2026
@Philipp15b
Philipp15b merged commit 2a7a256 into main Sep 25, 2026
12 checks passed
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.

Unroll Proof Rule: Make second parameter optional

1 participant