give example of 2 languages A and B such that A and B are undecidable but there concatenation A.B is decidable.
Remember to vote up questions/answers you find interesting or helpful (requires 15 reputation points)
|
1
|
||||||||||||||
|
closed as too localized by Andreas Blass, Andres Caicedo, Mark Sapir, Henry Cohn, Benjamin Steinberg Apr 30 2012 at 2:33 |
|
4
|
Let $A$ contain all even-length strings, plus an undecidable collection of odd-length strings. Let $B$ contain all odd-length strings, plus the empty string, plus an undecidable collection of even-length strings. So each is undecidable, but the concatenation $AB$ consists of all strings and hence is decidable. |
||||||
|

