CHAPTER III

Permutation-Free Events


The class of permutation-free events has been defined by Papert and McNaughton [4] as those regular events that are realized by automata for which there does not exist a subset Si of states and a word x in A* such that T(Si,x) is a permutation of si. In this chapter the class of permutation-free events is defined in a different manner, but is essentially identical to that of Papert and McNaughton.


3.1 The Ross Tree

To define permutation-free events it is useful first to define a ross and a ross tree.

For convenience a refined ordered successor set will be called by its initials, that is it will be called a ross. The ross sk of a set si is always of cardinality equal to or less than the cardinality of that set si. When the cardinality of a set and its ross are equal, the order of the elements within the set must be maintained. If, however, the ross has fewer distinct elements, these elements may be arranged in any convenient order. Two ross are equal if they are equal in membership but not necessarily in order. Two ross are identical if and only if they are equal in both membership and order. One ross is a permutation of another ross if they are equal but not identical.

Since there are a finite number of states in an automaton and hence a finite number of ross, the tree will terminate in a finite number of levels, that is, when all the branches have been terminated. If all the branches terminate with an identity, that is, there are no branches terminating with a permutation, then the tree is called permutation-free. A singleton set can of course in no way generate a permutation, hence it is terminated early. A leftmost reduced tree may be generated to reduce the size of the tree by following the additional rules: Construct the tree to the left using the first letter of the alphabet through as many levels as possible until a terminal node is reached, then continue on the previous level with the next letter of the alphabet. In this manner nodes may be considered terminal if they appear anywhere else in an already terminated branch, as the subtree generated by that node will be identical to the subtree already generated by the first appearance of that node.

An automaton with a permutation-free ross tree is said to be permutation-free. The event realized by a permutation-free automaton is called a permutation-free event. The class of permutation-free events is denoted by PF.

The construction of the ross tree may be shown by several examples. Consider first the automaton of Figure 2.3.1 realizing the event R=(01)*, The state table is shown again in Figure 3.1.1a for convenience in constructing the ross tree in Figure 3.1.1b.

Figure 3.1.1a
State Table
  0 1
A B C
B C A
C C C
Figure 3.1.1b
Ross Tree
Ross Tree for (01)*

Under input 0 the set (ABC) goes to ross (BC). Under 0 the ross (BC) goes to ross (C) which is terminal because it is a singleton. Under 1 (BC) goes to (AC), under 0 (AC) goes to (BC) which is terminal because it appears in level one of that branch. Under 1 (AC) goes to (C) which is terminal because it is a singleton. Under 1 (ABC) goes to (AC) which is terminal because it appears in an already terminated branch. This concludes the construction and since none of the terminations were permutations, the ross tree is permutation-free. Hence the event R=(01)* is in PF. Consider next the automaton shown in figure 2.4.2 realizing the event R=(11)* which was not in GF. The construction of the ross tree shown in Figure 3.1.2 shows that (ABC) under input 1 produces the ross (BAC) which is a permutation of (ABC).

Figure 3.1.2a
State Table - Event (11)*
  0 1
A C B
B C A
C C C
Figure 3.1.2b
Ross Tree - Event (11)*
The ross tree for (11)*

Hence event (11)* is not in PF. Consider finally the automaton depicted by the state table in Figure 3.1.3a which realizes the event R=(I11(I00I)'11I)' which is obviously in SF.

Figure 3.1.3a
State Table
  0 1
A A B
B A C
C D E
D A E
E D F
F F F
Figure 3.1.3b
Ross Tree
The ross tree for (I11(I00I)'11I)'

The ross tree shown in Figure 3.1.3b is large but is easily seen to be permutation-free. Hence (I11(I00I)'11I)' is in PF.

In the definition of a ross, if Si is a ross of Sj, and the cardinality of Si is less than that of Sj, we have allowed the elements of Si to be arranged in any convenient order. It may happen that Si is a ross of two sets Sj and Sk. Because we have allowed some choice in the ordering of the elements of Si, we must avoid having unnecessary permutations of the elements of Si resulting from this arbitrary ordering and not from the action of the automaton. If in the leftmost reduced tree, the first appearance of Si is S'i, the ross of Sk, then when Si, the ross of Sj appears in another branch of the tree, we must rearrange Si to conform to the order of S'i. For example, notice that in the first example, shown in Figure 3.1.1 the first choice for the ross of (ABC) under input 1 is (CA). But, since this is a case where the cardinality of the ross has been reduced, and we already have (AC) in an already terminated branch, we choose to rearrange the order.

The mapping T may be modified to a mapping T such that T(Si,aj) is the ross Sk of Si under input aj. T may also be extended, as T was, to include T(Si,x) under input string x in A*. Again notice that because choice of order is allowed when the cardinality is reduced, the mapping is not uniquely defined in that case. However, this causes no problems.


3.2 Equivalence of Classes of Events

In this section a number of theorems are presented showing that all the classes of regular events described so far are equivalent. That is, the classes of star-free, non-counting, group-free and permutation-free events are all different definitions of the same single class of events. The first two theorems relating to permutation-free events are similar to theorems given by Papert and McNaughton. but first an initial lemma is presented.


3.3 Tests for Star-Free Property

In Chapter II we saw that for some events we could write a regular expression with stars and one without stars representing the same regular event. We said there that a regular event was star-free if and only if a star-free regular expression could be written for it. However, the given regular expression may contain stars and there may not be any simple method of deriving a star-free expression from it, yet we would like to know whether the event is star-free or not. From the equivalences of the last section we see that all we have to do is determine whether the event is group-free or non-counting or permutation-free. In view of this, Papert and McNaughton [4] have presented two possible tests. Both tests require the construction of the syntactic monoid, which can be sumbersome. One test requires a search for permutations between elements of the monoid, but no algorithm is given. The second requires a search for non-trivial groups in the monoid and is a well-defined test, but requires the additional labour of constructing the monoid multiplication table. The permutation-free test using the ross tree is a simple well-defined test:

  1. From the expression of the event, or from the automaton, find the reduced automaton [Appendix B].
  2. From the reduced automaton, construct the ross tree.
  3. If the ross tree is permutation-free, then the event is in PF and hence in SF.

The test is somewhat related to Papert and McNaughton's first test, and, really an extension of Brzozowski's test for definite regular events [11]. Definite events are a small subset of star-free events and may be tested for by requiring the input successor tree to terminate only in singletons. The ross tree introduces ordering and multistate termination to the definite-event test, giving us a test for a much larger class of events. To illustrate the relative simplicity of the ross tree test, the reader is invited to test the example in figure 3.1.3 by the GF method.


Valid XHTML 1.0! Valid CSS!