-- Apr 18 In-Class Exercise Thread
In order to prove that L is NP-Complete we can show that 3SAT, which is also NP-Complete can be reduced to L.
Considering a single clause in 3SAT with 3 literals (v1, v2, v3), We create a new literal that has value v1 OR v2. We do this for each v1,v2 pair = > let us call this new literal vi where i is the index of the clause
We now create a new literal with value = False(let's call this F)
Now we can re-write every clause of the 3-SAT problem with the literals (vi, v3, F)
Hence, 3-SAT is reduces to L
In order to prove that L is NP-Complete we can show that 3SAT, which is also NP-Complete can be reduced to L.
Considering a single clause in 3SAT with 3 literals (v1, v2, v3), We create a new literal that has value v1 OR v2. We do this for each v1,v2 pair = > let us call this new literal vi where i is the index of the clause
We now create a new literal with value = False(let's call this F)
Now we can re-write every clause of the 3-SAT problem with the literals (vi, v3, F)
Hence, 3-SAT is reduces to L