ReportGem ReportGem

Academic paper

On the (Intuitionistic) Logic of Next-Token Prediction

Authors: Paul Tarau (University of North Texas)Published: 2026-08-08Paper ID: 2608.08145Category: cs.LOLicense: CC BY 4.0

Abstract

We model in intuitionistic implicational logic the key enabler of today's GenerativeAI: the next-token prediction in autoregressive causal neural networks. In our framework, next-token prediction corresponds to modus ponens, and sequence processing becomes constructive proof extension under the Curry-Howard correspondence. Our Prolog-based specialized theorem provers validate fundamental properties of the neural models, among which relations between commutative vs. non-commutative sequencing and single-token vs. multi-token prediction choices. We derive a neural architecture equivalent to multiplicative RNNs that arises naturally from a proof-theoretic interpretation of next-token prediction as nested intuitionistic implication and position the model relative to transformers, state-space models and recursive LLMs.

This public page contains bibliographic metadata and the author abstract. Use the reader for licensed document access.

Open licensed paper reader