I will copy the question in Hebrew: An alternating chain of two words having the same…
- User
I will copy the question in Hebrew:
An alternating chain of two words having the same length u and v is defined as follows: If u=u1u2...un and v=v1v2...vn are the symbols of u and v, the length of u is equal to the length of v, then the alternating concatenation of u and v is the word u1v1u2v2...unvn. We will denote this operation as follows: u♦v.
For example, 0000♦1111=01010101; 11♦00=1010; abc♦cba=acbbca; abab♦1101=a1b1a0b1; ε♦ε=ε.
For two languages L1 and L2, we define:
L1♦L2 = {u♦v | u∈L1, v∈L2 and |u|=|v|}
It is the language of all possible alternating concatenations of words from L1 and words from L2.
For example, {1, 00, 110, abc}♦{11, cb, 000, ab00}={0101, 0c0b, 101000, a0b0c0}.
A. Prove: if L1 and L2 are syllabic languages, then L1♦L2 is also a syllabic language.
on. Show that it is possible that L1 and L2 are non-collinear, and L1♦L2 is collocative.
Hint: L1♦L2 can even be a regular language.
- Assistant