Beyond First-Order Logic for Semantic Representation

29 concepts26 papers1 proposal

To build systems that truly understand natural language, computational linguists have long sought to map sentences into formal logic. If we can translate human language into mathematical formulas, automated theorem provers can execute exact, verifiable reasoning. For decades, First-Order Logic (FOL) served as the standard target representation. However, FOL possesses a fundamental mathematical limitation: it cannot express generalized quantifiers like "most," "few," or "more than half."

As Robert C. Moore argued in Problems in Logical Form, standard FOL restricts us to universal ($\forall$) and existential ($\exists$) operators. We can say "all birds fly" or "there exists a bird that flies," but we cannot express "most birds fly." To evaluate "most," a system must compare the size of two sets: the set of flying birds and the set of all birds. Because FOL only allows quantification over individual entities—not over sets or predicates—Michael Hahn et al. note in Henkin semantics for reasoning with natural language that generalized quantifiers are mathematically proven to be undefinable within standard FOL. This creates a severe semantic representation gap when processing everyday human language.

Linguistic Nuances That Break the Mold

The inability to handle quantifiers is only the first crack in the first-order paradigm. Natural language is rich with constructs that resist flat, variable-based first-order structures:

When forced into an FOL framework, these nuances are either stripped away or mangled into ad-hoc approximations that cause reasoning engines to fail. As Dale Miller 0001 et al. observed in Some Uses of Higher-Order Logic in Computational Linguistics, natural language inherently relies on nested functions and sets of sets, demanding a more expressive formal language.

Moving Up to Higher-Order Logic and Type Theory

To bridge this gap, researchers shifted toward Higher-Order Logic (HOL) and Type Theory. In HOL, variables can range not just over individuals, but over predicates and functions themselves. This allows "most" to be elegantly modeled as a higher-order relation between two properties.

Modern natural language processing pipelines achieve this by pairing wide-coverage syntactic parsers, like Combinatory Categorial Grammar (CCG), with semantic composition engines. For instance, the ccg2lambda system developed by Pascual Martínez-Gómez et al. in ccg2lambda: A Compositional Semantics System maps semantic templates directly onto CCG parse trees to output rigorous HOL formulas.

Once a sentence is converted into HOL, how do we reason with it? Traditional first-order theorem provers cannot process these formulas. Instead, researchers have turned to powerful interactive proof assistants like Coq. By mapping natural language syntax trees directly to high-order logical propositions in Coq, Jean-Philippe Bernardy et al. demonstrated in A Type-Theoretical system for the FraCaS test suite: Grammatical Framework meets Coq a massive leap in accuracy on semantic benchmarks, proving that higher-order representations can successfully capture complex linguistic phenomena like plurals and comparative adjectives.

Taming the Computational Complexity

If higher-order logic is so expressive, why did the field ever rely on FOL? The answer lies in computational tractability. Standard HOL is notoriously difficult to automate; it lacks the clean, decidable properties that make first-order theorem provers fast and reliable.

To resolve this tension, the research community has developed two primary strategies:

  1. Leveraging Advanced Proof Assistants: Koji Mineshima et al. challenged the long-held belief that HOL is too inefficient for practical applications. In Higher-order logical inference with compositional semantics, the authors showed that a well-engineered HOL system using the Coq proof assistant can perform sophisticated reasoning faster and more accurately than state-of-the-art FOL approximations.
  2. Compiling Down via Henkin Semantics: Another elegant solution is to keep the expressive syntax of HOL during parsing but evaluate it using Henkin semantics (Michael Hahn et al.). Henkin semantics relaxes the mathematical requirements of standard HOL by restricting the universe of predicates to only those that can be explicitly defined by a formula. This clever mathematical trade-off allows higher-order expressions to be translated into standard FOL, meaning researchers can use highly optimized, off-the-shelf first-order theorem provers to handle complex inferences like intensionality and generalized quantifiers.

Alternative Paths to Semantic Coverage

Beyond the strict HOL-to-proof-assistant pipeline, other frameworks seek to bypass FOL's limitations through alternative intermediate representations. Hiyan Alshawi et al. introduced Quasi Logical Form (QLF) in Logical Forms in the Core Language Engine, which decouples literal syntactic meaning from context-dependent interpretations like quantifier scope and pronoun resolution. Similarly, Lenhart K. Schubert advocated for Episodic Logic (EL) to serve as an internal representation capable of natively handling event references and modifications without losing information through awkward paraphrasing.

Even as modern architectures shift toward deep learning, these logical constraints remain highly relevant. For instance, Marek Strelec et al. demonstrated in Zero-Shot Fact Verification via Natural Logic and Large Language Models that combining the flexible reasoning of Large Language Models with structured natural logic engines can bypass the rigid constraints of traditional formal systems while preserving human-readable transparency.

Key Foundational Work

Problems in Logical Form (1981) — contributed 1 concept elements to this direction.
D-SCRlPT: A Computational Theory of Descriptions (1973) — contributed 1 concept elements to this direction.
Case Structure Systems (1973) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_expressive_limitations_of_first_order_lo_6dd3b23a,
  title = {expressive limitations of first-order logic},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/expressive-limitations-of-first-order-logic/rdr_6dd3b23a8c1841c593ab215b767f80e4},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-26},
}

This exact version (version 1, frozen text):

@misc{lacuna_expressive_limitations_of_first_order_lo_6dd3b23a_v1,
  title = {expressive limitations of first-order logic},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/expressive-limitations-of-first-order-logic/rdr_6dd3b23a8c1841c593ab215b767f80e4/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-26},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake