VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

The Gold Standard of Mathematical Logic | Quantifier Order and Dependent Choices

Three students work together at a classroom table, reviewing open textbooks and notes.

eduKateSG · Mathematical Logic · Worked learning guide

Find the reasoning step you need

Read who may depend on whom, test a small relation table and distinguish an individual solution from a solution that works for everyone.

1. Read quantifiers as a sequence of choices

3. Test rows and columns in a complete finite table

5. Track dependencies in a longer prefix

7. Negate the whole statement in the right order

9. Practise with models and dependency checks

Full chapter index · Practice and checking · Mathematical Logic subject guide

“Every learner has a suitable exercise” and “one exercise suits every learner” make different promises. The first allows a different choice for each learner. The second requires a shared choice. Mathematical logic makes that difference explicit by ordering quantifiers.

The gold standard is to translate the promise, state what each choice may depend on, and test the resulting formula in a model. This guide develops that capability through original tables, arithmetic examples and proof checks. It assumes classical first-order logic with a nonempty domain; restricted categories within that domain may be empty.

Use The Gold Standard of Mathematical Logic for the wider subject. The present subtheme concentrates on dependency. It explains how a sentence can remain grammatically similar while a small change in quantifier order makes its demand much stronger.

Chapter index

Chapters 1–4
  1. Read quantifiers as a sequence of choices
  2. State the domain and restrict categories correctly
  3. Test rows and columns in a complete finite table
  4. Use arithmetic to distinguish local and uniform bounds
Chapters 5–8
  1. Track dependencies in a longer prefix
  2. Distinguish a witness from a procedure for finding it
  3. Negate the whole statement in the right order
  4. Repair a proof that chooses too early
Chapters 9–10
  1. Practise with models and dependency checks
  2. Continue into identity, empty categories and models

CHAPTER 1 OF 10

1. Read quantifiers as a sequence of choices

Back to contents

The symbol ∀ means “for every,” while ∃ means “there exists.” In ∀x∃y R(x,y), first consider an arbitrary x. A suitable y must then be available for that x. The statement permits different values of y for different values of x.

In ∃y∀x R(x,y), one y must be selected that works with every x. Its suitability cannot rely on changing it after each x is considered. These are truth conditions, rather than instructions that a real computer necessarily executes in this order.

The relation R also needs a key. If R(x,y) means “exercise y is suitable for learner x,” then swapping the argument positions changes what the relation says. Quantifier order and predicate argument order are separate sources of error.

A useful plain-language annotation is: “y may depend on x” for the first formula and “one y works for all x” for the second. The word may matters. The first formula does not require y to vary; it merely allows it.

A shared witness can satisfy the weaker demand

If a single exercise works for everyone, then each learner has a suitable exercise. Thus ∃y∀x R(x,y) entails ∀x∃y R(x,y). The reverse implication is not valid in general.

To explain the implication, keep the shared witness fixed. For any x, that same witness provides the required instance. There is no need to invent a new choice.

This simple direction check is a useful starting habit. Before moving quantifiers, ask whether the proposed change makes the witness more flexible or less flexible. Restricting its allowed dependencies usually strengthens the demand, so the original statement may no longer support it.

Contents · Next chapter

CHAPTER 2 OF 10

2. State the domain and restrict categories correctly

Back to contents

A first-order domain contains the objects under discussion. For a mixed domain of people and exercises, predicates can mark which objects belong to each category. Let L(x) mean x is a learner, E(y) mean y is an exercise, and R(x,y) retain its suitability meaning.

“Every learner has a suitable exercise” becomes ∀x(L(x) → ∃y(E(y) ∧ R(x,y))). The conditional restricts the universal claim to learners. The conjunction requires the existential witness actually to be an exercise.

“One exercise suits every learner” becomes ∃y(E(y) ∧ ∀x(L(x) → R(x,y))). This asserts an exercise exists and works for all learners. If the learner category is empty, its universal suitability condition is automatically satisfied, but the exercise-existence requirement remains.

Writing ∀x(L(x) ∧ …) would make every object in the domain a learner. Writing ∃y(E(y) → R(x,y)) could allow a nonexercise to satisfy the conditional without supplying a suitable exercise. The connective chosen for restriction changes the claim.

