[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tlaplus] Why does adding a new step collapse my model to a single state?
Hello!
I'm a brand new TLA+ user. I've written a spec for a simple payments system: https://github.com/xaviershay/tla-sandbox/blob/master/payments.tla
This works! Hooray! It has 383 distinct states for 3 DCs. I'm now trying to modify it to allow for the case where a server "double handles" a request from a client by simply repeating the HandleRequest macro:
https://github.com/xaviershay/tla-sandbox/pull/1/files
The model now passes ... but it only has a single distinct state, so I'm pretty sure it's wrong. I can't come up with any hypotheses as to why this would happen. I used a similar approach in the Sync process and it worked fine there. (I get the same result using either to optionally run the repeated handler).
Any suggestions for fixes or further debugging welcome.
Apologies for not providing a more minimal case, but I don't yet know which aspects of my spec are relevant :(
Thanks,
Xavier
--
You received this message because you are subscribed to the Google Groups "tlaplus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tlaplus+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to tlaplus@xxxxxxxxxxxxxxxx.
Visit this group at https://groups.google.com/group/tlaplus.
For more options, visit https://groups.google.com/d/optout.