[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tlaplus] How to add an auxiliary variable but not increase the state space?
Thank you for the answer. Using view solves the problem.
On Tuesday, November 8, 2022 at 10:31:30 PM UTC+8 Leslie Lamport wrote:
Forget what I just wrote. I don't know where my brain was when I wrote it. Yes, use view.
On Tuesday, November 8, 2022 at 6:23:25 AM UTC-8 Leslie Lamport wrote:
Changing the view won't hurt. But a history variable h is generally added by conjoining to each action a formula of the form h' = ... . Doing that doesn't add any states; it just adds a new component to each state. That shouldn't significantly increase TLC's running time, and little of any increase in running time will be saved by the view change.
In TLA+, when I add my auxiliary variable "history," the specification behaviors depend on the "history" variable, and the state space would increase.
Can I specify the specification next state behavior does not depend on the auxiliary variable, and the additional variable does not increase the state space?
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 view this discussion on the web visit https://groups.google.com/d/msgid/tlaplus/d2e93eae-d3d1-4374-9200-09382abe2199n%40googlegroups.com.