Do LLMs Game Formalization? Evaluating Faithfulness in Logical Reasoning

Kyuhee Kim, Auguste Poiroux, Antoine Bosselut
4/21/2026
cs.AIcs.CLcs.LO

Official code: koreankiwi99/formalization-gaming (3 stars, MIT, last commit 2026-03-09).

Abstract

Formal verification guarantees proof validity but not formalization faithfulness. For natural-language logical reasoning, where models construct axiom systems from scratch without library constraints, this gap between valid proofs and faithful translations is especially acute. We investigate whether frontier models exploit this gap when generating Lean 4 proofs, a behavior we term formalization gaming. We evaluate GPT-5 and DeepSeek-R1 on 303 first-order logic problems (203 from FOLIO, 100 from Multi-LogiEval), comparing unified generation against a two-stage pipeline that separates formalization from proving. Despite compilation rates of 87-99%, we find no evidence of systematic gaming in unified generation: models prefer reporting failure over forcing proofs, even under prompting designed to encourage it. However, unfaithfulness that evades our detection signals may still occur. The two-stage pipeline reveals two distinct modes of unfaithfulness: GPT-5 fabricates axioms during proof generation, a reactive fallback detectable via cross-stage comparison, while DeepSeek-R1 mistranslates premises during formalization, producing internally consistent outputs that evade detection entirely. These findings show that high compilation rates or accuracies should not be equated with faithful reasoning. Code and data are available at https://github.com/koreankiwi99/formalization-gaming.

View on arXivView PDF

Code Implementations(1)

MIT

Code and data for "Do LLMs Game Formalization? Evaluating Faithfulness in Logical Reasoning" (VerifAI-2 Workshop, ICLR 2026)

30Python, Jupyter NotebookSep 18, 20257 months agoMIT

Similar Papers

Cite this paper

@article{kim2026llms,
  title  = {Do LLMs Game Formalization? Evaluating Faithfulness in Logical Reasoning},
  author = {Kyuhee Kim and Auguste Poiroux and Antoine Bosselut},
  year   = {2026},
  eprint = {2604.19459},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.19459v1}
}

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/2604.19459.svg)](https://codeofpaper.com/paper/2604.19459)

Discussion