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

*From*: jacky.hoang93@xxxxxxxxx*Date*: Tue, 10 Sep 2019 10:44:14 -0700 (PDT)*References*: <b62bc163-64e5-46be-9c73-f80db1f553a4@googlegroups.com> <81EF6792-E7E3-46D5-BEEA-C58CD2ACE76E@gmail.com>

Thanks for your explanation Stephan!

On Tuesday, September 10, 2019 at 1:33:07 PM UTC-4, Stephan Merz wrote:

-- On Tuesday, September 10, 2019 at 1:33:07 PM UTC-4, Stephan Merz wrote:

Hi,Saksham already pointed out how to update a function at several argument positions. Writing/\ a' = [a EXCEPT ![x] = foo]/\ a' = [a EXCEPT ![y] = bar]implies that[a EXCEPT ![x] = foo] = [a EXCEPT ![y] = bar]which is unlikely to be true, which explains why you see line count 0 in TLC.StephanOn 10 Sep 2019, at 09:51, jacky....@xxxxxxxxx wrote:Hello,Suppose I have a function a, that has domain Z. Suppose x and y are in Z.I'm writing an action where both a[x] and a[y] must be changed.I have one line of the following form:

a' = [a EXCEPT ![x] = ...]and another like so:

a' = [a EXCEPT ![y] = ...]How would I be able to write this altogether as one? Having both doesn't seem to work with Model Checking as count = 0 for those lines.I apologize if I'm using the wrong terms to explain my problem.Thanks for any help--

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 tla...@googlegroups.com .

To view this discussion on the web visit https://groups.google.com/d/msgid/tlaplus/b62bc163-64e5- .46be-9c73-f80db1f553a4% 40googlegroups.com

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/6ca51774-2c97-44bd-9f48-0e43939044ac%40googlegroups.com.

**References**:**[tlaplus] Merging EXCEPT statements***From:*jacky . hoang93

**Re: [tlaplus] Merging EXCEPT statements***From:*Stephan Merz

- Prev by Date:
**Re: [tlaplus] Merging EXCEPT statements** - Next by Date:
**[tlaplus] Re: Problem about Ad Hoc mode of ToolBox** - Previous by thread:
**Re: [tlaplus] Merging EXCEPT statements** - Next by thread:
**[tlaplus] Using TLAPS for industrial stuff?** - Index(es):