I find it hard to understand your question: since TLA+ is based on Zermelo-Fraenkel set theory, formally all values are sets (although it is easier to think of objects such as numbers, strings or functions as being separate entities since we don't know which elements they contain when considered as sets). There is no need to "convert" constants into sets.
For the rest, the syntax that you use is not that of TLA+, which doesn't help me understand your problem.
May I suggest that you study the introductory material about TLA+ [1,2] and come back when you have precise questions?
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 post to this group, send email to tlaplus@xxxxxxxxxxxxxxxx.
Visit this group at https://groups.google.com/group/tlaplus.
To view this discussion on the web visit https://groups.google.com/d/msgid/tlaplus/EAA3CDAE-9C70-4C27-BAA7-0B9D6A4F74DE%40gmail.com.
For more options, visit https://groups.google.com/d/optout.