r/AskComputerScience • u/Particular_Dig_6495 • Feb 26 '26
3sat "deterministic" solvers remain exponential?
Hello. I am a (french) amateur and uneducated in CompSci, please forgive me for my naïve question.
I spend about a year trying to solve 3 sat problems for fun and found by luck a way to solve
simple problems in a deterministic way (counting variables, applying a rule to each clauses and rectifying the "false/unchecked" clauses by a simple rule) which was very successful with low constraint ratios. Unfortunately not successful with satlib Solvable problems.
I discussed this fact with a probabilistic mathematician friend who explained to me I could imagine "hidden configurations" which made it so my solver would "loop" infinitely.
From what I understand, the more a variable is present in a 3 sat problem, the closest you are from an unsolvable problem, and clauses become more and more interlinked.
I don't have much knowledge in all of this, I feel I understand the logic but I was wondering if there are logic ways to overcome in a determinstic way these hidden loops.
My friend allso told me deterministic algorithms for solving Np-complete problems stay exponential in nature, which I don't really understand.
When I see how my algorithm works, it actually seems to lower the amount of procedures compared to random ( it loops in a smaller amount of variables than random) and so I feel it may not be really exponential. If any one feels to explain to me how that is I would be very grateful :)
Have a good day :)
View all comments
Show parent comment
1
u/Particular_Dig_6495 Mar 03 '26 edited Mar 03 '26
Ok I see what you mean. It makes sense because when I worked on the idea on paper I tested it on small and simple generated samples, what made me tick was that it worked surprisingly well on bigger samples, but I didn't make the link that 3sat solvers are actually converting existing problems in a simpler form to check their outcomes. I found a solution to a masquerade ! ^ I learned so much in that topic ! Thanks :)