1 Logic
1.1 MSO Workout
Provide MSO transductions realizing the following functions:
reverse
sort
swap-first-last
duplicate
2 Atomisation and Deatomisation
2.1 Deatomisation of Bimachines
Let \(\mathbb{A}\) be an infinite set, and \(\mathcal{S}\) be the set of permutations of \(\mathbb{A}\). We define atomic bimachines with input alphabet \((\Sigma \cup \mathbb{A})\) and output alphabet \((\Gamma \cup \mathbb{A})\) via the existence of a finite monoid \(M\) and a morphism \(\mu \colon (\Sigma \cup \mathbb{A})^* \to M\) such that \(\mu(a) = 1_M\) for all \(a \in \mathbb{A}\), together with a production function \(\pi \colon M \times (\Sigma \cup \mathbb{A}) \times M \to (\Gamma \cup \mathbb{A})^*\), satisfying the following equivariance property (where \(\sigma \in \mathcal{S}\) is lifted from permutations over \(\mathbb{A}\) to an action over \((\Gamma \cup \mathbb{A})^*\) and \((\Sigma \cup \mathbb{A})^*\) in the natural way):
\[ \forall a \in \mathbb{A}, \forall \sigma \in \mathcal{S}, \pi (m, \sigma(a), n) = \sigma(\pi(m,a,n)) \quad . \]
An atom coding function is a function \(c \colon \mathbb{A}\hookrightarrow\langle 1^* \rangle\), i.e., that maps every atom to a unique word of the form \(\langle 1^k \rangle\) for some \(k \in \mathbb{N}\). We say that a function \(f \colon (\mathbb{A}\cup \Sigma)^* \to (\mathbb{A}\cup \Gamma)^*\) is deatomisable if there exists a rational function \(f^\dagger \colon (\Sigma \cup \{ \langle, \rangle, 1 \})^* to (\Gamma \cup \{ \langle, \rangle, 1 \})^*\) such that for all atomic codes \(c \colon \mathbb{A}\hookrightarrow\langle 1^* \rangle\), the following commutes
\[ c \circ f = f^\dagger \circ c \quad . \]
Prove that the following are equivalent:
- A function \(f\) is deatomisable,
- It is realisable by an atomic bimachine.
2.2 Atomic Bimachines
Prove that the following are not computable by atomic bimachines.
- The reverse function.
- The duplicate function.
- The unzip function.
Conclude that those cannot be computed by rational functions.
3 Pumping Lemmas
3.1 Pumping Bimachines
Let \(f\) be computed by a bimachine. We extend the function \(f\) by considering \(f(w_1 [w] w_2)\) to be the word produced by the bimachine when reading \(w\), under the context \(w_1\) and \(w_2\).
- Prove that \(f(w_1 w [w]^{X \times n!} w w_2)\) is of the form \(\alpha \beta^X \gamma\) for some \(\alpha, \beta, \gamma\), where \(n\) is the number of states of the automata in the bimachine.
- Conclude that reverse, duplicate and unzip are not computable by bimachines.
3.2 Pumping Sweeping Transducers
This exercise is based on the notion of sweeping transducers and their study done by Baschenis et al. (2015) and Baschenis et al. (2016).
Let \(f\) be computed by a
sweeping transducer. Provide an appropriate pumping lemma for \(f\). Use this pumping argument to prove
that map-reverse
is not computable using a sweeping
transducer.
3.3 Pumping for sweeping 2DFTs
Provide a pumping lemma for sweeping 2DFTs. Conclude that
map-reverse
is not computable using a sweeping
transducer.
3.4 Sweeping Minimization
We define the sweeping number of a sweeping transducer the maximal number of sweeps it performs on any input words.
- Prove that the sweeping number of a sweeping transducer is finite
- Does there exist an algorithm that, given a transducer \(T\), computes its sweeping number?
- Describe an algorithm that, given a sweeping transducer \(T\) and a number \(k\) with the promise that \(T\) can be realized by a sweeping transducer of sweeping number \(k\), constructs a such a transducer.
- Given a sweeping transducer \(T\) and a number \(k\), is it decidable whether \(T\) is realized by a sweeping transducer with sweeping number at most \(k\)?
Hint: Use effective continuity
Recall that if a function \(f\) is computed by a 2DFT, then it is continuous, and even more: effectively continuous.
4 Well quasi orderings
4.1 Well-Quasi-Ordered Image
Let \(f\) be a function from \(\Sigma^*\) to \(\Gamma^*\). We say that \(f\) generates a well-quasi-order whenever \(f(\Sigma^*)\) is well-quasi-ordered for the factor relation. We say that \(f\) generates a \(k\)-well-quasi-order whenever \(f(\Sigma^*)\) endowed (freely) with \(k\) distinguishing colours (unary predicates) is a well-quasi-order. Finally, we say that \(f\) generates an \(\infty\)-well-quasi-order whenever it generates a \(k\)-well-quasi-order for all \(k \in \mathbb{N}\).
- Is it decidable whether the image of \(f\) is a well-quasi-ordering when \(f\) is computedb y a 2DFT?
- What about a bimachine? What about a Mealy Machine?
- Prove that it is decidable whether \(f\) generates an \(\infty\)-well-quasi-ordering.