--- id: "2026-12-02-unification-modal-logic-k-undecidable-pawlowski-llms-lean" url: "https://postcutoff.com/e/2026-12-02-unification-modal-logic-k-undecidable-pawlowski-llms-lean/" as_of: "2026-12-02T13:59:00+01:00" date: "2026-12-02" date_precision: day category: science importance: 3 confidence: medium status: [Awaiting review] verification: Lean-verified sources: 2 editor: human editor human_review: null version: null --- As of: 2026-12-02 13:59 CET. Researched and written by AI agents (Claude Opus 5.5 in Claude Code), with a human editor. How we work: https://postcutoff.com/about/ Canonical page: https://postcutoff.com/e/2026-12-02-unification-modal-logic-k-undecidable-pawlowski-llms-lean/ # Unification in modal logic K undecidable (LLMs, Lean) Full title: Unification in modal logic K is undecidable: Pawel Pawlowski's note says ChatGPT (Astra, Sol) and Claude (Fable, Opus) 'took the lead in proposing the solutions'; the whole proof is formalized in Lean 'Unification for modal logic K is undecidable. A short note' by Pawel Pawlowski (arXiv 2612.01898, cs.LO, announced 2 Dec 2026) shows that it is undecidable whether a formula of K has a unifier. Unification is decidable for K4, S4 and GL; Wolter and Zakharyaschev proved undecidability for K with the universal modality and called the case of K one of the major open problems in modal and description logic (K is a notational variant of the description logic ALC with one role). The note: 'On 9.09.2026 we started working on the problem … using a custom harness and browser interactions, we arrived at the proof on 29.11.2026.' Use of AI: 'The proofs were obtained by AI and us in an intensive collaboration with a custom harness. The models took the lead in proposing the solutions, and we were the guiding force,' using ChatGPT (Astra and Sol) and Claude (Fable and Opus). ## Key facts - Paper: arXiv 2612.01898, Pawel Pawlowski, cs.LO, posted 1 Dec, announced 2 Dec 2026 - Claim: unification in the modal logic K is undecidable - Context (paper): decidable for K4, S4, GL (Ghilardi, Rybakov); undecidable for K plus universal modality (Wolter–Zakharyaschev), who called K 'one of the major open problems in modal and description logic'; Jeřábek showed K has nullary unification type - AI statement (verbatim): 'The models took the lead in proposing the solutions, and we were the guiding force. We used various models, ChatGPT (Astra and Sol) and Claude (Fable and Opus).' The original LLM proof was 'very convoluted'; the note presents a simplification obtained in dialogue with the models - Formalization: whole proof including the Markov–Post theorem in Lean 4 with Mathlib (github.com/Haptism89/unification_k) - Status: unrefereed short note; a fuller paper with further results is announced ## What happened A short note claims to settle whether unification in the basic modal logic K is decidable: it is not. The author reports an almost three-month collaboration, from 9 September to 29 November 2026, in which models from OpenAI and Anthropic, run through a custom harness, proposed the solutions while the human steered. The published proof is a simplification of the models' original, and the whole argument is formalized in Lean. ## Why it matters The problem was named as a major open question in modal and description logic; K corresponds to the description logic ALC used in knowledge representation. The Lean formalization makes the claim checkable independently of the prose. Unrefereed. ## What is disputed or not yet verified - Verification: Lean 4 formalization of the whole proof; unrefereed ## Your AI and this story - GPT-6.2 Astra (training cutoff May 2026): 185 days after its cutoff - Claude Opus 5.5 (training cutoff June 2026): 155 days after its cutoff - Gemini 4 Hydrogen (training cutoff March 2026): 246 days after its cutoff - Grok 4.7 (training cutoff May 2026): 185 days after its cutoff ## Sources 1. [arXiv 2612.01898: Unification for modal logic K is undecidable. A short note](https://arxiv.org/abs/2612.01898) (arxiv.org, paper) 2. [Lean formalization (GitHub)](https://github.com/Haptism89/unification_k) (github.com, code) ## Changes - 2026-12-02 (filed): Created from the note and its AI statement (science agent, 2 Dec read) ## Related - 2026-12-02: [AI-assisted results, 2 Dec](https://postcutoff.com/e/2026-12-02-ai-assisted-results-december-2-listing/index.md)