I solved 6 open Erdős problems in 5 days, using @OpenAI GPT-5.6 Sol. I have a math background, but the Codex workflow I used does not require deep mathematical knowledge. Here’s exactly how I approached it, including my prompts 🧵

2 min read Original article ↗

Post

Post

  • user avatar

    I solved 6 open Erdős problems in 5 days, using

    @OpenAI

    GPT-5.6 Sol. I have a math background, but the Codex workflow I used does not require deep mathematical knowledge. Here’s exactly how I approached it, including my prompts 🧵

  • user avatar

    user avatar

    The first secret is in problem selection. I focused on problems mathematicians already cared about, especially ones actively discussed by people like Terence Tao. I then used AI to filter out problems that seemed extremely difficult or were closely tied to major open

    user avatar

    The second secret is in prompt construction. I used a prompt inspired by the one OpenAI used to solve the cycle double cover conjecture: cdn.openai.com/pdf/04d1d1e4-b… The key was to make the prompt define exactly what counts as solving the problem.

    user avatar

    Each prompt: • restates the problem precisely, • specifies what a complete proof or disproof must establish, • lists weaker results that do not count, • identifies problem-specific traps and edge cases, • requires independent adversarial agents to challenge every candidate

    user avatar

    The prompt also tells the system how to manage the search: • start with many independent approaches, • keep several incompatible routes alive, • search aggressively for counterexamples to proposed lemmas, • mark a route as blocked if it only reduces the problem to another

    user avatar

    The third secret is model selection. I used GPT-5.6 Sol with Ultra reasoning effort. Compared with earlier models, it was effective across a much wider range of problems and much better at sustaining long, rigorous mathematical searches.

    user avatar

    I then pasted the prompt into Codex, set it as the goal, and let it run. The reason is that Codex can work for long periods, retain the full research context, and use local files with no further interaction needed. You need to be patient and give it enough time to explore. Some

    user avatar

    The process was a continual research loop: attempt → failure → diagnosis → new approach → proof draft → adversarial audit → repair The model repeatedly abandoned broken ideas, attacked its own arguments, and strengthened the proof until it could no longer find substantive

    user avatar

    I have published the materials here: github.com/ShouqiaoW/erdos The repository includes the proof PDFs, LaTeX source files, and prompts used for each problem. Some problems also include Python files for computational experiments. Two already have Lean formalizations, and

    user avatar

  • user avatar

    bro erdos died and somehow hes still assigning homework

Don't miss what's happening

People on X are the first to know.