If A ⊆ B, then subsetSums A ⊆ subsetSums B.
The set of subset sums of a sequence ℕ → M, where repetition is allowed.
Instances For
A set A ⊆ M is complete if every sufficiently large element of M is a subset sum of A.
Equations
- IsAddComplete A = ∀ᶠ (k : M) in Filter.atTop, k ∈ subsetSums A
Instances For
If A ⊆ B and A is complete, then B is also complete.
A set A ⊆ M is complete if every sufficiently large element of M is a subset sum of A.
Equations
- IsAddStronglyComplete A = ∀ ⦃B : Set M⦄, B.Finite → IsAddComplete (A \ B)
Instances For
A strongly complete set is complete.
If A ⊆ B and A is strongly complete, then B is also strongly complete.
A sequence A is strongly complete if fun m => A (n + m) is still complete for all n.
Equations
- IsAddStronglyCompleteNatSeq A = ∀ (n : ℕ), IsAddComplete (Set.range fun (m : ℕ) => A (n + m))
Instances For
A strongly complete sequence is complete.
If the range of a sequence A is strongly complete, then A is strongly complete.
If A is strongly complete and the preimage of each element is finite, then the range of A
is strongly complete.
A sequence A is complete if every sufficiently large element of M is a sum of
(not necessarily distinct) terms of A.
Equations
- IsAddCompleteNatSeq' A = ∀ᶠ (k : M) in Filter.atTop, k ∈ subseqSums' A