Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to define WordMorphism on an infinite alphabet ?

Let imagine I want to do a substitution on the set of all words written with natural numbers.

Example 1: replace every number with its square.

Example 2: make precise rules for substitution of letter in some finite subset of the alphabet and decide that all other letters will be deleted (replaced with empty).

It's not very clear for me from the doc whether this is actually allowed with the command WordMorphism, but if it is, I would like to understand how to do it.