Encodings and homomorphisms of languages
[23/100%]Let the homomorphism be defined by the equalities .
Construct a deterministic finite automaton that recognizes the language for the language .
A coding scheme from the alphabet into the alphabet is given by: . Find the sets of codes for the following words:
abaabac;
bacbbaccab;
aabcabccaab;
abcbbaabc.
A coding scheme from the alphabet into the alphabet is given by: . Prove that the word can be encoded in ways, where is the corresponding Fibonacci number.
Let the language over the alphabet consist of all words that begin with and contain a number of symbols that is a multiple of three. The homomorphism is given by the equalities , . Determine which of the following three words belong to the preimage of the language under the homomorphism :
;
;
.
Let the language over the alphabet consist of all words that begin with and contain the substring . Which of the following phrases defines the language , the image of under the following homomorphism ?
All words over the alphabet beginning with 0101, with length divisible by 4.
All words of even length over the alphabet beginning with 0101.
All words of even length over the alphabet beginning with 0101, in which every second symbol is a one and which contain the substring 1111.
All words over the alphabet beginning with 0101, in which the symbols at even positions are ones and which contain the substring 1111.
Let the language over the alphabet consist of all words that end with and contain the substring . Which of the following phrases defines the language , the image of under the following homomorphism ?
All words over the alphabet ending with 10, with length 12 or more.
All words of even length over the alphabet containing the substring 0000.
All words of even length over the alphabet ending with 10, in which every second symbol is a zero.
All words over the alphabet ending with 10, in which every second symbol is a zero and which contain the substring 0000.
All words of even length over the alphabet ending with 10, in which every sixth symbol is a zero and which contain the substring 0000.
A coding scheme from the alphabet into the alphabet is given by: . Find the results of encoding the following languages, represented by regular expressions:
;
;
;
.
A coding scheme from the alphabet into the alphabet is given by: . Find the results of encoding the following languages, represented by regular expressions:
;
;
;
.
Let a deterministic finite automaton be given, with program , together with a homomorphism , for which , . Which of the following three automata recognize the homomorphic image ?
;
;
.
The programs of the automata are given by the tables in Fig. 32 (a dash means the absence of the corresponding transition).
Given a deterministic finite automaton (Fig. 33) recognizing some language . Construct a nondeterministic finite automaton recognizing the language for the coding schemes from Problems
484
485
Fig. 33: Automaton from Problem 487.
Let the homomorphism be defined by the equalities .
Construct a deterministic finite automaton that recognizes the image of the language
Let the homomorphism be defined by the equalities .
Construct a deterministic finite automaton that recognizes the image of the language
Let the homomorphism be defined by the equalities .
Construct a deterministic finite automaton that recognizes the language for the language
Let the homomorphism be defined by the equalities .
Construct a deterministic finite automaton that recognizes the language for the language
L=\left\{ w: w \text{ ends in } 01and contains an even number of ones.
Let the homomorphism be defined by the equalities .
Construct a deterministic finite automaton that recognizes the preimage of the language
Let the homomorphism be defined by the equalities .
Construct a deterministic finite automaton that recognizes the language for the language
Prove that any encoding operation for a language can be represented as a superposition of the preimage of a homomorphism and a homomorphism for some and .
Let us define the cylindrification operation, which is inverse to the projection operation. Let be the projection of the alphabet onto the alphabet . For any language define its cylindrification to the alphabet as the language
Show that for an automatic language the language is also an automatic language. Propose a procedure for rebuilding an automaton recognizing into an automaton recognizing .
Show that if the homomorphism is prefix-free, then the result of the inverse encoding can be computed by a finite transducer. We assume may be anything if .
Let be a coding scheme from the alphabet into itself, and let be an automatic language over the alphabet . Prove that the language is also automatic:
Thus contains the codes of words from that can be encoded, together with all words from that cannot be encoded.
Let be a coding scheme from the alphabet into itself. Give an example showing that the following language may fail to be automatic:
that is, is the set of words that, under encoding, can map to themselves.
Let be a language homomorphism. Prove that checking the correctness of by means of a finite automaton (by analogy with Problems 523 and 524 on the preceding page) is possible if and only if one of the following two cases holds:
for all ;
for all .
When checking the condition , we assume that the shorter word is padded on the right with the special symbol . For example, to check , the automaton is fed the word
Find an unambiguous homomorphism that is computed by some finite transducer, but for which the inverse encoding cannot be performed by any finite transducer. We assume may be anything if .