The length of algebraic solutions
I compared two ways to prompt a model on its second attempt. Across 400 problems, Qwen3-14B found a shortest valid chain 4.75 percentage points more often when the second prompt reversed the direction.
A worked example from the dataset
- Start
(((c + d) + (c · c)) + c)- Goal
(c + (d + ((c · c) + c)))
The shortest chain takes two steps.
((c + d) + ((c · c) + c))(c + (d + ((c · c) + c)))
Comparison and my contribution
Both strategies used at most two requests per problem. One prompted the model twice from the starting expression to the goal. The other reversed the direction for the second request.
For GPT-OSS 20B, the estimate was +2.03 points across 800 problems, with a 95% interval from −0.62 to +4.69 that includes zero.
I defined the research question and set the comparison criteria. Codex helped with implementation and analysis.
