mlsanityData to 24 Nov 2026

LGMT: A Tool for Testing the Logical Reasoning Reliability of LLMs

arXiv 2610.32627 ↗Submitted 23 Oct 2026cs.AIcited by 0

On the map: LLM reasoning → Reasoning benchmarks and evaluation also fits: Reasoning for agents, planning and code

Abstract (arXiv)

Large Language Models (LLMs) increasingly serve as reasoning components in modern software systems, yet a model that answers a logical query correctly can contradict itself when the same problem is restated in an equivalent form. Static benchmarks evaluate queries in isolation and therefore fail to expose such inconsistencies. To address this limitation, we present LGMT, an open-source tool that detects reasoning inconsistencies through metamorphic relations grounded in first-order logic. Given a source test case in premise-conclusion form, LGMT generates logically equivalent follow-up cases and checks whether the model's entailment predictions agree across the pair, without ground-truth labels. The tool provides 20 built-in metamorphic relations, supports custom ones verified by the Z3 theorem prover, and runs from a CLI or a web studio, including an offline mock mode requiring no API key. Across six widely used LLMs on a bundled benchmark of 3,091 metamorphic groups, LGMT reveals inconsistency rates ranging from 20.84% to 29.44%. LGMT is publicly available on GitHub at https://github.com/MaxwelsDonc/lgmt-tool, with a demonstration video at https://youtu.be/gou4opptu1U.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 11 of its 16 references that are in the map. Submitted 23 Oct 2026.

Builds on

11 of 16 references.

Closest ancestors · 7

Same direction, newest first

  1. 2026LGMT: Logic-Grounded Metamorphic Testing for Evaluating the Reasoning Reliability of LLMs12 May
  2. 2025Large Language Models Meet Symbolic Provers for Logical Reasoning Evaluation10 Feb
  3. 2024LogicBench: Towards Systematic Evaluation of Logical Reasoning Ability of Large Language Models23 Apr
  4. 2024LogicAsker: Evaluating and Improving the Logical Reasoning Ability of Large Language Models1 Jan
  5. 2023LINC: A Neurosymbolic Approach for Logical Reasoning by Combining Language Models with First-Order Logic Provers23 Oct
  6. 2023Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoning20 May
  7. 2022FOLIO: Natural Language Reasoning with First-Order Logic2 Sep

Other references · 4

  1. 2020Metamorphic Testing: A New Approach for Generating Next Test Casescited by 85
  2. 2025Hallucination Detection in Large Language Models with Metamorphic Relationscited by 25
  3. 2024Drowzee: Metamorphic Testing for Fact-Conflicting Hallucination Detection in Large Language Modelscited by 15
  4. 2025Metamorphic Testing of Large Language Models for Natural Language Processingcited by 14

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Beyond Correctness: Exposing LLM-generated Logical Flaws in Reasoning via Multi-step Automated Theorem Proving
  2. 2025SATBench: Benchmarking LLMs' Logical Reasoning via Automated Puzzle Generation from SAT Formulas
  3. 2026Bidirectional Empowerment of Metamorphic Testing and Large Language Models: A Systematic Survey
  4. 2025LLMSR@XLLM25: An Empirical Study of LLM for Structural Reasoning
  5. 2026Repairing LLM-Generated Specifications with Deterministic Diagnosis
  6. 2024A Closer Look at Logical Reasoning with LLMs: The Choice of Tool Matters
  7. 2026When Form Changes but Logic Doesn't: Building Logic-invariant LLMs through Logical Structure
  8. 2026QMFOL: Benchmarking Large Language Model Reasoning via Quantifiable Monadic First-Order Logic Test Case Generation