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

[FEATURE] Easier debugging of TLA+ model using partial runs #296

Open
ivan-gavran opened this issue Nov 24, 2022 · 2 comments
Open

[FEATURE] Easier debugging of TLA+ model using partial runs #296

ivan-gavran opened this issue Nov 24, 2022 · 2 comments
Labels
enhancement New (user-facing) feature or request

Comments

@ivan-gavran
Copy link
Collaborator

ivan-gavran commented Nov 24, 2022

Anecdotally, an important part of developing a TLA+ model and debugging it is using trace invariants to describe a sequence of transitions that should be possible under the model. Negating them and finding a counterexample would then confirm the intuition (whereas not finding it would suggest something was wrong).

As a convenience feature, Modelator could accept a simple representation of a run (perhaps in a JSON form, not necessarily with all variables set) and automate a couple of steps to produce a full run.

This feature is related to the idea of runs and perhaps we could use some of the syntax (although, I'd prefer to keep it as simple as possible, since it is a debugging tool).

@ivan-gavran ivan-gavran added the enhancement New (user-facing) feature or request label Nov 24, 2022
@ivan-gavran
Copy link
Collaborator Author

@angbrav , would a feature like that be useful for you? (looking back on your modelling experience)

@angbrav
Copy link

angbrav commented Nov 24, 2022

@angbrav , would a feature like that be useful for you? (looking back on your modelling experience)

Sure, I think it is a good idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New (user-facing) feature or request
Projects
None yet
Development

No branches or pull requests

2 participants