Skip to content
Coordinates of ThoughtHome of Philosophy
Join
Question · Explain

Every invoice needs some approver: why does the order of quantifiers change the meaning?

Its coordinates: 4.1 Formal Logic · 4.1.1 Propositional Logic · 4.1.2 Predicate Logic +4 more

Illustrative / editorial discussion. This thread was written by the site’s editors as an example of discussion, not by a member. How we write and check.

One of my clients, a small business, has an internal policy that says: "Every invoice must be approved by some manager." Two of their managers have now spent a month arguing about it. One reads it as: each invoice needs a manager's approval, any manager will do. The other reads it as: there must be one manager who approves every invoice, so all approvals go through a single person.

I looked this up and found that logicians use exactly this kind of sentence, "every boy loves some girl", to explain predicate logic. Apparently the difference is the order of the quantifiers, and Aristotle's logic could not even express it.

Could someone explain how predicate logic writes the two readings, and why the order matters so much? I'd like to be able to show my client something better than "the sentence is ambiguous".

LikeAnswerSaveFollow4 answers

Join the conversation: members reply here, and joining is free. Reading is always free.

Join free to reply Sign in

4 answers

Accepted answer

  1. Ana Clara Ferreira

    ✓ Accepted answer Fellow

    Write I for "is an invoice", M for "is a manager" and A(y, x) for "y approves x".

    Reading 1 (each invoice has its own approver):
    ∀x (Ix → ∃y (My ∧ A(y, x)))
    "For every x, if x is an invoice, there is some y such that y is a manager and y approves x."

    Reading 2 (one manager approves them all):
    ∃y (My ∧ ∀x (Ix → A(y, x)))
    "There is some y such that y is a manager and, for every x, if x is an invoice, y approves x."

    The only difference is which quantifier comes first, that is, which one has the other inside its scope. In reading 1, the choice of manager can depend on the invoice. In reading 2, the manager is fixed first and then has to cover every invoice. Reading 2 implies reading 1, but not the other way round.

    Aristotle's syllogistic dealt with sentences like "all A are B" and had no way to put one generality inside another. Frege's Begriffsschrift (1879) introduced exactly this nesting. The backwards E for "there exists" goes back to Peano, and the upside-down A for "for all" came later, from Gentzen in the 1930s.

    Helpful · 3

Other answers

  1. Vikram Sethi

    Fellow

    I teach this to my students using exactly your kind of example, Harpreet, and the trick that works best is to ask: who chooses first? In reading 1 someone hands you an invoice and you then find a manager for it. In reading 2 you name your manager first and then I can throw any invoice at you. Once students see quantifiers as a game of who moves first, the scope stops being abstract.

  2. Derek Hollis

    Fellow

    If your client's systems use a database, the two readings become two different queries. Reading 1 is the straightforward one: for each invoice, check that there exists an approval by a manager. Reading 2 is harder to write in SQL, which has no direct "for all", so you end up with a double negation: find a manager for whom there does NOT EXIST an invoice they have NOT approved. Programmers rediscover the logic of quantifiers every time they write one of those.

    Helpful · 1
  3. Harpreet Kaur Grewal

    Fellow

    This is exactly what I needed. I showed them both formulas, and Vikram's "who chooses first" settled it in five minutes. They meant reading 1. The policy now says "each invoice must be approved by a manager, not necessarily the same one". Ten more words, one fewer argument.

    Helpful · 2