Skip to content

Fix handling of validity conditions for non-injective edge mutation functions.#168

Merged
zgrannan merged 3 commits into
mainfrom
fix-prusti-issue-133
Jul 6, 2026
Merged

Fix handling of validity conditions for non-injective edge mutation functions.#168
zgrannan merged 3 commits into
mainfrom
fix-prusti-issue-133

Conversation

@zgrannan

@zgrannan zgrannan commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

Fixed a bug related to mutating PCG edges via mutation functions of the form f: EdgeData -> EdgeData. Prevously, if the original borrowsgraph had e1: vc1, e2: vc2, then the resulting graph would have f(e2): vc2 rather than f(e2): join(vc1, vc2) (the original f(e1): vc1 would be overwritten). This fixes the previous behaviour by joining the conditions when an entry is already present.

Also fixed some unrelated code related to tracking initialization state for owned places.

@zgrannan
zgrannan merged commit a17c6a8 into main Jul 6, 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.

1 participant