HyperAI超神経
Back to Headlines

AI Assistant Helps Mathematician Quickly Solve Complex Problem with Markov Chains and Code Optimization

2日前

This morning, I provided an answer to a MathOverflow question using traditional pen-and-paper methods. My solution, however, was not in a closed form, so I decided to simulate it to get a rough numerical approximation. I turned to o3-mini-high, an AI assistant, for some coding help. Interestingly, the AI initially claimed that the quantity I was trying to compute was infinite, which was incorrect. Despite this oversight, it still provided numerical code that gave a decent approximation to one decimal place. Realizing that a more precise answer could be obtained using the theory of Markov chains, I asked o3-mini-high for both a theoretical formula and the corresponding code. The AI was notably helpful, as it not only provided the code but also corrected a basic error in my prompt. I had mistakenly written "max" instead of "min" when specifying a truncation, but the AI caught the mistake and gave me accurate, usable code. With this assistance, I was able to adapt the code to produce a more numerically precise answer to the MathOverflow question. Overall, the interaction with o3-mini-high was quite beneficial. Although the AI made an initial error that I had to correct, it also identified and fixed a mistake I had made. The process, which would have taken me about an hour to complete on my own, was significantly accelerated with the AI's help. From generating the code to testing, modifying, and reporting the results, the entire task was completed in roughly ten minutes. This experience highlights the potential of AI tools to enhance productivity and accuracy in mathematical problem-solving, even when both human and machine errors are involved.

Related Links

<p>This morning I gave an answer to a MathOverflow question using traditional pen-and-paper analysis: <a href="https://mathoverflow.net/a/489533/766" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="">mathoverflow.net/a/489533/766</span><span class="invisible"></span></a> . The answer was not in closed form, so I wanted to simulate it approximately. At this point I asked o3-mini-high for some code for this. Interestingly, it first declared that the quantity I was trying to compute was infinite (it wasn&#39;t), but nevertheless provided numerical code which did give a rough approximation to the quantity I wanted (to one decimal place): <a href="https://chatgpt.com/share/67d71204-3510-800e-8bca-11bfbf53fc3d" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">chatgpt.com/share/67d71204-351</span><span class="invisible">0-800e-8bca-11bfbf53fc3d</span></a> . At that point I figured out that one should use the theory of Markov chains to get a more precise answer and asked o3-mini-high first for a theoretical formula, and then code to compute the result. Interestingly, it was able to correct a basic error in the prompt (I had written max instead of min when writing a truncation), and gave me perfectly good code, which I was able to adapt to then give a more numerically precise answer to the MO question.</p><p>So all in all a pretty good assist from o3; it made a mistake that I corrected, but I also made a mistake that it corrected, and code that would have taken perhaps an hour of my time on my own was generated, tested, modified, and reported in maybe ten minutes.</p>
Unknown Source