I need to prove that the language L(EVEN) = { M : |L(M)| is even }
is undecidable.
In other words, the language L(EVEN)
is the set of all Turing Machines which accept some language of even cardinality.
Here, M
is the encoding of some Turing Machine which would be passed in as input if there existed a decider for L(EVEN)
.
I've completed other problems similar to this one using Turing Reductions, one example can be seen here:
My issue is that I am unable to come up with some previously proved undecidable language that would be useful to show L <= L(EVEN)
.
The undecidable languages weve covered so far in class are as follows:
- L(emptyset) = { M | M is a TM and |L(M)| = emptyset}
- L(ACC) = { (M, x) | M is a TM, and M accepts input x}
- L(HALT) = { (M, x) | M is a TM, and M halts on input x}
- L(EQ) = { (M1, M2) | M1, M2 are TMs, and L(M1) == L(M2) }
- L(∈ - HALT) = { M | M is a TM, M halts on input ∈ }
I could also possibly use the complements of these languages as decidability is closed under complementation. How could I use one of these undecidable languages to prove that L(EVEN) is also undecidable, using a similar setup to the example problem I included?