Large language models (LLMs) have recently shown strong performance on mathematical benchmarks. At the same time, they are prone to hallucination and sycophancy, often providing convincing but flawed proofs for incorrect mathematical statements provided by users. This significantly limits the applicability of LLMs in theorem proving, as verification of these flawed proofs must be done manually by expert mathematicians. However, existing benchmarks that measure sycophancy in mathematics are limited: they focus solely on final-answer problems, rely on very simple and often contaminated datasets, and construct benchmark samples using synthetic modifications that create ill-posed questions rather than well-posed questions that are demonstrably false. To address these issues, we introduce BrokenMath, the first benchmark for evaluating sycophantic behavior in LLMs within the context of natural language theorem proving. BrokenMath is built from advanced 2025 competition problems, which are perturbed with an LLM to produce false statements and subsequently refined through expert review. Using an LLM-as-a-judge framework, we evaluate state-of-the-art LLMs and agentic systems and find that sycophancy is widespread, with the best model, GPT-5, producing sycophantic answers 29% of the time. We further investigate several mitigation strategies, including test-time interventions and supervised fine-tuning on curated sycophantic examples. These approaches substantially reduce, but do not eliminate, sycophantic behavior.
Figures & tables
Figure 2: Results on BrokenMath . Lower is better.
Figure 3: Examples of perturbations in BrokenMath . The perturbations are visible in red, with the original text struck through.
Model
Sycophancy ( ↓ )
Utility ( ↑ )
GPT-5
28.5±4.0
58.3±4.4
Gemini-3-Pro
33.1±4.2
64.7±4.3
GPT-OSS-120B
33.5±4.2
50.4±4.5
Gemini-2.5-Pro
37.1±4.3
48.5±4.5
Grok-4-Fast
39.6±4.4
51.7±4.5
Grok-4
43.0±4.4
47.1±4.5
Table 1: Main results on BrokenMath .
Model
All
Solved
Unsolved
GPT-5
38.4±5.5
20.8±7.9
47.2±6.9
Grok-4-Fast
42.3±5.5
34.0±9.3
46.3±6.8
GPT-OSS-120B
42.8±5.5
41.1±10.4
43.4±6.6
Grok-4
44.0±5.9
41.0±12.6
44.8±6.7
Gemini-3-Pro
44.0±5.6
32.2±7.6
54.8±7.7
Gemini-2.5-Pro
49.1±5.6
33.3±9.6
55.9±6.7
Table 2: Sycophancy for proof-based problems split by difficulty.
Figure 4: Sycophancy rate on final-answer and proof-style questions.
Figure 6Figure 7
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
Judge
pass@1
maj@5
Cost
GPT-5-mini (medium)
92.8
95.0
2.67
R1-Qwen3-8B
91.8
92.1
0.41
Qwen3-4B
91.1
91.7
N/A
GPT-5-mini (minimal)
89.6
90.8
1.31
GPT-4.1-mini
89.3
91.7
1.79
GPT-5-mini (low)
88.6
88.8
1.38
Appendix
Table 3: LLMs as sycophantic detectors. Cost for running the model on the entire subset is given in USD.
Judge / Solver
GPT-5
o4-mini
Grok-4-Fast
Grok-4
GPT-5-mini
28.5±4.0
46.3±4.5
39.6±4.4
43.0±4.4
Grok-4-Fast
28.7±4.0
46.1±4.5
40.0±4.4
43.3±4.4
Bias
+0.2
−0.2
+0.4
+0.3
Appendix
Table 4: LLM-as-a-judge bias analysis between GPT-5-mini and Grok-4-Fast .
Figure 9: Confusion matrix for the classification validation of GPT-5-mini .
Figure 10: Sycophancy rate, broken down by topic (Algebra, Combinatorics, Geometry, Number Theory).
Figure 11: Model utility, broken down by topic (Algebra, Combinatorics, Geometry, Number Theory).
Figure 12: Model behavior on the sycophantically rephrased problems.
Figure 13: Sycophancy rate on Qwen3-4B using different mitigation prompts, compared to no mitigation.
Figure 14: Confidence distribution statistics for the black-box method. The top row shows a KDE for the confidence distribution of each model. The bottom row shows the ROC curve when using the confidence as a linear predictor, with the AUC reported below each plot.
Figure 15: Confidence distribution statistics for the white-box method on Qwen3-4B . The top row shows a KDE of the distribution of the 3 metrics. The bottom row shows the ROC curve when using the metric as a linear predictor, with the AUC reported below each plot.
Competition
Description
Problems
Source
Final-Answer (MathArena)
AIME 2025
Answer-based competition, serving as a qualifier for the USAMO
30
Public
BRUMO 2025
Answer-based competition hosted by Brown University
30
Public
CMIMC 2025
Answer-based competition hosted by Carnegie Mellon University
40
Public
HMMT February 2025
Answer-based competition hosted by Harvard and MIT
30
Public
SMT 2025
Answer-based competition hosted by Stanford
53
Public
Appendix
Table 5: A list of competition sources for the problems in BrokenMath .
Hyperparameter
Value
No. Epochs
2
Per-device Batch Size
1
Gradient Accumulation Batch Size
256
Optimizer
AdamW
Learning Rate
10−5
Cosine LR Scheduler Warmup
0.03
Appendix
Table 6: Hyperparameters used for sycophantic alignment