
Upper bounds on R(k, l) from the classical arguments
Source:R/ramsey_theory_native.R
morie_ramsey_upper_bound.RdThe recursion is \(R(k,l) \le R(k-1,l) + R(k,l-1)\), STRICT when both terms on the right are even. Unrolling it with \(R(2,l) = l\) gives the Erdos-Szekeres binomial bound \(\binom{k+l-2}{k-1}\), which is much weaker.
Details
use_known decides whether the recursion may short-circuit on the
nine tabulated values. On, it gives the tightest answer but makes
the result partly a lookup; off, it gives what the argument alone
supports. The two differ: 25 against 31 for \(R(4,5)\). Any claim
that the recursion reproduces a known value must use FALSE.