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
401
leanexplore_declaration
leanexplore:383385
leanexplore_sqlite
leanexplore_declarations
/-- Let $X$ be a finite set of size $n$ and $H(n)$ be such that there is a function $f:\{A : A\subseteq X\}\to X$ so that for every $Y\subseteq X$ with $\lvert Y\rvert \geq H(n)$ we have $\left\{ f(A) : A\subseteq Y\right\}=X$. Prove that $H(n)-\log_2 n \to \infty$. -/ @[category research open, AMS 5] theorem erdos_624...
357
leanexplore_declaration
leanexplore:383386
leanexplore_sqlite
leanexplore_declarations
/-- Let $H(n)$ be the minimum integer $m$ such that there is a function $f: \mathcal{P}(X) \to X$ where $X$ is a finite set of size $n$, such that for every subset $Y \subseteq X$ with $|Y| \ge m$, the set $\{f(A) : A \subseteq Y\}$ covers $X$. -/ noncomputable def H (n : ℕ) : ℕ := if 0 < n then sInf {m : ℕ | Exi...
400
leanexplore_declaration
leanexplore:383387
leanexplore_sqlite
leanexplore_declarations
/-- The condition that an integer `m` ensures the existence of a function `f` covering `Fin n` for all large enough subsets `Y`. The property is invariant under bijection, so we use a representative `Fin n` for a finite set of size `n`. -/ def ExistsEventuallySurjective (n m : ℕ) : Prop := ∃ (f : Finset (Fin n) → Fin...
280
leanexplore_declaration
leanexplore:383388
leanexplore_sqlite
leanexplore_declarations
/-- There exists a triangle which isn't simili-cuttable into 0, 2, 3, 5 parts. This is proved in [So09]. -/ @[category research solved, AMS 5 51] lemma exists_isSimiliCuttable_iff_ne_zero_two_three_five : ∃ T, ∀ n, IsSimiliCuttable n T ↔ n ≠ 0 ∧ n ≠ 2 ∧ n ≠ 3 ∧ n ≠ 5 := sorry
302
leanexplore_declaration
leanexplore:383389
leanexplore_sqlite
leanexplore_declarations
/-- Every triangle is simili-cuttable into any number of similar triangles, except 0, 2, 3, 5. This is proved in [So09]. -/ @[category research solved, AMS 5 51] lemma IsSimiliCuttable.of_ne_zero_two_three_five (hn₀ : n ≠ 0) (hn₂ : n ≠ 2) (hn₃ : n ≠ 3) (hn₅ : n ≠ 5) : IsSimiliCuttable n T := sorry
271
leanexplore_declaration
leanexplore:383390
leanexplore_sqlite
leanexplore_declarations
/-- A triangle isn't simili-cuttable into zero triangles. -/ @[category API, AMS 5 51] lemma IsSimiliCuttable.ne_zero (hT : IsSimiliCuttable n T) : n ≠ 0 := by rintro rfl obtain ⟨Ts, -, -, hT⟩ := hT exact T.closedInterior_nonempty.ne_empty <| by simpa using hT.symm
350
leanexplore_declaration
leanexplore:383391
leanexplore_sqlite
leanexplore_declarations
/-- A triangle is `n`-simili-cuttable if it can be decomposed into `n` similar triangles. -/ def IsSimiliCuttable (n : ℕ) (T : Triangle ℝ ℝ²) : Prop := ∃ Ts : Fin n → Triangle ℝ ℝ², (∀ i j, (Ts i).points ∼ (Ts j).points) ∧ Pairwise (fun i j ↦ Disjoint (Ts i).interior (Ts j).interior) ∧ ⋃ i, (Ts i).clo...
235
leanexplore_declaration
leanexplore:383392
leanexplore_sqlite
leanexplore_declarations
/-- Which triangles can only be decomposed into a square number of congruent triangles? -/ @[category research open, AMS 5 51] lemma erdos_633 : T ∈ (answer(sorry) : Set <| Triangle ℝ ℝ²) ↔ ∀ n, IsCuttable n T → IsSquare n := sorry
724
leanexplore_declaration
leanexplore:383393
leanexplore_sqlite
leanexplore_declarations
/-- A triangle whose side lengths and angles are integrally independent is cuttable only into a non-zero square number of congruent triangles. This is proved in [So09c]. -/ @[category research solved, AMS 5 51] lemma isCuttable_iff_isSquare_of_linearIndependent (hTsides : LinearIndependent ℤ ![dist (T.points ...
267
leanexplore_declaration
leanexplore:383394
leanexplore_sqlite
leanexplore_declarations
/-- Every triangle is cuttable into any non-zero square number of congruent triangles. -/ @[category API, AMS 5 51] lemma IsCuttable.of_isSquare (hn₀ : n ≠ 0) (hn : IsSquare n) : IsCuttable n T := by obtain ⟨n, rfl⟩ := hn; rw [← sq]; exact .sq <| by simpa using hn₀
190
leanexplore_declaration
leanexplore:383395
leanexplore_sqlite
leanexplore_declarations
/-- Every triangle is cuttable into any non-zero square number of congruent triangles. -/ @[category API, AMS 5 51] protected lemma IsCuttable.sq (hn : n ≠ 0) : IsCuttable (n ^ 2) T := sorry
252
leanexplore_declaration
leanexplore:383396
leanexplore_sqlite
leanexplore_declarations
/-- A triangle isn't cuttable into zero triangles. -/ @[category API, AMS 5 51] lemma IsCuttable.ne_zero (hT : IsCuttable n T) : n ≠ 0 := by rintro rfl obtain ⟨Ts, -, -, hT⟩ := hT exact T.closedInterior_nonempty.ne_empty <| by simpa using hT.symm
311
leanexplore_declaration
leanexplore:383397
leanexplore_sqlite
leanexplore_declarations
/-- A triangle is `n`-cuttable if it can be decomposed into `n` congruent triangles. -/ def IsCuttable : Prop := ∃ Ts : Fin n → Triangle ℝ ℝ², (∀ i j, (Ts i).points ≅ (Ts j).points) ∧ Pairwise (fun i j ↦ Disjoint (Ts i).interior (Ts j).interior) ∧ ⋃ i, (Ts i).closedInterior = T.closedInterior
627
leanexplore_declaration
leanexplore:383398
leanexplore_sqlite
leanexplore_declarations
/-- If ℕ is $2$-coloured then there must exist a monochromatic three-term arithmetic progression $x,x+d,x+2d$ such that $d>x$. This was first proved by Brown and Landman [BrLa99], who in fact show that this is always possible with $d>f(x)$ for any increasing function $f$. This was formalized in Lean by Alexeev using ...
316
leanexplore_declaration
leanexplore:383399
leanexplore_sqlite
leanexplore_declarations
/-- Erdős says it 'seems certain' that for every $k$ there are infinitely many $n$ for which $$ \max_{n−k < m < n}(m + \tau(m)) ≤ n + 2. $$ -/ @[category research open, AMS 11] theorem erdos_647.variants.infinite : answer(sorry) ↔ ∀ k, { n | ⨆ m : Set.Ioo (n - k) n, ↑m + σ 0 m ≤ n + 2 }.Infinite := by sorry
334
leanexplore_declaration
leanexplore:383400
leanexplore_sqlite
leanexplore_declarations
/-- Erdős says 'it is extremely doubtful' that there are infinitely many such $n$, and in fact suggests that $$ lim_{n\to\infty} \max_{m < n}(\tau(m) + m − n) = \infty. $$ -/ @[category research open, AMS 11] theorem erdos_647.variants.lim : answer(sorry) ↔ atTop.Tendsto (fun n ↦ ⨆ m : Fin n, σ 0 m + m - n) atTop...
181
leanexplore_declaration
leanexplore:383401
leanexplore_sqlite
leanexplore_declarations
/-- This is true for $n = 24$. -/ @[category research solved, AMS 11] theorem erdos_647.variants.twenty_four : ⨆ m : Fin 24, (m : ℕ) + σ 0 m ≤ 26 := by exact ciSup_le <| by decide
261
leanexplore_declaration
leanexplore:383402
leanexplore_sqlite
leanexplore_declarations
/-- Let $\tau(n)$ count the number of divisors of $n$. Is there some $n > 24$ such that $$ \max_{m < n}(m + \tau(m)) \leq n + 2? $$ -/ @[category research open, AMS 11] theorem erdos_647 : answer(sorry) ↔ ∃ n > 24, ⨆ m : Fin n, m + σ 0 m ≤ n + 2 := by sorry
379
leanexplore_declaration
leanexplore:383403
leanexplore_sqlite
leanexplore_declarations
/-- Does every finite graph with minimum degree at least $3$ contain a cycle of length $2^k$ for some $k \geq 2$? -/ @[category research open, AMS 5] theorem erdos_64 : answer(sorry) ↔ ∀ (V : Type*) (G : SimpleGraph V) [Fintype V] [DecidableRel G.Adj], G.minDegree ≥ 3 → ∃ (k : ℕ) (v : V) (c : G.Walk v v), ...
478
leanexplore_declaration
leanexplore:383404
leanexplore_sqlite
leanexplore_declarations
/-- Let $x_1,\ldots,x_n\in \mathbb{R}^2$ and let $R(x_i)=\#\{ \lvert x_j-x_i\rvert : j\neq i\}$, where the points are ordered such that \[R(x_1)\leq \cdots \leq R(x_n).\] Let $g(n)$ be the maximum number of distinct values the $R(x_i)$ can take. Is it true that $g(n) \geq (1-o(1))n$? -/ @[category research open, AMS 5 ...
721
leanexplore_declaration
leanexplore:383405
leanexplore_sqlite
leanexplore_declarations
/-- Let $x_1,\ldots,x_n\in \mathbb{R}^2$ be such that no circle whose centre is one of the $x_i$ contains three other points. Are there at least\[(1+c)\frac{n}{2}\] distinct distances determined between the $x_i$, for some constant $c>0$ and all $n$ sufficiently large? In the spirit of related conjectures of Erdős and...
582
leanexplore_declaration
leanexplore:383406
leanexplore_sqlite
leanexplore_declarations
/-- Let $x_1,\ldots,x_n\in \mathbb{R}^2$ be such that no circle whose centre is one of the $x_i$ contains three other points. Are there at least \[(1+c)\frac{n}{2}\] distinct distances determined between the $x_i$, for some constant $c>0$ and all $n$ sufficiently large? Zach Hunter has observed that taking $n$ points ...
233
leanexplore_declaration
leanexplore:383407
leanexplore_sqlite
leanexplore_declarations
/-- A collection $x_1, \dots, x_n\in\mathbb{R}^2$ is _valid_ if no circle whose centre is one of the $x_i$ contains three other points. -/ def IsValid (X : Finset ℝ²) : Prop := ∀ᵉ (x ∈ X) (r > 0), ¬3 ≤ (Metric.sphere x r ∩ X).ncard
1,628
leanexplore_declaration
leanexplore:383408
leanexplore_sqlite
leanexplore_declarations
/-- Is there a set of $n$ points in $\mathbb{R}^2$ such that every subset of $4$ points determines at least $3$ distances, yet the total number of distinct distances is $\ll \frac{n}{\sqrt{\log n}}$? There does exist such a set: a suitable truncation of the lattice $\{(a,b\sqrt{2}): a,b\in\mathbb{Z}\}$ suffices. This ...
308
leanexplore_declaration
leanexplore:383409
leanexplore_sqlite
leanexplore_declarations
/-- Is there and $A \subset \mathbb{N}$ is such that $$\lim_{n\to \infty}\frac{1_A\ast 1_A(n)}{\log n}$$ exists and is $\ne 0$? -/ @[category research open, AMS 11] theorem erdos_66 : answer(sorry) ↔ ∃ (A : Set ℕ) (c : ℝ), c ≠ 0 ∧ Tendsto (fun n ↦ (sumRep A n : ℝ) / Real.log n) atTop (𝓝 c) := by sorry
365
leanexplore_declaration
leanexplore:383410
leanexplore_sqlite
leanexplore_declarations
/-- According to https://www.erdosproblems.com/672, Obláth proved this. [Ob51] Oblath, Richard, Eine Bemerkung über Produkte aufeinander folgender Zahlen. J. Indian Math. Soc. (N.S.) (1951), 135-139. -/ @[category research solved, AMS 11] lemma erdos_672.variants.oblath : Erdos672With 5 2 ∧ Erdos672With 3 3 ∧ Erdo...
177
leanexplore_declaration
leanexplore:383411
leanexplore_sqlite
leanexplore_declarations
/-- According to https://www.erdosproblems.com/672, Euler proved this. -/ @[category research solved, AMS 11] lemma erdos_672.variants.euler : Erdos672With 4 2 := by sorry
285
leanexplore_declaration
leanexplore:383412
leanexplore_sqlite
leanexplore_declarations
/-- Can the product of an arithmetic progression of positive integers $n, n + d, ..., n + (k - 1)d$ of length ≥ 4, with $(n, d) = 1$, be a perfect power? -/ @[category research open, AMS 11] theorem erdos_672 : answer(sorry) ↔ ∀ᵉ (k) (l > 1), k ≥ 4 → Erdos672With k l := by sorry
249
leanexplore_declaration
leanexplore:383413
leanexplore_sqlite
leanexplore_declarations
/-- Erdős problem 672 conjectures that the below holds for any $k ≥ 4$ and $l > 1$. -/ def Erdos672With (k l : ℕ) : Prop := ∀ (s : Finset ℕ), s.card = k → ∀ᵉ (n > 0) (d > 0), n.gcd d = 1 → Set.IsAPOfLengthWith s k n d → ∀ q, ∏ i ∈ s, i ≠ q ^ l
306
leanexplore_declaration
leanexplore:383414
leanexplore_sqlite
leanexplore_declarations
/-- Denote by $M(n, k)$ the least common multiple of the finite set $\{n+1, \dotsc, n+k\}$. Is it true that for all $m \geq n + k$, we get $M(m, k) \neq M(n, k)$? -/ @[category research open, AMS 11] theorem erdos_677 : ∀ (m n k : ℕ), k > 0 → m ≥ n + k → lcmInterval m k ≠ lcmInterval n k := by sorry
320
leanexplore_declaration
leanexplore:383415
leanexplore_sqlite
leanexplore_declarations
/-- Erdős expected very few solutions for $M(n, k) = M(m, l)$, where $m \geq n + k$ and $l > 1$. The only solutions he knew were the following. -/ @[category test, AMS 11] lemma lcmInterval_eq_example1 : lcmInterval 4 3 = lcmInterval 13 2 ∧ lcmInterval 3 4 = lcmInterval 19 2 := by decide
717
leanexplore_declaration
leanexplore:383416
leanexplore_sqlite
leanexplore_declarations
/-- Write $M(n, k)$ be the least common multiple of $\{n+1, \dotsc, n+k\}$. Let $k$ be sufficiently large. Are there infinitely many $m, n$ with $m \geq n + k$ such that $$ M(n, k) > M(m, k + 1) $$? The answer is yes, as proved in a strong form by Cambie [Ca24]. [Ca24] S. Cambie, Resolution of an Erdős' problem on leas...
269
leanexplore_declaration
leanexplore:383417
leanexplore_sqlite
leanexplore_declarations
/-- Cambie [Ca24] found the example $M(36, 8) > M(48, 9)$. [Ca24] S. Cambie, Resolution of an Erdős' problem on least common multiples. arXiv:2410.09138 (2024). -/ @[category test, AMS 11] lemma lcmInterval_lt_example4 : lcmInterval 47 9 < lcmInterval 36 8 := by decide
269
leanexplore_declaration
leanexplore:383418
leanexplore_sqlite
leanexplore_declarations
/-- Cambie [Ca24] found the example $M(52, 7) > M(62, 8)$. [Ca24] S. Cambie, Resolution of an Erdős' problem on least common multiples. arXiv:2410.09138 (2024). -/ @[category test, AMS 11] lemma lcmInterval_lt_example3 : lcmInterval 62 8 < lcmInterval 52 7 := by decide
352
leanexplore_declaration
leanexplore:383419
leanexplore_sqlite
leanexplore_declarations
/-- The referee of [Er79] found the example $M(132, 7) > M(139, 8)$, showing that there are cases where $M(n, k) > M(m, k + 1)$ with $m \geq n + k$. [Er79] Erdős, Paul, Some unconventional problems in number theory. Math. Mag. (1979), 67-70. -/ @[category test, AMS 11] lemma lcmInterval_lt_example2 : lcmInterval 139 8 ...
350
leanexplore_declaration
leanexplore:383420
leanexplore_sqlite
leanexplore_declarations
/-- The referee of [Er79] found the example $M(96, 7) > M(104, 8)$, showing that there are cases where $M(n, k) > M(m, k + 1)$ with $m \geq n + k$. [Er79] Erdős, Paul, Some unconventional problems in number theory. Math. Mag. (1979), 67-70. -/ @[category test, AMS 11] lemma lcmInterval_lt_example1 : lcmInterval 104 8 <...
484
leanexplore_declaration
leanexplore:383421
leanexplore_sqlite
leanexplore_declarations
/-- **The Erdős discrepancy problem (complex variant)** If $f\colon \mathbb N \rightarrow S^1 ⊆ ℂ$ then is it true that for every $C>0$ there exist $d, m \ge 1$ such that $$\left\lvert \sum_{1\leq k\leq m}f(kd)\right\rvert > C?$$ This is true, and was proved by Tao [Ta16] -/ @[category research solved, AMS 11] theorem...
448
leanexplore_declaration
leanexplore:383422
leanexplore_sqlite
leanexplore_declarations
/-- **The Erdős discrepancy problem** If $f\colon \mathbb N \rightarrow \{-1, +1\}$ then is it true that for every $C>0$ there exist $d, m \ge 1$ such that $$\left\lvert \sum_{1\leq k\leq m}f(kd)\right\rvert > C?$$ This is true, and was proved by Tao [Ta16] -/ @[category research solved, AMS 11] theorem erdos_67 (f : ...
361
leanexplore_declaration
leanexplore:383423
leanexplore_sqlite
leanexplore_declarations
/-- Can one prove this is false if we replace $k^2+1$ by $e^{(1+\epsilon)\sqrt{k}}+C_\epsilon$, for all $\epsilon>0$, where $C_\epsilon>0$ is some constant? -/ @[category research open, AMS 11] theorem erdos_680.parts.ii : answer(sorry) ↔ ∀ ε > 0, ∃ C > 0, ¬ ∀ᶠ (n : ℕ) in Filter.atTop, ∃ k ≠ 0, Nat.minFac (n + ...
311
leanexplore_declaration
leanexplore:383424
leanexplore_sqlite
leanexplore_declarations
/-- Is it true that, for all sufficiently large $n$, there exists some $k$ such that \[ p(n+k)>k^2+1, \] where $p(m)$ denotes the least prime factor of $m$? -/ @[category research open, AMS 11] theorem erdos_680.parts.i : answer(sorry) ↔ ∀ᶠ (n : ℕ) in .atTop, ∃ k ≠ 0, (n + k).minFac > k^2 + 1 := by sorry
345
leanexplore_declaration
leanexplore:383425
leanexplore_sqlite
leanexplore_declarations
/-- **Erdős problem 681.** Is it true that for all large $n$ there exists $k$ such that $n + k$ is composite and $p(n+k) > k^2$, where $p(m)$ is the least prime factor of $m$ ? -/ @[category research open, AMS 11] theorem erdos_681 : answer(sorry) ↔ ∀ᶠ n in .atTop, ∃ k > 0, (n + k).Composite ∧ ∀ p, IsLPF p (n + k) ...
143
leanexplore_declaration
leanexplore:383426
leanexplore_sqlite
leanexplore_declarations
/-- `IsLPF p m` says that `p` is the least prime factor of `m`. -/ def IsLPF (p m : ℕ) : Prop := p.Prime ∧ p ∣ m ∧ ∀ q, q.Prime ∧ q ∣ m → p ≤ q
256
leanexplore_declaration
leanexplore:383427
leanexplore_sqlite
leanexplore_declarations
/-- Standard heuristics suggest that $P(n, k) > e^{c\sqrt{k}}$ for some constant $c > 0$. -/ @[category research open, AMS 11] theorem erdos_683.variant.exp_sqrt : ∃ c > 0, ∀ n k : ℕ, 0 < k ∧ k ≤ n / 2 → P n k > Real.exp (c * Real.sqrt k) := by sorry
237
leanexplore_declaration
leanexplore:383428
leanexplore_sqlite
leanexplore_declarations
/-- Erdos [Er55d] improved this to $P(n, k) \gg k \log k $ for $k \le n/2$. -/ @[category research solved, AMS 11] theorem erdos_683.variant.erdos_log : ∃ c > 0, ∀ n k : ℕ, 0 < k ∧ k ≤ n / 2 → P n k > c * k * Real.log k := by sorry
215
leanexplore_declaration
leanexplore:383429
leanexplore_sqlite
leanexplore_declarations
/-- Sylvester and Schur [Er34] proved that $P(n, k) > k$ for $k \le n/2$. -/ @[category research solved, AMS 11] theorem erdos_683.variant.sylvester_schur : ∀ n k : ℕ, 0 < k ∧ k ≤ n / 2 → P n k > k := by sorry
270
leanexplore_declaration
leanexplore:383430
leanexplore_sqlite
leanexplore_declarations
/-- There exists $c > 0$ such that $P(n, k) > \min\{n-k+1, k^{1 + c}\}$ for all $0 < k < n$.} -/ @[category research open, AMS 11] theorem erdos_683 : answer(sorry) ↔ (∃ c > (0 : ℝ), ∀ n k : ℕ, 0 < k ∧ k < n → P n k > min (n - k + 1 : ℝ) (k ^ (1 + c))) := by sorry
123
leanexplore_declaration
leanexplore:383431
leanexplore_sqlite
leanexplore_declarations
/-- Let $P(n, k)$ be the largest prime factor of $\binom{n}{k}$. -/ def P (n k : ℕ) : ℕ := (n.choose k).primeFactors.sup id
2,565
leanexplore_declaration
leanexplore:383432
leanexplore_sqlite
leanexplore_declarations
/-- Can every non-square $N≥2$ be written as $$N=\frac{\prod_{1\leq i\leq k}(m+i)}{\prod_{1\leq i\leq k}(n+i)}$$ for some $k≥2$ and $m≥n+k$? -/ @[category research solved, AMS 11] theorem erdos_686.variants.non_square : answer(True) ↔ ∀ N ≥ (2 : ℕ), (¬ IsSquare N) → ∃ᵉ (k ≥ 2) (n : ℕ) (m ≥ n + k), (N : ℚ) = (...
350
leanexplore_declaration
leanexplore:383433
leanexplore_sqlite
leanexplore_declarations
/-- Can $25$ be written as $$25=\frac{\prod_{1\leq i\leq k}(m+i)}{\prod_{1\leq i\leq k}(n+i)}$$ for some $k≥2$ and $m≥n+k$? -/ @[category research open, AMS 11] theorem erdos_686.variants.twenty_five : answer(sorry) ↔ ∃ᵉ (k ≥ 2) (n : ℕ) (m ≥ n + k), (25 : ℚ) = (∏ i ∈ Finset.Icc 1 k, (m + i)) / (∏ i ∈ Finset.I...
341
leanexplore_declaration
leanexplore:383434
leanexplore_sqlite
leanexplore_declarations
/-- Can $9$ be written as $$9=\frac{\prod_{1\leq i\leq k}(m+i)}{\prod_{1\leq i\leq k}(n+i)}$$ for some $k≥2$ and $m≥n+k$? -/ @[category research solved, AMS 11] theorem erdos_686.variants.nine : answer(True) ↔ ∃ᵉ (k ≥ 2) (n : ℕ) (m ≥ n + k), (9 : ℚ) = (∏ i ∈ Finset.Icc 1 k, (m + i)) / (∏ i ∈ Finset.Icc 1 k, (...
427
leanexplore_declaration
leanexplore:383435
leanexplore_sqlite
leanexplore_declarations
/-- The number $4$ cannot be written as $$4=\frac{\prod_{1\leq i\leq 2}(m+i)}{\prod_{1\leq i\leq 2}(n+i)}$$ for $m≥n+2$! See [comment section on erdosproblems.com](https://www.erdosproblems.com/forum/thread/686#post-4599) -/ @[category research solved, AMS 11] theorem erdos_686.variants.four_three : ¬ ∃ᵉ (n : ℕ) (...
671
leanexplore_declaration
leanexplore:383436
leanexplore_sqlite
leanexplore_declarations
/-- The number $4$ cannot be written as $$4=\frac{\prod_{1\leq i\leq 2}(m+i)}{\prod_{1\leq i\leq 2}(n+i)}$$ for $m≥n+2$! -/ @[category research solved, AMS 11] theorem erdos_686.variants.four_two : ¬ ∃ᵉ (n : ℕ) (m ≥ n + 2), (4 : ℚ) = (∏ i ∈ Finset.Icc 1 2, (m + i)) / (∏ i ∈ Finset.Icc 1 2, (n + i)) := by si...
340
leanexplore_declaration
leanexplore:383437
leanexplore_sqlite
leanexplore_declarations
/-- Can $4$ be written as $$4=\frac{\prod_{1\leq i\leq k}(m+i)}{\prod_{1\leq i\leq k}(n+i)}$$ for some $k≥2$ and $m≥n+k$? -/ @[category research open, AMS 11] theorem erdos_686.variants.four : answer(sorry) ↔ ∃ᵉ (k ≥ 2) (n : ℕ) (m ≥ n + k), (4 : ℚ) = (∏ i ∈ Finset.Icc 1 k, (m + i)) / (∏ i ∈ Finset.Icc 1 k, (n...
388
leanexplore_declaration
leanexplore:383438
leanexplore_sqlite
leanexplore_declarations
/-- Can every square $N≥2$ be written as $$N=\frac{\prod_{1\leq i\leq k}(m+i)}{\prod_{1\leq i\leq k}(n+i)}$$ for some $k≥2$ and $m≥n+k$? -/ @[category research open, AMS 11] theorem erdos_686.variants.square : answer(sorry) ↔ ∀ N ≥ (2 : ℕ), (IsSquare N) → ∃ᵉ (k ≥ 2) (n : ℕ) (m ≥ n + k), (N : ℚ) = (∏ i ∈ Fins...
357
leanexplore_declaration
leanexplore:383439
leanexplore_sqlite
leanexplore_declarations
/-- Can every integer $N≥2$ be written as $$N=\frac{\prod_{1\leq i\leq k}(m+i)}{\prod_{1\leq i\leq k}(n+i)}$$ for some $k≥2$ and $m≥n+k$? -/ @[category research open, AMS 11] theorem erdos_686 : answer(sorry) ↔ ∀ N ≥ (2 : ℕ), ∃ᵉ (k ≥ 2) (n : ℕ) (m ≥ n + k), (N : ℚ) = (∏ i ∈ Finset.Icc 1 k, (m + i)) / (∏ i ∈ F...
421
leanexplore_declaration
leanexplore:383440
leanexplore_sqlite
leanexplore_declarations
/-- Let `n` be sufficiently large. Is there some choice of congruence class `a_p` for all primes `2 ≤ p ≤ n` such that every integer in `[1,n]` satisfies at least two of the congruences `≡ a_p (mod p)`? -/ @[category research open, AMS 11] theorem erdos_689 : answer(sorry) ↔ ∀ᶠ n in .atTop, ∃ a : ℕ → ℕ, ∀ m ∈ Finse...
328
leanexplore_declaration
leanexplore:383441
leanexplore_sqlite
leanexplore_declarations
/-- $$\sum_{n=2}^\infty \frac{1}{n!-1} = \sum_{n=2}^\infty \sum_{k=1}^\infty \frac{1}{(n!)^k}$$ -/ @[category undergraduate, AMS 11] theorem sum_factorial_inv_eq_geometric : let f (n k : ℕ) : ℝ := 1 / ((n + 2).factorial : ℝ) ^ (k + 1) ∑' n : ℕ, (1 : ℝ) / ((n + 2).factorial - 1) = ∑' n : ℕ, ∑' k : ℕ, f n k := by...
200
leanexplore_declaration
leanexplore:383442
leanexplore_sqlite
leanexplore_declarations
/-- Is $$\sum_{n=2}^\infty \frac{1}{n!-1}$$ irrational? -/ @[category research open, AMS 11] theorem erdos_68 : answer(sorry) ↔ Irrational (∑' n : ℕ, 1 / ((n + 2).factorial - 1 : ℝ)) := by sorry
328
leanexplore_declaration
leanexplore:383443
leanexplore_sqlite
leanexplore_declarations
/-- Erdős has proved that if there exists an integer $n$ for which $\phi(m) = n$ has exactly one solution, then there must be infinitely many such $n$. -/ @[category research solved, AMS 11] theorem erdos_694.variants.inf_unique (h : ∃ n > 0, ∃! m, Nat.totient m = n) : { n | ∃! m, Nat.totient m = n }.Infinite := by...
293
leanexplore_declaration
leanexplore:383444
leanexplore_sqlite
leanexplore_declarations
/-- Carmichael has asked whether there is an integer $n$ for which $\phi(m) = n$ has exactly one solution, that is $\frac{f_\max(n)}{f_\min(n)} = 1$. -/ @[category research open, AMS 11] theorem erdos_694.variants.carmichael : answer(sorry) ↔ ∃ n > 0, ∃! m, Nat.totient m = n := by sorry
513
leanexplore_declaration
leanexplore:383445
leanexplore_sqlite
leanexplore_declarations
/-- Let $f_\max(n)$ be the largest $m$ such that $\phi(m) = n$, and $f_\min(n)$ be the smallest such $m$, where $\phi$ is Euler's totient function. Investigate $$ \max_{n\leq x}\frac{f_\max(n)}{f_\min(n)}. $$ -/ @[category research open, AMS 11] theorem erdos_694 (max min : ℕ → ℕ) (hmax : ∀ n, IsGreatest (Nat.tot...
539
leanexplore_declaration
leanexplore:383446
leanexplore_sqlite
leanexplore_declarations
/-- Is there a sequence of primes $q_1 < q_2 < \cdots$ such that $q_{i + 1} \equiv 1 \pmod{q_i}$ and $$ q(k) \leq \exp(k (\log k)^{1 + o(1)})? $$ -/ @[category research open, AMS 11] theorem erdos_695.variants.upperBound : answer(sorry) ↔ ∃ q : ℕ → ℕ, StrictMono q ∧ (∀ i, (q i).Prime) ∧ (∀ i, q (i...
407
leanexplore_declaration
leanexplore:383447
leanexplore_sqlite
leanexplore_declarations
/-- Let $q_1 < q_2 < \cdots$ be a sequence of primes such that $q_{i + 1} \equiv 1 \pmod{q_i}$. Is it true that $$ \lim_{k \to \infty} q_k^{1/k} = \infty? $$ -/ @[category research open, AMS 11] theorem erdos_695 : answer(sorry) ↔ ∀ {q : ℕ → ℕ}, StrictMono q → (∀ i, (q i).Prime) → (∀ i, q (i + 1) ...
245
leanexplore_declaration
leanexplore:383448
leanexplore_sqlite
leanexplore_declarations
/-- $lim_{m\rightarrow\infty} \delta (m, \alpha) = 1$ if $\beta < \alpha$. This is proved in [Ha92]. -/ @[category research solved, AMS 11] theorem erdos_697.parts.ii {α : ℝ} (hα : α < 1 / log (2 : ℝ)) : Tendsto (δ · α) atTop (𝓝 1) := by sorry
281
leanexplore_declaration
leanexplore:383449
leanexplore_sqlite
leanexplore_declarations
/-- Let $\beta = \frac{1}{\log 2}$. Then $lim_{m\rightarrow\infty} \delta (m, \alpha) = 0$ if $\alpha < \beta$. This is proved in [Ha92]. -/ @[category research solved, AMS 11] theorem erdos_697.parts.i {α : ℝ} (hα : 1 / log (2 : ℝ) < α) : Tendsto (δ · α) atTop (𝓝 0) := by sorry
282
leanexplore_declaration
leanexplore:383450
leanexplore_sqlite
leanexplore_declarations
/-- $\delta < \frac{m ^ \alpha + 1}{m}`. This shows that $lim_{m\rightarrow\infty} \delta (m, \alpha) = 0$ for $\alpha < 1$. #TODO: prove this theorem. -/ @[category research solved, AMS 11] theorem erdos_697.variants.delta_lt (m : ℕ) (α : ℝ) : δ m α < (m ^ α + 1) / m := by sorry
253
leanexplore_declaration
leanexplore:383451
leanexplore_sqlite
leanexplore_declarations
/-- For each $m$ and $\alpha$, $\delta (m, \alpha)$ is the density of the set of integers which are divisible by some $d \equiv 1 \pmod{m}$ with $1 < d < exp (m ^ \alpha)$ exists. -/ noncomputable def δ (m : ℕ) (α : ℝ) : ℝ := (density_exists m α).choose
345
leanexplore_declaration
leanexplore:383452
leanexplore_sqlite
leanexplore_declarations
/-- For each $m$ and $\alpha$, the density of the set of integers which are divisible by some $d \equiv 1 \pmod{m}$ with $1 < d < \exp (m ^ \alpha)$ exists. -/ @[category research solved, AMS 11] theorem density_exists (m : ℕ) (α : ℝ) : ∃ δ, HasDensity {n : ℕ | ∃ d, d ≡ 1 [MOD m] ∧ (d : ℝ) ∈ Set.Ioo 1 (exp (m ^ α))...
456
leanexplore_declaration
leanexplore:383453
leanexplore_sqlite
leanexplore_declarations
/-- Erdős and Szekeres conjectured that, apart from a finite exceptional set of triples `(n, i, j)`, one can always take `p > i` in the prime divisor statement. -/ @[category research open, AMS 11] theorem erdos_szekeres_strengthening : answer(sorry) ↔ ∃ E : Finset (ℕ × ℕ × ℕ), ∀ n i j : ℕ, 1 ≤ i → i < ...
392
leanexplore_declaration
leanexplore:383454
leanexplore_sqlite
leanexplore_declarations
/-- **Erdős Problem 699.** Is it true that for every $1 \le i < j \le n / 2$ there exists a prime $p \ge i$ with $p \mid \gcd\big(\binom{n}{i}, \binom{n}{j}\big)$? -/ @[category research open, AMS 11] theorem erdos_699 : answer(sorry) ↔ ∀ n i j : ℕ, 1 ≤ i → i < j → j ≤ n / 2 → ∃ p : ℕ, p.Pri...
268
leanexplore_declaration
leanexplore:383455
leanexplore_sqlite
leanexplore_declarations
/-- Sylvester and Schur: for $1 \le i \le n/2$ there is a prime $p > i$ dividing `n.choose i`. -/ @[category research solved, AMS 11] theorem sylvester_schur (n i : ℕ) (hi : 1 ≤ i) (hi_half : i ≤ n / 2) : ∃ p : ℕ, p.Prime ∧ i < p ∧ p ∣ Nat.choose n i := by sorry
354
leanexplore_declaration
leanexplore:383456
leanexplore_sqlite
leanexplore_declarations
/-- Tao observed that `erdos_69` is a special case of `erdos_257`, since $$ \sum_{n\geq 2}\frac{\omega(n)}{2^n} = \sum_p \frac{1}{2^p - 1}. $$ -/ @[category research solved, AMS 11] theorem erdos_69.variants.specialisation_of_erdos_257 : let A := { n : ℕ | n.Prime } ∑' n, ω (n + 2) / (2 ^ (n + 2) : ℝ) = ∑' p : ...
246
leanexplore_declaration
leanexplore:383457
leanexplore_sqlite
leanexplore_declarations
/-- Is $$ \sum_{n\geq 2}\frac{\omega(n)}{2^n} $$ irrational? (Here $\omega(n)$ counts the number of distinct prime divisors of $n$.) -/ @[category undergraduate, AMS 11] theorem erdos_69 : Irrational <| ∑' n, ω (n + 2) / 2 ^ (n + 2) := by sorry
466
leanexplore_declaration
leanexplore:383458
leanexplore_sqlite
leanexplore_declarations
/-- For all $m$, there are infinitely many $n$ such that $d_n > d_{n+1} \dots > d_{n+m}$, where $d$ denotes the prime gap function. Proved by Banks, Freiberg, and Turnage-Butterbaugh [BFT15] with an application of the Maynard-Tao machinery concerning bounded gaps between primes [Ma15] -/ @[category research solved, AM...
468
leanexplore_declaration
leanexplore:383459
leanexplore_sqlite
leanexplore_declarations
/-- For all $m$, there are infinitely many $n$ such that $d_n < d_{n+1} < \dots < d_{n+m}$, where $d$ denotes the prime gap function. Proved by Banks, Freiberg, and Turnage-Butterbaugh [BFT15] with an application of the Maynard-Tao machinery concerning bounded gaps between primes [Ma15] -/ @[category research solved, ...
270
leanexplore_declaration
leanexplore:383460
leanexplore_sqlite
leanexplore_declarations
/-- There are infinitely many $n$ such that $d_n < d_{n+1} < d_{n+2}$, where $d$ denotes the prime gap function. -/ @[category research solved, AMS 11] theorem erdos_6 : {n | primeGap n < primeGap (n + 1) ∧ primeGap (n + 1) < primeGap (n + 2)}.Infinite := by sorry
493
leanexplore_declaration
leanexplore:383461
leanexplore_sqlite
leanexplore_declarations
/-- Let $G$ be a finite unit distance graph in $\mamthbb{R}^2$. Is there some $k$ such that if $G$ has girth $≥ k$, then $\chi(G) ≤ 3$? The general case was solved by O'Donnell [OD99], who constructed finite unit distance graphs with chromatic number $4$ and arbitrarily large girth. -/ @[category research solved, AMS ...
322
leanexplore_declaration
leanexplore:383462
leanexplore_sqlite
leanexplore_declarations
/-- For small Sidon sets, we can check the conjecture directly. -/ @[category undergraduate, AMS 5 11] theorem erdos_707.variants.small_sidon_sets (A : Set ℕ) (hA : A.Finite) (h : A.ncard ≤ 3) (hSidon : IsSidon A) : ∃ (B : Set ℕ) (p : ℕ), IsPrimePow p ∧ A ⊆ B ∧ IsPerfectDifferenceSet B (p^2 + p + 1) := by sor...
1,571
leanexplore_declaration
leanexplore:383463
leanexplore_sqlite
leanexplore_declarations
/-- The set `{1, 2, 4}` can be embedded in a perfect difference set modulo 7. -/ @[category undergraduate, AMS 5 11] theorem erdos_707.variants.example_embedding : ∃ (B : Set ℕ), {1, 2, 4} ⊆ B ∧ IsPerfectDifferenceSet B 7 := by refine ⟨{1, 2, 4}, Set.Subset.refl _, ?_⟩ unfold IsPerfectDifferenceSet refine ⟨?m...
438
leanexplore_declaration
leanexplore:383464
leanexplore_sqlite
leanexplore_declarations
/-- The set `{1, 2, 4}` is a Sidon set. -/ @[category undergraduate, AMS 5 11] theorem erdos_707.variants.example_sidon_set : IsSidon ({1, 2, 4} : Set ℕ) := by intro i₁ hi₁ j₁ hj₁ i₂ hi₂ j₂ hj₂ hsum simp only [Set.mem_insert_iff, Set.mem_singleton_iff] at hi₁ hj₁ hi₂ hj₂ rcases hi₁ with rfl | rfl | rfl <;> rcas...
313
leanexplore_declaration
leanexplore:383465
leanexplore_sqlite
leanexplore_declarations
/-- The Singer construction gives perfect difference sets for `n = p^2 + p + 1` where `p` is a prime power. -/ @[category undergraduate, AMS 5 11] theorem erdos_707.variants.singer_construction (p : ℕ) (hp : IsPrimePow p) : ∃ (B : Set ℕ), IsPerfectDifferenceSet B (p^2 + p + 1) ∧ B.ncard = p + 1 := by sorry
1,506
leanexplore_declaration
leanexplore:383466
leanexplore_sqlite
leanexplore_declarations
/-- A perfect difference set modulo `n` must have size `≤ √n + 1`. -/ @[category undergraduate, AMS 5 11] theorem erdos_707.variants.perfect_difference_set_size_bound (B : Set ℕ) (n : ℕ) (hB : IsPerfectDifferenceSet B n) : B.ncard ≤ n.sqrt + 1 := by by_cases hfin : B.Finite by_cases hn : n = 0 subst hn; simp ...
560
leanexplore_declaration
leanexplore:383467
leanexplore_sqlite
leanexplore_declarations
/-- This conjecture was actually first disproved by Hall in 1947 [Ha47], long before Erdős asked this question. A counterexample for any modulus from from [Ha47] in the paragraph following Theorem 4.3, where it was given as $\{-8, -6, 0, 1, 4\}$, but this can be shifted to natural numbers as pointed out in [arxiv/2510....
395
leanexplore_declaration
leanexplore:383468
leanexplore_sqlite
leanexplore_declarations
/-- Alexeev and Mixon [arxiv/2510.19804] have disproved this conjecture, showing that $\{1, 2, 4, 8, 13\}$ cannot be extended to any perfect difference set. -/ @[category research solved, AMS 5 11] theorem erdos_707.variants.counterexample_mian_chowla (A : Set ℕ) (hA : A = {1, 2, 4, 8, 13}) : Finite A ∧ IsSidon A ∧ ...
439
leanexplore_declaration
leanexplore:383469
leanexplore_sqlite
leanexplore_declarations
/-- Alexeev and Mixon [arxiv/2510.19804] have disproved this conjecture, proving that $\{1,2,4,8\}$ cannot be extended to a perfect difference set modulo $p^2+p+1$ for any prime $p$. -/ @[category research solved, AMS 5 11] theorem erdos_707.variants.counterexample_prime (A : Set ℕ) (hA : A = {1, 2, 4, 8}) : Finite ...
480
leanexplore_declaration
leanexplore:383470
leanexplore_sqlite
leanexplore_declarations
/-- It is false that any finite Sidon set can be embedded in a perfect difference set modulo `p^2 + p + 1` for some prime `p`. As described in [arxiv/2510.19804], a counterexample is provided in [Ha47], see below. The proof of this has been formalized. -/ @[category research solved, AMS 5 11] theorem erdos_707.variant...
508
leanexplore_declaration
leanexplore:383471
leanexplore_sqlite
leanexplore_declarations
/-- It is false that any finite Sidon set can be embedded in a perfect difference set modulo `p^2 + p + 1` for some prime power `p`. As described in [arxiv/2510.19804], a counterexample is provided in [Ha47], see below. The proof of this has been formalized. --/ @[category research solved, AMS 5 11] theorem erdos_707....
613
leanexplore_declaration
leanexplore:383472
leanexplore_sqlite
leanexplore_declarations
/-- **Erdős Problem 707**: It is false that any finite Sidon set can be embedded in a perfect different set modulo some $n$. As described in [arxiv/2510.19804], a counterexample is provided in [Ha47], see below. The proof of this has been formalized. This was formalized in Lean by Alexeev using ChatGPT. -/ @[category...
397
leanexplore_declaration
leanexplore:383473
leanexplore_sqlite
leanexplore_declarations
/-- Bruck and Ryser have proved that if $n \equiv 1 (\mod 4)$ or $n \equiv 2 (\mod 4)$ then $n$ must be the sum of two squares. -/ @[category research solved, AMS 5] theorem erdos_723.variants.bruck_ryser {P L : Type} [Membership P L] [Fintype P] [Fintype L] (n : ℕ) (pp : ProjectivePlane P L) (hpp : pp.order = n) :...
262
leanexplore_declaration
leanexplore:383474
leanexplore_sqlite
leanexplore_declarations
/-- This conjecture has been proved for $n \leq 11$. -/ @[category research solved, AMS 5] theorem erdos_723.variants.leq_11 {P L : Type} [Membership P L] [Fintype P] [Fintype L] : ∀ pp : ProjectivePlane P L, pp.order ≤ 11 → IsPrimePow pp.order := by sorry
298
leanexplore_declaration
leanexplore:383475
leanexplore_sqlite
leanexplore_declarations
/-- These always exist if $n$ is a prime power. -/ @[category research solved, AMS 5] theorem erdos_723.variants.prime_power_is_projplane_order : ∀ n, IsPrimePow n → ∃ (P L : Type) (_ : Membership P L) (_ : Fintype P) (_ : Fintype L) (pp : ProjectivePlane P L), pp.order = n := by sorry
298
leanexplore_declaration
leanexplore:383476
leanexplore_sqlite
leanexplore_declarations
/-- If there is a finite projective plane of order $n$ then must $n$ be a prime power? -/ @[category research open, AMS 5] theorem erdos_723 : answer(sorry) ↔ ∀ {P L : Type} (_: Membership P L) (_ : Fintype P) (_ : Fintype L), ∀ pp : ProjectivePlane P L, IsPrimePow pp.order := by sorry
383
leanexplore_declaration
leanexplore:383477
leanexplore_sqlite
leanexplore_declarations
/-- Erdős, Graham, Ruzsa, and Straus observe that the method of Balakran can be further used to prove that there are infinitely many $n$ such that $(n+k)!(n+1)!∣(2n)!$ -/ @[category research solved, AMS 11] theorem erdos_727.variants.k_1_2 (k : ℕ) (hk : 2 ≤ k) : Set.Infinite {n : ℕ | (Nat.factorial (n + k)) *...
274
leanexplore_declaration
leanexplore:383478
leanexplore_sqlite
leanexplore_declarations
/-- Balakran proved this holds for $k = 1$. Let $k = 1$. Does $((n+k)!)^2∣(2n)!$ for infinitely many $n$? -/ @[category research solved, AMS 11] theorem erdos_727.variants.k_1 : letI k := 1 answer(True) ↔ Set.Infinite {n : ℕ | (n + k)! ^ 2 ∣ (2 * n)!} := by sorry
292
leanexplore_declaration
leanexplore:383479
leanexplore_sqlite
leanexplore_declarations
/-- It is open even for $k = 2$. Let $k = 2$. Does $((n+k)!)^2∣(2n)!$ hold for infinitely many n? -/ @[category research open, AMS 11] theorem erdos_727.variants.k_2 : letI k := 2 answer(sorry) ↔ Set.Infinite {n : ℕ | (Nat.factorial (n + k)) ^ 2 ∣ Nat.factorial (2 * n)} := by sorry
245
leanexplore_declaration
leanexplore:383480
leanexplore_sqlite
leanexplore_declarations
/-- Let $k ≥ 2$. Does $((n+k)!)^2∣(2n)!$ hold for infinitely many $n$? -/ @[category research open, AMS 11] theorem erdos_727 : answer(sorry) ↔ ∀ k ≥ 2, Set.Infinite {n : ℕ | (Nat.factorial (n + k)) ^ 2 ∣ Nat.factorial (2 * n)} := by sorry
1,161
leanexplore_declaration
leanexplore:383481
leanexplore_sqlite
leanexplore_declarations
/-- Let $\varepsilon$ be sufficiently small and $C, C' > 0$. Are there integers $a, b, n$ such that $$a, b > \varepsilon n\quad a!\, b! \mid n!\, (a + b - n)!, $$ and $$C \log n < a + b - n < C' \log n ?$$ Note that the website currently displays a simpler (trivial) version of this problem because $a + b$ isn't assume...
569
leanexplore_declaration
leanexplore:383482
leanexplore_sqlite
leanexplore_declarations
/-- There are examples where $(n, m) ∈ S$ with $m ≠ n + 1$. (Found by AlphaProof, although it was implicit already in [A129515]) -/ @[category research solved, AMS 11] theorem erdos_730.variants.delta_ne_one : ∃ (n m : ℕ), (n, m) ∈ S ∧ m ≠ n + 1 := by dsimp [S] use 10003 use 10005 norm_num [Finset.ext_iff, Nat...
182
leanexplore_declaration
leanexplore:383483
leanexplore_sqlite
leanexplore_declarations
/-- For example, $(87,88)$ and $(607,608)$ are such pairs. -/ @[category high_school, AMS 11] theorem erdos_730.variants.explicit_pairs : {(87, 88), (607, 608)} ⊆ S := by sorry
236
leanexplore_declaration
leanexplore:383484
leanexplore_sqlite
leanexplore_declarations
/-- Are there infinitely many pairs of integers $n < m$ such that $\binom{2n}{n}$ and $\binom{2m}{m}$ have the same set of prime divisors? -/ @[category research open, AMS 11] theorem erdos_730 : answer(sorry) ↔ S.Infinite := by sorry