A cover of by sumfree sets gives a Schur colouring of with colours
ProvedClassicalSchur.exists_schurColoring_of_coveredBySumFreeThis is the second direction of the passage between Schur colourings and covers by sumfree sets.
Let and be natural numbers. A set is sumfree if for all , the case included. Suppose that is covered by sumfree sets, that is, for some sumfree sets . Then there is a colouring with colours that is a Schur colouring of :
With ClassicalSchur.coveredBySumFree_of_schurColoring, for a Schur colouring of with colours gives a cover of by sumfree sets, and such a cover gives a Schur colouring. So the Schur number , the largest for which has a Schur colouring with colours, is also the largest for which is covered by sumfree sets.
Formalization Note. The hypothesis is CoveredBySumFree (Set.Icc 1 N) n: the sets are indexed by Fin n, need not be disjoint and need not lie in . The hypothesis cannot be dropped: for and the empty interval is covered by no sets, but there is no function . The colouring is a function on all of ; the statement says nothing about its values outside .
import Definitions.Def_ClassicalSchurBasic import Definitions.Def_ClassicalSchurColoring import Mathlib open ClassicalSchur open Finset
theorem ClassicalSchur.exists_schurColoring_of_coveredBySumFree {n N : ℕ} (hn : 0 < n)
(h : CoveredBySumFree (Set.Icc 1 N) n) : ∃ c : ℕ → Fin n, SchurColoring N c := by sorry