Large language models pass logic tests. Present a standard syllogism, ask whether the conclusion follows, and a well-trained model will usually get it right. But vary the surface form of the same logical structure — change the domain, rephrase the premises, introduce unfamiliar names — and performance often drops sharply. Philosophers of logic argue that this reveals something important about what logical reasoning actually is.
The core distinction is between formal validity and pattern-matching. A formally valid inference holds because of its logical form: "All As are Bs; this is an A; therefore this is a B" is valid regardless of what A and B are. A pattern-matcher gets the right answer when the pattern matches something in its training distribution — and fails when it does not. Current evidence suggests that LLMs are sophisticated pattern-matchers that have learned a great deal about the patterns that correlate with correct logical answers, without having the underlying competence. Our guide to validity explains the formal notion. Our argument mapping guide covers how to represent logical structure explicitly.
This matters for how we deploy and assess AI systems. If an AI passes a logic test by pattern-matching rather than formal reasoning, it will fail on structurally identical problems presented in unfamiliar form — exactly the kind of problem that matters most in novel real-world situations. The SEP entry on logic and artificial intelligence ↗ maps the technical landscape.
It also raises a philosophical question: is formal logical reasoning something that can be learned from data at all? Some philosophers argue that grasping validity requires understanding what necessarily follows — a modal notion that goes beyond any finite training set. Others argue that this overstates what human logical competence requires too. The SEP entry on classical logic ↗ provides the formal background. See also our fallacy glossary entry — AI systems are also highly susceptible to producing content that commits informal fallacies.
For learners, the practical takeaway is the same as it has always been: understanding logic means understanding why an inference is valid, not just recognising that it is. That kind of understanding requires engagement with the structure of arguments — which is precisely what our argument mapping tool is designed to support.
Sources & further reading
FAQ