[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

*From*: Andrew Helwer <andrew.helwer@xxxxxxxxx>*Date*: Thu, 22 Apr 2021 06:37:59 -0700 (PDT)*Ironport-hdrordr*: A9a23:x7mYYKnsmmbe2En7FiRJFEgIKYTpDfLk3DAbvn1ZSRFFG/GwvcaogfgdyFvImC8cMUtQ+uyoFaGcTRrnhPtIyKYLO7PKZmfbkU+JCK0n0of42T3nHETFltJ18at7aaBxBJnRADFB/KTHyTK1Gdoh39WLmZrA7Yy1815XQRhue+Vc6W5CazqzKFF8RwVNGPMCeKa028wvnVedUEVSSsy6A3UfNtKtm+H2*References*: <6841633b-0f09-4fa9-bedf-1d2345f680dbn@googlegroups.com>

Hi Huailin,

The formula x' + 1 = y + z is syntactically valid and can be used in an action property, but if you want to use TLC it cannot be used in an action itself. See Specifying Systems p238 for the expressions TLC can handle when computing successor states; they include expressions of the form:

- x' = e
- x' \in S
- UNCHANGED x

Andrew

On Wednesday, April 21, 2021 at 11:48:27 PM UTC-4 hua...@xxxxxxxxx wrote:

Folks,For an TLA's action, which is essentially a boolean _expression_, does it ONLY relate to two variables(primed or non-primed)?For instance, x' + 1 =y. (Please refer to Section 2.3 in Lamport's seminal paper "The Temporal Logic of Actions"-ACM 1993).Can we have an x' + 1 = y+z as an action? If yes, how we define the "old state" and the new state with the postfix notation? maybe define a super-state to cover (y, z)?Thanks huge,Huailin

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/f0c51d43-c594-44af-a30b-ded598c34182n%40googlegroups.com.

**Follow-Ups**:**Re: [tlaplus] Re: About Action***From:*Huailin

**References**:**[tlaplus] About Action***From:*hua...@xxxxxxxxx

- Prev by Date:
**[tlaplus] Why was the ? infix operator removed between TLA+ v1 and v2?** - Next by Date:
**[tlaplus] Re: What operators are defined in TLA+ BUILTINS?** - Previous by thread:
**[tlaplus] About Action** - Next by thread:
**Re: [tlaplus] Re: About Action** - Index(es):