I think that recently it has been a very interesting topic of conversation using LLMs for planning in the context of reasoning or for the case you mentioned for mathematical proving. Specially with the news of the supposed "Q*" that all the sensational news are very hyped about. Overall this is an opinion based on my experience and not a very factual thing based on the idea that these are currently open-ended research problems in the field and there could be a research paper in the future that proves me wrong.
I do not think that Natural Language or at least the methods we currently have are the best solution for solving sophisticated math reasoning or any type of active research problems. I do think that the models are very good intelligent algorithms able to solve math problems. I think that the field of mechanistic interpretability has reached very interesting results that contribute to the idea that LLMs are not just transformers that learn from the biases of the data and predict the next probable token based on previous data. They are able to run a model of the world and extract patterns they can generalize. I recommend the work of Neel Nanda on the topic. The question is then, if these models can be expanded more and more, can we upgrade the models in scaling, better data quality and diversity, to reach the so called "AGI"?
I think that better improvements in reasoning, especially in math, would depend less and less on prompting techniques and more on better fine-tuning of math problems or more broadly on better pretraining techniques. I think that ICL (In Context Learning) can only set you so far, and better models are going to come with better reasoning skills. It has been seen that models, even with very good few-shot learning, aren't capable of solving certain tasks. The concept of using planning like Tree of Thoughts and trying to optimize an answer by generating variants and selecting the best outcome is definitely a not very efficient way of handling the problem becuase of the computational implications and the intrincic limitations that these Models have in understanding.
In the case of LLMs proving a mathematical statement, it is very different than using Natural Language. First, because the language of mathematics must be completely logical, something that lacks in Natural Language. Inside each language, there are a lot of logical incongruencies that are innate in the way we speak. This is often called "sui generis", which means in Latin "in a class by itself", meaning that each language has its own set of rules that makes sense inside them. A mathematical analogy would be that each language has its own set of axioms that are different between them. Mathematics is just another language with its own rules. That's why only relying on the Language Model to analyze and try to create a proof can lead to various logical errors.
In fact, automatic theorem proving programs, like Lean, have already been explored and there is a lot of literature on the topic. There has been a lot of research in combining both Language Models with these programs using Retrieved Augmented Generation (RAG). Like Lean + GPT-4 + Embeddings.
In the context of Theoretical Complexity, I am not very familiar with the field, but am sure the problem is definitely a hard problem because we are not just considering proving an algorithm. We are considering if there is an algorithm that can solve an arbitrary number of proofs. It certainly sounds like an NP-Complete problem because of the complexity, but I also do not know how to prove that. The search problem is one thing, but using a Language Model makes it even a lot harder to determine complexity. I am very skeptical of Language Models for creating new knowledge because it lacks important features in the way humans create knowledge. For example, human interactions are very important. The way that humans can overspecialize in a certain topic for years and encapsulate knowledge for other humans to use for other purposes is a very interesting phenomenon that I think because of the problem of the scaling of language models, it is something we cannot do in a feasible way. We have a single, best performant Language model that is way better in almost all tasks than any of us, but not the best at anything. And there are also a lot of different discussions on whether or not these technologies could ever reach that type of performance in realizing these types of intelligent tasks.
In my opinion, the evolution of AI for scientific research is going to be more focused as helping tools for researchers rather than autonomous agents that can solve very complicated problems. Tools like AlphaFold, AlphaTensor, AlphaDev, GNome, and basically all the other research for scientific AI of DeepMind has more future in my understanding. We still do not have good models for imitating the scientific development that humans can do. Either way, I do not think we should not explore this type of idea because it is a very interesting problem with a lot of important implications for humanity.