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.
Every list of pairwise distinct reals has a strictly increasing sublist of length or a strictly decreasing sublist of length
Statement
Let and let be a pairwise distinct finite list of reals of length (A finite list of reals, and its strictly increasing and strictly decreasing sublists). Then has a strictly increasing sublist of length or a strictly decreasing sublist of length .
The length is at least for all and , so the statement has content at every pair of indices. At the list has one term and the required increasing sublist has length , which the single position supplies; at the same reading holds for the decreasing sublist, and the increasing one of length is also available.
Facts & Assumptions
Given: Naturals and , the length , and a pairwise distinct list . For and , call an increasing run ending at when is a strictly increasing sublist of (in both senses of A finite list of reals, and its strictly increasing and strictly decreasing sublists) with , and define a decreasing run ending at in the same way with the values strictly decreasing.
A nonempty subset of with an upper bound has a greatest element. Let be nonempty with for some . Every then satisfies by On the order is membership: , so the set contains and has a least element by The well-ordering principle. If then every satisfies and , hence and by Discreteness: is the immediate successor; since is nonempty, , so for some (Every nonzero natural number is a successor) and for every , putting below and contradicting minimality. So and is the greatest element of .
For every there is an increasing run and a decreasing run ending at , both of length : take with , which is vacuously monotone in both senses (A finite list of reals, and its strictly increasing and strictly decreasing sublists).
Every run has length at most : a run of length is injective into , and there is no injection of into when (The pigeonhole principle on , clause 2, Injection, surjection, bijection, A finite list of reals, and its strictly increasing and strictly decreasing sublists).
Order facts in : , and (On the order is membership: , Order on the natural numbers, The natural numbers (von Neumann)); exactly one of , , holds (Trichotomy of the order on ); (Discreteness: is the immediate successor); every nonzero natural is a successor (Every nonzero natural number is a successor); and the truncated difference of Finite sums and finite products of natural numbers, and in , for which gives .
and (The product rule: , and , clause 1, The cardinality of a finite set); and there is no injection for any (The pigeonhole principle on , clause 1). A bijection exists because the two sets have the same cardinality (The cardinality of a finite set, clause (d)).
is an ordered field, so its order is total and gives or (Ordered field, Field).
Proof
If or , then , and the one-term sublist ending at supplied by [L2] has the required length or , respectively. Hence assume and suppose, for contradiction, that has neither required sublist.
The two run lengths. For let be the set of lengths of increasing runs ending at and the set of lengths of decreasing runs ending at . Both are nonempty by [L2] and both are contained in by [L3] and [L4], so both have a greatest element by [L1]; write and for those greatest elements. Both are at least .
The bound imposed by the supposition. If some were at least , truncating a longest increasing run ending at to its first positions would give a strictly increasing sublist of length ; so for every by [L4], and likewise . Combined with and from step 1.2, this gives and , so the map sends into .
Extending a run. Let . If and is an increasing run of length ending at , then defined by and is again a strictly increasing sublist: its indices increase because , and its values increase because for . So and . Symmetrically, if then .
is injective. Let ; since is pairwise distinct, , so or by [L6]. In the first case step 2.2 gives , in the second ; either way , because both run lengths are at least , so by [L4] and equal first coordinates would force equal run lengths, and likewise for the second coordinate. As and were an arbitrary pair of distinct indices, is injective.
The contradiction. Composing with a bijection from [L5] gives an injection of into , which [L5] forbids. So the supposition of step 1.1 is untenable, and has a strictly increasing sublist of length or a strictly decreasing sublist of length .
Remarks
-
Where pairwise distinctness is spent. Only in step 3.1, to force one of the two strict comparisons between and . Without it a list may repeat a value, and then two positions carrying that value force neither run length to increase.
-
Why a greatest element exists at all. The lengths of runs ending at a fixed position form a nonempty set of naturals bounded by the length of the list, and a nonempty bounded set of naturals has a greatest element; that is derived in the facts from the well-ordering principle alone. No maximum of a finite set of reals is involved, and no choice principle is used, since and are determined by rather than selected.
-
The bound is not improvable, and the witness is a list of distinct reals with neither long sublist; it is constructed in For all and there is a list of pairwise distinct reals with no strictly increasing sublist of length and no strictly decreasing sublist of length .
Depends on
- A finite list of reals, and its strictly increasing and strictly decreasing sublists
- The pigeonhole principle on $\mathbb{N}$
- The product rule: $\lvert A \times B\rvert = \lvert A\rvert\,\lvert B\rvert$, and $\big\lvert\prod_{i<m} A_i\big\rvert = \prod_{i<m}\lvert A_i\rvert$
- The cardinality $\lvert A\rvert$ of a finite set
- The well-ordering principle
- Ordered field
- Injection, surjection, bijection
- Order on the natural numbers
- On $\mathbb{N}$ the order is membership: $m < n \iff m \in n$
- Discreteness: $\sigma(n)$ is the immediate successor
- Trichotomy of the order on $\mathbb{N}$
- Every nonzero natural number is a successor
- Finite sums and finite products of natural numbers, $\sum_{k<n} a_k$ and $\prod_{k<n} a_k$ in $\mathbb{N}$
- The natural numbers $\mathbb{N}$ (von Neumann)
- Field
Used by
- A list of six distinct reals with no strictly increasing sublist of length four and no strictly decreasing sublist of length three Counterexample
- FALSE: every list of mn pairwise distinct reals has a strictly increasing sublist of length m+1 or a strictly decreasing sublist of length n+1 False statement
Dependency tree · next 3 levels
Direct dependencies and their dependencies through the next three levels: 65 results over 25 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
- Erdos-Szekeres theorem (Wikipedia) (standard reference, not scraped)
- Pigeonhole principle (Wikipedia) (standard reference, not scraped)
- Longest increasing subsequence (Wikipedia) (standard reference, not scraped)
- Morris, Combinatorics: The Pigeonhole Principle (LibreTexts) (standard reference, not scraped)