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

*From*: Stephan Merz <stephan.merz@xxxxxxxxx>*Date*: Thu, 12 Nov 2020 08:27:16 +0100*References*: <5f09aa29-391f-49f1-833f-c6200fa2450co@googlegroups.com> <16E42E2A-E445-4194-AC25-859EA488D2C2@gmail.com> <a956a38f-2ecf-4066-b0a7-167a69d400cco@googlegroups.com>

Yes: in TLA+ a sequence is a function with domain 1..n, for some n \in Nat.
You can use TLC to evaluate constant expressions. Is sequence a set or primitive type ? Semantically, all TLA+ values are sets, but there are many values for which it is not specified which sets represent them. These include numbers and functions, and therefore also sequences and records. It is more useful to think of these classes of values as being primitive. 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/FE4429D3-9599-4769-A361-7E9142307502%40gmail.com. |

**Follow-Ups**:**Re: [tlaplus] How to generate a sequence from another sequence ?***From:*Willy Schultz

**References**:**[tlaplus] How to generate a sequence from another sequence ?***From:*Ashish Negi

**Re: [tlaplus] How to generate a sequence from another sequence ?***From:*Stephan Merz

**Re: [tlaplus] How to generate a sequence from another sequence ?***From:*Ashish Negi

- Prev by Date:
**Re: [tlaplus] How to generate a sequence from another sequence ?** - Next by Date:
**[tlaplus] Proving inductive predicates in TLAPS** - Previous by thread:
**Re: [tlaplus] How to generate a sequence from another sequence ?** - Next by thread:
**Re: [tlaplus] How to generate a sequence from another sequence ?** - Index(es):