Separate the teaching picture from the formal language

A learner-by-exercise table is a convenient picture using two categories. The one-sorted formulas above state how that picture is represented in ordinary first-order logic. In a many-sorted language, separate variable sorts can perform some of this work directly, but that is another explicit language choice.

This guide uses restricted categories for practical examples and unrestricted variables for pure relation examples. Whenever a formula omits category predicates, the chosen domain and interpretation must supply the intended scope. Do not carry a conclusion between the two settings without checking the domain assumptions.

Contents · Previous chapter · Next chapter

CHAPTER 3 OF 10

3. Test rows and columns in a complete finite table

Back to contents

Consider two learners, Ada and Bo, and three exercises, P, Q and R. A Yes entry means the exercise is suitable for that learner. Every cell is specified in this teaching model.

LearnerExercise PExercise QExercise R
AdaYesNoNo
BoNoYesNo
Worked reference table

Every row has a Yes, so each learner has a suitable exercise. No column contains Yes for both learners, so no one exercise suits both. The table supplies a concrete counterexample to the invalid move from individual suitability to a shared suitable exercise.

Now change the R column to Yes for both learners. Both statements become true. The original weaker formula never prohibited a common exercise; it simply did not guarantee one.

A row check and a column check inspect different features of the same relation. To evaluate ∀x∃y R(x,y), visit every row and find at least one true entry. To evaluate ∃y∀x R(x,y), find at least one column whose entries are all true.

Completeness of the table is part of the example

A blank cell in a real record may mean unknown rather than false. The table here has no unknown entries. If a suitability assessment has not been performed, its absence does not establish that the exercise is unsuitable.

Likewise, the finite roster is the whole learner category in this model. If the intended claim covers a larger population, checking only Ada and Bo does not establish the universal claim for everyone else.

The model is powerful because its limits are explicit. It proves an inference pattern invalid by exhibiting one permitted interpretation where the premise is true and the conclusion false. It does not need to represent every real teaching situation.

Contents · Previous chapter · Next chapter

CHAPTER 4 OF 10

4. Use arithmetic to distinguish local and uniform bounds

Back to contents

Let the domain be the natural numbers ℕ = {0,1,2,…}, and let R(x,y) mean x < y. For each natural number x, choose y = x + 1. This establishes ∀x∃y(x < y).

There is no natural number y greater than every natural number x. For any proposed y, choosing x = y makes x < y false. Thus ∃y∀x(x < y) is false in this interpretation.

This gives another counterexample to the quantifier shift. It also shows that a constructive rule for an individual choice need not provide a universal bound.

Now restrict x to {0,1,2,3}, while allowing y to range over all natural numbers. The common witness y = 4 works. Changing the range of x changes the truth of the shared-bound statement.

If both x and y range over {0,1,2,3}, the statement “every x has a greater y” becomes false because x = 3 has no permitted witness. The same relation symbol and the same written inequality can behave differently under different domains.

What a uniform claim adds

A local bound can depend on the particular input. A uniform bound must work across the stated input class. The distinction appears in many mathematical definitions, but the existence of such a bound must be proved for the particular setting.

Do not infer a general principle that local solutions never combine into a uniform one. They sometimes do, as the finite-range example shows. The accurate principle is that the local statement alone does not entail the uniform statement.

A strong explanation therefore includes both a failure case and a success case. The learner sees exactly which extra information can change the answer instead of memorising “quantifiers cannot move” as a blanket prohibition.

Contents · Previous chapter · Next chapter

CHAPTER 5 OF 10

5. Track dependencies in a longer prefix

Back to contents

Consider ∀x∃y∀z S(x,y,z). After x is fixed, the formula requires a y that works for every z. The witness y may depend on x, but it cannot be replaced separately for each later z.

Compare ∀x∀z∃y S(x,y,z). Here y may depend on both x and z. This is a weaker demand in general because the choice can respond to more information.

For an original integer example, let S(x,y,z) mean y = x + z. The formula ∀x∀z∃y(y = x + z) is true over the integers. Given x and z, their sum supplies y.

