chars int64 40 24k | content_type stringclasses 9
values | id stringlengths 13 64 | source stringclasses 5
values | subset stringclasses 31
values | text stringlengths 40 24k |
|---|---|---|---|---|---|
430 | leanexplore_declaration | leanexplore:383282 | leanexplore_sqlite | leanexplore_declarations | /-- Let `f = ∑ aₖzⁿₖ` be an entire function of finite order such that `nₖ / k → ∞`.
Then `limsup (fun r => ratio r f) atTop = 1`. This is proved in [Fu63]. -/
@[category research solved, AMS 30]
theorem erdos_516 {f : ℂ → ℂ} {n : ℕ → ℕ}
(hn : HasFabryGaps n) {a : ℕ → ℂ} (ha : ∀ n, a n ≠ 0)
(hfn : ∀ z, HasSum (f... |
130 | leanexplore_declaration | leanexplore:383283 | leanexplore_sqlite | leanexplore_declarations | noncomputable def ratio (r : ℝ) (f : ℂ → ℂ) : ℝ :=
(⨅ z : {z : ℂ // ‖z‖ = r}, ‖f z‖).log / (⨆ z : {z : ℂ // ‖z‖ = r}, ‖f z‖).log |
356 | leanexplore_declaration | leanexplore:383284 | leanexplore_sqlite | leanexplore_declarations | /-- An entire function `f` is said to be of finite order if there exist numbers c, a ≥ 0
such that for all `z`, `‖f z‖ ≤ c * rexp (‖z‖ ^ a)`. -/
def OfFiniteOrder {E F: Type*} [NormedAddCommGroup E] [NormedSpace ℂ E]
[NormedAddCommGroup F] [NormedSpace ℂ F] (f : E → F) : Prop :=
Differentiable ℂ f ∧ ∃ c ≥ 0, ∃ a ... |
439 | leanexplore_declaration | leanexplore:383285 | leanexplore_sqlite | leanexplore_declarations | /-- If `f(z) = ∑ aₖzⁿₖ` is an entire function (with `aₖ ≠ 0` for all `k`) such that `∑ 1 / nₖ < ∞`,
then `f` assumes every value infinitely often. This theorem is proved in [Bi28]. -/
@[category research solved, AMS 30]
theorem erdos_517.variants.fejer {f : ℂ → ℂ} {n : ℕ → ℕ} (hn : HasFejerGaps n) {a : ℕ → ℂ}
(ha :... |
416 | leanexplore_declaration | leanexplore:383286 | leanexplore_sqlite | leanexplore_declarations | /-- If `f(z) = ∑ aₖzⁿₖ` is an entire function (with `aₖ ≠ 0` for all `k`) such that `nₖ / k → ∞`,
is it true that `f` assumes every value infinitely often? -/
@[category research open, AMS 30]
theorem erdos_517 : answer(sorry) ↔ ∀ {f : ℂ → ℂ} {n : ℕ → ℕ} (hn : HasFabryGaps n)
{a : ℕ → ℂ} (ha : ∀ k, a k ≠ 0) (hf : ∀... |
459 | leanexplore_declaration | leanexplore:383287 | leanexplore_sqlite | leanexplore_declarations | /--
Is there an infinite set $A \subset \mathbb{N}$ such that for every $a \in A$,
there is an integer n such that $\phi(n)=a$, and
yet if $n_a$ is the smallest such integer, then $\frac{n_a}{a} → \infty$ as $a → ∞$?
-/
@[category research open, AMS 11]
theorem erdos_51 : answer(sorry) ↔ ∃ A : Set ℕ, ∃ n : A → ℕ,
... |
435 | leanexplore_declaration | leanexplore:383288 | leanexplore_sqlite | leanexplore_declarations | /--
Let $f$ be a Rademacher multiplicative function.
Does there exist some constant $c > 0$ such that, almost surely,
\[
\limsup_{N \to \infty} \frac{\sum_{m \leq N} f(m)}{\sqrt{N \log \log N}} = c?
\]
-/
@[category research open, AMS 11 60]
theorem erdos_520 :
answer(sorry) ↔ ∃ c > 0, ∀ (f : ℕ → Ω → ℝ), IsRadema... |
54 | leanexplore_declaration | leanexplore:383289 | leanexplore_sqlite | leanexplore_declarations | map_of_not_squarefree n ω : ¬ Squarefree n → f n ω = 0 |
68 | leanexplore_declaration | leanexplore:383290 | leanexplore_sqlite | leanexplore_declarations | map_mul_of_coprime a b ω : a.Coprime b → f (a * b) ω = f a ω * f b ω |
82 | leanexplore_declaration | leanexplore:383292 | leanexplore_sqlite | leanexplore_declarations | prob_of_prime p : p.Prime → ℙ {ω | f p ω = 1} = 1 / 2 ∧ ℙ {ω | f p ω = -1} = 1 / 2 |
53 | leanexplore_declaration | leanexplore:383293 | leanexplore_sqlite | leanexplore_declarations | iIndepFun_primes : iIndepFun (fun p : Primes ↦ f p) ℙ |
756 | leanexplore_declaration | leanexplore:383294 | leanexplore_sqlite | leanexplore_declarations | /--
A random function $f$ is Rademacher multiplicative if $f(1) = 1$,
for each prime $p$, we independently choose $f(p) \in \{-1, 1\}$ uniformly at random,
for each square-free integer $n = p_1 \cdots p_r$, $f(n) = f(p_1) \cdots f(p_r)$, and
for each non-squarefree integer $n$, $f(n) = 0$.
-/
structure IsRademacherMult... |
517 | leanexplore_declaration | leanexplore:383295 | leanexplore_sqlite | leanexplore_declarations | /--
Yakir proved that almost all Kac polynomials have `n/2+O(n^(9/10))` many roots in `{z∈C:|z|≤1}`.
-/
@[category research solved, AMS 12 60]
theorem erdos_522.variants.yakir_solution :
∃ p : ℕ → ℝ, Filter.Tendsto p Filter.atTop (𝓝 0) ∧
∀ (Ω : Type*) [MeasureSpace Ω] [IsProbabilityMeasure (ℙ : Measure Ω)]
... |
554 | leanexplore_declaration | leanexplore:383296 | leanexplore_sqlite | leanexplore_declarations | /--
Erdős and Offord showed that the number of real roots of a random degree `n` polynomial with `±1`
coefficients is `(2/π+o(1))log n`.
-/
@[category research solved, AMS 12 60]
theorem erdos_522.variants.number_real_roots : ∃ p o : ℕ → ℝ,
Filter.Tendsto o Filter.atTop (𝓝 0) ∧ Filter.Tendsto p Filter.atTop (𝓝 0)... |
834 | leanexplore_declaration | leanexplore:383297 | leanexplore_sqlite | leanexplore_declarations | /--
Let `f(z)=∑_{0≤k≤n} ϵ_k z^k` be a random polynomial, where `ϵ_k∈{−1,1}` independently uniformly at
random for `0≤k≤n`.
Is it true that the number of roots of `f(z)` in `{z∈C:|z|≤1}` is, almost surely, `(1/2+o(1))n`?
Formalization note: here the goal seems to mean that
` ℙ(| #roots of f in unit disk - n/2 | ≥ o(1))... |
182 | leanexplore_declaration | leanexplore:383298 | leanexplore_sqlite | leanexplore_declarations | /--
The random multiset of roots associated to a Kac polynomial
-/
noncomputable def roots (f : KacPolynomial n S Ω μ) : Ω → Multiset k :=
fun ω => (f.toRandomPolynomial ω).roots |
190 | leanexplore_declaration | leanexplore:383299 | leanexplore_sqlite | leanexplore_declarations | /--
The random polynomial associated to a Kac polynomial
-/
noncomputable def toRandomPolynomial (f : KacPolynomial n S Ω μ) :
Ω → k[X] := fun ω => ∑ i, Polynomial.monomial i.val (f i ω) |
193 | leanexplore_declaration | leanexplore:383300 | leanexplore_sqlite | leanexplore_declarations | /--
We can always view a Kac polynomial as a random vector
-/
instance : FunLike (KacPolynomial n S Ω μ) (Fin n.succ) (Ω → k) where
coe P := P.toFun
coe_injective' := by intro P Q h ; aesop |
57 | leanexplore_declaration | leanexplore:383301 | leanexplore_sqlite | leanexplore_declarations | h_unif : ∀ i, MeasureTheory.pdf.IsUniform (toFun i) S ℙ μ |
45 | leanexplore_declaration | leanexplore:383302 | leanexplore_sqlite | leanexplore_declarations | h_indep : ProbabilityTheory.iIndepFun toFun ℙ |
168 | leanexplore_declaration | leanexplore:383304 | leanexplore_sqlite | leanexplore_declarations | @[ext]
structure KacPolynomial
{k : Type*} (n : ℕ) [Field k] [MeasurableSpace k] (S : Set k)
(Ω : Type*) [MeasureSpace Ω] (μ : Measure k := by volume_tac) where |
513 | leanexplore_declaration | leanexplore:383306 | leanexplore_sqlite | leanexplore_declarations | /--
A *Kac Polynomial* in `n` coefficients over some subset `S` of a field `k` is a polynomial whose `n`
first coefficients are picked uniformely at random in `S` and whose other coefficients are all `0`.
-/
@[ext]
structure KacPolynomial
{k : Type*} (n : ℕ) [Field k] [MeasurableSpace k] (S : Set k)
(Ω : Type*)... |
381 | leanexplore_declaration | leanexplore:383307 | leanexplore_sqlite | leanexplore_declarations | /--
Let $A$ be a finite set of integers. Is it true that for every $\epsilon>0$
$\max( \lvert A+A\rvert,\lvert AA\rvert)\gg_\epsilon \lvert A\rvert^{2-\epsilon}?$
-/
@[category research open, AMS 11]
theorem erdos_52 : answer(sorry) ↔ ∀ (ε : ℝ), 0 < ε → ε < 1 → ∃ (C : ℝ), 0 < C ∧ ∀ (A : Finset ℤ),
(max (A + A).card... |
430 | leanexplore_declaration | leanexplore:383308 | leanexplore_sqlite | leanexplore_declarations | /--
For the stronger $Ω(n)=k$ variant above, the Erdős–Rado method gives the weaker
bound $c_r^k \cdot k!$; see Erdős [Er73].
-/
@[category research solved, AMS 5 11]
theorem erdos_535.variants.sunflower_erdos_rado {r : ℕ} (hr : 3 ≤ r) :
∃ c_r > (0 : ℝ),
∀ k : ℕ, ∀ A : Finset ℕ,
AllBigOmega k A →
... |
565 | leanexplore_declaration | leanexplore:383309 | leanexplore_sqlite | leanexplore_declarations | /--
Erdős [Er73] records that Abbott pointed out the ordinary sunflower conjecture
does not seem to suffice here. The stronger auxiliary conjecture uses $Ω(n)=k$,
i.e. prime factors counted with multiplicity; this stronger statement would imply
the conjectured upper bound for $f_r(N)$.
-/
@[category research open, AMS ... |
316 | leanexplore_declaration | leanexplore:383310 | leanexplore_sqlite | leanexplore_declarations | /-- Abbott and Hanson [AbHa70] improved Erdős's upper bound to $f_r(N) \leq N^{1/2+o(1)}$
for all $r \geq 3$. -/
@[category research solved, AMS 5 11]
theorem erdos_535.variants.abbott_hanson {r : ℕ} (hr : 3 ≤ r) :
∀ ε > (0 : ℝ), ∀ᶠ (N : ℕ) in atTop,
(f r N : ℝ) ≤ (N : ℝ) ^ ((1 : ℝ) / 2 + ε) := by
sorry |
273 | leanexplore_declaration | leanexplore:383311 | leanexplore_sqlite | leanexplore_declarations | /-- Erdős [Er64] proved that $f_3(N) > N^{c/\log\log N}$ for some constant $c > 0$. -/
@[category research solved, AMS 5 11]
theorem erdos_535.variants.lower_bound : ∃ c > (0 : ℝ),
∀ᶠ (N : ℕ) in atTop,
(N : ℝ) ^ (c / log (log (N : ℝ))) ≤ (f 3 N : ℝ) := by
sorry |
286 | leanexplore_declaration | leanexplore:383312 | leanexplore_sqlite | leanexplore_declarations | /-- Erdős [Er64] proved that $f_r(N) \leq N^{3/4+o(1)}$ for all $r \geq 3$. -/
@[category research solved, AMS 5 11]
theorem erdos_535.variants.erdos_upper_bound {r : ℕ} (hr : 3 ≤ r) :
∀ ε > (0 : ℝ), ∀ᶠ (N : ℕ) in atTop,
(f r N : ℝ) ≤ (N : ℝ) ^ ((3 : ℝ) / 4 + ε) := by
sorry |
348 | leanexplore_declaration | leanexplore:383313 | leanexplore_sqlite | leanexplore_declarations | /--
The first open case of Erdős Problem 535 is $r = 3$: there should exist $c > 0$ such that
$f_3(N) \leq N^{c/\log\log N}$ for all sufficiently large $N$.
-/
@[category research open, AMS 5 11]
theorem erdos_535.variants.first_open_case : ∃ c > (0 : ℝ),
∀ᶠ (N : ℕ) in atTop,
(f 3 N : ℝ) ≤ (N : ℝ) ^ (c / log ... |
581 | leanexplore_declaration | leanexplore:383314 | leanexplore_sqlite | leanexplore_declarations | /--
Let $r \geq 3$, and let $f_r(N)$ denote the size of the largest subset of $\{1,\ldots,N\}$
such that no subset of size $r$ has the same pairwise greatest common divisor between all
elements. Erdős [Er64] proved that $f_3(N) > N^{c/\log\log N}$ for some constant $c > 0$, and
conjectured this should also be an upper ... |
325 | leanexplore_declaration | leanexplore:383315 | leanexplore_sqlite | leanexplore_declarations | /-- `f r N` is the maximum size of a subset `A ⊆ {1,…,N}` such that no `r`-element
subset of `A` has constant pairwise GCD. -/
noncomputable def f (r N : ℕ) : ℕ :=
sSup {k : ℕ | ∃ A : Finset ℕ, A ⊆ Finset.Icc 1 N ∧
(∀ S ⊆ A, S.card = r →
¬ (∃ d, (S : Set ℕ).Pairwise fun a b => Nat.gcd a b = d)) ∧
A.card... |
363 | leanexplore_declaration | leanexplore:383316 | leanexplore_sqlite | leanexplore_declarations | /--
All elements of `A` are positive and have exactly `k` prime factors,
counted with multiplicity.
Erdős [Er73] explains that Abbott pointed out the ordinary sunflower conjecture
does not seem to suffice for Problem 535; the corrected stronger auxiliary
statement uses $Ω$, not $ω$.
-/
def AllBigOmega (k : ℕ) (A : Fin... |
288 | leanexplore_declaration | leanexplore:383317 | leanexplore_sqlite | leanexplore_declarations | /-- No `r`-subset has constant pairwise GCD with coprime quotients. -/
def NoConstantPairwiseGcdCoprimeSubsets (r : ℕ) (A : Finset ℕ) : Prop :=
∀ S ⊆ A, S.card = r →
¬ (∃ d, 0 < d ∧ (S : Set ℕ).Pairwise (fun a b => Nat.gcd a b = d) ∧
∀ a ∈ S, ∃ b, a = d * b ∧ Nat.gcd b d = 1) |
547 | leanexplore_declaration | leanexplore:383318 | leanexplore_sqlite | leanexplore_declarations | /--
Let $\epsilon>0$ and $N$ be sufficiently large. Is it true that if $A\subseteq \{1,\ldots,N\}$ has
size at least $\epsilon N$ then there must be distinct $a,b,c\in A$ such that
$$[a, b]=[b, c]=[a, c],$$
where $[\cdot, \cdot]$ denotes the least common multiple?
-/
@[category research open, AMS 11]
theorem erdos_536 ... |
375 | leanexplore_declaration | leanexplore:383319 | leanexplore_sqlite | leanexplore_declarations | /-- From [Er73]: The determination of
$$
\lim_{n\to\infty}\frac{\log(h(n))}{\log(n)}
$$
will perhaps be not too difficult.
-/
-- Formalisation note: it is not clear if this problem has since been solved
@[category research open, AMS 5 11]
theorem erdos_539.variants.limit :
atTop.Tendsto (fun n ↦ Real.log (cofacto... |
275 | leanexplore_declaration | leanexplore:383320 | leanexplore_sqlite | leanexplore_declarations | /-- To prove `erdos_539.variants.sq_cube_root` it suffices to show \[n^{2/3}\ll h(n)\]. -/
@[category research open, AMS 5 11]
theorem erdos_539.variants.sq_cube_root_isBigO :
(fun n : ℕ ↦ (n : ℝ) ^ ((2 : ℝ) / 3)) =O[atTop] fun n ↦ (cofactorThreshold n : ℝ) := by
sorry |
250 | leanexplore_declaration | leanexplore:383321 | leanexplore_sqlite | leanexplore_declarations | /-- Granville and Roesler [GR99] showed that \[h(n)\ll n^{2/3}\].-/
@[category research solved, AMS 5 11]
theorem erdos_539.variants.isBigO_sq_cube_root :
(fun n ↦ (cofactorThreshold n : ℝ)) =O[atTop] fun n ↦ (n : ℝ) ^ ((2 : ℝ) / 3) := by
sorry |
369 | leanexplore_declaration | leanexplore:383322 | leanexplore_sqlite | leanexplore_declarations | /-- Let $h(n)$ be maximal such that, for any set $A\subseteq \mathbb{N}$ of size $n$, the
set\[\left\{ \frac{a}{(a,b)}: a,b\in A\right\}\]has size at least $h(n)$.
Is $h(n) = \Theta(n^{2/3})$? -/
@[category research open, AMS 5 11]
theorem erdos_539.variants.sq_cube_root :
(fun n ↦ (cofactorThreshold n : ℝ)) =Θ[atT... |
231 | leanexplore_declaration | leanexplore:383323 | leanexplore_sqlite | leanexplore_declarations | /-- To prove `erdos_539.variants.sq` it suffices to show \[ h(n)\ll n^{1/2}\]. -/
@[category research open, AMS 5 11]
theorem erdos_539.variants.isBigO_sq :
(fun n ↦ (cofactorThreshold n : ℝ)) =O[atTop] fun n ↦ √n := by
sorry |
215 | leanexplore_declaration | leanexplore:383324 | leanexplore_sqlite | leanexplore_declarations | /-- Erdős and Szemerédi proved that\[n^{1/2} \ll h(n)\]. -/
@[category research solved, AMS 5 11]
theorem erdos_539.variants.sq_isBigO :
(fun n : ℕ ↦ √n) =O[atTop] fun n ↦ (cofactorThreshold n : ℝ) := by
sorry |
339 | leanexplore_declaration | leanexplore:383325 | leanexplore_sqlite | leanexplore_declarations | /-- Let $h(n)$ be maximal such that, for any set $A\subseteq \mathbb{N}$ of size $n$, the
set\[\left\{ \frac{a}{(a,b)}: a,b\in A\right\}\]has size at least $h(n)$.
Is $h(n) = \Theta(\sqrt{n})$? -/
@[category research open, AMS 5 11]
theorem erdos_539.variants.sq :
(fun n ↦ (cofactorThreshold n : ℝ)) =Θ[atTop] fun n... |
327 | leanexplore_declaration | leanexplore:383326 | leanexplore_sqlite | leanexplore_declarations | /-- Let $h(n)$ be maximal such that, for any set $A\subseteq \mathbb{N}$ of size $n$, the
set\[\left\{ \frac{a}{(a,b)}: a,b\in A\right\}\]has size at least $h(n)$. Estimate $h(n)$. -/
@[category research open, AMS 5 11]
theorem erdos_539 :
(fun n ↦ (cofactorThreshold n : ℝ)) =Θ[atTop] (answer(sorry) : ℕ → ℝ) := by
... |
195 | leanexplore_declaration | leanexplore:383327 | leanexplore_sqlite | leanexplore_declarations | /-- The cofactor threshold $h(n)$, for every positive $n$, is the largest cofactor lower bound
for $n$. -/
noncomputable def cofactorThreshold (n : ℕ) : ℕ :=
sSup {m | IsCofactorLowerBound n m} |
300 | leanexplore_declaration | leanexplore:383328 | leanexplore_sqlite | leanexplore_declarations | /-- We say that $m$ is a cofactor lower bound for a given $n$ if, for every set $A$ of $n$
non-negative integers, there are at least $m$ cofactors $a / (a, b)$, where $a, b\in A$.-/
def IsCofactorLowerBound (n m : ℕ) : Prop := ∀ A : Finset ℕ, #A = n →
m ≤ #((A ×ˢ A).image fun (a, b) ↦ a / a.gcd b) |
324 | leanexplore_declaration | leanexplore:383329 | leanexplore_sqlite | leanexplore_declarations | /-- This was proved by Erdős and Szemerédi [ErSz76] for p sufficiently large. -/
@[category research solved, AMS 11]
theorem erdos_541.variants.large_primes : ∀ᶠ p in atTop, p.Prime → ∀ a : Fin p → ZMod p,
(∃ r, ∀ (S : Finset (Fin p)), S ≠ ∅ → ∑ i ∈ S, a i = 0 → S.card = r) →
(Set.range a).ncard ≤ 2 := by
s... |
327 | leanexplore_declaration | leanexplore:383330 | leanexplore_sqlite | leanexplore_declarations | /-- Gao, Hamidoune, and Wang [GHW10] solved this for all moduli `p` (not necessarily prime). -/
@[category research solved, AMS 11]
theorem erdos_541.variants.general_moduli (p : ℕ) (a : Fin p → ZMod p)
(ha₀ : ∃ r, ∀ (S : Finset (Fin p)), S ≠ ∅ → ∑ i ∈ S, a i = 0 → S.card = r) :
(Set.range a).ncard ≤ 2 := by
... |
708 | leanexplore_declaration | leanexplore:383331 | leanexplore_sqlite | leanexplore_declarations | /--
Let $a_1, \dots, a_p$ be (not necessarily distinct) residues modulo a prime $p$, such that there
exists some $r$ so that if $S \subseteq [p]$ is non-empty and
$$\sum_{i \in S} a_i \equiv 0 \pmod{p}$$
then $|S| = r$.
Must there be at most two distinct residues amongst the $a_i$?
This was formalized in Lean by Alex... |
572 | leanexplore_declaration | leanexplore:383332 | leanexplore_sqlite | leanexplore_declarations | /--
Let $R_r(n)$ denote the $r$-uniform hypergraph Ramsey number: the minimal $m$ such that if we
$2$-colour all edges of the complete $r$-uniform hypergraph on $m$ vertices then there must be some
monochromatic copy of the complete $r$-uniform hypergraph on $n$ vertices.
Prove that, for $r \ge 3$,
$$ \log_{r-1} R_r(n... |
444 | leanexplore_declaration | leanexplore:383333 | leanexplore_sqlite | leanexplore_declarations | /--
Let $R_3(n)$ be the minimal $m$ such that if the edges of the $3$-uniform hypergraph on $m$
vertices are $2$-coloured then there is a monochromatic copy of the complete $3$-uniform
hypergraph on $n$ vertices.
Is there some constant $c>0$ such that
$$ R_3(n) \geq 2^{2^{cn}}? $$
-/
@[category research open, AMS 05]
... |
856 | leanexplore_declaration | leanexplore:383334 | leanexplore_sqlite | leanexplore_declarations | /--
Let $G$ be such that any subgraph on $k$ vertices has at most $2k-3$ edges.
Is it true that, if $H$ has $m$ edges and no isolated vertices, then $\hat{r}(G,H) \ll m$?
In other words: if $G$ is sparse (every induced subgraph on $k$ vertices has $≤ 2k-3$ edges),
is $G$ Ramsey size linear?
-/
@[category research open... |
219 | leanexplore_declaration | leanexplore:383335 | leanexplore_sqlite | leanexplore_declarations | /--
**Erdős Problem 567 (H5)**
Is $H_5$ ($C_5$ with two vertex-disjoint chords) Ramsey size linear?
-/
@[category research open, AMS 05]
theorem erdos_567.parts.iii : answer(sorry) ↔ IsRamseySizeLinear H5 := by
sorry |
184 | leanexplore_declaration | leanexplore:383336 | leanexplore_sqlite | leanexplore_declarations | /--
**Erdős Problem 567 (K33)**
Is $K_{3,3}$ Ramsey size linear?
-/
@[category research open, AMS 05]
theorem erdos_567.parts.ii : answer(sorry) ↔ IsRamseySizeLinear K33 := by
sorry |
207 | leanexplore_declaration | leanexplore:383337 | leanexplore_sqlite | leanexplore_declarations | /--
**Erdős Problem 567 (Q3)**
Is $Q_3$ (the 3-dimensional hypercube) Ramsey size linear?
-/
@[category research open, AMS 05]
theorem erdos_567.parts.i : answer(sorry) ↔ IsRamseySizeLinear Q3 := by
sorry |
227 | leanexplore_declaration | leanexplore:383338 | leanexplore_sqlite | leanexplore_declarations | /-- $H_5$ is $C_5$ with two vertex-disjoint chords (5 vertices, 7 edges).
Also known as $K_4^*$ (the graph obtained from $K_4$ by subdividing one edge). -/
def H5 : SimpleGraph (Fin 5) :=
.cycleGraph 5 ⊔ .edge 0 2 ⊔ .edge 1 3 |
177 | leanexplore_declaration | leanexplore:383339 | leanexplore_sqlite | leanexplore_declarations | /-- $K_{3,3}$ is the complete bipartite graph with partition sizes 3, 3 (6 vertices, 9 edges). -/
def K33 : SimpleGraph (Fin 3 ⊕ Fin 3) := completeBipartiteGraph (Fin 3) (Fin 3) |
295 | leanexplore_declaration | leanexplore:383340 | leanexplore_sqlite | leanexplore_declarations | /-- $Q_3$ is the 3-dimensional hypercube graph (8 vertices, 12 edges).
Vertices are 3-bit vectors. Two vertices are adjacent iff they differ in exactly one bit. -/
def Q3 : SimpleGraph (Fin 3 → Bool) where
Adj u v := #{i | u i ≠ v i} = 1
symm _ _ := by simp [eq_comm]
loopless _ := by simp |
492 | leanexplore_declaration | leanexplore:383341 | leanexplore_sqlite | leanexplore_declarations | /--
Suppose $A \subseteq \{1,\dots,N\}$ is such that there are no $k+1$ elements of $A$ which are
relatively prime. An example is the set of all multiples of the first $k$ primes.
Is this the largest such set? To avoid trivial counterexamples, we must insist that $N$ be at
least the $k$th prime.
-/
@[category research... |
283 | leanexplore_declaration | leanexplore:383342 | leanexplore_sqlite | leanexplore_declarations | /--
An example of a `k`-weakly divisible set is the subset of `{1, ..., N}`
containing the multiples of the first `k` primes.
-/
@[category API, AMS 11]
lemma weaklyDivisible_firstPrimesMultiples (N k : ℕ) (hN : 1 ≤ N) :
WeaklyDivisible k (FirstPrimesMultiples N k) := by
sorry |
152 | leanexplore_declaration | leanexplore:383343 | leanexplore_sqlite | leanexplore_declarations | @[category test, AMS 11]
theorem firstPrimesMultiples_zero_k_card_zero (N : ℕ) : (FirstPrimesMultiples N 0).card = 0 := by
simp [FirstPrimesMultiples] |
296 | leanexplore_declaration | leanexplore:383344 | leanexplore_sqlite | leanexplore_declarations | @[category test, AMS 11]
theorem firstPrimesMultiples_one_card_zero (k : ℕ) : (FirstPrimesMultiples 1 k).card = 0 := by
simp [FirstPrimesMultiples, Finset.filter_singleton]
intro n h
by_contra hprime
have : Nat.Prime 1 := by
convert Nat.prime_nth_prime n
exact hprime.symm
tauto |
254 | leanexplore_declaration | leanexplore:383345 | leanexplore_sqlite | leanexplore_declarations | /--
`FirstPrimesMultiples N k` is the set of numbers in `{1,..., N}` that are
a multiple of one of the first `k` primes.
-/
noncomputable def FirstPrimesMultiples (N k : ℕ) : Finset ℕ :=
(Finset.Icc 1 N).filter fun i => ∃ j < k, (j.nth Nat.Prime ∣ i) |
161 | leanexplore_declaration | leanexplore:383346 | leanexplore_sqlite | leanexplore_declarations | @[category test, AMS 11]
theorem maxWeaklyDivisible_zero_k (N : ℕ) : MaxWeaklyDivisible N 0 = 0 := by
simp [empty_iff_weaklyDivisible_zero, MaxWeaklyDivisible] |
403 | leanexplore_declaration | leanexplore:383347 | leanexplore_sqlite | leanexplore_declarations | @[category test, AMS 11]
theorem maxWeaklyDivisible_one {k : ℕ} (hk : k ≠ 0) : MaxWeaklyDivisible 1 k = 1 := by
have : {x | ∃ A, WeaklyDivisible k A ∧ (A = ∅ ∨ A = {1}) ∧ #A = x} = {0, 1} := by
refine Set.ext fun _ => ⟨fun _ => by aesop, ?_⟩
rintro ⟨_, _⟩
· simpa using weaklyDivisible_empty k
· exact ... |
152 | leanexplore_declaration | leanexplore:383348 | leanexplore_sqlite | leanexplore_declarations | @[category test, AMS 11]
theorem maxWeaklyDivisible_zero : ∀ k : ℕ, MaxWeaklyDivisible 0 k = 0 := by
intro k
simp [MaxWeaklyDivisible, Nat.sSup_def] |
240 | leanexplore_declaration | leanexplore:383349 | leanexplore_sqlite | leanexplore_declarations | /--
`MaxWeaklyDivisible N k` is the size of the largest k-weakly divisible subset of `{1,..., N}`
-/
noncomputable def MaxWeaklyDivisible (N : ℕ) (k : ℕ) : ℕ :=
sSup {#A | (A : Finset ℕ) (_ : A ⊆ Finset.Icc 1 N) (_ : WeaklyDivisible k A)} |
234 | leanexplore_declaration | leanexplore:383350 | leanexplore_sqlite | leanexplore_declarations | @[category API, AMS 11]
lemma empty_iff_weaklyDivisible_zero {A : _} : WeaklyDivisible 0 A ↔ A = ∅ :=
⟨fun h ↦ Finset.not_nonempty_iff_eq_empty.1 <| mt not_weaklyDivisible_zero (not_not.2 h),
fun h ↦ h ▸ weaklyDivisible_empty _⟩ |
225 | leanexplore_declaration | leanexplore:383351 | leanexplore_sqlite | leanexplore_declarations | /-- No non-empty set is `1`-weakly divisible. -/
@[category API, AMS 11]
lemma not_weaklyDivisible_zero {A : _} (h : A.Nonempty) : ¬WeaklyDivisible 0 A := by
simpa [WeaklyDivisible] using ⟨{_}, by simpa using h.choose_spec⟩ |
197 | leanexplore_declaration | leanexplore:383352 | leanexplore_sqlite | leanexplore_declarations | /-- A singleton is `k`-weakly divisble if `k ≠ 0`. -/
@[category API, AMS 11]
lemma weaklyDivisible_singleton {k : ℕ} (hk : k ≠ 0) (l : ℕ) : WeaklyDivisible k {l} := by
simp [WeaklyDivisible, hk] |
112 | leanexplore_declaration | leanexplore:383353 | leanexplore_sqlite | leanexplore_declarations | @[category API, AMS 11]
lemma weaklyDivisible_empty (k : ℕ): WeaklyDivisible k {} := by
simp [WeaklyDivisible] |
230 | leanexplore_declaration | leanexplore:383354 | leanexplore_sqlite | leanexplore_declarations | /--
Say a set of natural numbers is `k`-weakly divisible if any `k+1` elements
of `A` are not relatively prime.
-/
def WeaklyDivisible (k : ℕ) (A : Finset ℕ) : Prop :=
∀ s ∈ A.powersetCard (k + 1), ¬ Set.Pairwise s Nat.Coprime |
263 | leanexplore_declaration | leanexplore:383355 | leanexplore_sqlite | leanexplore_declarations | /--
Nguyen and Vu proved that $|A| \ll N^{1/3} (\log N)^{O(1)}$.
-/
@[category research solved, AMS 11]
theorem erdos_587.variants.nguyen_vu : ∃ᵉ (O > 0) (O' > 0),
∀ᶠ N in Filter.atTop, (MaxNotSqSum N : ℝ) ≤ O' * Real.nthRoot 3 N * (N : ℝ).log^O := by
sorry |
293 | leanexplore_declaration | leanexplore:383356 | leanexplore_sqlite | leanexplore_declarations | /--
`MaxNotSqSum N` is the size of the largest subset `A` of
`{1,...,N}` such that for all non-empty `S ⊆ A`, the sum
`∑ n ∈ S, n` is not a square.
-/
def MaxNotSqSum (N : ℕ) : ℕ :=
(Finset.Icc 1 N |>.powerset.filter fun A => ∀ S ⊆ A, S ≠ ⊥ →
¬ IsSquare (∑ n ∈ S, n)).sup Finset.card |
400 | leanexplore_declaration | leanexplore:383357 | leanexplore_sqlite | leanexplore_declarations | /--
Let m be a finite cardinal $< \omega$. Let $α$ be the infinite ordinal $\omega^{\omega}$.
It was proved by Milnor that any red/blue colouring of the edges of $K_α$ there is either a
red $K_α$ or a blue $K_3$. A shorter proof was found by Larson [La73]
-/
@[category research solved, AMS 3]
theorem erdos_590.variants... |
344 | leanexplore_declaration | leanexplore:383358 | leanexplore_sqlite | leanexplore_declarations | /--
Specker [Sp57] proved that when $α=ω^n$ for $3≤ n < \omega$ then it is not the case that any
red/blue colouring of the edges of $K_α$ there is either a red $K_α$ or a blue $K_3$.
-/
@[category research solved, AMS 3]
theorem erdos_590.variants.ge_three_false {n : ℕ} (h : 3 ≤ n) :
¬ OrdinalCardinalRamsey (ω ^ n)... |
258 | leanexplore_declaration | leanexplore:383359 | leanexplore_sqlite | leanexplore_declarations | /--
Specker [Sp57] proved that when $α=ω^2$ any red/blue
colouring of the edges of $K_α$ there is either a red $K_α$ or a blue $K_3$.
-/
@[category research solved, AMS 3]
theorem erdos_590.variants.two : OrdinalCardinalRamsey (ω ^ 2) (ω ^ 2) 3 := by
sorry |
291 | leanexplore_declaration | leanexplore:383360 | leanexplore_sqlite | leanexplore_declarations | /--
Let $α$ be the infinite ordinal $\omega^{\omega}$. It was proved by Chang [Ch72] that any red/blue
colouring of the edges of $K_α$ there is either a red $K_α$ or a blue $K_3$.
-/
@[category research solved, AMS 3]
theorem erdos_590 : OrdinalCardinalRamsey (ω ^ ω) (ω ^ ω) 3 := by
sorry |
372 | leanexplore_declaration | leanexplore:383361 | leanexplore_sqlite | leanexplore_declarations | /--
Let $α$ be the infinite ordinal $\omega^{\omega^2}$. Is it true that any red/blue colouring of the
edges of $K_α$ there is either a red $K_α$ or a blue $K_3$?
This is true and was proved independently by Schipperus [Sc10] and Darby.
-/
@[category research solved, AMS 3]
theorem erdos_591 : answer(True) ↔ OrdinalCa... |
370 | leanexplore_declaration | leanexplore:383362 | leanexplore_sqlite | leanexplore_declarations | /--
Determine which countable ordinals $β$ have the property that, if $α = \omega^β$, then in any
red/blue colouring of the edges of $K_α$ there is either a red $K_α$ or a blue $K_3$.
-/
@[category research open, AMS 3]
theorem erdos_592 (β : Ordinal.{u}) : β.card ≤ ℵ₀ →
OrdinalCardinalRamsey (ω ^ β) (ω ^ β) 3 ↔ (a... |
515 | leanexplore_declaration | leanexplore:383363 | leanexplore_sqlite | leanexplore_declarations | /--
**Erdős Problem 598:**
Let $m$ be an infinite cardinal and $\kappa$ be the successor cardinal of $2^{\aleph_0}$.
Can one colour the countable subsets of $m$ using $\kappa$ many colours so that every
$X \subseteq m$ with $|X| = \kappa$ contains subsets of all possible colours?
-/
@[category research open, AMS 03 05]... |
142 | leanexplore_declaration | leanexplore:383364 | leanexplore_sqlite | leanexplore_declarations | /--
Let $\kappa = (2^{\aleph_0})^+$. This is the successor cardinal of the continuum.
-/
noncomputable def κ : Cardinal := Order.succ (2 ^ ℵ₀) |
1,544 | leanexplore_declaration | leanexplore:383365 | leanexplore_sqlite | leanexplore_declarations | /-- Formal disproof of `disjoint_without_infinite_claim`.
**Counterexample:** Take `α = ℕ`, `I = Fin 2`, with `A 0 = {0}` and `A 1 = {1}`.
These are pairwise disjoint, satisfying the only hypothesis. But singleton sets
are vacuously monochromatic under any colouring: the only pair `(x, y) ∈ {0} × {0}`
is `(0, 0)`, and... |
372 | leanexplore_declaration | leanexplore:383366 | leanexplore_sqlite | leanexplore_declarations | /-- A natural but FALSE relaxation of `erdos_602.variants.disjoint`: drop the
hypothesis that each `A i` is infinite. The original `disjoint` variant requires
`(∀ i, (A i).Infinite)`. Without it, the claim is false. -/
def disjoint_without_infinite_claim : Prop :=
∀ {α : Type} {I : Type} (A : I → Set α),
(∀ i j, ... |
4,320 | leanexplore_declaration | leanexplore:383367 | leanexplore_sqlite | leanexplore_declarations | /--
**Two infinite sets with pairwise intersection of size ≠ 1.**
If the family consists of exactly two countably infinite sets `A₀` and `A₁` with
`|A₀ ∩ A₁| ≠ 1` (and finite), then Property B holds.
**Proof sketch:**
- If `A₀ ∩ A₁ = ∅`: the sets are disjoint. Pick distinct `a, b ∈ A₀` and distinct
`c, d ∈ A₁`. Col... |
696 | leanexplore_declaration | leanexplore:383368 | leanexplore_sqlite | leanexplore_declarations | /--
**Unique index set.**
If the index set has exactly one element (i.e., `[Unique I]`), then Property B holds:
any 2-colouring that makes the single set `A (default : I)` non-monochromatic works.
This follows from the single-set case. -/
@[category undergraduate, AMS 3]
theorem erdos_602.variants.unique_index {α : Ty... |
424 | leanexplore_declaration | leanexplore:383369 | leanexplore_sqlite | leanexplore_declarations | /--
**Empty index set.**
If the index set `I` is empty (has no elements), then Property B holds vacuously:
any 2-colouring works, since there are no sets to be made non-monochromatic. -/
@[category undergraduate, AMS 3]
theorem erdos_602.variants.empty_index {α : Type*} :
∀ (A : PEmpty → Set α),
(∀ i, (A i).... |
1,311 | leanexplore_declaration | leanexplore:383370 | leanexplore_sqlite | leanexplore_declarations | /--
**Intersections of size ≥ 2 suffice.**
For a single countably infinite set `A ⊆ α`, there trivially exists a 2-colouring
of `α` that makes `A` non-monochromatic: since `A` is infinite, it has two distinct
elements, so any colouring that assigns them different colours works. -/
@[category undergraduate, AMS 3]
theo... |
517 | leanexplore_declaration | leanexplore:383371 | leanexplore_sqlite | leanexplore_declarations | /--
**Countable index set case.**
If the index set `I` is countable (indexed by `ℕ`), does the family still have Property B?
This is a (potentially easier) special case of Problem 602 that remains open. -/
@[category research open, AMS 3 5]
theorem erdos_602.variants.countable_index : answer(sorry) ↔
∀ {α : Type*}... |
2,401 | leanexplore_declaration | leanexplore:383372 | leanexplore_sqlite | leanexplore_declarations | /--
**Trivial case: pairwise disjoint families.**
If the `A_i` are pairwise disjoint (all intersections are empty, which in
particular satisfies `|A_i ∩ A_j| ≠ 1`), then Property B holds trivially.
**Proof sketch:** Since each `A_i` is infinite, it has (at least) two distinct elements
`a_i` and `b_i`. We can define a... |
1,151 | leanexplore_declaration | leanexplore:383373 | leanexplore_sqlite | leanexplore_declarations | /--
Does every almost-disjoint family of countably infinite sets whose pairwise
intersections all have size ≠ 1 have Property B?
Formally: let `α` be any type, let `(A_i)_{i ∈ I}` be a family of countably infinite subsets
of `α` such that for all `i ≠ j`, the intersection `A_i ∩ A_j` is finite and
`|A_i ∩ A_j| ≠ 1`. D... |
267 | leanexplore_declaration | leanexplore:383374 | leanexplore_sqlite | leanexplore_declarations | /-- A family `(A_i)_{i ∈ I}` of subsets of `α` has **Property B** if there exists
a 2-colouring `f : α → Fin 2` such that no `A_i` is monochromatic. -/
def HasPropertyB {α : Type*} (I : Type*) (A : I → Set α) : Prop :=
∃ f : α → Fin 2, ∀ i, ¬IsMonochromatic f (A i) |
225 | leanexplore_declaration | leanexplore:383375 | leanexplore_sqlite | leanexplore_declarations | /-- A set `A ⊆ α` is **monochromatic** under a 2-colouring `f : α → Fin 2`
if all elements of `A` receive the same colour. -/
def IsMonochromatic {α : Type*} (f : α → Fin 2) (A : Set α) : Prop :=
∀ x ∈ A, ∀ y ∈ A, f x = f y |
445 | leanexplore_declaration | leanexplore:383376 | leanexplore_sqlite | leanexplore_declarations | /--
Erdős and Gyárfás [ErGy99] showed this property fails for infinitely many $r$ if we replace $r^2+1$
by $r^2$.
-/
@[category research solved, AMS 5]
theorem erdos_617.variants.r2 :
{r : ℕ | ∃ (V : Type) (_ : Fintype V) (_ : DecidableEq V), Fintype.card V = r^2 ∧
∃ (coloring : Sym2 V → Fin r),
∀ (S ... |
385 | leanexplore_declaration | leanexplore:383377 | leanexplore_sqlite | leanexplore_declarations | /--
Erdős and Gyárfás [ErGy99] proved the conjecture for $r=4$.
-/
@[category research solved, AMS 5]
theorem erdos_617.variants.r_eq_4 (r : ℕ) (hr : r ≥ 3) {V : Type} [Fintype V] [DecidableEq V]
(hV : Fintype.card V = 4^2 + 1) (coloring : Sym2 V → Fin 4) :
∃ (S : Finset V) (k : Fin 4),
S.card = 4 + 1 ∧
... |
385 | leanexplore_declaration | leanexplore:383378 | leanexplore_sqlite | leanexplore_declarations | /--
Erdős and Gyárfás [ErGy99] proved the conjecture for $r=3$.
-/
@[category research solved, AMS 5]
theorem erdos_617.variants.r_eq_3 (r : ℕ) (hr : r ≥ 3) {V : Type} [Fintype V] [DecidableEq V]
(hV : Fintype.card V = 3^2 + 1) (coloring : Sym2 V → Fin 3) :
∃ (S : Finset V) (k : Fin 3),
S.card = 3 + 1 ∧
... |
565 | leanexplore_declaration | leanexplore:383379 | leanexplore_sqlite | leanexplore_declarations | /--
Let $r\geq 3$. If the edges of $K_{r^2+1}$ are $r$-coloured then there exist $r+1$ vertices with at
least one colour missing on the edges of the induced $K_{r+1}$.
In other words, there is no balanced colouring.
A conjecture of Erdős and Gyárfás [ErGy99].
-/
@[category research open, AMS 5]
theorem erdos_617 (r :... |
512 | leanexplore_declaration | leanexplore:383380 | leanexplore_sqlite | leanexplore_declarations | /--
Bucić, Nguyen, Scott, and Seymour [BNSS23] improved this to
$f(n) = \exp(c_H \sqrt{\log n \log \log n})$ for some constant $c_H > 0$ dependending on $H$.
[BNSS23] Bucić, M. and Nguyen, T. and Scott, A. and Seymour, P., A loglog step towards Erdos-Hajnal
-/
@[category research solved, AMS 05]
theorem erdos_61.varia... |
469 | leanexplore_declaration | leanexplore:383381 | leanexplore_sqlite | leanexplore_declarations | /--
Erdős and Hajnal [ErHa89] proved that we can take $f(n) = \exp(c_H \sqrt{\log n})$
for some constant $c_H > 0$ dependending on $H$.
[ErHa89] Erdős, P. and Hajnal, A., Ramsey-type theorems. Discrete Appl. Math. (1989), 37-52.
-/
@[category research solved, AMS 05]
theorem erdos_61.variants.erha89 :
∀ {α : Type*... |
380 | leanexplore_declaration | leanexplore:383382 | leanexplore_sqlite | leanexplore_declarations | /--
The Erdős–Hajnal Conjecture states that there is a constant $c(H) > 0$ for each
$H$ such that we can take $f(n) = n^{c(H)}$ in the above formulation.
-/
@[category research open, AMS 05]
theorem erdos_61 :
answer(sorry) ↔ ∀ {α : Type*} [Fintype α] [DecidableEq α] (H : SimpleGraph α),
∃ c > (0 : ℝ), IsErdo... |
232 | leanexplore_declaration | leanexplore:383383 | leanexplore_sqlite | leanexplore_declarations | def IsErdosHajnalLowerBound {α : Type*} [Fintype α] [DecidableEq α]
(H : SimpleGraph α) (f : ℕ → ℝ) : Prop :=
∀ᶠ n in atTop, ∀ G : SimpleGraph (Fin n),
(¬∃ g : α ↪ Fin n, H = G.comap g) → G.indepNum ≥ f n ∨ G.cliqueNum ≥ f n |
521 | leanexplore_declaration | leanexplore:383384 | leanexplore_sqlite | leanexplore_declarations | /--
Let $X$ be a set of cardinality $\aleph_\omega$ and $f$ be a function from the finite subsets of
$X$ to $X$ such that $f(A)\not\in A$ for all $A$. Must there exist an infinite $Y\subseteq X$
that is independent - that is, for all finite $B\subset Y$ we have $f(B)\not\in Y$?
-/
@[category research open, AMS 3]
theor... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.