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

*From*: Stephan Merz <stephan.merz@xxxxxxxxx>*Date*: Tue, 6 Apr 2021 12:19:31 +0200*Ironport-hdrordr*: A9a23:PLG7z6ATVqS+LtHlHeiksceALOonbusQ8zAX/mh6QxBNb4i8n8ehgPwU2XbP+VEscVsL8OruBICrR3TA+ZlppawYOrm/VAfr0VHYSr1Kx43k3jHmBmnC7eZbz6htaOxTD9f3AFh8g6/BkXSFOvwnx8SK973tuPfGwx5WPHtXQoxp8gsRMHf5LmRYXw9DbKBVKLO94Y59qyOkaTAraK2Adx04dszig/GOq578ex4BAHccmXWzpBel8qTzHRTd/jp2aUIs/Z4Y/WLIkxP068yY2pnRoCP07GPd449bn9Hs0LJ4damxo/IIITbhgBvAXupccoCCpzw8raWO71sngbD3wysIAsVp53vdOlyyuBvmsjOA7B8S7RbZpWOwsD/Gm4jZTCh/I9ddjYhZGyGpknYIjZVZ6uZ3+E6387BQFgjNmSzh4cOgbWATqmOk5Xw4keASiHRDUYwRLL9JxLZvh39oLA==*References*: <52111fcc-e8df-469e-8894-c113ae398056n@googlegroups.com>

Hello, I am not trying to understand your definition but simply suggest how to make it syntactically legal. In the syntactic form { e : x \in S, y \in T } the identifier x is not allowed to occur in S or T (cf. Specifying Systems, section 16.1.6). You must therefore use a nested set comprehension as in ... ELSE LET Extend(m) == { <<m>> \o l : l \in LinearExtensionsUtil(...) } IN UNION { Extend(m) : m \in Minimal(...) } (Of course, you do not actually need to use a LET but can also replace the use of Extend in the body by its definition. However, I find it easier to read in this way.) Stephan
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/555B8BE7-2060-4E6F-B2DE-F609ABD05E62%40gmail.com. |

**Follow-Ups**:

**References**:

- Prev by Date:
**[tlaplus] How to generate all possible linear extensions (i.e., topological sortings) of a partial order?** - Next by Date:
**Re: [tlaplus] How to generate all possible linear extensions (i.e., topological sortings) of a partial order?** - Previous by thread:
**[tlaplus] How to generate all possible linear extensions (i.e., topological sortings) of a partial order?** - Next by thread:
**Re: [tlaplus] How to generate all possible linear extensions (i.e., topological sortings) of a partial order?** - Index(es):