The formula ∀x∃y∀z(y = x + z) is false. For a fixed x and proposed y, the equations at z = 0 and z = 1 would require y = x and y = x + 1 simultaneously.

A dependency ledger

Next to an existential variable, list the universal variables appearing earlier in the relevant prefix. For these simple prenex formulas, that list records the inputs the witness may use. A y chosen before z should not contain z in its proposed definition.

This is a reading aid, not a complete algorithm for arbitrary formulas. Quantifiers may occur inside different branches of a connective, and scope must be read from parentheses. A variable outside one branch may have no role in another.

For example, (∀x P(x)) ∧ (∃y Q(y)) contains two independent quantified statements. Reading them as one sequence of dependent choices can invent a relationship that the formula does not express.

The repair is to identify each quantifier’s full scope first. Only then annotate dependencies. Correct order cannot compensate for incorrectly read parentheses.

Contents · Previous chapter · Next chapter

CHAPTER 6 OF 10

6. Distinguish a witness from a procedure for finding it

Back to contents

An existential sentence asserts that a suitable object exists in the interpretation. It does not automatically specify an efficient procedure for locating that object, or even present a procedure at all.

In a small finite table, checking every permitted candidate is a direct method. In the natural-number example, y = x + 1 supplies an explicit rule. Those are additional features of the examples.

A statement such as ∀x∃y R(x,y) should therefore not be paraphrased automatically as “there is a fast programme that finds y from x.” Existence, computability and computational cost are different claims.

In a finite relation table, one can choose one true entry from each row to build a selection map. That construction is straightforward when every row has a witness and the table is available. General set-theoretic claims about choosing from arbitrary infinite families require attention to the surrounding assumptions; the finite table does not settle them.

A practical interpretation

If a school knows that each learner has some suitable resource, the statement does not tell a coordinator which resource to assign, how long selection will take, or whether enough copies are available. Suitability, identification and capacity are separate relations.

A formula that permits the same exercise for several learners also does not guarantee that each learner receives a distinct one. Distinctness requires extra conditions. The quantifier order tells us about dependency, while identity and availability constraints do other work.

This is a useful transfer lesson: formalising one promise makes its content precise, but it also reveals what remains unsaid. An accurate reader neither weakens the stated promise nor silently strengthens it with an implementation plan.

Contents · Previous chapter · Next chapter

CHAPTER 7 OF 10

7. Negate the whole statement in the right order

Back to contents

The negation of ∀x∃y R(x,y) is ∃x∀y ¬R(x,y). It says that at least one x has no suitable y. To refute “every row has a true entry,” find a row whose entries are all false.

The negation of ∃y∀x R(x,y) is ∀y∃x ¬R(x,y). It says every proposed shared y fails for at least one x. The failing x may differ with y.

These refutations have different jobs. A single learner with no suitable exercise defeats individual coverage. To defeat a shared exercise claim, it is enough that every exercise has someone for whom it fails, even if every learner still has an individually suitable option.

In the original Ada–Bo table, P fails for Bo, Q fails for Ada and R fails for both. Thus no column works for everyone. Yet both rows have a Yes, so individual coverage holds.

Restricted categories need their restrictions preserved

Negating ∀x(L(x) → ∃y(E(y) ∧ R(x,y))) gives ∃x(L(x) ∧ ∀y(E(y) → ¬R(x,y))). There is a learner for whom no exercise is suitable.

The expression should not say that the learner is unrelated to every object of every kind. It concerns the exercise category. Removing the restriction changes the claim being negated.

A reliable procedure is to move the negation inward one connective or quantifier at a time. Write the intermediate formula rather than guessing the final English sentence. Then paraphrase the result and test it in a small table.

Finally, check that a negation is a genuine contradictory: in the chosen classical model, exactly one of the original sentence and its full negation is true. A weaker negative-sounding statement may leave both sentences false and therefore fail this test.

Contents · Previous chapter · Next chapter

CHAPTER 8 OF 10

8. Repair a proof that chooses too early

Back to contents

