Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-adaptedprecheck 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+1 pairwise distinct reals has a strictly increasing sublist of length m+1 or a strictly decreasing sublist of length n+1

Statement

Let m,n∈N and let a:(mn+1)→R be a pairwise distinct finite list of reals of length mn+1 (A finite list of reals, and its strictly increasing and strictly decreasing sublists). Then a has a strictly increasing sublist of length m+1 or a strictly decreasing sublist of length n+1.

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

Facts & Assumptions

Given: Naturals m and n, the length N:=mn+1, and a pairwise distinct list a:N→R. For i<N and L≥1, call s:L→N an increasing run ending at i when s is a strictly increasing sublist of a (in both senses of A finite list of reals, and its strictly increasing and strictly decreasing sublists) with s(L−1)=i, and define a decreasing run ending at i in the same way with the values strictly decreasing.

[L1]

A nonempty subset of N with an upper bound has a greatest element. Let E⊆N be nonempty with E⊆σ(M) for some M. Every e∈E then satisfies e≤M by On N the order is membership: m<n  ⟺  m∈n, so the set C:={ c∈N:e≤c for every e∈E } contains M and has a least element c0 by The well-ordering principle. If c0∉E then every e∈E satisfies e≤c0 and e≠c0, hence e<c0 and σ(e)≤c0 by Discreteness: σ(n) is the immediate successor; since E is nonempty, c0≠0, so c0=σ(c1) for some c1 (Every nonzero natural number is a successor) and e≤c1 for every e∈E, putting c1∈C below c0 and contradicting minimality. So c0∈E and c0 is the greatest element of E.

[L2]

For every i<N there is an increasing run and a decreasing run ending at i, both of length 1: take s:1→N with s(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 N: a run of length L is injective into N, and there is no injection of L into N when N<L (The pigeonhole principle on N, clause 2, Injection, surjection, bijection, A finite list of reals, and its strictly increasing and strictly decreasing sublists).

[L4]

Order facts in N: k<N  ⟺  k∈N, N={k:k<N} and k<σ(M)  ⟺  k≤M (On N the order is membership: m<n  ⟺  m∈n, Order on the natural numbers, The natural numbers N (von Neumann)); exactly one of p<q, p=q, q<p holds (Trichotomy of the order on N); p<q  ⟺  σ(p)≤q (Discreteness: σ(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 and ∏k<nak in N, for which 1≤L gives (L−1)+1=L.

[L5]

∣m×n∣=m n and ∣N∣=N (The product rule: ∣A×B∣=∣A∣ ∣B∣, and ∣∏i<mAi∣=∏i<m∣Ai∣, clause 1, The cardinality ∣A∣ of a finite set); and there is no injection σ(K)→K for any K∈N (The pigeonhole principle on N, clause 1). A bijection m×n→mn exists because the two sets have the same cardinality (The cardinality ∣A∣ of a finite set, clause (d)).

[L6]

R is an ordered field, so its order is total and ai≠aj gives ai<aj or ai>aj (Ordered field, Field).

Proof

technique · contradiction
1.1

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

L2casesassume-contra
1.2

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

L1L2L3L4construct
2.1

The bound imposed by the supposition. If some inc(i) were at least m+1, truncating a longest increasing run ending at i to its first m+1 positions would give a strictly increasing sublist of length m+1; so inc(i)≤m for every i<N by [L4], and likewise dec(i)≤n. Combined with inc(i)≥1 and dec(i)≥1 from step 1.2, this gives inc(i)−1<m and dec(i)−1<n, so the map Φ(i):=(inc(i)−1, dec(i)−1) sends N into m×n.

step 1.1step 1.2L4construct
2.2

Extending a run. Let i<j<N. If ai<aj and s is an increasing run of length L:=inc(i) ending at i, then s′:L+1→N defined by s′ ⁣↾ ⁣L:=s and s′(L):=j is again a strictly increasing sublist: its indices increase because s(L−1)=i<j, and its values increase because as(p)<as(L−1)=ai<aj for p<L−1. So L+1∈Inc(j) and inc(j)≥L+1>inc(i). Symmetrically, if ai>aj then dec(j)>dec(i).

step 1.2L4L6construct
3.1

Φ is injective. Let i<j<N; since a is pairwise distinct, ai≠aj, so ai<aj or ai>aj by [L6]. In the first case step 2.2 gives inc(i)≠inc(j), in the second dec(i)≠dec(j); either way Φ(i)≠Φ(j), because both run lengths are at least 1, so inc(i)=(inc(i)−1)+1 by [L4] and equal first coordinates would force equal run lengths, and likewise for the second coordinate. As i and j were an arbitrary pair of distinct indices, Φ is injective.

step 2.1step 2.2L4L6
4.1

The contradiction. Composing Φ with a bijection m×n→mn from [L5] gives an injection of N=σ(mn) into mn, which [L5] forbids. So the supposition of step 1.1 is untenable, and a has a strictly increasing sublist of length m+1 or a strictly decreasing sublist of length n+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 ai and aj. 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) and dec(i) are determined by i rather than selected.

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

Depends on

Used by

Dependency tree · two levels

42 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources