Proof of `Ramsey's theorem`
groundedproofs/Lax14Proofs/Ramsey.lean · lax-14
What this proof establishes
Lax14.RamseyAssuming the claims on the left, the claim on the right holds — checked by the archive's pipeline. Proof code is not displayed here.
Description
Every large enough graph contains a clique on vertices or an independent set on vertices, derived from the multicolour Ramsey theorem for pairs of this submission.
Proof strategy
The graph form is the two-colour case of the multicolour statement, and this module derives it that way rather than reproving it, so that the archive records the derivation.
Apply with two colours and requested size , and colour a pair of vertices by when it is an edge of the graph and by otherwise. The colouring is well defined on unordered pairs because adjacency is symmetric, which is what requires. The resulting monochromatic set of size at least is a clique when its colour is and an independent set when its colour is , since in either case says exactly that distinct members are adjacent, respectively non-adjacent; then supplies the requested bound in the first branch and in the second.
Attribution
Ramsey, On a problem of formal logic (Proc. London Math. Soc. 1930). The mathematical content sits in the proof of the multicolour statement (), ported from the proof package of the submission Monadic dependence and neighborhood complexity; this module is only the two-colour specialization.