What Was Said, Not What Was 'Thought': Type-6 Logic for CoT Verification
cs.LO, cs.AI, cs.CL
Submitted: 2026-09-29
Updated: 2026-09-29
Code: https://github.com/adewynter/type6
License: http://creativecommons.org/licenses/by-nc-nd/4.0/
The gist: We introduce Type-6 logic, a variant of dynamic epistemic logic augmented with two operators (uncertainty and recurrence), designed to model the inferential dynamics of contemporary large language
Terminology
Abstract
We introduce Type-6 logic, a variant of dynamic epistemic logic augmented with two operators (uncertainty and recurrence), designed to model the inferential dynamics of contemporary large language model (LLM) chain-of-thought (CoT) reasoning. Type-6 accounts for common LLM reasoning pathologies such as unlicensed revision, enthymemes, loopbacks, and unverifiable/incorrect claims. We propose a verifier based on Type-6 logic that builds a graph out the trace, and checks it against Type-6's axioms and inference rules. We evaluate our framework on LLM-generated CoTs four splits spanning formal and informal reasoning. Our verifier detects structurally unsound reasoning steps that surface-level heuristics miss, and allows for easy visualisation of the model's reasoning process. In our corpus, our verifier shows that derived contradiction is the most common hard-fail category in CoT, and that only about 3% of the propositions of a trace have impact on the final derivation. Ablation studies show that other verification methods (LLMs-as-judges, other neurosymbolic approaches, etc.) cannot be considered interchangeable: for example, agreement between LLMs-as-judges and LINC is κ about 0.034, and this persists within a method across underlying models. Type-6, however, is the most agreed-with method amongst the ones we tested. We prove our verifier runs on average-case linear time; and release our logic specification and artefacts.
Sources
- Measuring Faithfulness in Chain-of-Thought Reasoning
- Solving math word problems with process- and outcome-based feedback
- Qwen3 Technical Report
- Reasoning Models Struggle to Control their Chains of Thought
Related papers
- Formalizing Flag Algebras in Lean
- An Information-Flow Perspective on Explainability Requirements: Specification and Verification
- A programming language combining quantum and classical control
- Causal Past Logic for Runtime Verification of Distributed LLM Agent Workflows
- ADVENT: LLM-Driven Automatic Predicate Invention for ILP
- Encoder-Decoder Transformers: Logical Characterizations and Periodicity