formal-verificationtla+

How to convert number to string in TLA+


Effectively, I want to build a {"1", "2", "3", ..., "N"} set from 1..N set. How do I convert numbers to strings?


Solution

  • The TLC module provides a ToString operator.