Restricted sums with compressed sizes #
Theorem 3.2 of Alon-Nathanson-Ruzsa: a lower bound on the restricted sum set in terms of the "compressed sizes" of the summand sets.
The main theorem of this file was originally proved by Aristotle (Lean v4.24.0, project request uuid 08cb15be-5c46-4619-9dbf-e523d453b544).
The transformation T maps a sequence b to b' by finding the largest index
j such that b_j > k + 1 - j and setting b'_j = b_j - 1. If no such j
exists (i.e. b is the base sequence), it returns b.
Equations
Instances For
theorem
compressedSizes_pos
{k : ℕ}
{b : Fin (k + 1) → ℕ}
(h_last_pos : compressedSizes b (Fin.last k) > 0)
(i : Fin (k + 1))
:
theorem
compressedSizes_is_valid
{k : ℕ}
{b : Fin (k + 1) → ℕ}
(h_last_pos : compressedSizes b (Fin.last k) > 0)
:
ValidSeq k (compressedSizes b)
theorem
compressedSizes_restricted_sum
{p : ℕ}
[Fact (Nat.Prime p)]
{k : ℕ}
(A : Fin (k + 1) → Finset (ZMod p))
(_h_nonempty : ∀ (i : Fin (k + 1)), (A i).Nonempty)
(_h_sizes_noninc : ∀ (i j : Fin (k + 1)), i ≤ j → (A j).card ≤ (A i).card)
(h_last_pos : compressedSizes (fun (i : Fin (k + 1)) => (A i).card) (Fin.last k) > 0)
: