I have thought of an algorithm to solve 3SAT problem via the below approach :
1) Take all the clauses in the cnf equation who have at least one variable in common. Find all such combinations and put these into a list named “Intersection”. The list “Intersection” now contains the intersecting clauses groups.
2) Next, we convert all the clauses in a particular group of “Intersection” to DNF. Since there would be at least one variable in common I do not think it is going to be in exponential time.
3) Next we convert all the obtained DNFs obtained to a single DNF as all of them are separated with an AND gate in original equation.
4) If there is a single clause in the obtained DNF then the equation is satisfiable or else the equation is unsatisfiable. This is because the non-intersecting clauses(the clauses that do not have any variable in common) are not going to affect the overall equation and finally if we “AND” those with the obtained DNF , it will only multiply and add variables to existing clauses(if any).
My question is:
What is the runtime of this algorithm and does this prove anything related to P=NP as I think this algorithm is quite efficient. I have been let down by others on my previous algorithms so this time please take time to analyze the algorithm as it is my hard work.