alternative treatment of concatenation
It is possible to define words and concatenation in terms of ordered sets. Let be a set, which we shall call our alphabet. Define a word on to be a mapfrom a totally ordered set
into . (In order to have words in the usual sense, theordered set should be finite but, as the definition presented here does not requirethis condition, we do not impose it.)
Suppose that we have totally ordered sets and and words and . Let denote the disjoint union of and and let and be the canonical maps. Thenwe may define an order on as follows:
- •
If and , then if and only if .
- •
If and , then .
- •
If and , then if and only if .
We define the concatenation of and , which will be denoted , to bemap from to defined by the following conditions:
- •
If , then .
- •
If , then .