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.
Leslie
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.
Leslie
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?