Can you help me understand the fischer-example?
Hi,
I am trying to do some verification engine comparisons by using the fischer mutex protocol as a test set, and I saw that TAPAAL already comes with an example implementation of the protocol. However, the example is a bit difficult to understand with all the arcs going back and forth and the provided queries seem to just check that the critical section is not ever reachable (I might misunderstand this). Can you help me write a reachability/safety query that checks wether or not two processes can be in the critical section at once (shouldn't be reachable), and one to check that any critical section is reachable?
- I have tried the query "EF Protocol.CS > 1", and that does seem to fail.
- but the query "EF Protocol.CS = 1" also fails, which seems to indicate that the critical section is not reachable at all.
Also, how would I "scale" the example to have more than the two mutex processes already defined?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- TAPAAL Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jiri Srba
- Solved:
- Last query:
- Last reply: