Field

Logic — page 5

What can be said in a system, what follows from it, and what it cannot settle about itself.
A plane split by the order of a list. first 90 rationals; A has 4095 of 8100 pairs; 2/5 is listed at position 7.

The plane cut by a list

The continuum hypothesis looks like a statement about sizes: no infinity sits strictly between the whole numbers and the line. Wacław Sierpiński found in 1919 that it is equally a statement about the plane. It is true exactly when the plane splits into two pieces, one meeting every vertical line in only countably many points and the other meeting every horizontal line in only countably many. The split is drawn by listing the line's points in a particular order, and with the rationals in place of the reals it can be drawn exactly — a set that, counted column by column, has no area, and counted row by row, has all of it.

Two majorities of one class must overlap. regions (outside, S, M, SM, P, SP, MP, SMP): 3,2,0,4,2,0,4,2.

Syllogisms that say most

The syllogism knew four words — all, no, some, some not — and two thousand years of logic decided which of its 256 forms were valid. Add 'most', a word everyone uses in arguments, and the 256 become 864. A diagram with marks for 'empty' and 'occupied' can no longer decide them, because 'most' compares sizes; but writing the number of things in each region turns every form into a linear programme, and the programme decides all of them at once. Thirty-one are valid, including one Augustus De Morgan found in 1847: if most M are S and most M are P, then some S are P. And 'most' cannot be passed along a chain: ninety-nine per cent of S can be M, ninety-nine per cent of M can be P, and no S be P at all.

A decisive set halved for ever. voter 37: residues 1, 1, 5, 5, 5, 37; …111: residues 1, 3, 7, 15, 31, 63.

An electorate too large for a dictator

Arrow proved that a voting rule with his four properties must have a dictator, and his proof uses the finiteness of the electorate exactly once. With infinitely many voters the dictator can vanish: the sets of voters who get their way form an ultrafilter, and every free ultrafilter is a rule with all four properties and nobody in charge. The catch is that no such rule can be written down. Its existence is a fragment of the axiom of choice.

One quantifier blind to two others. The prefix ∀x∃y∀u∃v drawn in a line, where v depends on x, y and u, and in branching form, where y depends only on x and v only on u; six points paired off by a fixed-point-free involution and five points, where no such pairing exists.

Four quantifiers, one of them blind

In 'for every x there is a y, and for every u there is a v', the last choice may depend on everything before it. Leon Henkin asked in 1961 what happens if v may depend on u alone. Using nothing but the equals sign, four such quantifiers then say that a set has an even number of points, or that it is infinite — things no ordinary sentence can say — and the game behind the sentence can end with neither player able to win.

How wide the narrowest refutation must be. Minimal resolution refutation widths by saturation: parity on a cycle of six: 2 (widest clause 2, 6 letters, 12 clauses); parity on K₄: 4 (widest clause 3, 6 letters, 16 clauses); parity on the prism: 4 (widest clause 3, 9 letters, 24 clauses); parity on K₃,₃: 5 (widest clause 3, 9 letters, 24 clauses); three pigeons, two holes: 2 (widest clause 2, 6 letters, 9 clauses); four pigeons, three holes: 3 (widest clause 3, 12 letters, 22 clauses).

The narrowest refutation

A resolution refutation can be long, and it can be wide — use clauses with many letters. Width turns out to be the easier of the two to compute exactly: derive everything that can be derived without ever writing a clause longer than w, and see whether a contradiction appears. Doing that for small formulas shows the parity formulas of graphs needing wider clauses than they contain, by more on graphs that are harder to cut in half, and the pigeonhole formulas needing no extra width at all — although every refutation of them is exponentially long. Width is not the whole price.

What each connective of two letters can express on its own. Three-letter fragment sizes of the clones generated by single binary connectives: false 4, nor 256, not x but y 38, not x 6, x but not y 38, not y 6, xor 8, nand 256, and 7, iff 8, y 3, if x then y 38, x 3, if y then x 38, or 7, true 4.

What an incomplete set of connectives can say

Nand alone can express every truth function, and Post's five properties say exactly which sets of connectives can. That answers the question at the top. Below it lies a whole landscape: and alone expresses 7 of the 256 functions of three letters, xor 8, implication 38, and the sixty-four sets that can be drawn from and, or, not, xor and the two constants fall into just 22 different classes of expressible functions. The classes fit together into Emil Post's lattice of 1941 — countably infinite, completely described, and on three letters small enough to draw.

The twenty monotone functions of three letters. All 20 monotone Boolean functions of three letters drawn on the cube of inputs, from the constant false to the constant true.

Functions that only go up

Of the 256 logical functions of three letters, only twenty never turn off when a letter is turned on. Dedekind asked in 1897 how many such monotone functions there are for n letters. Computing the count is hard enough that the answer has advanced one letter every twenty-five years or so, and the ninth arrived in 2023, from two groups in the same month, at forty-two digits. Almost everything about the number comes from a single layer of the cube.

Six choices make one. Three tournaments on four points; each arrow points from the chosen end of a pair. Scores: 1 3 1 1; 1 2 2 1; 3 0 1 2. Census of least-score set sizes: {"1":32,"2":24,"3":8,"4":0}.

Six choices make a seventh

Bertrand Russell's millionaire needs the axiom of choice to pick one sock from each of infinitely many pairs. Does having that power for pairs give the same power for sets of four? It does, by a short trick that Tarski found: choosing from the six pairs inside a set of four makes a tournament, and all 64 tournaments single out something definite. For sets of three it fails, and whether a size follows from smaller ones is settled almost entirely by arithmetic: from pairs, 4 is the only other size that can follow.

One function, two orders. The function a₁b₁ + a₂b₂ + a₃b₃ as a reduced decision diagram: 8 nodes with partners together, 16 nodes with them apart.

