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
515
leanexplore_declaration
leanexplore:382676
leanexplore_sqlite
leanexplore_declarations
/-- Let $a_1 < a_2 < \dotsc$ be an infinite sequence of positive integers such that $\frac{a_{i+1}}{a_i} \to 1$. If every arithmetic progression contains infinitely many integers which are the sum of distinct $a_i$ then every sufficiently large integer is the sum of distinct $a_i$. -/ @[category research solved, AMS 11...
321
leanexplore_declaration
leanexplore:382677
leanexplore_sqlite
leanexplore_declarations
/-- The predicate that `a : ℕ → ℕ` is a strictly monotone sequence such that every infinite arithmetic progression contains infinitely many integers that are the sum of distinct $a_i$s. -/ @[inline] def RepresentsAPs (a : ℕ → ℕ) : Prop := StrictMono a ∧ ∀ l, l.IsAPOfLength ⊤ → (subsetSums (Set.range a) ∩ l).Infinit...
605
leanexplore_declaration
leanexplore:382678
leanexplore_sqlite
leanexplore_declarations
/-- Cassels [Ca60] proved this under the alternative hypotheses $\lim \frac{\lvert A\cap [1,2x]\rvert -\lvert A\cap [1,x]\rvert}{\log\log x}=\infty$ and $\sum_{n\in A} \{ \theta n\}^2=\infty$ for every $\theta\in (0,1)$. -/ @[category research solved, AMS 11] theorem erdos_254.variants.cassels : ∀ (A : Set ℕ), ...
660
leanexplore_declaration
leanexplore:382679
leanexplore_sqlite
leanexplore_declarations
/-- Let $A\subseteq \mathbb{N}$ be such that $\lvert A\cap [1,2x]\rvert -\lvert A\cap [1,x]\rvert \to \infty\textrm{ as }x\to \infty$ and $\sum_{n\in A} \{ \theta n\}=\infty$ for every $\theta\in (0,1)$, where $\{x\}$ is the distance of $x$ from the nearest integer. Then every sufficiently large integer is the sum of d...
182
leanexplore_declaration
leanexplore:382680
leanexplore_sqlite
leanexplore_declarations
/-- An integer `n` can be written as a sum of distinct elements of `A`. -/ def IsSumOfDistinct (A : Set ℕ) (n : ℕ) : Prop := ∃ S : Finset ℕ, (S : Set ℕ) ⊆ A ∧ S.sum (fun x ↦ x) = n
315
leanexplore_declaration
leanexplore:382681
leanexplore_sqlite
leanexplore_declarations
/-- Show that $$ \sum_{n} \frac{d(n)}{2^n} $$ is irrational. [Er48] Erdős, P., _On arithmetical properties of Lambert series_. J. Indian Math. Soc. (N.S.) (1948), 63-66. -/ @[category research solved, AMS 11] theorem erdos_257.variants.tsum_top : Irrational <| ∑' n, n.divisors.card / (2 ^ n : ℝ) := by sorry
282
leanexplore_declaration
leanexplore:382682
leanexplore_sqlite
leanexplore_declarations
/-- Show that $$ \sum_{n} \frac{1}{2^n - 1} = \sum_{n} \frac{d(n)}{2^n}, $$ where $d(n)$ is the number of divisors of $n$. -/ @[category undergraduate, AMS 11] theorem erdos_257.variants.tsum_top_eq : ∑' n, 1 / (2 ^ n - 1 : ℝ) = ∑' n, n.divisors.card / (2 ^ n : ℝ) := by sorry
269
leanexplore_declaration
leanexplore:382683
leanexplore_sqlite
leanexplore_declarations
/-- Let $A\subseteq\mathbb{N}$ be an infinite set. Is $$ \sum_{n\in A} \frac{1}{2^n - 1} $$ irrational? -/ @[category research open, AMS 11] theorem erdos_257 : answer(sorry) ↔ ∀ (A : Set ℕ), A.Infinite → Irrational (∑' n : A, (1 : ℝ) / (2 ^ n.1 - 1)) := by sorry
315
leanexplore_declaration
leanexplore:382684
leanexplore_sqlite
leanexplore_declarations
/-- Is $\sum_n \frac{d(n)}{t^n}$ irrational, where $t ≥ 2$ is an integer. Solution: True (proved by Erdős, see Erdős Problems website) -/ @[category research solved, AMS 11] theorem erdos_258.variants.Constant : answer(True) ↔ ∀ t ≥ (2 : ℕ), Irrational (∑' (n : ℕ), ((n + 1).divisors.card / t^n)) := by sorry
533
leanexplore_declaration
leanexplore:382685
leanexplore_sqlite
leanexplore_declarations
/-- Let $a_n \to \infty$ be a monotone sequence of non-zero natural numbers. Is $\sum_n \frac{d(n)}{(a_1 ... a_n)}$ irrational, where $d(n)$ is the number of divisors of $n$? Solution: True (proved by Erdős and Straus, see Erdős Problems website). -/ @[category research solved, AMS 11] theorem erdos_258.variants.Monot...
414
leanexplore_declaration
leanexplore:382686
leanexplore_sqlite
leanexplore_declarations
/-- Let $a_n \to \infty$ be a sequence of non-zero natural numbers. Is $\sum_n \frac{d(n)}{(a_1 ... a_n)}$ irrational, where $d(n)$ is the number of divisors of $n$? -/ @[category research open, AMS 11] theorem erdos_258 : answer(sorry) ↔ ∀ (a : ℕ → ℕ), (∀ n, a n ≠ 0) → Filter.Tendsto a Filter.atTop Filter.atTop → ...
343
leanexplore_declaration
leanexplore:382687
leanexplore_sqlite
leanexplore_declarations
/-- Is $\sum_{n} \mu(n)^2\frac{n}{2^n}$ irrational? This is true, and was proved by Chen and Ruzsa. [ChRu99] Chen, Yong-Gao and Ruzsa, Imre Z., On the irrationality of certain series. Period. Math. Hungar. (1999), 31--37. -/ @[category research solved, AMS 11] theorem erdos_259 : Irrational (∑' n : ℕ, (μ n) ^ 2 * n /...
551
leanexplore_declaration
leanexplore:382688
leanexplore_sqlite
leanexplore_declarations
/-- Let $n_1 < n_2 < \dots$ be an arbitrary sequence of integers, each with an associated residue class $a_i \pmod{n_i}$. Let $A$ be the set of integers $n$ such that for every $i$ either $n < n_i$ or $n \not\equiv a_i \pmod{n_i}$. Must the logarithmic density of $A$ exist? -/ @[category research open, AMS 11] theorem ...
294
leanexplore_declaration
leanexplore:382689
leanexplore_sqlite
leanexplore_declarations
@[category research open, AMS 11] theorem erdos_260 : answer(sorry) ↔ ∀ a : ℕ → ℤ, ∀ s : ℝ, StrictMono a → Tendsto (fun n => (a n : ℝ ) / n ) atTop atTop → HasSum (fun n => (a n : ℝ ) / 2 ^ a n) s → Irrational s := sorry
470
leanexplore_declaration
leanexplore:382690
leanexplore_sqlite
leanexplore_declarations
/-- Koizumi [Ko25] showed that $a_n = \lfloor \alpha^{2^n} \rfloor$ is an irrationality sequence for all but countably many $\alpha > 1$. [Ko25] Koizumi, J., Irrationality of the reciprocal sum of doubly exponential sequences, arXiv:2504.05933 (2025). -/ @[category research solved, AMS 11] theorem erdos_263.var...
547
leanexplore_declaration
leanexplore:382691
leanexplore_sqlite
leanexplore_declarations
/-- On the other hand, if there exists some $\varepsilon > 0$ such that $a_n$ satisfies $\liminf \frac{a_{n+1}}{a_n^{2+\varepsilon}} > 0$, then $a_n$ is an irrationality sequence by the above folklore result `erdos_263.variants.folklore`. -/ @[category research solved, AMS 11] theorem erdos_263.variants.super_doubly_ex...
626
leanexplore_declaration
leanexplore:382692
leanexplore_sqlite
leanexplore_declarations
/-- Kovač and Tao [KoTa24] proved that any strictly increasing sequence $a_n$ such that $\sum \frac{1}{a_n}$ converges and $\lim \frac{a_{n+1}}{a_n^2} = 0$ is not an irrationality sequence in the above sense. [KoTa24] Kovač, V. and Tao T., On several irrationality problems for Ahmes series. arXiv:2406.17593 (...
390
leanexplore_declaration
leanexplore:382693
leanexplore_sqlite
leanexplore_declarations
/-- A folklore result states that any $a_n$ satisfying $\lim_{n \to \infty} a_n^{\frac{1}{2^n}} = \infty$ has $\sum \frac{1}{a_n}$ converging to an irrational number. -/ @[category research solved, AMS 11] theorem erdos_263.variants.folklore (a : ℕ -> ℕ) (ha : atTop.Tendsto (fun n : ℕ => (a n : ℝ) ^ (1 / (2 ^ n : ℝ...
536
leanexplore_declaration
leanexplore:382694
leanexplore_sqlite
leanexplore_declarations
/-- Must every irrationality sequence $a_n$ in the above sense satisfy $a_n^{1/n} \to \infty$ as $n \to \infty$? Answer: false. -/ @[category research solved, AMS 11, formal_proof using formal_conjectures at "https://github.com/google-deepmind/formal-conjectures/blob/c8cf651906abe91051cf835d4232ad5648412113/FormalConj...
212
leanexplore_declaration
leanexplore:382695
leanexplore_sqlite
leanexplore_declarations
/-- Is $a_n = 2^{2^n}$ an irrationality sequence in the above sense? -/ @[category research open, AMS 11] theorem erdos_263.parts.i : answer(sorry) ↔ IsIrrationalitySequence (fun n : ℕ => 2 ^ 2 ^ n) := by sorry
608
leanexplore_declaration
leanexplore:382696
leanexplore_sqlite
leanexplore_declarations
/-- We call a sequence $a_n$ of positive integers an _irrationality sequence_ if for any sequence $b_n$ of positive integers with $\frac{a_n}{b_n} \to 1$ as $n \to \infty$, the sum $\sum \frac{1}{b_n}$ converges to an irrational number. Note: This is one of many possible notions of "irrationality sequences". See Forma...
573
leanexplore_declaration
leanexplore:382697
leanexplore_sqlite
leanexplore_declarations
/-- On the other hand, Kovač and Tao [KoTa24] do prove that for any function $F$ with $\lim_{n \to \infty} \frac{F(n + 1)}{F(n)} = \infty$ there exists such an irrationality sequence with $a_n \sim F(n)$. [KoTa24] Kovač, V. and Tao T., On several irrationality problems for Ahmes series. arXiv:2406.17593 (2024). -/ @[c...
665
leanexplore_declaration
leanexplore:382698
leanexplore_sqlite
leanexplore_declarations
/-- Kovač and Tao [KoTa24] generally proved that any strictly increasing sequence of positive integers $a_n$ such that $\sum \frac{1}{a_n}$ converges and $$ \liminf_{n \to \infty} (a_n^2 \sum_{k > n} \frac{1}{a_k^2}) > 0 $$ is not an irrationality sequence. [KoTa24] Kovač, V. and Tao T., On several irrationality pro...
163
leanexplore_declaration
leanexplore:382699
leanexplore_sqlite
leanexplore_declarations
/-- One example is $2^{2^n}$. -/ @[category research solved, AMS 11] theorem erdos_264.variants.example : IsIrrationalitySequence (fun n ↦ 2 ^ (2 ^ n)) := by sorry
184
leanexplore_declaration
leanexplore:382700
leanexplore_sqlite
leanexplore_declarations
/-- Is $n!$ an example of an irrationality sequence? -/ @[category research open, AMS 11] theorem erdos_264.parts.ii : answer(sorry) ↔ IsIrrationalitySequence Nat.factorial := by sorry
319
leanexplore_declaration
leanexplore:382701
leanexplore_sqlite
leanexplore_declarations
/-- Is $2^n$ an example of an irrationality sequence? Kovač and Tao proved that it is not [KoTa24] [KoTa24] Kovač, V. and Tao T., On several irrationality problems for Ahmes series. arXiv:2406.17593 (2024). -/ @[category research solved, AMS 11] theorem erdos_264.parts.i : ¬IsIrrationalitySequence (2 ^ ·) := by sorry
541
leanexplore_declaration
leanexplore:382702
leanexplore_sqlite
leanexplore_declarations
/-- A sequence $a_n$ of integers is called an irrationality sequence if for every bounded sequence of integers $b_n$ with $a_n + b_n \neq 0$ and $b_n \neq 0$ for all $n$, the sum $$ \sum \frac{1}{a_n + b_n} $$ is irrational. Note: there are other possible definitions of this concept. See FormalConjectures/ErdosProbl...
651
leanexplore_declaration
leanexplore:382703
leanexplore_sqlite
leanexplore_declarations
/-- In fact, Kovač and Tao proved in [KoTa24] that there exists a strictly increasing sequence $a_n$ of positive integers such that $\sum \frac{1}{a_n + t}$ converges to a rational number for all $t \in \mathbb{Q}$ such that $t \ne -a_n$ for any $n$. [KoTa24] Kovač, V. and Tao T., On several irrationality problems for...
597
leanexplore_declaration
leanexplore:382704
leanexplore_sqlite
leanexplore_declarations
/-- Let $a_n$ be an infinite sequence of positive integers such that $\sum \frac{1}{a_n}$ converges. There exists some integer $t \ge 1$ such that $\sum \frac{1}{a_n + t}$ is irrational. This was disproven by Kovač and Tao in [KoTa24]. [KoTa24] Kovač, V. and Tao T., On several irrationality problems for Ahmes series....
337
leanexplore_declaration
leanexplore:382705
leanexplore_sqlite
leanexplore_declarations
/-- The sum $\sum_n \frac 1 {F_{n}}$ itself was proved to be irrational by André-Jeannin. Ref: André-Jeannin, Richard, _Irrationalité de la somme des inverses de certaines suites récurrentes_. -/ @[category research solved, AMS 11] theorem erdos_267.variants.fibonacci_inverse_sum : Irrational <| ∑' k, 1 / (Nat.fib...
453
leanexplore_declaration
leanexplore:382706
leanexplore_sqlite
leanexplore_declarations
/-- Good [Go74] and Bicknell and Hoggatt [BiHo76] have shown that $\sum_n \frac 1 {F_{2^n}}$ is irrational. Ref: * [Go74] Good, I. J., _A reciprocal series of Fibonacci numbers_ * [BiHo76] Hoggatt, Jr., V. E. and Bicknell, Marjorie, _A reciprocal series of Fibonacci numbers with subscripts $2\sp{n}k$_ -/ @[category re...
495
leanexplore_declaration
leanexplore:382707
leanexplore_sqlite
leanexplore_declarations
/-- Let $F_1=F_2=1$ and $F_{n+1} = F_n + F_{n-1}$ be the Fibonacci sequence. Let $n_1 < n_2 < \dots$ be an infinite sequence with $\frac {n_k}{k} \to \infty$. Must $\sum_k \frac 1 {F_{n_k}}$ be irrational? -/ @[category research open, AMS 11] theorem erdos_267.variants.generalisation_ratio_limit_to_infinity : answer(so...
412
leanexplore_declaration
leanexplore:382708
leanexplore_sqlite
leanexplore_declarations
/-- Let $F_1=F_2=1$ and $F_{n+1} = F_n + F_{n-1}$ be the Fibonacci sequence. Let $n_1 < n_2 < \dots$ be an infinite sequence with $\frac{n_{k+1}}{n_k} \ge c > 1$. Must $\sum_k \frac 1 {F_{n_k}}$ be irrational? -/ @[category research open, AMS 11] theorem erdos_267 : answer(sorry) ↔ ∀ᵉ (n : ℕ → ℕ) (c > (1 : ℚ)), StrictM...
479
leanexplore_declaration
leanexplore:382709
leanexplore_sqlite
leanexplore_declarations
/-- Let `X` be the set of points in `Fin d → ℝ` of the shape `fun i : Fin d => ∑' n : A, (1 : ℝ) / (n + i)` for some infinite subset `A ⊆ ℕ` such that `1 / n` is summable over `A`. `X` has nonempty interior. This is proved in [KoTa24]. -/ @[category research solved, AMS 40 54] theorem erdos_268 (d : ℕ) : (interior {x :...
283
leanexplore_declaration
leanexplore:382710
leanexplore_sqlite
leanexplore_declarations
/-- This theorem addresses the case where the set of primes $P$ is infinite. In this case the sum is irrational. -/ @[category research solved, AMS 11] theorem erdos_269.variants.infinite (P : Set ℕ) (h : ∀ p ∈ P, p.Prime) (h_inf : P.Infinite) : Irrational (series P) := by sorry
439
leanexplore_declaration
leanexplore:382711
leanexplore_sqlite
leanexplore_declarations
/-- Let $P$ be a finite set of primes with $|P| \ge 2$ and let $\{a_1 < a_2 < \dots\}$ be the set of positive integers whose prime factors are all in $P$. Is the sum $$ \sum_{n=1}^\infty \frac{1}{[a_1,\ldots,a_n]} $$ irrational? -/ @[category research open, AMS 11] theorem erdos_269.variants.irrational : answer(sorry) ...
439
leanexplore_declaration
leanexplore:382712
leanexplore_sqlite
leanexplore_declarations
/-- Let $P$ be a finite set of primes with $|P| \ge 2$ and let $\{a_1 < a_2 < \dots\}$ be the set of positive integers whose prime factors are all in $P$. Is the sum $$ \sum_{n=1}^\infty \frac{1}{[a_1,\ldots,a_n]} $$ rational? -/ @[category research open, AMS 11] theorem erdos_269.variants.rational : answer(sorry) ↔ ...
146
leanexplore_declaration
leanexplore:382713
leanexplore_sqlite
leanexplore_declarations
/-- The sum $\sum_{n=1}^\infty \frac{1}{[a_0,\ldots,a_{n - 1}]}$. -/ noncomputable def series (P : Set ℕ) : ℝ := ∑' n, (1 : ℝ) / (partialLcm P n)
265
leanexplore_declaration
leanexplore:382714
leanexplore_sqlite
leanexplore_declarations
/-- The $n$-th partial least common multiple, $[a_0, \dots, a_{n-1}]$, which is the LCM of the first $n$ integers in the sequence. -/ noncomputable def partialLcm (P : Set ℕ) (n : ℕ) : ℕ := -- We take the LCM of `{a P 0, ..., a P n}`. (Finset.range n).lcm (a P)
196
leanexplore_declaration
leanexplore:382715
leanexplore_sqlite
leanexplore_declarations
/-- The infinite, strictly increasing sequence $\{a_0, a_1, \dots\}$ of integers whose prime factors all belong to $P$. -/ noncomputable def a (P : Set ℕ) : ℕ → ℕ := Nat.nth <| HasPrimeFactorsIn P
237
leanexplore_declaration
leanexplore:382716
leanexplore_sqlite
leanexplore_declarations
/-- A positive integer $n$ has all its prime factors in the set $P$. By convention, $1$ satisfies this for any $P$ as it has no prime divisors. -/ def HasPrimeFactorsIn (P : Set ℕ) (n : ℕ) : Prop := n > 0 ∧ ∀ p, p.Prime → p ∣ n → p ∈ P
662
leanexplore_declaration
leanexplore:382717
leanexplore_sqlite
leanexplore_declarations
/-- Tenenbaum asked the weaker variant where for every $\epsilon>0$ there is some $k=k(\epsilon)$ such that at least $1-\epsilon$ density of all integers have a divisor of the form $a+k$ for some $a\in A$. The DeepMind prover agent has found a formal disproof of this statement. -/ @[category research solved, AMS 11, f...
254
leanexplore_declaration
leanexplore:382718
leanexplore_sqlite
leanexplore_declarations
/-- If we allow for $\sum_{a\in A} \frac{1}{a} < \infty$ then Rusza has found a counter-example. -/ @[category research solved, AMS 11] theorem erdos_26.variants.rusza : ∃ A : ℕ → ℕ, StrictMono A ∧ ¬IsThick A ∧ ∀ k, ¬IsBehrend (A · + k) := by sorry
533
leanexplore_declaration
leanexplore:382719
leanexplore_sqlite
leanexplore_declarations
/-- Let $A\subset\mathbb{N}$ be infinite such that $\sum_{a \in A} \frac{1}{a} = \infty$. Must there exist some $k\geq 1$ such that almost all integers have a divisor of the form $a+k$ for some $a\in A$? This was formalized in Lean by Alexeev using Aristotle. -/ @[category research solved, AMS 11, formal_proof using l...
238
leanexplore_declaration
leanexplore:382720
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 11] theorem not_isWeaklyBehrend_of_neg {ι : Type*} (A : ι → ℕ) {ε : ℝ} (hε : ε < 0) : ¬IsWeaklyBehrend A ε := by norm_num [IsWeaklyBehrend] exact (add_lt_of_neg_right _ hε).trans_le (Set.lowerDensity_le_one _)
195
leanexplore_declaration
leanexplore:382721
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 11] theorem isWeaklyBehrend_of_ge_one {ι : Type*} (A : ι → ℕ) {ε : ℝ} (hε : 1 ≤ ε) : IsWeaklyBehrend A ε := by exact (sub_nonpos.2 hε).trans (Set.lowerDensity_nonneg _)
290
leanexplore_declaration
leanexplore:382722
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 11] theorem isBehrend_of_contains_one {ι : Type*} (A : ι → ℕ) (h : 1 ∈ Set.range A) : IsBehrend A := by rw [IsBehrend, Set.HasDensity] exact tendsto_atTop_of_eventually_const (i₀ := 1) fun n hn ↦ by simp [multiplesOf_eq_univ A h, Set.partialDensity] lia
277
leanexplore_declaration
leanexplore:382723
leanexplore_sqlite
leanexplore_declarations
/-- A sequence of naturals $(a_i)$ is _weakly Behrend_ with respect to $\varepsilon \in \mathbb{R}$ if at least $1 - \varepsilon$ density of all numbers are a multiple of $A$. -/ def IsWeaklyBehrend {ι : Type*} (A : ι → ℕ) (ε : ℝ) : Prop := 1 - ε ≤ (MultiplesOf A).lowerDensity
245
leanexplore_declaration
leanexplore:382724
leanexplore_sqlite
leanexplore_declarations
/-- A sequence of naturals $(a_i)$ is _Behrend_ if almost all integers are a multiple of some $a_i$. In other words, if the set of multiples has natural density $1$. -/ def IsBehrend {ι : Type*} (A : ι → ℕ) : Prop := (MultiplesOf A).HasDensity 1
210
leanexplore_declaration
leanexplore:382725
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 11] theorem multiplesOf_eq_univ {ι : Type*} (A : ι → ℕ) (h : 1 ∈ Set.range A) : MultiplesOf A = Set.univ := by obtain ⟨i, hi⟩ := h exact top_unique fun n hn ↦ ⟨(n, i), by simp [hi]⟩
168
leanexplore_declaration
leanexplore:382726
leanexplore_sqlite
leanexplore_declarations
/-- The set of multiples of a sequence $(a_i)$ is $\{na_i | n \in \mathbb{N}, i\}$. -/ def MultiplesOf {ι : Type*} (A : ι → ℕ) : Set ℕ := Set.range fun (n, i) ↦ n * A i
231
leanexplore_declaration
leanexplore:382727
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 11] theorem isThick_const {ι : Type*} [Infinite ι] (r : ℕ) (h : r > 0) : IsThick fun _ : ι ↦ r := by simp only [IsThick, one_div, summable_const_iff, inv_eq_zero, Nat.cast_eq_zero] exact Nat.ne_zero_of_lt h
236
leanexplore_declaration
leanexplore:382728
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 11] theorem not_isThick_of_geom_one_lt (r : ℕ) (hr : r > 1) : ¬IsThick fun n : ℕ ↦ r ^ n := by simpa [IsThick] using summable_geometric_of_lt_one (r := 1 / r) (by aesop) (div_lt_self zero_lt_one (mod_cast hr))
143
leanexplore_declaration
leanexplore:382729
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 11] theorem not_isThick_of_finite {ι : Type*} [Finite ι] (A : ι → ℕ) : ¬IsThick A := by simpa [IsThick] using .of_finite
203
leanexplore_declaration
leanexplore:382730
leanexplore_sqlite
leanexplore_declarations
/-- A sequence of naturals $(a_i)$ is _thick_ if their sum of reciprocals diverges: $$ \sum_i \frac{1}{a_i} = \infty $$-/ def IsThick {ι : Type*} (A : ι → ℕ) : Prop := ¬Summable (fun i ↦ (1 : ℝ) / A i)
253
leanexplore_declaration
leanexplore:382731
leanexplore_sqlite
leanexplore_declarations
/-- Szabo asks whether the maximal $t$ is given by $$ \frac{N^2}{2} + O(N) $$ -/ @[category research open, AMS 5] theorem erdos_272.variants.szabo_strong : (fun N ↦ (maxArithInterCard N - N ^ 2 / 2 : ℝ)) =O[atTop] fun N : ℕ ↦ (N : ℝ) := by sorry
297
leanexplore_declaration
leanexplore:382732
leanexplore_sqlite
leanexplore_declarations
/-- Szabo showed that the maximal $t$ is equal to $$ \frac{N^2}{2} + O(N^{5/3}\log^3N). $$ -/ @[category research solved, AMS 5] theorem erdos_272.variants.szabo : (fun N ↦ (maxArithInterCard N - N ^ 2 / 2 : ℝ)) =O[atTop] fun N : ℕ ↦ N ^ ((5 : ℝ) / 3) * (Real.log N) ^ 3 := by sorry
211
leanexplore_declaration
leanexplore:382733
leanexplore_sqlite
leanexplore_declarations
/-- Simonovits and Sós have shown that $t\ll N^2$. -/ @[category research solved, AMS 5] theorem erdos_272.variants.isBigO_sq : (fun N ↦ (maxArithInterCard N : ℝ)) =O[atTop] fun N ↦ (N : ℝ) ^ 2 := by sorry
319
leanexplore_declaration
leanexplore:382734
leanexplore_sqlite
leanexplore_declarations
/-- Let $N\geq 1$. What is the largest $t$ such that there are $A_1,\ldots,A_t\subseteq \{1,\ldots,N\}$ with $A_i\cap A_j$ a non-empty arithmetic progression for all $i\neq j$? -/ @[category research open, AMS 5] theorem erdos_272 : (fun N ↦ (maxArithInterCard N : ℝ)) ~[atTop] (answer(sorry) : ℕ → ℝ) := by sorry
186
leanexplore_declaration
leanexplore:382735
leanexplore_sqlite
leanexplore_declarations
/-- For each $N > 0$, let $t$ be the largest size of an arithmetic intersection set. -/ noncomputable def maxArithInterCard (N : ℕ) : ℕ := sSup {#A | (A : _) (_ : IsArithInterSet N A)}
391
leanexplore_declaration
leanexplore:382736
leanexplore_sqlite
leanexplore_declarations
/-- Let $N \in\mathbb{N}$. We say that $\{A_1, ..., A_t\}\subseteq \mathcal{P}(\{1, \dots, N\})$ is an arithmetic intersection set if $A_i \cap A_j$ is a non-empty arithmetic progression for each $i \neq j$. -/ def IsArithInterSet (N : ℕ) (A : Finset (Finset ℕ)) : Prop := A ⊆ (Finset.Icc 1 N).powerset ∧ (SetLike....
380
leanexplore_declaration
leanexplore:382737
leanexplore_sqlite
leanexplore_declarations
/-- Is there a covering system all of whose moduli are of the form $p-1$ for some primes $p \geq 3$? -/ @[category research solved, AMS 5 11] theorem erdos_273.variants.three : answer(True) ↔ ∃ c : StrictCoveringSystem ℕ, ∀ i, ∃ p, p.Prime ∧ 3 ≤ p ∧ c.moduli i = Ideal.span {↑(p - 1)} := by -- TODO(Paul-Lez): find...
292
leanexplore_declaration
leanexplore:382738
leanexplore_sqlite
leanexplore_declarations
/-- Is there a covering system all of whose moduli are of the form $p-1$ for some primes $p \geq 5$? -/ @[category research open, AMS 5 11] theorem erdos_273 : answer(sorry) ↔ ∃ c : StrictCoveringSystem ℤ, ∀ i, ∃ (p : ℕ), p.Prime ∧ 5 ≤ p ∧ c.moduli i = Ideal.span {↑(p - 1)} := by sorry
548
leanexplore_declaration
leanexplore:382739
leanexplore_sqlite
leanexplore_declarations
/-- Let $G$ be a group, and let $A = \{a_1G_1, \dots, a_kG_k\}$ be a finite system of left cosets of subgroups $G_1, \dots, G_k$ of $G$. Herzog and Schönheim conjectured that if $A$ forms a partition of $G$ with $k > 1$, then the indices $[G:G_1], \dots, [G:G_k]$ cannot be distinct. -/ @[category research open, AMS 20...
481
leanexplore_declaration
leanexplore:382740
leanexplore_sqlite
leanexplore_declarations
/-- If `G` is a finite abelian group then there cannot exist an exact covering of `G` by more than one cosets of different sizes? (i.e. each element is contained in exactly one of the cosets.) -/ @[category research solved, AMS 20] theorem erdos_274.variants.abelian {G : Type*} [Fintype G] [CommGroup G] (hG : 1 < F...
437
leanexplore_declaration
leanexplore:382741
leanexplore_sqlite
leanexplore_declarations
/-- Does there exist a group `G` with an exact covering by more than one cosets of different sizes? (i.e. each element is contained in exactly one of the cosets.) -/ @[category research open, AMS 20] theorem erdos_274 : answer(sorry) ↔ ∃ (G : Type*) (h : Group G) (hG : 1 < ENat.card G) (ι : Type*) (_ : Fintype ι) (...
51
leanexplore_declaration
leanexplore:382742
leanexplore_sqlite
leanexplore_declarations
covers : ⋃ i, reps i • (parts i : Set G) = Set.univ
88
leanexplore_declaration
leanexplore:382743
leanexplore_sqlite
leanexplore_declarations
disjoint : (Set.univ (α := ι)).PairwiseDisjoint fun (i : ι) ↦ reps i • (parts i : Set G)
45
leanexplore_declaration
leanexplore:382744
leanexplore_sqlite
leanexplore_declarations
nonempty (i : ι) : (parts i : Set G).Nonempty
858
leanexplore_declaration
leanexplore:382747
leanexplore_sqlite
leanexplore_declarations
/-- An exact covering of a group `G` is a finite collection of subgroups `{H_1, ..., H_k}` and representative `{g_1, ..., g_k}` such that the cosets `g_iH_i` are pairwise disjoint and their union covers `G`. Note that this differs from `Partition (α := Subgroup G)` because the covering condition there invokes `Subgrou...
723
leanexplore_declaration
leanexplore:382748
leanexplore_sqlite
leanexplore_declarations
/-- If a finite system of $r$ congruences $\{ a_i\pmod{n_i} : 1\leq i\leq r\}$ (the $n_i$ are not necessarily distinct) covers $2^r$ consecutive integers then it covers all integers. This is best possible as the system $2^{i-1}\pmod{2^i}$ shows. This was proved independently by Selfridge and Crittenden and Vanden Eynd...
402
leanexplore_declaration
leanexplore:382749
leanexplore_sqlite
leanexplore_declarations
/-- Is there an infinite Lucas sequence $a_0, a_1, \ldots$ where $a_{n+2} = a_{n+1} + a_n$ for $n \ge 0$ such that all $a_k$ are composite, and yet no integer has a common factor with every term of the sequence? -/ @[category research open, AMS 11] theorem erdos_276 : answer(sorry) ↔ ∃ (a : ℕ → ℕ), IsLucasSeque...
536
leanexplore_declaration
leanexplore:382750
leanexplore_sqlite
leanexplore_declarations
/-- We define a Lucas sequence to be a Fibonacci sequence with arbitrary starting points `L 0` and `L 1`. TODO: There seems to be multiple definitions in the literature, some of which also allow coefficients in the reccurence relation. For now this simple definition has been chosen as it agrees best with the Erdős pro...
388
leanexplore_declaration
leanexplore:382751
leanexplore_sqlite
leanexplore_declarations
/-- Is it true that, for every $c$, there exists an $n$ such that $\sigma(n)>cn$ but there is no covering system whose moduli all divide $n$? This was answered affirmatively by Haight [Ha79]. -/ @[category research solved, AMS 11] theorem erdos_277 : answer(True) ↔ ∀ c : ℝ, ∃ n : ℕ, (σ 1 n : ℝ) > c * n ∧ ∀ (m...
521
leanexplore_declaration
leanexplore:382752
leanexplore_sqlite
leanexplore_declarations
/-- Graham has also shown that $x$ is the sum of distinct unit fractions with square denominators if and only if $x\in [0,\pi^2/6-1)\cup [1,\pi^2/6)$. Does the greedy algorithm for this always terminate? Erdős and Graham believe not - indeed, perhaps it fails to terminate almost always. -/ @[category research open, AMS...
320
leanexplore_declaration
leanexplore:382753
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 5] theorem greedyUnitFractionRem_sq_one : greedyUnitFractionRem { n | IsSquare n } 1 0 = 0 := by have : sInf {n : ℕ | IsSquare n ∧ 1 ≤ n} = 1 := by rw [Nat.sInf_def, @Nat.find_eq_iff] · aesop · rw [Set.nonempty_def] use 4 norm_num aesop (add simp [greedyUnitFractionRem])
523
leanexplore_declaration
leanexplore:382754
leanexplore_sqlite
leanexplore_declarations
/-- Graham has shown that $\frac{m}{n}$ is the sum of distinct unit fractions with denominators $\equiv a\pmod{d}$ if and only if \[\left(\frac{n}{(n,a,d)},\frac{d}{(a,d)}\right)=1.\] Does the greedy algorithm always terminate in such cases? -/ @[category research open, AMS 5] theorem erdos_282.variants.graham {x : ℚ} ...
258
leanexplore_declaration
leanexplore:382755
leanexplore_sqlite
leanexplore_declarations
/-- In 1202 Fibonacci observed that this process terminates for any $x$ when $A=\mathbb{N}$. -/ @[category undergraduate, AMS 5] theorem erdos_282.variants.fibonacci {x : ℚ} (hx : x ∈ Set.Ioo 0 1) : greedyUnitFractionRem .univ x =ᶠ[atTop] 0 := by sorry
272
leanexplore_declaration
leanexplore:382756
leanexplore_sqlite
leanexplore_declarations
/-- More generally, for which pairs $x$ and $A$ does this process terminate? -/ @[category research open, AMS 5] theorem erdos_282.variants.general (x : ℚ) (A : Set ℕ) : greedyUnitFractionRem A x =ᶠ[atTop] 0 ↔ (x, A) ∈ (answer(sorry) : Set (ℚ × Set ℕ)) := by sorry
650
leanexplore_declaration
leanexplore:382757
leanexplore_sqlite
leanexplore_declarations
/-- Let $A\subseteq \mathbb{N}$ be an infinite set and consider the following greedy algorithm for a rational $x\in (0,1)$: choose the minimal $n\in A$ such that $n\geq 1/x$ and repeat with $x$ replaced by $x-\frac{1}{n}$. If this terminates after finitely many steps then this produces a representation of $x$ as the su...
179
leanexplore_declaration
leanexplore:382758
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 5] theorem greedyUnitFractionRem_one (n : ℕ) : greedyUnitFractionRem .univ (1 / n) 1 = 0 := by rw [greedyUnitFractionRem, greedyUnitFractionRem_zero] simp
295
leanexplore_declaration
leanexplore:382759
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 5] theorem greedyUnitFractionRem_zero (n : ℕ) : greedyUnitFractionRem .univ (1 / n) 0 = 0 := by have : sInf { m | n ≤ m } = n := by rw [Nat.sInf_def, @Nat.find_eq_iff] · aesop · rw [Set.nonempty_def] use n aesop simp [greedyUnitFractionRem, this]
962
leanexplore_declaration
leanexplore:382760
leanexplore_sqlite
leanexplore_declarations
/-- Let $A\subseteq \mathbb{N}$ be an infinite set and consider the following greedy algorithm for a rational $x$: choose the minimal $n\in A$ such that $n\geq 1/x$ and repeat with $x$ replaced by $x-\frac{1}{n}$. This process of subtracting unit fractions is modelled in `greedyUnitFractionRem`. At each step `t : ℕ`, ...
149
leanexplore_declaration
leanexplore:382761
leanexplore_sqlite
leanexplore_declarations
/-- Graham [Gr63] has proved this when $p(x)=x$. -/ @[category research solved, AMS 11] theorem erdos_283.variants.graham : Condition X := by sorry
456
leanexplore_declaration
leanexplore:382762
leanexplore_sqlite
leanexplore_declarations
/-- Let $p\colon \mathbb{Z} \rightarrow \mathbb{Z}$ be a polynomial whose leading coefficient is positive and such that there exists no $d≥2$ with $d ∣ p(n)$ for all $n≥1$. Is it true that, for all sufficiently large $m$, there exist integers $1≤n_1<\dots < n_k$ such that $$1=\frac{1}{n_1}+\cdots+\frac{1}{n_k}$$ and $$...
585
leanexplore_declaration
leanexplore:382763
leanexplore_sqlite
leanexplore_declarations
/-- Given a polynomial `p`, the predicate that if the leading coefficient is positive and there exists no $d≥2$ with $d ∣ p(n)$ for all $n≥1$, then for all sufficiently large $m$, there exist integers $1≤n_1<\dots < n_k$ such that $$1=\frac{1}{n_1}+\cdots+\frac{1}{n_k}$$ and $$m=p(n_1)+\cdots+p(n_k)$$? -/ def Condition...
576
leanexplore_declaration
leanexplore:382764
leanexplore_sqlite
leanexplore_declarations
/-- It is trivial that $f(k)\geq (1 + o(1)) \frac{e}{e - 1}k$. -/ @[category research solved, AMS 5 11] theorem erdos_285.variants.lb (f : ℕ → ℕ) (S : Set ℕ) (hS : S = {k | ∃ (n : Fin k.succ → ℕ), StrictMono n ∧ 0 ∉ Set.range n ∧ 1 = ∑ i, (1 : ℝ) / n i }) (h : ∀ k ∈ S, IsLeast { n (Fin.l...
842
leanexplore_declaration
leanexplore:382765
leanexplore_sqlite
leanexplore_declarations
/-- Let $f(k)$ be the minimal value of $n_k$ such that there exist $n_1 < n_2 < \dots < n_k$ with $$ 1 = \frac{1}{n_1} + \cdots + \frac{1}{n_k}. $$ Is it true that $$ f(k) = (1 + o(1)) \frac{e}{e - 1} k ? $$ Proved by Martin [Ma00]. [Ma00] Martin, Greg, _Denser Egyptian fractions_. Acta Arith. (2000), 231-260. -/...
363
leanexplore_declaration
leanexplore:382766
leanexplore_sqlite
leanexplore_declarations
/-- Is it true for any $k > 2$ that only finitely many $k$ intervals satisfy this condition? -/ @[category research open, AMS 11] theorem erdos_288.variants.exists_k_gt_2 : answer(sorry) ↔ ∃ k > 2, Set.Finite { I : Fin k → ℕ+ × ℕ+ | ∀ j, (I j).1 ≤ (I j).2 ∧ ∃ n : ℕ+, (∑ j : Fin k, ∑ nⱼ ∈ Set.Icc (I j)...
329
leanexplore_declaration
leanexplore:382767
leanexplore_sqlite
leanexplore_declarations
/-- It is perhaps true with two intervals replaced by any $k$ intervals. -/ @[category research open, AMS 11] theorem erdos_288.variants.k_intervals : answer(sorry) ↔ ∀ k, Set.Finite { I : Fin k → ℕ+ × ℕ+ | ∀ j, (I j).1 ≤ (I j).2 ∧ ∃ n : ℕ+, (∑ j : Fin k, ∑ nⱼ ∈ Set.Icc (I j).1 (I j).2, (nⱼ⁻¹ : ℚ)) = n } := b...
272
leanexplore_declaration
leanexplore:382768
leanexplore_sqlite
leanexplore_declarations
/-- This is still open even if $|I_2| = 1$. -/ @[category research open, AMS 11] theorem erdos_288.variants.i2_card_eq_1 : answer(sorry) ↔ Set.Finite { (I, n₂) : (ℕ+ × ℕ+) × ℕ+ | I.1 ≤ I.2 ∧ ∃ n : ℕ+, ∑ n₁ ∈ Set.Icc I.1 I.2, (n₁⁻¹ : ℚ) + (n₂⁻¹ : ℚ) = n } := by sorry
411
leanexplore_declaration
leanexplore:382769
leanexplore_sqlite
leanexplore_declarations
/-- Is it true that there are only finitely many pairs of intervals $I_1$, $I_2$ such that $$ \sum_{n_1 \in I_1} \frac{1}{n_1} + \sum_{n_2 \in I_2} \frac{1}{n_2} \in \mathbb{N}? $$ -/ @[category research open, AMS 11] theorem erdos_288 : answer(sorry) ↔ Set.Finite { I : Fin 2 → ℕ+ × ℕ+ | ∀ j, (I j).1 ≤ (I j).2 ∧ ...
501
leanexplore_declaration
leanexplore:382770
leanexplore_sqlite
leanexplore_declarations
/-- Is it true that, for all sufficiently large $k$, there exists finite intervals $I_1, \dotsc, I_k \subset \mathbb{N}$ with $|I_i| \geq 2$ for $1 \leq i \leq k$ such that $$ 1 = \sum_{i=1}^k \sum_{n \in I_i} \frac{1}{n}. $$ -/ @[category research open, AMS 11] theorem erdos_289 : answer(sorry) ↔ (∀ᶠ k : ℕ in atTo...
290
leanexplore_declaration
leanexplore:382771
leanexplore_sqlite
leanexplore_declarations
/-- If $A ⊆ \mathbb{N}$ is such that $A + A$ contains all but finitely many integers then $\limsup 1_A ∗ 1_A(n) = \infty$. -/ @[category research open, AMS 11] theorem erdos_28 (A : Set ℕ) (h : (A + A)ᶜ.Finite) : limsup (fun (n : ℕ) => (sumRep A n : ℕ∞)) atTop = (⊤ : ℕ∞) := by sorry
333
leanexplore_declaration
leanexplore:382772
leanexplore_sqlite
leanexplore_declarations
/-- Erdős and Straus have proved the existence of some constant $c>0$ such that $-c < k(N)-(e-1)N \ll \frac N {\log N}$ -/ @[category research solved, AMS 5 11] theorem erdos_295.variants.erdos_straus : ∃ᵉ (C > 0) (O > 0), ∀ᶠ (N : ℕ) in Filter.atTop, (k N - (rexp 1 - 1)*N) ∈ Set.Ioc (-C) (O * N / (N : ℝ).log)...
352
leanexplore_declaration
leanexplore:382773
leanexplore_sqlite
leanexplore_declarations
/-- Let $k(N)$ denote the smallest $k$ such that there exists $N ≤ n_1 < ⋯ < n_k$ with $\frac 1 {n_1} + ... + \frac 1 {n_k} = 1$ Is it true that $\lim_{N \to \infty} k(N) - (e - 1)N = \infty$? -/ @[category research open, AMS 5 11] theorem erdos_295 : answer(sorry) ↔ Filter.atTop.Tendsto (fun N => k N - (rexp 1 - ...
192
leanexplore_declaration
leanexplore:382774
leanexplore_sqlite
leanexplore_declarations
/-- Let $k(N)$ denote the smallest $k$ such that there exists $N ≤ n_1 < ⋯ < n_k$ with $\frac 1 {n_1} + ... + \frac 1 {n_k} = 1$. -/ noncomputable abbrev k (N : ℕ) : ℕ := Nat.find (exists_k N)
317
leanexplore_declaration
leanexplore:382775
leanexplore_sqlite
leanexplore_declarations
/-- Helper lemma: for each $N$, there exists $k$ and $n_1 < ... < n_k$ such that $N ≤ n_1 < ⋯ < n_k$ with $\frac 1 {n_1} + ... + \frac 1 {n_k} = 1$. -/ @[category undergraduate, AMS 5 11] lemma exists_k (N : ℕ) : ∃ (k : ℕ) (n : Fin k.succ → ℕ), (∀ i, N ≤ n i) ∧ StrictMono n ∧ ∑ i, (1 / n i : ℝ) = 1 := by sorry
309
leanexplore_declaration
leanexplore:382776
leanexplore_sqlite
leanexplore_declarations
/-- In [Bl21] it is proved under the weaker assumption that `A` only has positive upper density. -/ @[category research solved, AMS 11] theorem erdos_298.variants.upper_density : answer(True) ↔ (∀ (A : Set ℕ), 0 ∉ A → 0 < A.upperDensity → ∃ (S : Finset ℕ), ↑S ⊆ A ∧ ∑ n ∈ S, (1 / n : ℚ) = 1) := by sorry
538
leanexplore_declaration
leanexplore:382777
leanexplore_sqlite
leanexplore_declarations
/-- Does every set $A \subseteq \mathbb{N}$ of positive density contain some finite $S \subset A$ such that $\sum_{n \in S} \frac{1}{n} = 1$? The answer is yes, proved by Bloom [Bl21]. This was formalized in Lean 3 by Bloom and Mehta. -/ @[category research solved, AMS 11, formal_proof using other_system at "https://...