Are LLMs Better Formalizers than Solvers on Complex Problems?