Let
Σ3 contains all size 3 columns of 0s and 1s. A string of symbols in Σ3 gives three rows of 0s and 1s. Consider each row to be a binary number and let
B = {w ∈ Σ*3 | the bottom row of w is the sum of the top two rows}.
For example,
Show that B is regular. Working with BR is easier. You may assume the result claimed in Problem 1.31.
Problem 1.31.
For any string w = w1w2 · · ·wn, the reverse of w, written wR, is the string w in reverse order, wn · · ·w2w1. For any language A, let AR = {wR| w ∈ A}. Show that if A is regular, so is AR.