CoForest: A Conversational Harness for Mathematical Research with Recursive Solving and Persistent Memory
- 1. Shanghai AI Laboratory
- 2. KTH Royal Institute of Technology
- 3. Shanghai Jiao Tong University
- 4. MMLab, The Chinese University of Hong Kong
- 5. Great Bay University
Description
Mathematical research requires reasoning at scale, cumulative management of partial progress, and flexible collaboration with human experts. We present CoForest, a conversational harness that supports these requirements through a persistent research workspace. An outer dialogue loop directs research across turns, while a recursive solving module conducts the investigation within each turn. Every subproblem invokes the complete solving procedure, allowing reasoning effort to expand through local iteration and further decomposition. Global memory combines a lemma library, a problem-decomposition forest, and negative knowledge from expert rejections. Useful intermediate results remain available even when their originating problems are unresolved, enabling progress to accumulate across branches and changes of objective. Researchers provide open-ended feedback in natural language; the system interprets its actionable content and routes it to one or more execution paths for rejecting directions, proposing subproblems, continuing unresolved nodes, or pursuing new objectives with inherited memory. A sustained human–agent investigation with CoForest led to a resolution of the codimension-one case of Ghys’s conjecture on holomorphic Anosov systems, including complex dimension three. Early recursive exploration produced complementary analytic insights that the mathematician organized into a subsequent proof strategy. The system then developed and integrated the required arguments under that guidance, and the mathematical author independently verified the resulting proof. Using Intern-S2-Math, the investigation spanned four research rounds, 389 problem nodes, and approximately 861 million tokens. This investigation demonstrates the potential of CoForest to support research-level mathematics through scalable recursive reasoning, persistent memory, and flexible collaboration with human experts.