The order of the questions

Decide a Boolean function by asking about its variables one at a time, and share every state that behaves alike. For a₁b₁ + a₂b₂ + … the result has 2n + 2 nodes if partners are asked together and 2ⁿ⁺¹ if they are apart. All 40,320 orders of eight variables give anything from 10 to 32 nodes, while multiplication's middle bit grows fast in the best order of all.

What all small machines leave on the tape. All 16777216 two-symbol Turing machines with three states, run to step 22: 7571840 halt, leaving 95 distinct strings; most common 0 (2097152), 1 (2097152), 00 (722752); the longest strings are the rarest, up to 20.85 bits.

The shortest description nobody can certify

A string's complexity is the length of the shortest program that prints it. Counting shows almost every string has no short program, and diagonal arguments show nothing can compute the length, or even prove it large for any single string past a fixed point. All 16,777,216 three-state Turing machines leave only 95 strings on their tapes, and a compressor treats π exactly as it treats random bits.

Five ellipses, every combination once. A rotationally symmetric Venn diagram of five congruent ellipses (centre distance 0.7, semi-axes 1.4 and 0.5, tilted 7.5°): 32 regions on a raster, 30 crossing points.

Venn diagrams that turn into themselves

A Venn diagram shows every combination of in and out exactly once. Ask for one that looks the same after a turn of 1/n, each curve rotating onto the next, and a counting argument forbids it unless n is prime. Five congruent ellipses manage it, certified by Euler's formula; four rotated copies cannot, and it took until 2004 to show that every prime can.

Excluded middle fails at one point, and its double negation does not. Open sets of the real line as truth values: p = (0, ∞), ¬p = (−∞, 0), p ∨ ¬p misses 0, ¬(p ∨ ¬p) is empty and ¬¬(p ∨ ¬p) is the whole line.

Every tautology survives double negation

Intuitionistic logic refuses excluded middle, Peirce's law and every other classical principle that claims more than can be shown. Glivenko proved in 1929 that it refuses nothing outright: put ¬¬ in front of any classical tautology and the result is intuitionistically valid. Every Kripke model of up to four states confirms it for eight famous laws, a census of 11,451 formulas confirms it one by one, and a model with a growing domain shows where it stops.

A list of sentences each denying all the later ones. Fourteen sentences, each saying that every later sentence is false, drawn as a grid of which sentences each one mentions — every cell above the diagonal and none on or below it — beside the only consistent assignment of truth values, in which the last sentence alone is true.

A liar without a loop

Every paradox of truth seemed to need a sentence that talks about itself, directly or round a loop. Stephen Yablo found one that does not: an infinite list in which each sentence says that all the later ones are false. Cut it off anywhere and exactly one assignment of truth values works — all false but the last; keep it infinite and none does. A finite system with no loop always has exactly one, so the paradox lives in the one place a finite picture cannot draw: a list with no last sentence.

The question a liar answers truthfully. knight/yes/yes/yes; knight/no/no/no; knave/yes/no/yes; knave/no/yes/no

The question a liar answers truthfully

On an island where knights always tell the truth and knaves always lie, one question gets an honest answer from both: ask not whether something is so, but whether the islander would say yes if asked. The knave lies about his lie. Written as truth functions, the trick is the identity (Q ↔ K) ↔ K = Q, it is the only one of the sixteen possible questions that works, and applied a second time it strips out an unknown language too — enough to solve Boolos's puzzle of the three gods, checked here against every case.

Three gods in two questions. ja: FRT,RTF,RFT; da: FTR,RTF,RFT; silent: TFR,TRF; 16 runs; second questions to C/B/A

Two questions, when silence is an answer

Boolos's puzzle of the three gods needs three questions as long as every answer is ja or da, because two words twice cover only four cases and there are six arrangements. But a truthful god asked whether it means no by its answer has nothing true to say. If it then says nothing, silence is a third answer, two questions have nine outcomes, and the puzzle falls in two. A question built to make True and False say ja, say da or fall silent in chosen cases does it, and trying every such first question finds 180 that work and not one among those that never call for silence.

Three children and the cube of worlds. 8 worlds, edges along each child's own digit; actual 110; nobody knows

The announcement everybody already knew

Three children play in the mud and two get dirty foreheads. Each sees the others but not themselves. Their father says that at least one of them is muddy — which every child could already see — and asks, again and again, whether anyone knows their own state. Nobody can answer the first time; at the second asking both muddy children know. Without the father's sentence they would never know. Drawn as a cube of possible worlds, his sentence deletes one corner, and that corner is the difference between everybody knowing a fact and the fact being common knowledge.

2,352 pairs and the four statements that empty them. N=100: worlds 2352 → 1747 → 145 → 86 → 1; survivor 4,13

Four sentences that find two numbers

Two whole numbers are chosen; one person is told their sum and another their product. The product's holder says she does not know the numbers. The sum's holder says he knew she would not. Then she knows, and then he knows. Nothing in the conversation names a number, and yet out of 2,352 possible pairs exactly one is consistent with it — and the decisive sentence is the second, which is not about the numbers at all but about what someone else could not have known.

Nine states, two ways of not knowing. states 1–9 uniform; A: {1,2,3},{4,5,6},{7,8,9}; B: {1,2,3,4},{5,6,7,8},{9}; E={3,4}; at 1, A 1/3, B 1/2

Two forecasts that cannot agree to differ

Two people start from the same prior, see different evidence, and give an event different chances. If each then states a number openly and both keep revising, the numbers must end up equal. They need not end up where pooling the evidence would have put them. Aumann proved in 1976 that two such forecasts cannot be common knowledge and still differ, and nine states show how the talking gets them there.

All essays