Disjoint cofactor blocks combine their subset-sum compression multiplicatively
ProvedErdos287.cofactor_subset_sums_compress_over_disjoint_blocksegyptian-fractionserdos-problemsnumber-theory
Let be finite and carry positive integer weights. Let be pairwise disjoint subsets of . For each block, suppose the family contains a subset with each weight sum attainable within . Then all nonempty subset sums of have representatives in a family of at most nonempty subsets of .
Preamble
import Mathlib
Formal statement
theorem Erdos287.cofactor_subset_sums_compress_over_disjoint_blocks (U I : Finset ℕ) (B : ℕ → Finset ℕ) (A : ℕ → Finset (Finset ℕ)) (w : ℕ → ℕ)
(hpos : ∀ x ∈ U, 0 < w x)
(hB : ∀ i ∈ I, B i ⊆ U)
(hdisj : ∀ i ∈ I, ∀ j ∈ I, i ≠ j → Disjoint (B i) (B j))
(hA : ∀ i ∈ I, ∀ V ∈ A i, V ⊆ B i)
(hlocal : ∀ i ∈ I, ∀ T ⊆ B i, ∃ V ∈ A i, (∑ x ∈ V, w x) = ∑ x ∈ T, w x) :
∃ F : Finset (Finset ℕ),
(∀ V ∈ F, V ⊆ U ∧ V.Nonempty) ∧
(∀ T ⊆ U, T.Nonempty → ∃ V ∈ F, (∑ x ∈ V, w x) = ∑ x ∈ T, w x) ∧
F.card ≤ 2 ^ (U \ I.biUnion B).card * ∏ i ∈ I, (A i).card := by sorry
Source
Erdős Problem 287, https://www.erdosproblems.com/287. Independent compression of cleared cofactor sums on disjoint blocks.