Hostname: page-component-74656f9884-skzmx Total loading time: 0 Render date: 2026-11-06T07:41:07.537Z Has data issue: false hasContentIssue false

INTERLEAVING LOGIC AND COUNTING

Published online by Cambridge University Press:  26 July 2023

JOHAN VAN BENTHEM
Affiliation:
INSTITUTE FOR LOGIC, LANGUAGE, AND COMPUTATION UNIVERSITEIT VAN AMSTERDAM SCIENCE PARK 107, 1098 XG AMSTERDAM NETHERLANDS E-mail: johan@stanford.edu
THOMAS ICARD
Affiliation:
DEPARTMENT OF PHILOSOPHY, STANFORD UNIVERSITY 450 JANE STANFORD WAY, MAIN QUAD, BUILDING 90 STANFORD, CA 94305, USA E-mail: icard@stanford.edu
Rights & Permissions [Opens in a new window]

Abstract

Reasoning with quantifier expressions in natural language combines logical and arithmetical features, transcending strict divides between qualitative and quantitative. Our topic is this cooperation of styles as it occurs in common linguistic usage and its extension into the broader practice of natural language plus ‘grassroots mathematics’.

We begin with a brief review of $\mathsf {FO}(\#)$, first-order logic with counting operators and cardinality comparisons. This system is known to be of very high complexity, and drowns out finer aspects of the combination of logic and counting. We therefore move to a small fragment that can represent numerical syllogisms and basic reasoning about comparative size: monadic first-order logic with counting, $\mathsf {MFO}(\#)$. We provide normal forms that allow for axiomatization, determine which arithmetical notions can be defined on finite and on infinite models, and conversely, we discuss which logical notions can be defined out of purely arithmetical ones, and what sort of (non-)classical logics can be induced.

Next, we investigate a series of strengthenings of $\mathsf {MFO}(\#)$, again using normal form methods. The monadic second-order version is close, in a precise sense, to additive Presburger Arithmetic, while versions with the natural device of tuple counting take us to Diophantine equations, making the logic undecidable. We also define a system $\mathsf {ML}(\#)$ that combines basic modal logic over binary accessibility relations with counting, needed to formulate ubiquitous reasoning patterns such as the Pigeonhole Principle. We prove decidability of $\mathsf {ML}(\#)$, and provide a new kind of bisimulation matching the expressive power of the language.

As a complement to the fragment approach pursued here, we also discuss two other ways of lowering the complexity of $\mathsf {FO}(\#)$ by changing the semantics of counting in natural ways. A first approach replaces cardinalities by abstract but well-motivated values of ‘mass’ or other mereological aggregating notions. A second approach keeps the cardinalities but generalizes the meaning of counting to work in models that allow dependencies between variables.

Finally, we return to our starting point in natural language, confronting the architecture of our formal systems with linguistic quantifier vocabulary and syntax, as well as with natural reasoning modules such as the monotonicity calculus. In addition to these encounters with formal semantics, we discuss the role of counting in semantic evaluation procedures for quantifier expressions and determine, for instance, which binary quantifiers are computable by finite ‘semantic automata’. We conclude with some general thoughts on yet further entanglements of logic and counting in formal systems, on rethinking the qualitative/quantitative divide, and on connecting our analysis to empirical findings in cognitive science.

Information

Type
Articles
Copyright
© The Author(s), 2023. Published by Cambridge University Press on behalf of The Association for Symbolic Logic
Figure 0

Table 1 A hierarchy of counting languages and logics, covered in Sections 2-7. For each logical system $\mathsf {L}(\#)$ we also have a version $\mathsf {L}^\phi (\#)$, where we restrict to finite models. In these systems terms can only denote natural numbers

Figure 1

Figure 1 A visualization of the formula expressing that the number of P points (darkly shaded) is exactly $2k$ greater than the numbers non-P points (lightly shaded), where k is the size of the ‘extracted’ set of P points (i.e., the size of $\mathbf {y}$).

Figure 2

Figure 2 A visualization of the formula expressing that $2$ times the number of P points is exactly the number of Q points squared, i.e., $ |P|+|P| = |Q|^2$. The formula asserts that the number of lines on the left is equal to the number of lines on the right. This is a simplified version of Example 5.3 and of the more general construction in Lemma 5.4. In the case pictured, $|P|=8$ and $|Q|=4$.

Figure 3

Table 2 A hierarchy of monadic counting logics, covered in Sections 2–6. Where $\mathfrak {M}$ is a structure, $\mathcal {D}(\mathfrak {M})$ are the first-order definable relations over the domain of $\mathfrak {M}$, while $\mathcal {D}_{\mathsf {qf}}(\mathfrak {M})$ are the relations definable by quantifier-free formulas

Figure 4

Figure 3 An example model in which $\#(\#\neg p \succ \# p) \succ \#(\#p \succsim \#\neg p)$ holds at the root point. The points where p holds are shaded. The number of successors with more non-p successors than p successors is greater than the number of successors with at least as many p successors as non-p successors.

Figure 5

Figure 4 An ordinary modal bisimulation Z between $\mathfrak {M}$ and $\mathfrak {N}$ is depicted by the dotted lines. In both of these models the root point has four $\sim _Z$-closed sets of successors: the empty set, the whole set, and the two encircled sets. To be a $\#$-bisimulation (Definition 7.8), the same ordering of these sets by cardinality must hold in each, as it does here.

Figure 6

Figure 5 (a) Assuming Conservativity, Extension, and Invariance, we need only be concerned with $a=A-B$ and $b=A\cap B$. (b) The tree of numbers consists of all pairs $(a,b)$. Highlighted are pairs in the quantifier ‘all’. (c) Examples of quantifiers and their arithmetic expressions. Note that, in addition to requiring multiplication, the quantifier ‘many’ violates Extension.

Figure 7

Figure 6 Acyclic finite automaton recognizing ‘exactly one’. The machine begins in the left-most state, and the middle is the only accepting state.

Figure 8

Figure 7 A display of dots, where experimental participants might be asked to determine whether, ‘Most of the dots are blue’ or ‘There are more blue dots than yellow dots’ (see, e.g., [72, 102]) (In the color version of this figure, the dark dots are blue and the lightly shaded dots are yellow.).