Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-adaptedSession-authored (Fable 5 assisted)precheck passverified 2026-08-03 (gpt-5.6-sol-codex-subscription)
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 mn+1mn+1 pairwise distinct reals has a strictly increasing sublist of length m+1m+1 or a strictly decreasing sublist of length n+1n+1

Statement

Let m,nNm, n \in \mathbb{N} and let a:(mn+1)Ra : (mn+1) \to \mathbb{R} be a pairwise distinct finite list of reals of length mn+1mn+1 (A finite list of reals, and its strictly increasing and strictly decreasing sublists). Then aa has a strictly increasing sublist of length m+1m+1 or a strictly decreasing sublist of length n+1n+1.

The length mn+1mn+1 is at least 11 for all mm and nn, so the statement has content at every pair of indices. At m=0m = 0 the list has one term and the required increasing sublist has length 11, which the single position supplies; at n=0n = 0 the same reading holds for the decreasing sublist, and the increasing one of length 11 is also available.

Facts & Assumptions

Given: Naturals mm and nn, the length N:=mn+1N := mn+1, and a pairwise distinct list a:NRa : N \to \mathbb{R}. For i<Ni < N and L1L \ge 1, call s:LNs : L \to N an increasing run ending at ii when ss is a strictly increasing sublist of aa (in both senses of A finite list of reals, and its strictly increasing and strictly decreasing sublists) with s(L1)=is(L-1) = i, and define a decreasing run ending at ii in the same way with the values strictly decreasing.

[L1]

A nonempty subset of N\mathbb{N} with an upper bound has a greatest element. Let ENE \subseteq \mathbb{N} be nonempty with Eσ(M)E \subseteq \sigma(M) for some MM. Every eEe\in E then satisfies eMe\le M by On N\mathbb{N} the order is membership: m<n    mnm < n \iff m \in n, so the set C:={cN:ec for every eE}C := \{\, c \in \mathbb{N} : e \le c \text{ for every } e \in E \,\} contains MM and has a least element c0c_0 by The well-ordering principle. If c0Ec_0 \notin E then every eEe \in E satisfies ec0e \le c_0 and ec0e \ne c_0, hence e<c0e < c_0 and σ(e)c0\sigma(e) \le c_0 by Discreteness: σ(n)\sigma(n) is the immediate successor; since EE is nonempty, c00c_0 \ne 0, so c0=σ(c1)c_0 = \sigma(c_1) for some c1c_1 (Every nonzero natural number is a successor) and ec1e \le c_1 for every eEe \in E, putting c1Cc_1 \in C below c0c_0 and contradicting minimality. So c0Ec_0 \in E and c0c_0 is the greatest element of EE.

[L2]

For every i<Ni < N there is an increasing run and a decreasing run ending at ii, both of length 11: take s:1Ns : 1 \to N with s(0)=is(0) = i, which is vacuously monotone in both senses (A finite list of reals, and its strictly increasing and strictly decreasing sublists).

[L3]

Every run has length at most NN: a run of length LL is injective into NN, and there is no injection of LL into NN when N<LN < L (The pigeonhole principle on N\mathbb{N}, clause 2, Injection, surjection, bijection, A finite list of reals, and its strictly increasing and strictly decreasing sublists).

[L4]

