- The paper introduces PC-FOL, a benchmark of 2,044 expert-annotated first-order logic problems that separates linear reasoning from proof by cases and includes natural-language proofs.
- Across leading models, case-based accuracy trails linear reasoning by up to 34 percentage points, while lexical substitutions and reasoning-focused models do not eliminate the gap.
- The paper’s graphical model attributes failures to incorrect case enumeration and compounded stepwise errors, with manual audits finding only 26.03% of case-based outputs fully correct.
This paper introduces PC-FOL, a benchmark of 2,044 expert-annotated first-order logic (FOL) problems that systematically separates linear-reasoning problems from problems requiring proof by cases, and documents a large and consistent performance gap across leading LLMs (2602.20973). Beyond the empirical findings, the authors develop a graphical-model-based theoretical account of why case-based proofs are substantially harder for LLMs to generate correctly.
Motivation and positioning
Existing FOL reasoning datasets—RuleTaker, LogicNLI, ProntoQA, FOLIO, and P-FOLIO—either lack natural language proofs (RuleTaker, LogicNLI, ProntoQA) or lack answers/proofs entirely (FOLIO), and none annotates whether an instance requires a specific proof strategy such as proof by cases. The paper argues this is a significant omission: proof by cases is a widely used technique in discrete mathematics, yet existing benchmarks concentrate on linear reasoning, where conclusions follow from a single sequential inference chain.
The authors categorize natural language FOL problems into two types. Linear-reasoning problems admit a single step-by-step derivation. Proof-by-cases problems contain disjunctive or exclusive-disjunctive premises, so a correct proof must partition the reasoning space into scenarios, analyze each independently (including deriving contradictions in impossible cases), and integrate the outcomes. The paper also subsumes proof by contradiction under proof by cases, since any proof by contradiction can be reformulated as a two-case argument where one case yields a contradiction.
The PC-FOL dataset
PC-FOL contains 2,044 instances: 1,022 balanced between linear-reasoning and proof-by-cases types (511 each per sub-dataset), drawn from verified FOLIO instances and exercises from mathematical logic courses, with at least four premises per instance. All instances carry manually written natural language proofs produced by annotators holding mathematics PhD degrees, cross-checked by two annotators and grammar-checked with both Grammarly and Writefull. A second variant, PC-FOL-Replace, applies lexical substitution replacing nouns with random alphabetic strings (expanding vocabulary from 3,373 to 11,293 words), following the counterfactual design of Cofca, to prevent memorization. In total the dataset spans 582 distinct stories and 11,706 premises.
A notable methodological point: the authors argue reasoning depth is not well-defined for proof-by-cases problems because subcase analysis can produce cyclic dependency graphs whose longest-path length is undefined; they therefore report premise-count distributions instead.
Empirical results
The central finding is a large accuracy gap between problem types across all tested models, under both zero-shot and three-shot prompting:
| Model |
Linear acc. |
Case acc. |
Gap |
| GPT-4o (0-shot) |
85.13% |
51.08% |
−34.05 |
| Llama 3-70B (0-shot) |
80.63% |
46.77% |
−33.86 |
| Qwen3-14B (0-shot) |
87.28% |
63.60% |
−23.68 |
| GPT-4.1 (0-shot) |
89.24% |
69.86% |
−19.38 |
| DeepSeek-V3 (0-shot) |
89.63% |
76.71% |
−12.92 |
| o4-mini (0-shot) |
90.80% |
79.84% |
−10.96 |
Reasoning-oriented models narrow but do not close the gap; DeepSeek-R1 achieves 82.16% on case-based problems versus 91.39% on linear ones. Lexical substitution has only marginal effect (average differences of roughly 1–4 points), suggesting the gap reflects genuine reasoning difficulty rather than memorization, and ablations over seeds and temperatures confirm the gap's stability.
Proof evaluation strengthens the conclusion. Under Pass@k sampling with GPT-4o, linear-reasoning instances reach 100% at k=4, while case-based instances rise only from 46.38% (k=1) to 95.50% (k=5). Manual verification by a professional mathematician is more damning: for case-based problems, 45.79% of outputs have both wrong labels and wrong proofs, and even among the 54.21% with correct labels fewer than half have correct proofs—only 26.03% achieve both correct label and correct proof, versus 80.63% for linear problems. This means label-only metrics substantially overstate case-based competence. Error analysis identifies misapplication of disjunctive statements—particularly misunderstanding exclusive disjunction and failing to enumerate separate scenarios—as the dominant failure mode, alongside premise misapplication and deductive mistakes. Fine-tuning experiments add a cautionary result: training on mixed data can degrade case-based performance (Qwen3-0.6B drops 6.58%), and cross-training shows that linear-proof data actively hurts case-based reasoning while case-based data improves linear performance, suggesting models prioritize easily learnable linear patterns at the expense of deeper case analysis.
Theoretical analysis
To explain the gap, the paper models proofs as probabilistic graphical structures over propositions rather than tokens, under three assumptions: each variable Xi​ denotes a proposition; conditional probabilities represent selecting the next correct proposition from an augmented context; and the single-step correctness probability pF​ is constant across contexts. Under these assumptions, the probability of a fully correct k-step linear proof is pFk​, so dataset-level success is EX∼PD​​[pF∣X∣​]. Calibrating against GPT-4o's measured 80.63% full-proof rate yields pGPT-4o​=92.62% per step, and this estimate matches ground-truth correctness ratios conditioned on proof length.
For case-based problems, a proof is a set of reasoning chains: chains for all impossible cases (each requiring an extra contradiction-finding step) plus a chain for the valid case. The resulting theorem adds a case-identification factor k=40 multiplying k=41 where k=42 counts all steps across all cases. This isolates two error sources: incorrect enumeration or selection of cases (low k=43) and compounded stepwise errors over longer aggregate derivations (larger exponent). These factors align directly with the observed disjunction-misuse failures.
Limitations and open questions
The paper concedes several constraints explicitly. First, the constant-k=44 assumption simplifies away context-dependent variation in per-step accuracy, which real LLMs almost certainly exhibit. Second, the dataset is small relative to pretraining corpora—2,044 instances over 582 stories—which limits its use beyond evaluation; fine-tuning results already show overfitting effects. Third, the Pass@k=45 metric relies on GPT-4o itself as verifier, which the authors acknowledge is unreliable precisely on the hard case-based instances, motivating their manual audit. Open questions include whether the observed gap persists as reasoning models scale, whether k=46 can be estimated independently rather than inferred indirectly, and how to define proof depth rigorously when subcase analysis induces cyclic graphs.
Conclusion
PC-FOL provides the first FOL benchmark with expert-written natural language proofs and explicit linear-versus-case strategy annotations, and it demonstrates—through accuracy gaps exceeding 30 percentage points for some frontier models and manual proof audits showing only ~26% fully correct case-based solutions—that current LLMs' apparent strength on logical reasoning largely reflects linear-chain competence. The accompanying graphical-model framework formalizes why case enumeration and multi-case step compounding degrade reliability. Whether training or architectural interventions can raise case-based reasoning to parity with linear reasoning remains unresolved by this work.