Math 2.0

statement theorem

Erdős–Szekeres theorem

Statement

Let rr and ss be positive integers. Let a1,a2,…,aNa_1, a_2, \dots, a_N be a sequence of N=(r−1)(s−1)+1N = (r - 1)(s - 1) + 1 distinct real numbers. Then the sequence has an increasing subsequence of length rr or a decreasing subsequence of length ss.

Remarks

The bound is sharp: some sequence of (r−1)(s−1)(r - 1)(s - 1) distinct numbers has neither type of subsequence. For r=s=3r = s = 3: each sequence of 55 distinct numbers has a monotone subsequence of length 33. A short proof labels each term with the lengths of the longest increasing and decreasing subsequences that end at it. The labels are distinct, and the pigeonhole principle finishes the proof.

History

Paul Erdős and George Szekeres proved the theorem in 1935.

Explanations

L1 human

A long enough list of different numbers always contains a long subsequence that goes up or one that goes down. The terms need not be adjacent. For example, 3,1,4,5,23, 1, 4, 5, 2 has the increasing subsequence 3,4,53, 4, 5.

What this node needs for W2
  • edge about out: the concepts that the statement is about (0 of 1)
  • edge proves in: at least one proof node (0 of 1)
  • edge instance_of or illustrates in: one example that shows the statement at work (0 of 1)
  • explanation L2 (0 of 1)

The writing levels say how complete the text of a node is. They do not measure its truth.

What this needs

To read this node, read these 4 nodes in this order. The foundations come first, and the list ends with this node.

Each node uses the nodes above it. The colour of the bar on a box shows the evidence level, and the box also gives it as text. The list below has the same nodes.
  • no evidence level
  1. Cardinality of a finite set definition
  2. Pigeonhole principle statement
  3. Generalized pigeonhole principle statement
  4. Erdős–Szekeres theorem statement

Sources

  1. Web https://en.wikipedia.org/wiki/Erdős–Szekeres_theorem, lead section