Trying to solve these problems for a whole day, but just can't figure out where to start.
let $\Sigma=\{a,b\}$ and $L = \{w \in\Sigma^*: 3\mid\text{length}(w)\}$
Define R ⊆ Σ * × Σ * as follows: (w, w' ) ∈ R if there is a v ∈ Σ * such that: either wv ∈ L and w 'v ∉ L, or wv ∉ L and w 'v ∈ L.
Define $S\subseteq\Sigma^*\times\Sigma^*$ as the complement of $R$. That is $(w, w') \in S$ iff $(w, w')\notin R$.
- State a simple rule for determining if $(w, w') \in S$
- show that $S$ is an equivalence relation
- How many equivalence classes does $S$ have?
Any tips or direction will be much appreciated.