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
478
leanexplore_declaration
leanexplore:382375
leanexplore_sqlite
leanexplore_declarations
/-- Are there infinitely many $n$ such that $n-k^2$ is prime for all $k$ with $(n,k)=1$ and $k^2 < n$? In [Va99] it is asked whether $968$ is the largest integer with this property, but this is an error, since for example $968-9=7\cdot 137$. The list of $n$ satisfying the given property is [A214583] in the OEIS. The ...
243
leanexplore_declaration
leanexplore:382376
leanexplore_sqlite
leanexplore_declarations
instance (n : ℕ) : Decidable (Erdos1141Prop n) := decidable_of_iff (∀ k ≤ .sqrt (n - 1), Coprime n k → (n - k ^ 2).Prime) <| by cases n with | zero => simp [Erdos1141Prop] | succ n' => simp [Erdos1141Prop, le_sqrt, pow_two]
170
leanexplore_declaration
leanexplore:382377
leanexplore_sqlite
leanexplore_declarations
/-- The property that $n-k^2$ is prime for all $k$ with $(n,k)=1$ and $k^2 < n$. -/ def Erdos1141Prop (n : ℕ) : Prop := ∀ k, k ^ 2 < n → Coprime n k → (n - k ^ 2).Prime
244
leanexplore_declaration
leanexplore:382378
leanexplore_sqlite
leanexplore_declarations
/-- $106$ does not satisfy the Erdős 1142 property ($106 - 2 = 104 = 8 \times 13$). -/ @[category test, AMS 11] theorem erdos_1142.test_not_106 : ¬ Erdos1142Prop 106 := by intro ⟨_, h⟩ have := h 1 (by omega) (by omega) revert this; decide
278
leanexplore_declaration
leanexplore:382379
leanexplore_sqlite
leanexplore_declarations
/-- $105$ satisfies the Erdős 1142 property: the largest known example. $105 - 2 = 103$, $105 - 4 = 101$, $105 - 8 = 97$, $105 - 16 = 89$, $105 - 32 = 73$, $105 - 64 = 41$. -/ @[category test, AMS 11] theorem erdos_1142.test_105 : Erdos1142Prop 105 := by prove_erdos_1142_prop 6
240
leanexplore_declaration
leanexplore:382380
leanexplore_sqlite
leanexplore_declarations
/-- $75$ satisfies the Erdős 1142 property: $75 - 2 = 73$, $75 - 4 = 71$, $75 - 8 = 67$, $75 - 16 = 59$, $75 - 32 = 43$, $75 - 64 = 11$. -/ @[category test, AMS 11] theorem erdos_1142.test_75 : Erdos1142Prop 75 := by prove_erdos_1142_prop 6
224
leanexplore_declaration
leanexplore:382381
leanexplore_sqlite
leanexplore_declarations
/-- $45$ satisfies the Erdős 1142 property: $45 - 2 = 43$, $45 - 4 = 41$, $45 - 8 = 37$, $45 - 16 = 29$, $45 - 32 = 13$. -/ @[category test, AMS 11] theorem erdos_1142.test_45 : Erdos1142Prop 45 := by prove_erdos_1142_prop 5
207
leanexplore_declaration
leanexplore:382382
leanexplore_sqlite
leanexplore_declarations
/-- $21$ satisfies the Erdős 1142 property: $21 - 2 = 19$, $21 - 4 = 17$, $21 - 8 = 13$, $21 - 16 = 5$. -/ @[category test, AMS 11] theorem erdos_1142.test_21 : Erdos1142Prop 21 := by prove_erdos_1142_prop 4
191
leanexplore_declaration
leanexplore:382383
leanexplore_sqlite
leanexplore_declarations
/-- $15$ satisfies the Erdős 1142 property: $15 - 2 = 13$, $15 - 4 = 11$, $15 - 8 = 7$. -/ @[category test, AMS 11] theorem erdos_1142.test_15 : Erdos1142Prop 15 := by prove_erdos_1142_prop 3
183
leanexplore_declaration
leanexplore:382384
leanexplore_sqlite
leanexplore_declarations
/-- $7$ satisfies the Erdős 1142 property: $7 - 2 = 5$ and $7 - 4 = 3$ are prime. -/ @[category test, AMS 11] theorem erdos_1142.test_7 : Erdos1142Prop 7 := by prove_erdos_1142_prop 2
166
leanexplore_declaration
leanexplore:382385
leanexplore_sqlite
leanexplore_declarations
/-- $4$ satisfies the Erdős 1142 property: $4 - 2 = 2$ is prime. -/ @[category test, AMS 11] theorem erdos_1142.test_4 : Erdos1142Prop 4 := by prove_erdos_1142_prop 1
359
leanexplore_declaration
leanexplore:382386
leanexplore_sqlite
leanexplore_declarations
/-- Mientka and Weitzenkamp [MiWe69] proved that the only $n \leq 2^{44}$ such that $n > 2$ and $n - 2^k$ is prime for all $k \geq 1$ with $2^k < n$ are $4, 7, 15, 21, 45, 75, 105$. -/ @[category research solved, AMS 11] theorem erdos_1142.variants.mientka_weitzenkamp : { n : ℕ | n ≤ 2 ^ 44 ∧ Erdos1142Prop n } = {4...
327
leanexplore_declaration
leanexplore:382387
leanexplore_sqlite
leanexplore_declarations
/-- Are there infinitely many $n > 2$ such that $n - 2^k$ is prime for all $k \geq 1$ with $2^k < n$? The only known such $n$ are $4, 7, 15, 21, 45, 75, 105$ (OEIS [A039669](https://oeis.org/A039669)). -/ @[category research open, AMS 11] theorem erdos_1142 : answer(sorry) ↔ Infinite { n | Erdos1142Prop n } := by ...
397
leanexplore_declaration
leanexplore:382388
leanexplore_sqlite
leanexplore_declarations
/-- The property that $n > 2$ and $n - 2^k$ is prime for all $k \geq 1$ with $2^k < n$. Following the OEIS [A039669](https://oeis.org/A039669) convention ("Numbers n > 2 such that ..."), we require $n > 2$ to exclude the trivial cases $n \leq 2$, for which the primality condition is vacuously satisfied. -/ def Erdos11...
748
leanexplore_declaration
leanexplore:382389
leanexplore_sqlite
leanexplore_declarations
/-- A stronger form of [erdosproblems.com/28]. -/ @[category test, AMS 11] theorem erdos_1145.test_implies_erdos_28 : Erdos1145Prop → type_of% Erdos28.erdos_28 := by delta sumRep intro h1145 s hs rcases hs.exists_le with ⟨m, hm⟩ by_cases hfin : s.Finite · exact absurd hs (hfin.add hfin).infinite_compl · hav...
369
leanexplore_declaration
leanexplore:382390
leanexplore_sqlite
leanexplore_declarations
/-- Let $A=\{1\leq a_1 < a_2 < \cdots\}$ and $B=\{1\leq b_1 < b_2 < \cdots\}$ be sets of integers with $a_n/b_n\to 1$. If $A+B$ contains all sufficiently large positive integers then is it true that $\limsup 1_A\ast 1_B(n)=\infty$? A conjecture of Erdős and Sárközy. -/ @[category research open, AMS 5] theorem erdos_1...
1,015
leanexplore_declaration
leanexplore:382391
leanexplore_sqlite
leanexplore_declarations
/-- Let $A=\{1\leq a_1 < a_2 < \cdots\}$ and $B=\{1\leq b_1 < b_2 < \cdots\}$ be sets of integers with $a_n/b_n\to 1$. If $A+B$ contains all sufficiently large positive integers then is it true that $\limsup 1_A\ast 1_B(n)=\infty$? Formalization note: There's some discussion in the comments of [erdosproblems.com/28] ...
204
leanexplore_declaration
leanexplore:382392
leanexplore_sqlite
leanexplore_declarations
/-- [Va99] reports this is 'obvious' if we replace $\leq n$ with $\leq n+2\sqrt{n}$. -/ @[category research solved, AMS 11] theorem erdos_1148.variants.weaker : ∀ n, erdos_1148_weaker_prop n := by sorry
307
leanexplore_declaration
leanexplore:382393
leanexplore_sqlite
leanexplore_declarations
/-- The weaker property: $n = x^2 + y^2 - z^2$ such that $\max(x^2, y^2, z^2) \leq n + 2\sqrt{n}$. -/ def erdos_1148_weaker_prop (n : ℕ) : Prop := ∃ x y z : ℕ, n = x ^ 2 + y ^ 2 - z ^ 2 ∧ (x ^ 2 : ℝ) ≤ n + 2 * Real.sqrt n ∧ (y ^ 2 : ℝ) ≤ n + 2 * Real.sqrt n ∧ (z ^ 2 : ℝ) ≤ n + 2 * Real.sqrt n
117
leanexplore_declaration
leanexplore:382394
leanexplore_sqlite
leanexplore_declarations
@[category high_school, AMS 11] theorem erdos_1148.variants.lower_bound : ¬ Erdos1148Prop 6563 := by decide +native
212
leanexplore_declaration
leanexplore:382395
leanexplore_sqlite
leanexplore_declarations
/-- Can every large integer $n$ be written as $n=x^2+y^2-z^2$ with $\max(x^2,y^2,z^2)\leq n$? -/ @[category research open, AMS 11] theorem erdos_1148 : answer(sorry) ↔ ∀ᶠ n in atTop, Erdos1148Prop n := by sorry
228
leanexplore_declaration
leanexplore:382396
leanexplore_sqlite
leanexplore_declarations
/-- A natural number $n$ which can be written as $n$ if $n = x^2 + y^2 - z^2$ with $\max(x^2, y^2, z^2) \leq n$. -/ def Erdos1148Prop (n : ℕ) : Prop := ∃ x y z : ℕ, n = x ^ 2 + y ^ 2 - z ^ 2 ∧ x ^ 2 ≤ n ∧ y ^ 2 ≤ n ∧ z ^ 2 ≤ n
613
leanexplore_declaration
leanexplore:382397
leanexplore_sqlite
leanexplore_declarations
/-- The trivial lower bound from Parseval's identity: for any polynomial $P$ of degree $n$ with coefficients in $\{-1, 1\}$, we have $\max_{|z|=1} |P(z)| \geq \sqrt{n+1}$. This follows from Parseval's identity: $$\frac{1}{2\pi} \int_0^{2\pi} |P(e^{i\theta})|^2 d\theta = \sum_{k=0}^{n} |a_k|^2 = n+1$$ since each $|a_k|...
484
leanexplore_declaration
leanexplore:382398
leanexplore_sqlite
leanexplore_declarations
/-- Is there some constant $c > 0$ such that, for all large enough $n$ and all polynomials $P$ of degree $n$ with coefficients in $\{-1, 1\}$, $$\max_{|z|=1} |P(z)| > (1 + c) \sqrt{n}?$$ -/ @[category research open, AMS 12 30] theorem erdos_1150 : answer(sorry) ↔ ∃ c > 0, ∀ᶠ n in Filter.atTop, ∀ P : ℂ[X], (∀...
819
leanexplore_declaration
leanexplore:382399
leanexplore_sqlite
leanexplore_declarations
/-- Let $G$ be a graph with chromatic number $\aleph_1$. Is it true that there is a colouring of the edges with $\aleph_1$ many colours such that, in any countable colouring of the vertices, there exists a vertex colour containing all edge colours? A problem of Erdős, Galvin, and Hajnal. The consistency of this was pr...
489
leanexplore_declaration
leanexplore:382400
leanexplore_sqlite
leanexplore_declarations
/-- Is it true that, for any $x$, if $A\subset [x,\infty)$ is a primitive set of integers (so that no distinct elements of $A$ divide each other) then\[\sum_{a\in A}\frac{1}{a\log a}&#60; 1+o(1),\]where the $o(1)$ term $\to 0$ as $x\to \infty$? -/ @[category research solved, AMS 11] theorem erdos_1196 : answer(True...
195
leanexplore_declaration
leanexplore:382401
leanexplore_sqlite
leanexplore_declarations
/-- A set is primitive if no non-associated elements of the set divide each other. -/ def IsPrimitive {M : Type*} [CommMonoid M] (A : Set M) : Prop := ∀ᵉ (x ∈ A) (y ∈ A), x ∣ y → Associated x y
348
leanexplore_declaration
leanexplore:382402
leanexplore_sqlite
leanexplore_declarations
/-- Question 3: Is it true that there exists $c > 0$ such that, for all large $n$, $\sum_{k \leq n} M_k > n^{1 + c}$? -/ @[category research open, AMS 30] theorem erdos_119.parts.iii : answer(sorry) ↔ ∀ (z : ℕ → ℂ) (hz : ∀ i : ℕ, ‖z i‖ = 1), ∃ (c : ℝ) (hc : c > 0), ∀ᶠ n in atTop, ∑ k ∈ range n, M z k...
532
leanexplore_declaration
leanexplore:382403
leanexplore_sqlite
leanexplore_declarations
/-- Question 2: Is it true that there exists $c > 0$ such that for infinitely many $n$ we have $M_n > n^c$? Beck [Be91] proved that there exists some $c > 0$ such that $\max_{n \leq N} M_n > N^c$. [Be91] Beck, J., The modulus of polynomials with zeros on the unit circle: A problem of Erdős. Annals of Math. (1991), 6...
457
leanexplore_declaration
leanexplore:382404
leanexplore_sqlite
leanexplore_declarations
/-- Question 1: Is it true that $\limsup M_n = \infty$? Wagner [Wa80] proved that there is some $c > 0$ with $M_n > (\log n)^c$ infintely often. [Wa80] Wagner, Gerold, On a problem of {E}rdős in {D}iophantine approximation. Bull. London Math. Soc. (1980), 81--88. -/ @[category research solved, AMS 30] theorem erdos_...
139
leanexplore_declaration
leanexplore:382405
leanexplore_sqlite
leanexplore_declarations
/-- Let $M_n = \max_{|z| = 1} |p_n(z)|$. -/ noncomputable def M (z : ℕ → ℂ) (n : ℕ) : ℝ := sSup { (‖p z n w‖) | (w : ℂ) (_ : ‖w‖ = 1) }
248
leanexplore_declaration
leanexplore:382406
leanexplore_sqlite
leanexplore_declarations
/-- Let $z_i$ be an infinite sequence of complex numbers such that $|z_i| = 1$ for all $i \geq 1$. For $n \geq 1$ let $p_n(z) = \prod_{i \leq n} (z - z_i)$. -/ noncomputable def p (z : ℕ → ℂ) (n : ℕ) : ℂ → ℂ := fun w => ∏ i ∈ range n, (w - z i)
522
leanexplore_declaration
leanexplore:382407
leanexplore_sqlite
leanexplore_declarations
/-- Suppose that every odd $n$ is the sum of a squarefree number and a power of 2. Then the set of primes $p$ such that $2 ^ p ≡ 2 \mod p ^ 2$ is infinite. This is Theorem 1 in [GrSo98]. [GrSo98] Granville, A. and Soundararajan, K., A Binary Additive Problem of Erdős and the Order of $2$ mod $p^2$. The Ramanujan Journa...
268
leanexplore_declaration
leanexplore:382408
leanexplore_sqlite
leanexplore_declarations
/-- Every odd $1 < n < 2^50$ is the sum of a squarefree number and a power of 2. -/ @[category research solved, AMS 11] theorem erdos_11.variants.finite_bound2 (n : ℕ) (hn : Odd n) (h : n < 2^50) (hn' : 1 < n) : ∃ k l : ℕ , Squarefree k ∧ n = k + 2^l := by sorry
268
leanexplore_declaration
leanexplore:382409
leanexplore_sqlite
leanexplore_declarations
/-- Every odd $1 < n < 10^7$ is the sum of a squarefree number and a power of 2. -/ @[category research solved, AMS 11] theorem erdos_11.variants.finite_bound1 (n : ℕ) (hn : Odd n) (h : n < 10^7) (hn' : 1 < n) : ∃ k l : ℕ , Squarefree k ∧ n = k + 2^l := by sorry
253
leanexplore_declaration
leanexplore:382410
leanexplore_sqlite
leanexplore_declarations
/-- Is every odd $n > 1$ the sum of a squarefree number and two powers of 2? -/ @[category research open, AMS 11] theorem erdos_11.variants.two_pow_two (n : ℕ) (hn : Odd n) (hn' : 1 < n) : ∃ k l m : ℕ , Squarefree k ∧ n = k + 2^l + 2^m := by sorry
262
leanexplore_declaration
leanexplore:382411
leanexplore_sqlite
leanexplore_declarations
/-- Erdős often asked this under the weaker assumption that $n > 1$ is not divisible by 4. -/ @[category research open, AMS 11] theorem erdos_11.variants.not_four_dvd (n : ℕ) (hn : ¬ 4 ∣ n) (hn' : 1 < n) : ∃ k l : ℕ , Squarefree k ∧ n = k + 2^l := by sorry
222
leanexplore_declaration
leanexplore:382412
leanexplore_sqlite
leanexplore_declarations
/-- Is every odd $n > 1$ the sum of a squarefree number and a power of 2? -/ @[category research open, AMS 11] theorem erdos_11 (n : ℕ) (hn : Odd n) (hn' : 1 < n) : ∃ k l : ℕ, Squarefree k ∧ n = k + 2 ^ l := by sorry
222
leanexplore_declaration
leanexplore:382413
leanexplore_sqlite
leanexplore_declarations
/-- Steinhaus [St20] has proved Erdős 120 to be false whenever $A$ is a finite set. -/ @[category research solved, AMS 05 28] theorem erdos_120.variants.finite_set {A : Set ℝ} (h : A.Finite) : ¬ Erdos120For A := by sorry
349
leanexplore_declaration
leanexplore:382414
leanexplore_sqlite
leanexplore_declarations
/-- Let $A \subseteq \mathbb{R}$ be an infinite set. Must there be a set $E \subseteq \mathbb{R}$ of positive measure which does not contain any set of the shape $a * A + b$ for some $a,b \in \mathbb{R}$ and $a \neq 0$? -/ @[category research open, AMS 05 28] theorem erdos_120 : answer(sorry) ↔ ∀ A : Set ℝ, A.Infinite ...
357
leanexplore_declaration
leanexplore:382415
leanexplore_sqlite
leanexplore_declarations
/-- There exists a set $E \subseteq \mathbb{R}$, dependent on set $A \subseteq \mathbb{R}$, of positive measure which does not contain any set of the shape $a * A + b$ for some $a,b \in \mathbb{R}$ and $a \neq 0$? -/ def Erdos120For (A : Set ℝ) : Prop := ∃ E : Set ℝ, MeasurableSet E ∧ 0 < volume E ∧ ∀ a b : ℝ, a ≠ 0 ...
477
leanexplore_declaration
leanexplore:382416
leanexplore_sqlite
leanexplore_declarations
/-- A stronger conjecture for numbers of the form $2^k 3^l 5^j$. For any $ε > 0$, all large integers $n$ can be written as the sum of distinct integers $b_1 < ... < b_t$ of the form $2^k 3^l 5^j$ where $b_t < (1 + ϵ) b_1$. -/ @[category research open, AMS 11] theorem erdos_123.variants.powers_2_3_5_snug : answer(s...
763
leanexplore_declaration
leanexplore:382417
leanexplore_sqlite
leanexplore_declarations
/-- A simpler case: the set of numbers of the form $2^k 3^l$ ($k, l ≥ 0$) is d-complete. This was initially conjectured by Erdős in 1992, who called it a "nice and difficult" problem, but it was quickly proven by Jansen and others using a simple inductive argument: - If $n = 2m$ is even, apply the inductive hypothesis...
354
leanexplore_declaration
leanexplore:382418
leanexplore_sqlite
leanexplore_declarations
/-- Erdős and Lewin proved this conjecture when $a = 3$, $b = 5$, and $c = 7$. Reference: [ErLe96] Erdős, P. and Lewin, Mordechai, _$d$-complete sequences of integers_. Math. Comp. (1996), 837-840. -/ @[category research solved, AMS 11] theorem erdos_123.variants.erdos_lewin_3_5_7 : IsDComplete (↑(powers 3) * ↑(po...
594
leanexplore_declaration
leanexplore:382419
leanexplore_sqlite
leanexplore_declarations
/-- **Erdős Problem #123** Let $a, b, c$ be three integers which are pairwise coprime. Is every large integer the sum of distinct integers of the form $a^k b^l c^m$ ($k, l, m ≥ 0$), none of which divide any other? Equivalently: is the set $\{a^k b^l c^m : k, l, m \geq 0\}$ d-complete? Note: For this not to reduce to...
212
leanexplore_declaration
leanexplore:382420
leanexplore_sqlite
leanexplore_declarations
/-- Predicate for pairwise coprimality of three integers. Requires all three input values to be pairwise coprime to each other. -/ def PairwiseCoprime (a b c : ℕ) : Prop := Pairwise (Nat.Coprime.onFun ![a, b, c])
324
leanexplore_declaration
leanexplore:382421
leanexplore_sqlite
leanexplore_declarations
/-- Characterizes a "snug" finite set of natural numbers: all elements are within a multiplicative factor $(1 + ε)$ of the minimum. Specifically, for a finite set $A$ and $ε > 0$, all $a ∈ A$ satisfy $a < (1 + ε) · min(A)$. -/ def IsSnug (ε : ℝ) (A : Finset ℕ) : Prop := ∃ hA : A.Nonempty, ∀ a ∈ A, a < (1 + ε) * A.min...
505
leanexplore_declaration
leanexplore:382422
leanexplore_sqlite
leanexplore_declarations
/-- A set `A` of natural numbers is **d-complete** if every sufficiently large integer is the sum of distinct elements of `A` such that no element divides another. Reference: [ErLe96] Erdős, P. and Lewin, M., _$d$-complete sequences of integers_. Math. Comp. (1996). -/ def IsDComplete (A : Set ℕ) : Prop := ∀ᶠ n in a...
607
leanexplore_declaration
leanexplore:382423
leanexplore_sqlite
leanexplore_declarations
/-- For any $\varepsilon > 0$, there exists an infinite sequence $2 \le d_0 < d_1 < \dots$ such that all sufficiently large integer can be written as $\sum_{i \in I} a_i$ where $a_i$ has only the digits $0, 1$ when written in base $d_i$, but $\sum_{i \in I} \frac 1{d_i - 1} \le \varepsilon$. Proved by Melfi [Me04] -/ ...
575
leanexplore_declaration
leanexplore:382424
leanexplore_sqlite
leanexplore_declarations
/-- Let $3\leq d_1 < d_2 < \cdots < d_r$ be integers such that all sufficiently large integers can be written as a sum of the shape $\sum_i c_ia_i$ where $c_i \in \{0, 1\}$ and $a_i$ has only the digits $0, 1$ when written in base $d_i$. Then $$\sum_{1 \le i \le r}\frac 1{d_i - 1} \ge 1.$$ Reported by Burr, Erdős, Gra...
464
leanexplore_declaration
leanexplore:382425
leanexplore_sqlite
leanexplore_declarations
/-- All sufficiently large integers can be written as $a + b + c$ where $a$ has only the digits $0, 1$ in base $3$, $b$ only the digits $0, 1$ in base $4$, $c$ only the digits $0, 1$ in base $7$. Provee by Burr, Erdős, Graham, and Li [BEGL96] -/ @[category research solved, AMS 11] lemma erdos124.ne_zero_three_four_sev...
645
leanexplore_declaration
leanexplore:382426
leanexplore_sqlite
leanexplore_declarations
/-- Let $k \ne 0$ and $3\leq d_1 < d_2 < \cdots < d_r$ be integers of gcd equal to $1$ such that $$\sum_{1 \le i \le r}\frac 1{d_i - 1} \ge 1.$$ Can all sufficiently large integers be written as a sum of the shape $\sum_i c_ia_i$ where $c_i \in \{0, 1\}$ and $a_i$ is divisible by $d_i ^ k$ and has only the digits $0, 1...
568
leanexplore_declaration
leanexplore:382427
leanexplore_sqlite
leanexplore_declarations
/-- Let $3 \le d_1 < d_2 < \dots < d_r$ be integers such that $$\sum_{1 \le i \le r}\frac 1{d_i - 1} \ge 1.$$ Can all sufficiently large integers be written as a sum of the shape $\sum_i c_ia_i$ where $c_i \in \{0, 1\}$ and $a_i$ has only the digits $0, 1$ when written in base $d_i$? Conjectured by Erdős [Er97], solv...
193
leanexplore_declaration
leanexplore:382428
leanexplore_sqlite
leanexplore_declarations
/-- The set of integers which are the sum of distinct powers `d ^ i` with `i ≥ k`. -/ def sumsOfDistinctPowers (d k : ℕ) : Set ℕ := {x | ∃ s : Finset ℕ, (∀ i ∈ s, k ≤ i) ∧ ∑ i ∈ s, d ^ i = x}
276
leanexplore_declaration
leanexplore:382429
leanexplore_sqlite
leanexplore_declarations
/-- Case 4: Does $A + B$ have positive upper and lower density that are unequal? -/ @[category research open, AMS 11] theorem erdos_125.variants.positive_unequal_density : answer(sorry) ↔ 0 < (A + B).lowerDensity ∧ (A + B).lowerDensity < (A + B).upperDensity := by sorry
263
leanexplore_declaration
leanexplore:382430
leanexplore_sqlite
leanexplore_declarations
/-- Case 2: Does $A + B$ have zero lower density, but positive upper density? -/ @[category research open, AMS 11] theorem erdos_125.variants.zero_lower_positive_upper_density : answer(sorry) ↔ (A + B).lowerDensity = 0 ∧ 0 < (A + B).upperDensity := by sorry
224
leanexplore_declaration
leanexplore:382431
leanexplore_sqlite
leanexplore_declarations
/-- Case 1: Does $A + B$ have zero upper and lower density? -/ @[category research open, AMS 11] theorem erdos_125.variants.zero_density : answer(sorry) ↔ (A + B).upperDensity = 0 ∧ (A + B).lowerDensity = 0 := by sorry
214
leanexplore_declaration
leanexplore:382432
leanexplore_sqlite
leanexplore_declarations
/-- Literature question: Does $A + B$ have positive upper density? -/ @[category research open, AMS 11] theorem erdos_125.variants.positive_upper_density : answer(sorry) ↔ 0 < (A + B).upperDensity := by sorry
422
leanexplore_declaration
leanexplore:382433
leanexplore_sqlite
leanexplore_declarations
/-- Literature question: Does $A + B$ have positive lower density? This has been falsified. -/ @[category research solved, AMS 11, formal_proof using formal_conjectures at "https://github.com/mo271/formal-conjectures/blob/c27415379b5dbe34105d1fdd707994540c4c6fc7/FormalConjectures/ErdosProblems/125.lean#L468"] theorem ...
457
leanexplore_declaration
leanexplore:382434
leanexplore_sqlite
leanexplore_declarations
/-- Case 3: Does $A + B$ have positive upper and lower density that are equal? This is the literal interpretation of "positive density" which was falsified. -/ @[category research solved, AMS 11, formal_proof using formal_conjectures at "https://github.com/google-deepmind/formal-conjectures/blob/300bf771bdbef43d7b9aa2...
287
leanexplore_declaration
leanexplore:382435
leanexplore_sqlite
leanexplore_declarations
/-- Erdős says that $f(n) = o(\frac{n}{\log n})$ has never been proved. -/ @[category research open, AMS 11] theorem erdos_126.variants.isLittleO (f : ℕ → ℕ) (hf : IsMaximalAddFactorsCard f) : (fun (n : ℕ) => (f n : ℝ)) =o[atTop] (fun (n : ℕ) => n / Real.log n) := by sorry
526
leanexplore_declaration
leanexplore:382436
leanexplore_sqlite
leanexplore_declarations
/-- Erdős and Turán proved [ErTu34] in their first joint paper that $$ \log n \ll f(n) \ll \frac{n}{\log n} $$ [ErTu34] Erdős, Paul and Turan, Paul, _On a Problem in the Elementary Theory of Numbers_. Amer. Math. Monthly (1934), 608-611. -/ @[category research solved, AMS 11] theorem erdos_126.variants.IsBigO (f...
385
leanexplore_declaration
leanexplore:382437
leanexplore_sqlite
leanexplore_declarations
/-- Let $f(n)$ be maximal such that if $A\subseteq\mathbb{N}$ has $|A| = n$ then $\prod_{a\neq b\in A}(a + b)$ has at least $f(n)$ distinct prime factors. Is it true that $\frac{f(n)}{\log n} \to\infty$? -/ @[category research open, AMS 11] theorem erdos_126 : answer(sorry) ↔ ∀ (f : ℕ → ℕ), IsMaximalAddFactorsCard f → ...
187
leanexplore_declaration
leanexplore:382438
leanexplore_sqlite
leanexplore_declarations
def IsMaximalAddFactorsCard (f : ℕ → ℕ) : Prop := ∀ n, IsGreatest { m | ∀ (A : Finset ℕ), A.card = n → m ≤ (∏ ⟨a, b⟩ ∈ A.offDiag, (a + b)).primeFactors.card} (f n)
367
leanexplore_declaration
leanexplore:382439
leanexplore_sqlite
leanexplore_declarations
/-- Let G be a graph with n vertices such that every subgraph on ≥ $n/2$ vertices has more than $n^2/50$ edges. Must G contain a triangle? -/ @[category research open, AMS 5] theorem erdos_128 : answer(sorry) ↔ (∀ V' : Set V, 2 * V'.ncard + 1 ≥ Fintype.card V → 50 * (G.induce V').edgeSet.ncard > Finty...
485
leanexplore_declaration
leanexplore:382440
leanexplore_sqlite
leanexplore_declarations
/-- Let $A$ be a set of natural numbers with the property that there are no distinct $a,b,c \in A$ such that $a \mid (b+c)$ and $b,c > a$. If all elements in $A$ are pairwise coprime then \[\lvert A\cap\{1,\ldots,N\}\rvert \ll N^{2/3}/\log N\] -/ @[category research solved, AMS 11] theorem erdos_12.variants.baier (A : ...
465
leanexplore_declaration
leanexplore:382441
leanexplore_sqlite
leanexplore_declarations
/-- Let $A$ be a set of natural numbers with the property that there are no distinct $a,b,c \in A$ such that $a \mid (b+c)$ and $b,c > a$. If all elements in $A$ are pairwise coprime then \[\lvert A\cap\{1,\ldots,N\}\rvert \ll N^{2/3}\] -/ @[category research solved, AMS 11] theorem erdos_12.variants.schoen (A : Set ℕ)...
528
leanexplore_declaration
leanexplore:382442
leanexplore_sqlite
leanexplore_declarations
/-- An example of an $A$ with the property that there are no distinct $a,b,c \in A$ such that $a \mid (b+c)$ and $b,c > a$ and such that \[\liminf \frac{\lvert A\cap\{1,\ldots,N\}\rvert}{N^{1/2}}\log N > 0\] is given by the set of $p^2$, where $p\equiv 3\pmod{4}$ is prime. -/ @[category research solved, AMS 11] theorem...
492
leanexplore_declaration
leanexplore:382443
leanexplore_sqlite
leanexplore_declarations
/-- Given any function $f(x)\to \infty$ as $x\to \infty$ there exists a set $A$ with the property that there are no distinct $a,b,c \in A$ such that $a \mid (b+c)$ and $b,c > a$, such that there are infinitely many $N$ such that \[\lvert A\cap\{1,\ldots,N\}\rvert > \frac{N}{f(N)}. -/ @[category research solved, AMS 11]...
359
leanexplore_declaration
leanexplore:382444
leanexplore_sqlite
leanexplore_declarations
/-- Erdős and Sárközy proved that such an $A$ must have density 0. [ErSa70] Erd\H os, P. and Sárk\"ozi, A., On the divisibility properties of sequences of integers. Proc. London Math. Soc. (3) (1970), 97-101 -/ @[category research solved, AMS 11] theorem erdos_12.variants.erdos_sarkozy_density_0 (A : Set ℕ) (hA : I...
331
leanexplore_declaration
leanexplore:382445
leanexplore_sqlite
leanexplore_declarations
/-- Let $A$ be an infinite set such that there are no distinct $a,b,c \in A$ such that $a \mid (b+c)$ and $b,c > a$. Is it true that $∑_{n \in A} \frac{1}{n} < \infty$? -/ @[category research open, AMS 11] theorem erdos_12.parts.iii : answer(sorry) ↔ ∀ (A : Set ℕ), IsGood A → Summable (fun (n : A) ↦ (1 / n : ℝ)) :=...
708
leanexplore_declaration
leanexplore:382446
leanexplore_sqlite
leanexplore_declarations
/-- Let $A$ be an infinite set such that there are no distinct $a,b,c \in A$ such that $a \mid (b+c)$ and $b,c > a$. Does there exist some absolute constant $c > 0$ such that there are always infinitely many $N$ with $|A \cap \{1, \dotsc, N\}| < N^{1−c}$? The DeepMind prover agent has found a formal disproof of this s...
657
leanexplore_declaration
leanexplore:382447
leanexplore_sqlite
leanexplore_declarations
/-- Let $A$ be an infinite set such that there are no distinct $a,b,c \in A$ such that $a \mid (b+c)$ and $b,c > a$. Is there such an $A$ with $\liminf \frac{|A \cap \{1, \dotsc, N\}|}{N^{1/2}} > 0$ ? The DeepMind prover agent has found a formal proof of this statement. -/ @[category research solved, AMS 11, formal_pr...
224
leanexplore_declaration
leanexplore:382448
leanexplore_sqlite
leanexplore_declarations
/-- The set of $p ^ 2$ where $p \cong 3 \mod 4$ is prime is an example of a good set. -/ @[category undergraduate, AMS 11] theorem isGood_example : IsGood {p ^ 2 | (p : ℕ) (_ : p ≡ 3 [MOD 4]) (_ : p.Prime)} := by sorry
244
leanexplore_declaration
leanexplore:382449
leanexplore_sqlite
leanexplore_declarations
/-- A set `A` is "good" if it is infinite and there are no distinct `a,b,c` in `A` such that `a ∣ (b+c)` and `b > a`, `c > a`. -/ abbrev IsGood (A : Set ℕ) : Prop := A.Infinite ∧ ∀ᵉ (a ∈ A) (b ∈ A) (c ∈ A), a ∣ b + c → a < b → a < c → b = c
633
leanexplore_declaration
leanexplore:382450
leanexplore_sqlite
leanexplore_declarations
/-- Erdős [Er82c] conjectures that, if $k$ is fixed, then for all $n$ sufficiently large and all positive integers $m$, there must be at least $k$ distinct primes $p$ such that $p\mid m(m+1)\cdots (m+n)$ and yet $p^2$ does not divide the right hand side. [Er82c] Erdős, Paul, "Miscellaneous problems in number theory". ...
456
leanexplore_declaration
leanexplore:382451
leanexplore_sqlite
leanexplore_declarations
/-- Let $k\geq 2$. Erdős and Selfridge [ES75] proved that the product of any $k$ consecutive integers $N$ cannot be a perfect power. [ES75] P. Erdös, J. L. Selfridge, "The product of consecutive integers is never a power", Illinois J. Math. 19(2): 292-301, 1975 -/ @[category research solved, AMS 11] theorem erdos_13...
307
leanexplore_declaration
leanexplore:382452
leanexplore_sqlite
leanexplore_declarations
/-- Let $k\geq 3$. Can the product of any $k$ consecutive integers $N$ ever be powerful? That is, must there always exist a prime $p\mid N$ such that $p^2\nmid N$? -/ @[category research open, AMS 11] theorem erdos_137 : answer(sorry) ↔ ∀ k ≥ 3, ∀ n, ¬ (∏ x ∈ Finset.Ioc n (n + k), x).Powerful := by sorry
218
leanexplore_declaration
leanexplore:382453
leanexplore_sqlite
leanexplore_declarations
/-- In [Er80] Erdős asks whether $W(k)/2^k\to \infty$. -/ @[category research open, AMS 11] theorem erdos_138.variants.dvd_two_pow : answer(sorry) ↔ atTop.Tendsto (fun k => ((W k : ℚ)/ (2 ^ k))) atTop := by sorry
220
leanexplore_declaration
leanexplore:382454
leanexplore_sqlite
leanexplore_declarations
/-- In [Er81] Erdős asks whether $W(k+1) - W(k) \to \infty$. -/ @[category research open, AMS 11] theorem erdos_138.variants.difference : answer(sorry) ↔ atTop.Tendsto (fun k => (W (k + 1) - W k)) atTop := by sorry
230
leanexplore_declaration
leanexplore:382455
leanexplore_sqlite
leanexplore_declarations
/-- In [Er81] Erdős asks whether $\frac{W(k+1)}{W(k)} \to \infty$. -/ @[category research open, AMS 11] theorem erdos_138.variants.quotient : answer(sorry) ↔ atTop.Tendsto (fun k => ((W (k + 1) : ℚ)/(W k))) atTop := by sorry
200
leanexplore_declaration
leanexplore:382456
leanexplore_sqlite
leanexplore_declarations
/-- Gowers [Go01] has proved $$W(k) \leq 2^{2^{2^{2^{2^{k+9}}}}.$$ -/ @[category research solved, AMS 11] theorem erdos_138.variants.upper (k : ℕ) : W k ≤ 2 ^ (2 ^ (2 ^ 2 ^ 2 ^ (k + 9))) := by sorry
204
leanexplore_declaration
leanexplore:382457
leanexplore_sqlite
leanexplore_declarations
/-- When $p$ is prime Berlekamp [Be68] has proved $W(p+1) ≥ p^{2^p}$. -/ @[category research solved, AMS 11] theorem erdos_138.variants.prime (p : ℕ) (hp : p.Prime) : p * (2 ^ p) ≤ W (p + 1) := by sorry
220
leanexplore_declaration
leanexplore:382458
leanexplore_sqlite
leanexplore_declarations
/-- In [Er80] Erdős asks whether $$ \lim_{k \to \infty} (W(k))^{1/k} = \infty $$ -/ @[category research open, AMS 11] theorem erdos_138 : answer(sorry) ↔ atTop.Tendsto (fun k => (W k : ℝ)^(1/(k : ℝ))) atTop := by sorry
256
leanexplore_declaration
leanexplore:382459
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 11, formal_proof using formal_conjectures at "https://github.com/XC0R/formal-conjectures/blob/6c7a16e8998d1c597fa2a5c6329bc9301fcc56e2/FormalConjectures/ErdosProblems/138.lean#L142"] theorem monoAPNumber_two_two : W 2 = 3 := by sorry
255
leanexplore_declaration
leanexplore:382460
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 11, formal_proof using formal_conjectures at "https://github.com/XC0R/formal-conjectures/blob/6c7a16e8998d1c597fa2a5c6329bc9301fcc56e2/FormalConjectures/ErdosProblems/138.lean#L79"] theorem monoAPNumber_two_one : W 1 = 1 := by sorry
294
leanexplore_declaration
leanexplore:382461
leanexplore_sqlite
leanexplore_declarations
/-- An abbreviation for the van der Waerden number for 2 colors, commonly written as `W(k)`. This represents the smallest integer `N` such that any 2-coloring of `{1, ..., N}` must contain a monochromatic arithmetic progression of length `k`. -/ noncomputable abbrev W : ℕ → ℕ := monoAPNumber 2
346
leanexplore_declaration
leanexplore:382462
leanexplore_sqlite
leanexplore_declarations
/-- The **van der Waerden number**, is the smallest integer `N` such that any `r`-coloring of `{1, ..., N}` is guaranteed to contain a monochromatic arithmetic progression of length `k`. It is defined as the infimum of the (non-empty) set of all such numbers `N`. -/ noncomputable def monoAPNumber (r k : ℕ) : ℕ := sInf ...
479
leanexplore_declaration
leanexplore:382463
leanexplore_sqlite
leanexplore_declarations
/-- Asserts that for any number of colors `r` and any progression length `k`, there always exists some number `N` large enough to guarantee a monochromatic arithmetic progression. In other words, the set `monoAP_guarantee_set` is non-empty. This is the fundamental existence result that allows for the definition of the ...
441
leanexplore_declaration
leanexplore:382464
leanexplore_sqlite
leanexplore_declarations
/-- The set of natural numbers that guarantee a monochromatic arithmetic progression. A number `N` belongs to this set if, for a given number of colors `r` and an arithmetic progression length `k`, any `r`-coloring of the integers `{1, ..., N}` must contain a monochromatic arithmetic progression of length `k`. -/ def ...
347
leanexplore_declaration
leanexplore:382465
leanexplore_sqlite
leanexplore_declarations
/-- **Erdős Problem 139**: Let $r_k(N)$ be the size of the largest subset of ${1,...,N}$ which does not contain a non-trivial $k$-term arithmetic progression. Prove that $r_k(N) = o(N)$. -/ @[category research solved, AMS 5 11] theorem erdos_139 (k : ℕ) (hk : 1 < k) : Filter.Tendsto (fun N => (r k N / N : ℝ)) Filte...
54
leanexplore_declaration
leanexplore:382466
leanexplore_sqlite
leanexplore_declarations
noncomputable abbrev r := Set.IsAPOfLengthFree.maxCard
536
leanexplore_declaration
leanexplore:382467
leanexplore_sqlite
leanexplore_declarations
/-- A general version asks, for a fixed $r \in \mathbb{N}$, if a set $A \subseteq \{1, ..., N\}$ has no $a \in A$ and $b_1, ..., b_r \in A$ such that $a | (b_1 + ... + b_r)$ and $a < \min(b_1, ..., b_r)$, then is it true that $|A| \le N/(r+1) + O(1)$? -/ @[category research open, AMS 5 11] theorem erdos_13.variants.gen...
492
leanexplore_declaration
leanexplore:382468
leanexplore_sqlite
leanexplore_declarations
/-- If $A \subseteq \{1, ..., N\}$ is a set with no $a, b, c \in A$ such that $a | (b+c)$ and $a < \min(b,c)$, then $|A| \le N/3 + O(1)$. This has been solved by Bedert [Be23]. [Be23] Bedert, B., _On a problem of Erdős and Sárközy about sequences with no term dividing the sum of two larger terms_. arXiv:2301.07065 (20...
258
leanexplore_declaration
leanexplore:382469
leanexplore_sqlite
leanexplore_declarations
/-- A finite set of naturals `A` is said to be forbidden-triple-free if for all `a, b, c ∈ A`, if `a < min(b, c)` then `a` does not divide `b + c`. -/ def IsForbiddenTripleFree (A : Finset ℕ) : Prop := ∀ a ∈ A, ∀ b ∈ A, ∀ c ∈ A, a < min b c → ¬ (a ∣ b + c)
293
leanexplore_declaration
leanexplore:382470
leanexplore_sqlite
leanexplore_declarations
/-- Fix a $k \geq 3$. Is it true that there are infinitely many arithmetic prime progressions of length $k$? -/ @[category research open, AMS 5 11] theorem erdos_141.variants.infinite_general_case : answer(sorry) ↔ ∀ k ≥ 3, (consecutivePrimeArithmeticProgressions k).Infinite := by sorry
253
leanexplore_declaration
leanexplore:382471
leanexplore_sqlite
leanexplore_declarations
/-- It is open, even for $k=3$, whether there are infinitely many such progressions. -/ @[category research open, AMS 5 11] theorem erdos_141.variants.infinite_three : answer(sorry) ↔ (consecutivePrimeArithmeticProgressions 3).Infinite := by sorry
190
leanexplore_declaration
leanexplore:382472
leanexplore_sqlite
leanexplore_declarations
/-- The set of arithmetic progressions of consecutive primes of length $k$. -/ def consecutivePrimeArithmeticProgressions (k : ℕ) : Set (Set ℕ) := {s | s.IsAPAndPrimeProgressionOfLength k}
225
leanexplore_declaration
leanexplore:382473
leanexplore_sqlite
leanexplore_declarations
/-- Are there $11$ consecutive primes in arithmetic progression? -/ @[category research open, AMS 5 11] theorem erdos_141.variants.eleven : answer(sorry) ↔ ∃ (s : Set ℕ), s.IsAPAndPrimeProgressionOfLength 11 := by sorry
239
leanexplore_declaration
leanexplore:382474
leanexplore_sqlite
leanexplore_declarations
/-- The existence of such progressions has been verified for $k≤10$. -/ @[category research solved, AMS 5 11] theorem erdos_141.variants.first_cases : (∀ k ≥ 3, k ≤ 10 → ∃ (s : Set ℕ), s.IsAPAndPrimeProgressionOfLength k) := by sorry