Logical reasoning is a critical component of Large Language Models (LLMs), and substantial research efforts in recent years have aimed to enhance their deductive reasoning abilities. However, existing deductive reasoning benchmarks suffer from significant constraints that restrict their utility, i.e., the lack of task complexity, the presence of prior knowledge as a confounder, and superficial error analysis. To address these deficiencies, we introduce JustLogic, a synthetically generated benchmark for evaluating deduction in propositional logic. Within this fragment, JustLogic is (i) complex, capable of generating a diverse range of linguistic patterns, vocabulary, and argument structures, (ii) prior knowledge independent, substantially reducing the advantage of models possessing prior knowledge so that questions are answerable from the given premises alone, and (iii) capable of in-depth error analysis on the heterogeneous effects of proof size and argument form on model accuracy. Our experimental results on JustLogic reveal that (i) several state-of-the-art (SOTA) reasoning LLMs score above the human average on JustLogic, although only DeepSeek R1's margin is significant on the matched items after correction for multiple comparisons, and (ii) the evaluated non-reasoning models score below the human average. Given the small human study (18 participants, seven questions each), these comparisons are indicative. All code and data are available at https://github.com/michaelchen-lab/JustLogic
Figures & tables
Figure 1: Example of a question adapted using JustLogic’s dataset construction algorithm. Note that the statements are intentionally factually inaccurate, which we explain and justify in Section 3.2 . Formal notations are included for illustrative purposes and are not provided to models.
High NL Complexity
High Arg. Complexity
Prior Knowledge Independence
In-Depth Error Analysis
Logical Language
Task Type
CLUTRR
✗
✓
✓
✓
Relational (family-relation graph)
Relation prediction
ProofWriter
✗
✓
✓
∼
Propositional rules
Entailment, closed-world
ProntoQA-OOD
✗
✓
✓
∼
Propositional / simple quantification
Proof generation
LogiQA 2.0
✓
✗
✗
∼
Informal, no formal system
Multiple choice
Table 1: Comparison of JustLogic with other deductive reasoning datasets. The symbol ∼ suggests the feature is present but to a limited extent.
Figure 2: A step-by-step example of how an instance with a proof size of 2 is constructed.
Formal Notation
Sample Expression
No. of Expr.
Basic
x
The claim that x holds true.
16
Negation
¬x
The claim that x does not reflect reality.
15
Conditional
x→y
Once we know that x , we also know that y .
11
Disjunction
x∨y
It is a fact that either x or y .
8
Table 2: Expressions of logical forms.
Natural Language
Argument
Reading Difficulty ↑
Vocab. (Domains)
Structural Scale
Arg. Structures
CLUTRR
6.67
1396 (1)
1 - ∞
∞
ProofWriter
0.96
101 (×)
1 - ∞
∞
LogiQA 2.0
17.10
10004 (>10)
×
×
Table 3: Statistics of dataset complexity. The structural-scale measure is benchmark-specific; JustLogic uses proof size, which counts all argument forms in the proof structure and is distinct from longest inference-chain length.
∣Δ∣↓
Accuracy (%)
Random (%)
CLUTRR
2.0
8.3
6.3
ProofWriter
3.7
37.0
33.3
LogiQA 2.0
27.1
52.1
25.0
FOLIO
6.7
40.0
33.3
Table 4: Results of Prior Knowledge Independence Test. The lower the ∣Δ∣ , the better.
0-shot
Few-shot
CoT
CoT 95% CI
Random Probability
33.3
33.3
33.3
-
Llama3-8B-Instruct
49.8
41.8
57.8
[54.8, 60.8]
Llama3-70B-Instruct
53.1
57.8
64.6
[61.6, 67.4]
GPT-4o-mini
53.0
54.7
51.8
[48.8, 54.8]
Table 5: Model and Human Evaluation Results, with Wilson 95% intervals on the CoT column. Sample sizes differ by model and are given in Section 4 .
Figure 3: How argument form and proof size affect accuracy for various models. At proof size 1 the number of instances per form is uneven — constructive dilemma has one instance per model and hypothetical syllogism two to five — so the left panel should be read qualitatively.
Appendix figures & tables18 assets
Supplementary material from the paper’s appendix.
Appendix
Formal Notation
Example
Modus Ponens
p→qp⊢q
If the sky is blue, then the dog is happy. The sky is blue. Therefore, the dog is happy.
Modus Tollens
p→q¬q⊢¬p
If the sky is blue, then the dog is happy. The dog is not happy. Therefore, the sky is not blue.
Hypothetical Syllogism
p→qq→r⊢p→r
If the sky is blue, then the dog is happy. If the dog is happy, the owner is happy. Therefore, if the sky is blue, the owner is happy.
Disjunctive Syllogism
p∨q¬p⊢q
Either the dog is barking or the dog is asleep. The dog is not barking. Therefore, the dog is asleep.
Appendix
Table 6: An overview of the argument forms in the JustLogic dataset.
Proof size
Longest chain range
Longest chain mean
Chain < proof size (%)
1
1
1.00
0.0
2
2
2.00
0.0
3
2–3
2.51
48.7
4
2–4
3.14
78.3
Appendix
Table 7: How the longest inference chain is distributed within each proof size. There are 1,000 instances at each proof size.
Figure 4: Accuracy against proof size (left) and the longest inference chain (right). Points with fewer than ten instances are omitted.
Benchmark
Sample Text
CLUTRR ( Sinha et al., 2019 )
Lorraine and her brother Kevin went to see a movie. Clarence took his granddaughter Lorraine to the movies and they enjoyed themselves.
ProofWriter ( Tafjord et al., 2020 )
The bald eagle is not rough. The bear does not need the bald eagle. The dog needs the bear. If someone is rough then they chase the bald eagle. If someone needs the bear then they are not blue…
ProntoQA-OOD ( Saparov et al., 2024 )
Lempuses are bitter. Every lempus is a lorpus. Brimpuses are vumpuses. Tumpuses are impuses. Each impus is not hot. Every numpus is a sterpus. Each shumpus is brown. Sterpuses are fast. Every vumpus is not small…
SimpleLogic Zhang et al. (2022)
If messy and hypocritical and lonely, then shiny. If tame, then friendly. If plain and shiny and homely, then nervous. If tender, then hypocritical. If dull and impatient and plain, then tame. If spotless, then perfect. If elegant and tender, then homely…
Appendix
Table 8: Sample texts from various deductive reasoning benchmarks.
Figure 5: Example of a prior knowledge independence test prompt.
∣Δ∣↓
Accuracy (%)
Random (%)
CLUTRR
5.4
11.7
6.3
ProofWriter
8.6
24.7
33.3
LogiQA 2.0
23.3
48.3
25.0
FOLIO
10.0
43.3
33.3
Appendix
Table 9: Results of Prior Knowledge Independence Test using Llama3-70B-Instruct. The lower the ∣Δ∣ , the better.
GPT-4
Llama3-70B-Instruct
CLUTRR
0.7
9.7
ProofWriter
2.7
4.6
LogiQA 2.0
25.4
25.0
FOLIO
9.6
8.1
Appendix
Table 10: Prior Knowledge Independence Test with the equal-proportion instruction removed from the prompt.
Figure 6: How factual accuracy of conclusions affects model accuracy.
Figure 7: Model perplexities of various logical reasoning benchmarks.
Figure 8: Participants’ highest level of education and familiarity with proposition logic.
0-shot
Few-shot
CoT
SC-CoT
ToT
CoT (w/o prop. logic)
Llama3-8B-Instruct
49.8
41.8
57.8
54.6
38.6
54.0
Llama3-70B-Instruct
53.1
57.8
64.6
58.6
60.6
58.3
GPT-4o-mini
53.0
54.7
51.8
50.3
48.6
50.0
GPT-4o
53.8
58.3
65.6
67.1
71.4
67.4
Appendix
Table 11: Accuracy (%) of non-reasoning models on JustLogic under six prompting techniques. The best technique for each model is in bold.
Overall
True
False
Uncertain
Predicted Uncertain (%)
GPT-5.5
88.8
86.9
83.2
95.6
43.0
Gemini 2.5 Flash
82.0
76.5
74.9
93.7
45.4
DeepSeek R1
80.9
78.6
69.3
95.5
43.4
OpenAI o1
72.9
63.0
63.6
95.2
50.0
Appendix
Table 12: Accuracy within each gold class, and the share of items assigned to Uncertain. On the full test set the gold classes are 32.8% True, 32.3% False and 34.9% Uncertain.
Figure 9: How proof size affects accuracy for OpenAI o1 and GPT-5.5.
Accuracy
95% CI
GPT-5.5
87.1
[77.3, 93.1]
DeepSeek R1
85.7
[75.7, 92.1]
Gemini 2.5 Flash
81.4
[70.8, 88.8]
OpenAI o1
72.9
[61.5, 81.9]
Appendix
Table 13: All models re-scored on the common 70-item subset, with Wilson 95% intervals.
JustLogic (proof size)
LogiQA 2.0
FOLIO
1–3
4–5
6–7
8–11
GPT-4o
77.3
63.3
57.3
53.0
64.5
76.3
DeepSeek R1
90.0
83.3
68.0
65.0
87.6
86.2
Appendix
Table 14: Model accuracy across JustLogic proof-size ranges and on LogiQA 2.0 and FOLIO.
Baseline
Length
Conjunction
Length effect
Operator effect
Gemini 2.5 Flash
88.9
89.1
87.1
+0.3
−2.0
DeepSeek R1
87.1
85.7
86.6
−1.4
+0.9
GPT-4o
71.1
70.9
70.9
−0.3
0.0
Llama3-70B
66.0
64.6
65.1
−1.4
+0.6
Appendix
Table 15: Accuracy on 350 matched instances per arm; the length effect is baseline → length and the operator effect is length → conjunction. These instances are generated separately from the test set, so the absolute values are not comparable with Table 5 — only the between-arm differences are meaningful.
Overall
True
False
Uncertain
Query-only TF-IDF + logistic regression
63.2
57.3
65.8
66.5
TF-IDF (paragraph + query)
38.4
41.3
31.0
42.5
Bag-of-words (paragraph + query)
37.0
37.5
31.9
41.4
Lexical-overlap rule, surface text only
71.8
64.2
64.9
85.3
Appendix
Table 16: Shortcut and artifact baselines on the 1,050-item test split.
Table 5
True/False only
Where the rule is wrong
Δ
GPT-5.5
88.8
85.1
83.2
−5.6
Gemini 2.5 Flash
82.0
75.7
73.8
−8.2
DeepSeek R1
80.9
74.2
66.2
−14.6
OpenAI o1
72.9
63.3
68.4
−4.4
Appendix
Table 17: Model accuracy re-scored where the shortcut cannot help. Δ is the change from the headline figure to the “rule is wrong” column.
Large Language Models (LLMs) have made significant progress in reasoning, particularly in deductive reasoning, which is crucial for high-stakes decision-making. As models improve, evaluation benchmarks should evolve to keep pace. However, existing benchmarks lack fine-grained control over logical complexity and struggle to balance semantic diversity with logical consistency. To address these issues, we propose QMFOL, an automated framework for generating monadic first-order logic reasoning tasks with quantifiable and controllable complexity. It constructs formal logical structures using conjunction and disjunction patterns, enabling precise control over reasoning depth, width, label types, and distractors. These structures are then translated into natural language via LLMs, with logical consistency ensured through round-trip verification using an external prover. Based on our framework, we build QMFOLBench, a benchmark comprising 2880 instances with 960 configurations across diverse logical and semantic dimensions. Evaluations on six large reasoning models (LRMs) and two LLMs show that performance degrades and computational overhead increases with rising logical complexity. Models perform better on True-labeled tasks than on False or Unknown ones, and exhibit sensitivity to semantic variation. Overall, QMFOL offers a scalable and reliable approach for constructing deductive reasoning benchmarks with controllable complexity, enabling more precise evaluation of reasoning capabilities in modern language models.
Xinyi Zheng, Ling Shi, Tianlong Yu +3
Huazhong University of Science and Technology Wuhan, China · Nanyang Technological University Singapore, Singapore · Hubei University Wuhan, China +2
Evaluating large language models (LLMs) on natural-language logical reasoning is essential because rule-governed tasks require conclusions to follow strictly from stated premises. Many existing logical-reasoning benchmarks are generated by templating natural-language items from sampled formulas, provide only coarse or unaudited formal annotations, and are now quickly saturated by frontier reasoning models. We present LLMEval-Logic, a Chinese logical reasoning benchmark built from realistic situational scenarios. Its pipeline forward-authors and expert-audits natural-language items together with their reference formalizations, verifies annotated answers with Z3, constructs expert rubrics for natural-to-formal grading, and hardens selected items through a closed-loop adversarial workflow. The benchmark is released in two paired subsets: a 246-item Base subset shipped with 1,400 expert-developed rubric atoms, and a 190-item Hard subset with 938 multi-step sub-questions over closed model spaces. Evaluating 14 frontier LLMs on LLMEval-Logic reveals substantial gaps in current models: the best model reaches only 37.5% Hard Item Accuracy, and even with reference symbols the highest joint Z3+Rubric formalization score among evaluated models reaches only 60.16%. Our benchmark is publicly available at https://github.com/llmeval/LLMEval-Logic.
Ming Zhang, Qiyuan Peng, Yinxi Wei +13
Institute of Trustworthy Embodied Artificial Intelligence, Fudan University · 2Hunyuan Team, Tencent · School of Philosophy, Fudan University
Existing LLM logical-reasoning benchmarks largely focus on object-level inference under fixed predicates and rules, leaving higher-order reasoning over rules and policies underexplored. We introduce HOLogicBench, a 1,379-instance benchmark that systematically evaluates five representative higher-order reasoning operations, with Isabelle/HOL formalizations and proof-verified answers. Beyond answer accuracy, HOLogicBench provides solver-verified reference reasoning paths for each instance, enabling fine-grained evaluation of model-generated reasoning against valid derivations. Across 16 model configurations, average accuracy is 53.86%, with the best configuration reaching 65.99%. Further analyses reveal that LLMs exhibit limited alignment with valid derivations, remain vulnerable to minimal counterfactual perturbations, and display distinct failure patterns across higher-order reasoning types.
Yucheng Wu, Jundong Xu, Mingzhen Ju +4
State Key Laboratory of Multimedia Information Processing, Peking University · School of Computer Science, Peking University · School of Computing, National University of Singapore +3