0

Let Σ2 = {0, 1}, and define Σ = Σ23. Informally, Σ* is the set of triples of the form (a, b, c) where a, b, c are single binary digits. Consider a string s ∈ Σ* : it is a sequence of such triples. Have to “verify” binary addition of numbers in the first two coordinates by checking that it is equal to the third. Let A be the language of such triples such that the concatenation of the first coordinates, as a number, and the concatenation of the second coordinates, as a number, sum to be equal to the third.

For example, if w = (0, 1, 1)(1, 1, 1)(0, 0, 1)(1, 0, 1), this is encoding 01012 + 11002 = 11112, which is false; therefore, w ∉ A. How to prove A is Regular ?

Only thing I could think of is somehow has to prove for Reversal is Regular and then this could be proved, but no further idea.

Desperado
  • 49
  • 7

0 Answers0