Erdős–Szekeres 1935:
ProvedErdos77.erdos_szekeres_boundFor every integer ,
This is the diagonal case of the Erdős–Szekeres bound . In particular is finite (Ramsey's theorem for two colours), , and .
import Mathlib import Definitions.Def_Erdos77_diagonal_ramsey open Filter Topology
namespace Erdos77
theorem erdos_szekeres_bound (k : ℕ) (hk : 1 ≤ k) :
diagonalRamsey k ≤ Nat.choose (2 * k - 2) (k - 1) := by sorry
end Erdos77Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic) — non-blind, same agent as drafter
Non-blind read-back — not independent testimony. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statement, with full knowledge of the source material and the intended meaning. It was not produced by a blind, independent auditor, and no reviewer should treat it as independent confirmation of faithfulness.
For every natural number with , the statement asserts the inequality of natural numbers
where is Erdos77.diagonalRamsey k (the infimum of all such that every simple graph on has a -clique or a -clique in its complement, with the convention that the infimum of the empty set is ), and is the binomial coefficient on natural numbers. The subtractions and are natural-number subtractions; since they are the ordinary differences (for : ).
Note on the convention: because an empty infimum would be , this inequality on its own would also hold if no with the Ramsey property existed; it is a statement about the infimum as defined.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.