On the logical skills of large language models: evaluations using arbitrarily complex first-order logic problems

Shokhrukh Ibragimov, Arnulf Jentzen, Benno Kuckuck
2/20/2025
1 citation
cs.LGcs.CL

Official code: bkuckuck/logical-skills-of-llms (3 stars, Python, MIT, last commit 2025-02-20).

Abstract

We present a method of generating first-order logic statements whose complexity can be controlled along multiple dimensions. We use this method to automatically create several datasets consisting of questions asking for the truth or falsity of first-order logic statements in Zermelo-Fraenkel set theory.

Show full abstract

While the resolution of these questions does not require any knowledge beyond basic notation of first-order logic and set theory, it does require a degree of planning and logical reasoning, which can be controlled up to arbitrarily high difficulty by the complexity of the generated statements. Furthermore, we do extensive evaluations of the performance of various large language models, including recent models such as DeepSeek-R1 and OpenAI's o3-mini, on these datasets. All of the datasets along with the code used for generating them, as well as all data from the evaluations is publicly available at https://github.com/bkuckuck/logical-skills-of-llms.

View on arXivView PDF

Code Implementations(1)

MIT

Companion repository to the research paper "On the logical skills of large language models: evaluations using arbitrarily complex first-order logic problems"

30Python, ShellFeb 20, 20251 years agoMIT

Similar Papers

Cite this paper

@article{ibragimov2025logical,
  title  = {On the logical skills of large language models: evaluations using arbitrarily complex first-order logic problems},
  author = {Shokhrukh Ibragimov and Arnulf Jentzen and Benno Kuckuck},
  year   = {2025},
  eprint = {2502.14180},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.14180v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.14180.svg)](https://codeofpaper.com/paper/2502.14180)

Discussion