Dissociated subsets of real sets: the greedy bound (Erdős Problem 963) #
f n is the largest k such that every set of n reals has a dissociated subset with at least k
elements (definition copied verbatim from formal-conjectures). The greedy algorithm gives
Nat.log 3 n ≤ f n: the elements that spoil a dissociated set B lie in its {-1, 0, 1}-span, of
size at most 3 ^ #B.
Main results #
Erdos963.erdos_963.variants.greedy: Nat.log 3 n ≤ f n (Erdős 1965; formal-conjectures erdos_963.variants.greedy)Erdos963.card_span_le: the {-1,0,1}-span of B has at most 3^#B elementsErdos963.addDissociated_insert: B dissociated and x ∉ span B ⇒ insert x B dissociatedErdos963.exists_dissociated: 3^j ≤ #A ⇒ A has a dissociated subset with j elements
References #
- P. Erdős, «Extremal problems in number theory», Proc. Sympos. Pure Math. VIII (1965) 181–189, p. 188.
- erdosproblems.com/963; statement and definition copied verbatim from google-deepmind/formal-conjectures, FormalConjectures/ErdosProblems/963.lean.
$f(n)$ is the largest $k$ such that every set $A\subset\mathbb{R}$ with $n$ elements has a
dissociated subset with at least $k$ elements. The set of such $k$ contains $0$ (take the empty
subset) and is bounded by $n$, so sSup is a true maximum. The set $A$ may contain $0$, which
can never belong to a dissociated set. For $n = 0$ the value is $0$.
Equations
Instances For
The {-1, 0, 1}-span of a finset of reals.
Equations
- Erdos963.span B = Finset.image (fun (ε : ↥B → ℤ) => ∑ b : ↥B, ↑(ε b) * ↑b) (Fintype.piFinset fun (x : ↥B) => {-1, 0, 1})
Instances For
Key step: adding an element outside the span keeps a set dissociated.