Suppose an argument starts with ∀x∃y R(x,y), selects an arbitrary x, obtains a suitable y, and then concludes ∃y∀x R(x,y). The invalid step treats a witness chosen for that x as though it had been shown to work for every x.

A correct proof must retain the witness’s dependency. If the x changes, the previously selected y has no automatic claim to remain suitable. The table counterexample shows exactly why that promotion fails.

One repair is to weaken the conclusion to the original individual-coverage statement. Another is to add and justify a genuinely stronger premise that supplies a common witness. The choice depends on what the argument is trying to establish.

Do not repair by hiding the dependence in a name

Calling the chosen witness c rather than y does not make it independent. A name introduced within a subargument still carries the restrictions imposed by that introduction. Proof rules control where it may be used.

Likewise, selecting a convenient input such as x = 0 and finding a witness there does not establish the universal statement. An arbitrary-object argument must avoid relying on features peculiar to that chosen example.

A useful teaching question is: “What information was available when this witness was selected?” If its construction used x, the proof needs a reason before treating it as uniform over x. If its construction also used z, it cannot serve as a witness chosen before z.

The learner should finish the repair with an annotated sentence: “This witness is suitable for the current arbitrary x; it has not been shown to be the same witness for all x.” That explanation makes the proof restriction visible and transferable.

Contents · Previous chapter · Next chapter

CHAPTER 9 OF 10

9. Practise with models and dependency checks

Back to contents

Exercise 1: rows and columns

A relation on {a,b} has true pairs (a,a) and (b,b), with all other pairs false. Evaluate ∀x∃y R(x,y) and ∃y∀x R(x,y).

The first is true: choose y = x. The second is false: column a fails at row b and column b fails at row a. The relation is the identity relation on this two-object domain.

Exercise 2: a common integer witness

Over the integers, evaluate ∃y∀x(y = x − x). This is true with y = 0. Consequently ∀x∃y(y = x − x) is also true. The local formula permits a shared witness.

Exercise 3: a later input

Over the integers, compare ∀x∃y∀z(y ≥ x − z) with ∀x∀z∃y(y ≥ x − z). The latter is true by taking y = x − z. The former is false: for fixed x and y, choose z = x − y − 1, which makes x − z = y + 1.

Exercise 4: negate the demand

Negate ∃y∀x R(x,y). The result is ∀y∃x ¬R(x,y). Explain why the counterexample x may vary with y: each proposed common witness can fail in a different place.

Transfer check

Write a resource-allocation promise in two forms: individual suitability and common suitability. State the categories, identify whether resources may be reused and distinguish suitability from capacity. Then construct a finite table where one promise holds and the other fails.

The check is complete when the table, English paraphrase and formula agree. Merely producing a string of quantifier symbols does not show that their scope has been understood.

Contents · Previous chapter · Next chapter

CHAPTER 10 OF 10

10. Continue into identity, empty categories and models

Back to contents

Frequently asked questions

Can adjacent universal quantifiers exchange order? Yes, ∀x∀y and ∀y∀x can exchange order over the same fixed domains. Adjacent existential quantifiers can also exchange order. A mixed pair generally cannot.

Does ∀x∃y mean the witness must be different for every x? No. It permits dependence but does not require distinctness.

Does a witness formula establish an efficient algorithm? Only if the additional computational claims are justified. A logical existence statement alone does not establish efficiency.

Can a table prove a general inference invalid? Yes. One fully specified countermodel with true premises and false conclusion is enough. A table that satisfies both does not establish validity.

Connected reading

Use Mathematical Logic for scope, proof rules and interpretations, and Logic for premises, conclusions and everyday argument assessment. Discrete Mathematics connects finite relations with wider mathematical structures.

The educational aim follows learning that transfers into life: retain the conditions and checks when the wording changes.

Sources and scope

Quantifier syntax and interpretation were checked against forall x: Calgary, Multiple Generality and the Open Logic Project syntax and semantics reference, accessed 22 October 2026. The tables, arithmetic witnesses and exercises here are original teaching constructions. They use classical first-order interpretations and do not claim that every natural-language sentence has a unique context-free translation.

Contents · Previous chapter · Continue to Mathematical Logic