Alphabeta Math
CorollaryStatement: AI-adaptedProof: AI-generatedSession-authored (Fable 5 assisted)precheck passaudited 2026-07-31
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced — the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted — a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated — a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

The Erdős-Szekeres monotone subsequence theorem follows by applying Mirsky's theorem to the index-value poset

Statement

Let r,s1r,s\ge1 be natural numbers. Every pairwise distinct finite list of reals of length (r1)(s1)+1(r-1)(s-1)+1 has a strictly increasing sublist of length rr or a strictly decreasing sublist of length ss.

Facts & Assumptions

Given: Natural numbers r,s1r,s\ge1 and a pairwise distinct list (ai)i<N(a_i)_{i<N} of reals with N=(r1)(s1)+1N=(r-1)(s-1)+1.

[F1]

A sublist is selected by strictly increasing indices; it is strictly increasing, respectively decreasing, when its values strictly increase, respectively decrease (A finite list of reals, and its strictly increasing and strictly decreasing sublists).

[F2]

A partial order is reflexive, antisymmetric, and transitive (Partial order and partially ordered set).

[L1]

Mirsky's theorem says that a nonempty finite poset of height hh can be covered by hh antichains (Mirsky's theorem: the minimum number of antichains covering a finite poset equals its height).

Proof

technique · direct
1.1

If r=1r=1 or s=1s=1, any one-term sublist has the required kind, so assume r,s2r,s\ge2.

givenF1
1.2

On the index set {0,,N1}\{0,\ldots,N-1\} define iji\preceq j when iji\le j and aiaja_i\le a_j. The relation is reflexive and transitive componentwise, while ijii\preceq j\preceq i forces i=ji=j, so it is a partial order. Its chains, read in increasing index order, give strictly increasing sublists because the values are pairwise distinct.

givenF1F2
2.1

Suppose there is no strictly increasing sublist of length rr. Then the index-value poset has height at most r1r-1, so [L1] covers its indices by at most r1r-1 antichains. After ordering the covering antichains and removing from each one the indices already assigned to an earlier one, they form a partition into at most r1r-1 antichains.

step 1.2L1
2.2

In an antichain of the index-value poset, increasing the indices strictly decreases the corresponding values: if i<ji<j then ai<aja_i<a_j would make iji\prec j, while equality is excluded. Hence, if there is no strictly decreasing sublist of length ss, every such antichain has at most s1s-1 members.

step 1.2F1
3.1

Under the simultaneous absence of both required sublists, map each index to the part containing it in the partition from step 2.1. There are at most r1r-1 parts, and step 2.2 says that every fibre has at most s1s-1 elements. Thus [L2] gives N(r1)(s1)N\le(r-1)(s-1), contradicting N=(r1)(s1)+1N=(r-1)(s-1)+1.

step 2.1step 2.2L2
4.1

Therefore at least one of the two sublists exists: a strictly increasing one of length rr, or a strictly decreasing one of length ss.

step 1.1step 3.1

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 61 results over 17 levels. An arrow runs from a result to what uses it, and this result sits at the bottom with a heavier outline. Click the chart to enlarge it.

Sources