Run the algorithms for and and output their XOR. Closure of computable functions under composition makes computable.
No. Let and let be an r.e. undecidable set. Both are r.e., but is not r.e.; otherwise would be decidable.
No. Context-free languages are not closed under symmetric difference (a standard counterexample is obtained from the two CFLs enforcing respectively equality of the first two and last two blocks in ). Transport such a pair through the bijection ; pointwise addition corresponds exactly to symmetric difference.

Articles by others on the same topic (0)

There are currently no matching articles.