Order facts in N\mathbb{N}: k<N    kNk < N \iff k \in N, N={k:k<N}N = \{k : k<N\} and k<σ(M)    kMk < \sigma(M) \iff k \le M (On N\mathbb{N} the order is membership: m<n    mnm < n \iff m \in n, Order on the natural numbers, The natural numbers N\mathbb{N} (von Neumann)); exactly one of p<qp<q, p=qp=q, q<pq<p holds (Trichotomy of the order on N\mathbb{N}); p<q    σ(p)qp<q \iff \sigma(p) \le q (Discreteness: σ(n)\sigma(n) 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, k<nak\sum_{k<n} a_k and k<nak\prod_{k<n} a_k in N\mathbb{N}, for which 1L1 \le L gives (L1)+1=L(L-1)+1 = L.

[L5]

m×n=mn\lvert m \times n\rvert = m\,n and N=N\lvert N\rvert = N (The product rule: A×B=AB\lvert A \times B\rvert = \lvert A\rvert\,\lvert B\rvert, and i<mAi=i<mAi\big\lvert\prod_{i<m} A_i\big\rvert = \prod_{i<m}\lvert A_i\rvert, clause 1, The cardinality A\lvert A\rvert of a finite set); and there is no injection σ(K)K\sigma(K) \to K for any KNK \in \mathbb{N} (The pigeonhole principle on N\mathbb{N}, clause 1). A bijection m×nmnm \times n \to mn exists because the two sets have the same cardinality (The cardinality A\lvert A\rvert of a finite set, clause (d)).

[L6]

R\mathbb{R} is an ordered field, so its order is total and aiaja_i \ne a_j gives ai<aja_i < a_j or ai>aja_i > a_j (Ordered field, Field).

Proof

technique · contradiction
1.1

If m=0m=0 or n=0n=0, then N=mn+1=1N=mn+1=1, and the one-term sublist ending at 00 supplied by [L2] has the required length 1=m+11=m+1 or 1=n+11=n+1, respectively. Hence assume m,n1m,n\ge1 and suppose, for contradiction, that aa has neither required sublist.

L2casesassume-contra
1.2

The two run lengths. For i<Ni < N let Inc(i)\mathrm{Inc}(i) be the set of lengths of increasing runs ending at ii and Dec(i)\mathrm{Dec}(i) the set of lengths of decreasing runs ending at ii. Both are nonempty by [L2] and both are contained in σ(N)\sigma(N) by [L3] and [L4], so both have a greatest element by [L1]; write inc(i)\mathrm{inc}(i) and dec(i)\mathrm{dec}(i) for those greatest elements. Both are at least 11.

L1L2L3L4construct
2.1

The bound imposed by the supposition. If some inc(i)\mathrm{inc}(i) were at least m+1m+1, truncating a longest increasing run ending at ii to its first m+1m+1 positions would give a strictly increasing sublist of length m+1m+1; so inc(i)m\mathrm{inc}(i) \le m for every i<Ni < N by [L4], and likewise dec(i)n\mathrm{dec}(i) \le n. Combined with inc(i)1\mathrm{inc}(i) \ge 1 and dec(i)1\mathrm{dec}(i) \ge 1 from step 1.2, this gives inc(i)1<m\mathrm{inc}(i)-1 < m and dec(i)1<n\mathrm{dec}(i)-1 < n, so the map Φ(i):=(inc(i)1, dec(i)1)\Phi(i) := \big(\mathrm{inc}(i)-1,\ \mathrm{dec}(i)-1\big) sends NN into m×nm \times n.

step 1.1step 1.2L4construct
2.2

Extending a run. Let i<j<Ni < j < N. If ai<aja_i < a_j and ss is an increasing run of length L:=inc(i)L := \mathrm{inc}(i) ending at ii, then s:L+1Ns' : L+1 \to N defined by s ⁣ ⁣L:=ss'\!\restriction\!L := s and s(L):=js'(L) := j is again a strictly increasing sublist: its indices increase because s(L1)=i<js(L-1) = i < j, and its values increase because as(p)<as(L1)=ai<aja_{s(p)} < a_{s(L-1)} = a_i < a_j for p<L1p < L-1. So L+1Inc(j)L+1 \in \mathrm{Inc}(j) and inc(j)L+1>inc(i)\mathrm{inc}(j) \ge L+1 > \mathrm{inc}(i). Symmetrically, if ai>aja_i > a_j then dec(j)>dec(i)\mathrm{dec}(j) > \mathrm{dec}(i).

step 1.2L4L6construct
3.1

Φ\Phi is injective. Let i<j<Ni < j < N; since aa is pairwise distinct, aiaja_i \ne a_j, so ai<aja_i < a_j or ai>aja_i > a_j by [L6]. In the first case step 2.2 gives inc(i)inc(j)\mathrm{inc}(i) \ne \mathrm{inc}(j), in the second dec(i)dec(j)\mathrm{dec}(i) \ne \mathrm{dec}(j); either way Φ(i)Φ(j)\Phi(i) \ne \Phi(j), because both run lengths are at least 11, so inc(i)=(inc(i)1)+1\mathrm{inc}(i) = (\mathrm{inc}(i)-1)+1 by [L4] and equal first coordinates would force equal run lengths, and likewise for the second coordinate. As ii and jj were an arbitrary pair of distinct indices, Φ\Phi is injective.

step 2.1step 2.2L4L6
4.1

The contradiction. Composing Φ\Phi with a bijection m×nmnm \times n \to mn from [L5] gives an injection of N=σ(mn)N = \sigma(mn) into mnmn, which [L5] forbids. So the supposition of step 1.1 is untenable, and aa has a strictly increasing sublist of length m+1m+1 or a strictly decreasing sublist of length n+1n+1.

step 2.1step 3.1L5discharge-contradiction

Remarks

  • Where pairwise distinctness is spent. Only in step 3.1, to force one of the two strict comparisons between aia_i and aja_j. 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 inc(i)\mathrm{inc}(i) and dec(i)\mathrm{dec}(i) are determined by ii rather than selected.

  • The bound mn+1mn+1 is not improvable, and the witness is a list of mnmn distinct reals with neither long sublist; it is constructed in For all mm and nn there is a list of mnmn pairwise distinct reals with no strictly increasing sublist of length m+1m+1 and no strictly decreasing sublist of length n+1n+1.

Depends on

Used by

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