LogicSkills: A Structured Benchmark for Formal Reasoning in Large Language Models

Brian Rabern, Philipp Mondorf, Barbara PlankarXiv 2026

TL;DR

The paper introduces LOGICSKILLS, a new benchmark that dissects LLM logical reasoning into three foundational subskills: formal symbolization, countermodel construction, and validity assessment. It reveals a striking gap in standard instruction-tuned LLMs, which excel at judging whether an argument is valid but completely fail at explicitly constructing countermodels to prove invalidity. Conversely, newer reasoning-tuned models (like OpenAI's o3) demonstrate a highly balanced, systematic mastery across all three tasks.

What Problem Does This Paper Address?

While Large Language Models (LLMs) frequently achieve high scores on logical reasoning benchmarks, these evaluations are typically "behavioral" and composite. They usually only test validity assessment—asking the model to judge whether a conclusion follows from a set of premises.

This creates a major blind spot: a model might guess the right answer by exploiting superficial statistical cues or real-world semantic shortcuts without actually understanding the underlying logical structure. To truly evaluate an LLM's deductive competence, we need to test the core subskills taught in formal logic pedagogy. Specifically, can a model translate natural language into formal logic (formal symbolization) and can it prove an argument is invalid by creating a scenario where the premises are true but the conclusion is false (countermodel construction)?

Methods

The authors developed a fully programmatic, compositional data generator based on the two-variable fragment of first-order logic ($FO^2$ without identity). This specific logic fragment was chosen because it is expressive enough for non-trivial reasoning while remaining completely decidable.

To ensure the benchmark tests pure logical syntax rather than real-world knowledge, the authors implemented a bilingual design. Every problem is generated in both controlled English and a "Carrollian" nonsense language inspired by Lewis Carroll’s Jabberwocky (e.g., "Every rath is mimsy").

English: "A human chased a donkey that chased it."
Carrollian: "A borogove snicker-snacked a tove that snicker-snacked it."

Crucially, the pipeline integrates the Z3 SMT solver to verify the semantic properties of every instance, ensuring that all valid arguments are strictly entailed and that distractor conclusions are genuinely non-trivial and invalid. Furthermore, evaluation is entirely semantic: symbolizations are checked for logical equivalence via Z3, and countermodels are verified by checking if they mathematically satisfy the premises while falsifying the conclusion.

Datasets

The paper introduces the LOGICSKILLS benchmark. The main evaluation set consists of 1,500 fixed problem instances:

  • 600 Formal Symbolization problems (300 English, 300 Carrollian)
  • 600 Validity Assessment problems (300 English, 300 Carrollian)
  • 300 Countermodel Construction problems (Language-neutral, using a fixed small domain of {0, 1, 2})

For parameter-efficient fine-tuning (PEFT) experiments, the authors also generated an expanded training set of over 200k unique problem instances.

Key Insights and Ideas

  • The Validity-Countermodel Dissociation: Standard instruction-tuned models show a massive performance split. They are highly accurate at classifying validity but completely blind when asked to generate a simple countermodel. This strongly implies that standard LLMs achieve high accuracy on composite logic tasks without actually building or verifying model-theoretic representations.
  • A Shift in Reasoning-Tuned Models: Newer models optimized for chain-of-thought reasoning (like OpenAI's o3 and Qwen3-32B) don't just get higher scores; they exhibit a fundamentally different, more systematic skill profile that bridges the gap between validity judgment and countermodel generation.
  • Syntax Over Semantics: Performance on the Carrollian nonsense language was nearly identical to English. This is a positive finding, indicating that LLMs are genuinely processing the syntactic structure of the arguments rather than relying on real-world semantic heuristics.
  • The Failure of Subskill Transfer: Fine-tuning a smaller model on symbolization or countermodel data drastically improved its performance on those specific tasks but failed to transfer to validity assessment. The model learned the subskills in isolation but could not compose them into a functional reasoning workflow.

Key Results

The stark contrast between standard instruction-tuned models and reasoning-tuned models is highlighted in the evaluation results:

Figure 2: Skill profile across models (accuracy %; n=300 per task/language). Grouped bars show Validity, Sym- bolization, and Countermodel. Most models score highly on validity but lag on subskills, especially countermodels.
  • Standard LLMs: GPT-4o achieved a strong 86.3% on validity assessment but plummeted to just 10.0% on countermodel construction. Similarly, Gemini-2.5-Flash reached 95.2% on validity but only 13.3% on countermodels.
  • Reasoning-Tuned LLMs: OpenAI's o3 achieved near-perfection across the board: 98.8% on validity, 98.7% on countermodel construction, and 95.3% on formal symbolization.
  • Fine-Tuning (PEFT): Fine-tuning Llama-3.2-3B on 100k symbolization examples boosted its task accuracy from 8.3% to 95.0%. However, as shown in the fine-tuning results, joint training on both subskills actually caused validity accuracy to drop by 15.3% because the model drifted toward the training tasks' response formats instead of integrating them into a composite workflow.
Fine-tuning results showing large in-task gains but negative transfer to validity assessment.

Limitations and Future Work

  • Restricted Logical Scope: The benchmark is strictly limited to the two-variable fragment of first-order logic ($FO^2$) without identity. It excludes richer logical frameworks like full first-order logic, identity relations, or modal operators.
  • Linguistic Simplicity: By relying on a controlled fragment of English and synthetic nonsense words, the benchmark isolates logical structure but misses the pragmatic and linguistic complexities present in naturally occurring language.
  • Behavior vs. Mechanism: While LOGICSKILLS successfully exposes behavioral gaps, it cannot explain how reasoning-tuned models achieve their balanced performance. Whether these models are genuinely approximating model-theoretic logic or utilizing sophisticated, equally opaque shortcuts remains an open question for mechanistic interpretability.

Summary updated

BibTeX
@misc{rabern2026logicskills,
  author = {Brian Rabern and Philipp Mondorf and Barbara Plank},
  title = {{LogicSkills: A Structured Benchmark for Formal Reasoning in Large Language Models}},
  year = {2026},
  eprint = {2602.06533},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.06533},
}
Figure