by rurban · 2y ago · 0 comments
Perplexity gave me the correct and best answers, with links to the relevant arxiv papers.
The new ChatGPT search gave me only cadical as answer, plus 2 irrelevant wrong answers (not multi-threaded), but missed all other multi-threaded solvers. => It's crap.
Neither Google nor ddg gave me any relevant links. Couldn't try kagi, since my trial phase is over.
Looks like the fellow who was invited to the Google funeral was right. Google search is dead.
> The Yogar-CBMC and JCBMC solvers are notable multi-threaded variants of the CBMC (C Bounded Model Checker) framework: ...
Followed by further details and references. The search results themselves look relevant and reasonable to me, but again, outside my area of expertise.
I'm trying to find proofs for strstr implementations, like Morris-Pratt in C. JCBMC is for Java programs.
Good answers would be Z3, yices2, CVC5, Kisssat. Bad answers would be CaDiCaL, minisat2 (the default), and all the other supported single threaded solvers for the dimacs and ipasir interface for the SAT problems (which are much simplier than SMT problems).
Just unrolling the loops and comparing to a small brute force strstr leads to very large models, which would need to run in several minutes, compared to the typical 20s. I'm considering running it on one of my big work machines with a parallel solver. Out of the 220 strstr's I suspect several of them to be wrong. I know that they are wrong, but CBMC gives me counterexamples where they would break exactly, and why. Better than a fuzzer, which just guesses around.