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

Fix stubborn reduction bug involving inhibitor arcs #166

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

NicEastvillage
Copy link
Contributor

This PR fixes an ordering-dependant bug in the stubborn set reductions involving presets consisting of mixed arcs and inhibitor arcs. The issue arises from a simple inhib flag which should only be updated whenever the corresponding cand index is updated.

Example of wrong behavior:
Consider the following Petri net and query EF P0 = 0 (stub_inhib_test.zip).

  • Running ./verifypn-linux64 stub_inhib_test.pnml stub_inhib_test.xml -x 1 -q 0 -r 0 results in "NOT satisfied",
  • Running ./verifypn-linux64 stub_inhib_test.pnml stub_inhib_test.xml -x 1 -q 0 -r 0 -p results in "satisfied".

The query should be satisfied with trace: T3 T0.

image

@srba srba requested review from petergjoel and srba June 17, 2024 20:25
Copy link
Member

@srba srba left a comment

Choose a reason for hiding this comment

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

The error is confirmed and it is present only if structural reductions and not enabled

@srba srba merged commit b69179e into TAPAAL:main Jul 31, 2024
3 checks passed
@NicEastvillage NicEastvillage deleted the fix_stubborn_inh branch September 13, 2024 09: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