Hexa Scholar

Reading ∀ and ∃ in order

A navy card box and a gold card box sit closed on opposite sides of a wooden table.
Two closed card boxes face each other across the table before the first move.

The question

In a game where two cards must hit a target sum, what changes when you go first?

Play with the same cards and the same rule in both rounds.

  1. 1 SeePlay both orders against the challenger.
  2. 2 TryChange which badges open which doors.
  3. 3 ProveBuild a proof about switching order.
  4. 4 ApplyCount witnesses and find counterexamples.
Before you start · 3 quick checks on set membership, comparing a sum, and reading a pair

Two ideas before you start

2 ideas

“For every” checks the whole list

Each site has its own true or false result for the selected condition.

Read ∀ as “for every.” A single failure gives a counterexample.

Exact definition

A domain is the set of allowed inputs. A predicate is a condition with a truth value for each allowed input. Write \(S\) for a domain and \(P(s)\) for a predicate on its elements \(s\). The statement \(\forall s\in S,\ P(s)\) is true exactly when \(P(s)\) is true at every element of \(S\).

“There exists” looks for a witness

The figure records whether each location has the selected object.

Read ∃ as “there exists.” Any element that makes the condition true is a witness.

Exact definition

The statement \(\exists s\in S,\ P(s)\) is true exactly when at least one element of \(S\) makes \(P(s)\) true. There can be several witnesses. The ordinary ∃ symbol puts no upper limit on how many.

Fine print about domains and pairs

Braces list the elements of a finite set. The symbol \(\in\) means “belongs to.” A pair \((x,y)\) keeps its positions: the first entry belongs to the domain for \(x\), and the second belongs to the domain for \(y\). A predicate on pairs, written \(P(x,y)\), gives one verdict for each allowed pair.

Read quantifiers from left to right. The outer quantifier tells you which variable is considered first, even if the variables appear in a different order inside the predicate. A variable can have different allowed values from another variable. Always carry each variable's own domain along when you rewrite a statement.

The empty set has no elements. A statement that every element of the empty set satisfies a condition is true because there is no counterexample. A statement that some element of the empty set satisfies it is false because there is no witness.

1 See

Play the sum game in both orders

2 Try

Test access badges

A building has readers called Dawn, Noon, and Dusk. A badge opens a reader exactly when that pair has “Yes” in the table. The badge is reusable, and the readers work independently.

Submit a prediction to open the badge editor.

3 Prove

Which order implies the other?

Theorem

Let \(X\) and \(Y\) be sets and \(P(x,y)\) a predicate with a truth value on each pair from \(X\) and \(Y\). If \(\exists y\in Y\ \forall x\in X,\ P(x,y)\) is true, then \(\forall x\in X\ \exists y\in Y,\ P(x,y)\) is true. The converse, the implication with the roles of the two claims reversed, can fail.

Case for the proof builder. Let \(S=\{a,b\}\), with \(a\ne b\). Take \(X=Y=S\) and take \(P(x,y)\) to mean \(x\ne y\). Build a counterexample to the converse for any two distinct elements \(a,b\).

4 Apply

Problems

Use the quantifier order to decide what to count or find. Enter an integer in digits, with a minus sign if needed. Each problem has hints and a worked solution.

Key point Keep the order when you translate a sentence into symbols. To test a proposed shared witness, look for a single allowed input where it fails. To show that no shared witness exists, handle every candidate.
Where the same reading appears next

The ε–δ definition of a limit asks for an input tolerance \(\delta\) after an output tolerance \(\varepsilon\) is given. The chosen \(\delta\) then faces every nearby input in the relevant part of the domain.

In convergent sequences, the existential choice is a starting index \(N\). It may depend on the requested error tolerance. Once chosen, it must work for the whole tail of the sequence.

In Cantor's diagonal argument, the proposed list is considered first. The proof then constructs a sequence missing from that particular list. The missing sequence is allowed to depend on the list.

Level Intro Prerequisites Set membership, sums, and ordered pairs (refreshed above) Time About half an hour

Further reading