The folding lemma (Erdős 865, §3) #
Folds a triple-free set A ⊆ [1,N] onto a FoldedOK set B_h and controls the
collisions via the exceptional set, giving the folding lemma folding_lemma.
theorem
Erdos865.foldedOK_Bset
{A : Finset ℕ}
{N h : ℕ}
(hA : IsTripleFree A)
(hh : h ∈ A)
(_hh2 : 2 ≤ h)
:
theorem
Erdos865.collisions_subset_Eset
{A : Finset ℕ}
{N h : ℕ}
(hA : IsTripleFree A)
(hh : h ∈ A)
:
collisions h (Bset A N h) ⊆ Eset A N h