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 |
|---|---|---|---|---|---|
98 | leanexplore_declaration | leanexplore:383485 | leanexplore_sqlite | leanexplore_declarations | abbrev S :=
{(n, m) : ℕ × ℕ | n < m ∧ n.centralBinom.primeFactors = m.centralBinom.primeFactors} |
586 | leanexplore_declaration | leanexplore:383486 | leanexplore_sqlite | leanexplore_declarations | /--
Is there a basis $A$ of order $2$ such that if $A=A_1\sqcup A_2$ then $A_1+A_1$ and $A_2+A_2$
cannot both have bounded gaps?
This was proved by DeepMind prover agent.
-/
@[category research solved, AMS 5,
formal_proof using formal_conjectures at "https://github.com/mo271/formal-conjectures/blob/486bc8afae062b6711... |
434 | leanexplore_declaration | leanexplore:383487 | leanexplore_sqlite | leanexplore_declarations | /--
Let $A\subseteq \mathbb{N}$ be such that $A+A$ has positive upper density.
Can one always decompose $A=A_1\sqcup A_2$ such that $A_1+A_1$ and $A_2+A_2$
both have positive upper density?
-/
@[category research open, AMS 5]
theorem erdos_741.variants.upper : answer(sorry) ↔ ∀ A : Set ℕ, 0 < upperDensity (A + A) → ∃ A... |
434 | leanexplore_declaration | leanexplore:383488 | leanexplore_sqlite | leanexplore_declarations | /--
Let $A\subseteq \mathbb{N}$ be such that $A+A$ has positive lower density.
Can one always decompose $A=A_1\sqcup A_2$ such that $A_1+A_1$ and $A_2+A_2$
both have positive lower density?
-/
@[category research open, AMS 5]
theorem erdos_741.variants.lower : answer(sorry) ↔ ∀ A : Set ℕ, 0 < lowerDensity (A + A) → ∃ A... |
712 | leanexplore_declaration | leanexplore:383489 | leanexplore_sqlite | leanexplore_declarations | /-- Let $A\subseteq \mathbb{N}$ be such that $A+A$ has positive density.
Can one always decompose $A=A_1\sqcup A_2$ such that $A_1+A_1$ and $A_2+A_2$
both have positive density?
Note that this is using a literal interpretation of "positive density".
This was disproved by the DeepMind prover agent.
-/
@[category resea... |
384 | leanexplore_declaration | leanexplore:383490 | leanexplore_sqlite | leanexplore_declarations | /--
Let $\epsilon>0$. Does there exist $A\subseteq \mathbb{N}$
such that the lower density of $A+A$ is at least $1-\epsilon$
and yet $1_A\ast 1_A(n) \ll_\epsilon 1$ for all $n$?
-/
@[category research open, AMS 11]
theorem erdos_749 : answer(sorry) ↔ ∀ ε > (0 : ℝ),
∃ A : Set ℕ, 1 - ε ≤ lowerDensity (A + A) ∧
((... |
379 | leanexplore_declaration | leanexplore:383491 | leanexplore_sqlite | leanexplore_declarations | /--
Is there a graph of infinite chromatic number such that every finite subgraph on $n$
vertices can be made bipartite by deleting at most $\sqrt{n}$ edges?
-/
@[category research open, AMS 5]
theorem erdos_74.variants.sqrt : answer(sorry) ↔
∃ (V : Type u) (G : SimpleGraph V), G.chromaticNumber = ⊤ ∧
∀ n, G.ma... |
434 | leanexplore_declaration | leanexplore:383492 | leanexplore_sqlite | leanexplore_declarations | /--
Let $f(n)\to \infty$ possibly very slowly.
Is there a graph of infinite chromatic number such that every finite subgraph on $n$
vertices can be made bipartite by deleting at most $f(n)$ edges?
-/
@[category research open, AMS 5]
theorem erdos_74 : answer(sorry) ↔ ∀ f : ℕ → ℕ, Tendsto f atTop atTop →
(∃ (V : Typ... |
739 | leanexplore_declaration | leanexplore:383493 | leanexplore_sqlite | leanexplore_declarations | /--
For a given graph $G$ and size $n$, this defines the smallest number $k$
such that any subgraph of $G$ on $n$ vertices can be made bipartite by deleting
at most $k$ edges.
This value is optimal because it is the maximum of `minEdgeDistToBipartite` taken
over all $n$-vertex subgraphs. This means there exists at lea... |
1,359 | leanexplore_declaration | leanexplore:383494 | leanexplore_sqlite | leanexplore_declarations | /--
The set of minimum edge distances to bipartite for subgraphs of size `n` is bounded above.
A graph on `n` vertices has at most `n choose 2` edges, and deleting all of them
makes the graph bipartite, providing a straightforward upper bound.
-/
@[category test, AMS 5]
theorem SimpleGraph.subgraphEdgeDistsToBipartite_... |
337 | leanexplore_declaration | leanexplore:383495 | leanexplore_sqlite | leanexplore_declarations | /--
For a graph `G` and a number `n`, this is the set of `minEdgeDistToBipartite A` for all
induced subgraphs `A` of `G` on `n` vertices.
-/
def SimpleGraph.subgraphEdgeDistsToBipartite (G : SimpleGraph V) (n : ℕ) : Set ℕ :=
{ (SimpleGraph.minEdgeDistToBipartite A) |
(A : Subgraph G) (_ : A.verts.ncard = n) (_ : ... |
243 | leanexplore_declaration | leanexplore:383496 | leanexplore_sqlite | leanexplore_declarations | /--
The minimum number of edges that must be deleted from a subgraph `A` to make it bipartite.
-/
noncomputable def SimpleGraph.minEdgeDistToBipartite {G : SimpleGraph V} (A : G.Subgraph) : ℕ :=
sInf <| SimpleGraph.edgeDistancesToBipartite A |
438 | leanexplore_declaration | leanexplore:383497 | leanexplore_sqlite | leanexplore_declarations | /--
The set of edge distances to a bipartite graph is always non-empty because deleting all edges
from a graph makes it bipartite.
-/
@[category test, AMS 5]
theorem SimpleGraph.edgeDistancesToBipartite_nonempty {G : SimpleGraph V} (A : G.Subgraph) :
SimpleGraph.edgeDistancesToBipartite A |>.Nonempty := by
dsimp ... |
311 | leanexplore_declaration | leanexplore:383498 | leanexplore_sqlite | leanexplore_declarations | /--
For a given subgraph `A`, this is the set of all numbers `k` such that `A` can be made
bipartite by deleting `k` edges.
-/
def SimpleGraph.edgeDistancesToBipartite {G : SimpleGraph V} (A : G.Subgraph) : Set ℕ :=
{ (E.ncard) | (E : Set (Sym2 V)) (_ : E ⊆ A.edgeSet) (_ : IsBipartite (A.deleteEdges E).coe)} |
718 | leanexplore_declaration | leanexplore:383499 | leanexplore_sqlite | leanexplore_declarations | /--
Let $f(m)$ be some function such that $f(m)\to \infty$ as $m\to \infty$. Does there exist a
graph $G$ of infinite chromatic number such that every subgraph on $m$ vertices contains
an independent set of size at least $\frac{m}{2}-f(m)$?
Note that in [Er94b] the function $f$ generalises a (proven) result for $f(m) ... |
226 | leanexplore_declaration | leanexplore:383500 | leanexplore_sqlite | leanexplore_declarations | /-- In [GyLe95], the authors also prove that the supremum is smaller than `3 / 5`. -/
@[category research solved, AMS 5]
theorem erdos_757.variants.upperBound {A : Set ℝ} : sSup {c | IsAdmissible c} < 3 / (5 : ℝ) := by
sorry |
222 | leanexplore_declaration | leanexplore:383501 | leanexplore_sqlite | leanexplore_declarations | /-- The supremum is strictly larger than `1 / 2`, which is proved in [GyLe95]. -/
@[category research solved, AMS 5]
theorem erdos_757.variants.lowerBound {A : Set ℝ} : 1 / (2 : ℝ) < sSup {c | IsAdmissible c} := by
sorry |
186 | leanexplore_declaration | leanexplore:383502 | leanexplore_sqlite | leanexplore_declarations | /-- What is the supremum of the set of admissible numbers? -/
@[category research open, AMS 5]
theorem erdos_757 {A : Set ℝ} :
answer(sorry) = sSup {c | IsAdmissible c} := by
sorry |
346 | leanexplore_declaration | leanexplore:383503 | leanexplore_sqlite | leanexplore_declarations | /-- We say that `c` is admissible if for any finit set `A` such that for any subset `B` of size `4`,
`(B - B).card = 11`, there exists a Sidon subset `S` of size at least `c * A.ncard`. -/
def IsAdmissible (c : ℝ) : Prop := ∀ {A : Set ℝ}, A.Finite → (∀ B ⊆ A,
B.ncard = 4 → (B - B).ncard = 11) → ∃ S ⊆ A, IsSidon S ∧ c... |
671 | leanexplore_declaration | leanexplore:383504 | leanexplore_sqlite | leanexplore_declarations | /--
Is there a graph of chromatic number `ℵ_ 1` with `ℵ_ 1` vertices such that for all
`ε > 0`, if `n` is sufficiently large and `H` is a subgraph on `n` vertices,
then `H` contains an independent set of size `> n ^ (1 - ε)`?
-/
@[category research open, AMS 05]
theorem erdos_75 :
answer(sorry) ↔
∃ (V : Type) (... |
172 | leanexplore_declaration | leanexplore:383505 | leanexplore_sqlite | leanexplore_declarations | /-- It is probably true that `h n = 3` for infinitely many `n`. -/
@[category research open, AMS 11]
theorem erdos_770.variants.three : {n | h n = 3}.Infinite := by
sorry |
308 | leanexplore_declaration | leanexplore:383506 | leanexplore_sqlite | leanexplore_declarations | /-- Is it true that if `p` is the greatest prime such that `p - 1 ∣ n` and `p > n ^ ε`, then
`h n = p`? -/
@[category research open, AMS 11]
theorem erdos_770.parts.iii : answer(sorry) ↔ ∀ ε > 0, ∀ᶠ n in atTop,
let p := sSup {m : ℕ | m.Prime ∧ m - 1 ∣ n}
p > (n : ℝ) ^ (ε : ℝ) → h n = p := by
sorry |
141 | leanexplore_declaration | leanexplore:383507 | leanexplore_sqlite | leanexplore_declarations | /-- Does `liminf h n = ∞`? -/
@[category research open, AMS 11]
theorem erdos_770.parts.ii : answer(sorry) ↔ liminf h atTop = ⊤ := by
sorry |
221 | leanexplore_declaration | leanexplore:383508 | leanexplore_sqlite | leanexplore_declarations | /-- For every prime `p`, does the density of integers with `h n = p` exist? -/
@[category research open, AMS 11]
theorem erdos_770.parts.i : answer(sorry) ↔ ∀ p : ℕ, p.Prime → ∃ a, HasDensity {n | h n = p} a := by
sorry |
190 | leanexplore_declaration | leanexplore:383509 | leanexplore_sqlite | leanexplore_declarations | /-- For odd `n`, the values of `h n` form an unbounded set. -/
@[category test, AMS 11]
theorem erdos_770.variants.odd_h_unbounded : Unbounded (· ≤ ·) (ENat.toNat '' (h '' Odd)):= by
sorry |
163 | leanexplore_declaration | leanexplore:383510 | leanexplore_sqlite | leanexplore_declarations | /-- `n + 1` is prime iff `h n = n + 1`. -/
@[category test, AMS 11]
theorem Nat.Prime.h_eq_add_one {n : ℕ} (hn : 2 < n) : h n = n + 1 ↔ (n + 1).Prime := by
sorry |
227 | leanexplore_declaration | leanexplore:383511 | leanexplore_sqlite | leanexplore_declarations | /-- Let $h n$ be the minimal number such that $2 ^ n - 1, \dots, h(n) ^ n - 1$
are collectively coprime. -/
noncomputable def h (n : ℕ) : ℕ∞ := sInf {m | 2 < m ∧
((Finset.Icc 2 m.toNat).image fun i => (i ^ n - 1)).gcd id = 1} |
325 | leanexplore_declaration | leanexplore:383512 | leanexplore_sqlite | leanexplore_declarations | /-- Is every proportionately dissociated (infinite) set the union of a finite
number of dissociated sets?-/
@[category research open, AMS 5]
theorem erdos_774 : answer(sorry) ↔ ∀ (A : Set ℕ), A.Infinite → A.IsProportionatelyDissociated →
∃ (T : Set (Set ℕ)), (∀ S ∈ T, S.IsDissociated) ∧ T.Finite ∧ A = ⋃₀ T := by
... |
427 | leanexplore_declaration | leanexplore:383513 | leanexplore_sqlite | leanexplore_declarations | /-- We call $A$ proportionately dissociated if every finite $B\subset A$
contains a dissociated set of size $\gg \lvert B\rvert$.
In other words, there is a (global) $c > 0$ such that every finite $B \subset A$
contains a dissociated set of size $\geq c|B|$. -/
def Set.IsProportionatelyDissociated (A : Set ℕ) : Prop :... |
239 | leanexplore_declaration | leanexplore:383514 | leanexplore_sqlite | leanexplore_declarations | /--
We call $A\subset \mathbb{N}$ dissociated if $\sum_{n\in X}n\neq \sum_{m\in Y}m$
for all finite $X,Y\subset A$ with $X\neq Y$.
-/
def Set.IsDissociated (A : Set ℕ) : Prop :=
{ S : Finset ℕ | (S : Set ℕ) ⊆ A }.InjOn fun S ↦ ∑ n ∈ S, n |
522 | leanexplore_declaration | leanexplore:383515 | leanexplore_sqlite | leanexplore_declarations | /--
A Conjecture of Marian Deaconescu, see p.120 in https://doi.org/10.2307/2975810
[Needed to index shift in order to avoid trivial case $n = 0$,
where the conjecture is trivially false.]
-/
-- TODO(firsching): add formalization of the known cases for this conjecture:
-- n ≤ 1000, as well as the conjecture that p ≤ n... |
916 | leanexplore_declaration | leanexplore:383516 | leanexplore_sqlite | leanexplore_declarations | /--
Let $\epsilon > 0$ be given. Then, for a sufficiently large prime `p`, take the sequence of
consecutive primes $p_1 < \cdots < p_k$ such that
$$
\sum_{i=1}^k \frac{1}{p_i} < 1 < \sum_{i=1}^{k + 1} \frac{1}{p_i},
$$
and let $A$ be the set of all naturals divisible by exactly one of $p_1, ..., p_k$ (with
multiplicity... |
602 | leanexplore_declaration | leanexplore:383517 | leanexplore_sqlite | leanexplore_declarations | @[category test, AMS 11]
lemma consecutivePrimesFrom_two_one : consecutivePrimesFrom 2 1 = {2, 3} := by
have h : Nat.nth (fun q ↦ q.Prime ∧ 2 ≤ q) 1 = 3 := by
exact Nat.nth_count (p := (fun q ↦ q.Prime ∧ 2 ≤ q)) (by decide : (3).Prime ∧ 2 ≤ 3)
ext q
simp only [consecutivePrimesFrom, Finset.mem_image, Finset.m... |
170 | leanexplore_declaration | leanexplore:383518 | leanexplore_sqlite | leanexplore_declarations | @[category test, AMS 11]
lemma consecutivePrimesFrom_zero {p : ℕ} (hp : p.Prime) : consecutivePrimesFrom p 0 = {p} := by
simpa [consecutivePrimesFrom] using nth_zero hp |
215 | leanexplore_declaration | leanexplore:383519 | leanexplore_sqlite | leanexplore_declarations | @[category API, AMS 11]
theorem nth_zero {p : ℕ} (hp : p.Prime) :
Nat.nth (fun q ↦ q.Prime ∧ p ≤ q) 0 = p := by
simpa [Nat.nth_zero] using IsLeast.csInf_eq <| by
aesop (add simp [IsLeast, mem_lowerBounds]) |
333 | leanexplore_declaration | leanexplore:383520 | leanexplore_sqlite | leanexplore_declarations | /--
`consecutivePrimesFrom p k` gives the set of `k + 1` consecutive primes that are at least `p` in
size. If `p` is prime then this is the set of `k + 1` consecutive primes `p, p_1, ..., p_k`-/
noncomputable def consecutivePrimesFrom (p : ℕ) (k : ℕ) : Finset ℕ :=
(Finset.range (k + 1)).image (Nat.nth (fun q ↦ q.Pr... |
267 | leanexplore_declaration | leanexplore:383521 | leanexplore_sqlite | leanexplore_declarations | /--
An example of such a set with density $\frac 1 4$ is given by the integers $\equiv 2\pmod{4}$
-/
@[category undergraduate, AMS 11]
theorem erdos_786.parts.i.example (A : Set ℕ) (hA : A = { n | n % 4 = 2 }) :
A.HasDensity (1 / 4) ∧ A.IsMulCardSet := by
sorry |
408 | leanexplore_declaration | leanexplore:383522 | leanexplore_sqlite | leanexplore_declarations | /--
Is there some set $A\subset\{1, ..., N\}$ of size $\geq (1 - o(1))N$ such that
$a_1\cdots a_r = b_1\cdots b_s$ with $a_i, b_j\in A$ can only hold when
$r = s$?
-/
@[category research open, AMS 11]
theorem erdos_786.parts.ii : answer(sorry) ↔
∃ (A : ℕ → Set ℕ) (f : ℕ → ℝ) (_ : f =o[atTop] (1 : ℕ → ℝ)),
∀ N, ... |
372 | leanexplore_declaration | leanexplore:383523 | leanexplore_sqlite | leanexplore_declarations | /--
Let $\epsilon > 0$. Is there some set $A\subset\mathbb{N}$ of density $> 1 - \epsilon$
such that $a_1\cdots a_r = b_1\cdots b_s$ with $a_i, b_j\in A$ can only hold when
$r = s$?
-/
@[category research open, AMS 11]
theorem erdos_786.parts.i : answer(sorry) ↔ ∀ ε > 0, ε ≤ 1 →
∃ (A : Set ℕ) (δ : ℝ), 0 ∉ A ∧ 1 - ε... |
342 | leanexplore_declaration | leanexplore:383524 | leanexplore_sqlite | leanexplore_declarations | /--
`Nat.IsMulCardSet A` means that `A` is a set of natural numbers that
satisfies the property that $a_1\cdots a_r = b_1\cdots b_s$ with $a_i, b_j\in A$
can only hold when $r = s$.
-/
def Set.IsMulCardSet {α : Type*} [CommMonoid α] (A : Set α) :=
∀ (a b : Finset α) (_ :↑a ⊆ A) (_ : ↑b ⊆ A) (_ : a.prod id = b.prod id... |
395 | leanexplore_declaration | leanexplore:383525 | leanexplore_sqlite | leanexplore_declarations | /-- By the solved variant `erdos_789.variants.cube_root_linearithmic_isBigO`, in order to prove
`erdos_789.variants.cube_root_linarithmic` it suffices to show $h(n) = O((n\log(n))^{1/3})$. -/
@[category research open, AMS 5]
theorem erdos_789.variants.isBigO_cube_root_linearithmic :
(fun n ↦ (subsetSumThreshold n :... |
287 | leanexplore_declaration | leanexplore:383526 | leanexplore_sqlite | leanexplore_declarations | /-- Erdős [Er62c] and Choi [Ch74b] proved that $(n\log(n))^{1/3}\ll h(n)$. -/
@[category research solved, AMS 5]
theorem erdos_789.variants.cube_root_linearithmic_isBigO :
(fun n : ℕ ↦ (n * Real.log n) ^ ((1 : ℝ) / 3)) =O[atTop]
fun n ↦ (subsetSumThreshold n : ℝ) := by
sorry |
464 | leanexplore_declaration | leanexplore:383527 | leanexplore_sqlite | leanexplore_declarations | /--
Let $h(n)$ be maximal such that if $A\subseteq \mathbb{Z}$ with $\lvert A\rvert=n$
then there is $B\subseteq A$ with $\lvert B\rvert \geq h(n)$ such that if
$a_1+\cdots+a_r=b_1+\cdots+b_s$ with $a_i,b_i\in B$ then $r=s$.
Is $h(n) = \Theta((n\log(n)))^{1/3})$?
-/
@[category research open, AMS 5]
theorem erdos_789.v... |
294 | leanexplore_declaration | leanexplore:383528 | leanexplore_sqlite | leanexplore_declarations | /-- By the solved variant `erdos_789.variants.isBigO_sq`, in order to prove
`erdos_789.variants.sq` it suffices to show $\sqrt{n}=O(h(n))$. -/
@[category research open, AMS 5]
theorem erdos_789.variants.sq_isBigO :
(fun n : ℕ ↦ √n) =O[atTop] fun n ↦ (subsetSumThreshold n : ℝ) := by
sorry |
204 | leanexplore_declaration | leanexplore:383529 | leanexplore_sqlite | leanexplore_declarations | /-- Straus [Str66] proved that $h(n) \ll \sqrt{n}$. -/
@[category research solved, AMS 5]
theorem erdos_789.variants.isBigO_sq :
(fun n ↦ (subsetSumThreshold n : ℝ)) =O[atTop] fun n ↦ √n := by
sorry |
399 | leanexplore_declaration | leanexplore:383530 | leanexplore_sqlite | leanexplore_declarations | /--
Let $h(n)$ be maximal such that if $A\subseteq \mathbb{Z}$ with $\lvert A\rvert=n$
then there is $B\subseteq A$ with $\lvert B\rvert \geq h(n)$ such that if
$a_1+\cdots+a_r=b_1+\cdots+b_s$ with $a_i,b_i\in B$ then $r=s$.
Is $h(n) = \Theta(\sqrt{n})$?
-/
@[category research open, AMS 5]
theorem erdos_789.variants.s... |
387 | leanexplore_declaration | leanexplore:383531 | leanexplore_sqlite | leanexplore_declarations | /--
Let $h(n)$ be maximal such that if $A\subseteq \mathbb{Z}$ with $\lvert A\rvert=n$
then there is $B\subseteq A$ with $\lvert B\rvert \geq h(n)$ such that if
$a_1+\cdots+a_r=b_1+\cdots+b_s$ with $a_i,b_i\in B$ then $r=s$.
Estimate $h(n)$.
-/
@[category research open, AMS 5]
theorem erdos_789 :
(fun n ↦ (subsetS... |
220 | leanexplore_declaration | leanexplore:383532 | leanexplore_sqlite | leanexplore_declarations | /-- The subset sum threshold $h(n)$, for each positive $n$, is the maximal separating
cardinality of subset sums for $n$. -/
noncomputable def subsetSumThreshold (n : ℕ): ℕ :=
sSup { m | IsSubsetSumSeparatingCard n m } |
469 | leanexplore_declaration | leanexplore:383533 | leanexplore_sqlite | leanexplore_declarations | /-- Given a non-negative integer $n$, we say $m$ is a separating cardinality of
subset sums if, for any set $A$ of $n$ integers, there is some $B\subseteq A$ of
size $\geq m$ such that subset sums of $B$ can only ever coincide when the
subsets have the same cardinality. -/
def IsSubsetSumSeparatingCard (n m : ℕ) : Prop... |
260 | leanexplore_declaration | leanexplore:383534 | leanexplore_sqlite | leanexplore_declarations | /--
Burr, Erdős, Faudree, and Schelp [BEFS89] proved that $R(n+1)-R(n) \geq 4n-8$ for all $n\geq 2$.
-/
@[category research solved, AMS 5]
theorem erdos_812.variants.lower_bound :
∀ n : ℕ, n ≥ 2 → (R (n + 1) : ℤ) - (R n : ℤ) ≥ 4 * (n : ℤ) - 8 := by
sorry |
217 | leanexplore_declaration | leanexplore:383535 | leanexplore_sqlite | leanexplore_declarations | /--
Is it true that $R(n+1)-R(n) \gg n^2$?
-/
@[category research open, AMS 5]
theorem erdos_812.parts.ii :
answer(sorry) ↔
(fun n : ℕ ↦ (R (n + 1) : ℝ) - (R n : ℝ)) ≫ (fun n : ℕ ↦ (n : ℝ) ^ 2) := by
sorry |
250 | leanexplore_declaration | leanexplore:383536 | leanexplore_sqlite | leanexplore_declarations | /--
Is it true that $\frac{R(n+1)}{R(n)}\geq 1+c$ for some constant $c>0$, for all large $n$?
-/
@[category research open, AMS 5]
theorem erdos_812.parts.i :
answer(sorry) ↔ ∃ c > 0, ∀ᶠ n in atTop, (R (n + 1) : ℝ) / (R n : ℝ) ≥ 1 + c:= by
sorry |
267 | leanexplore_declaration | leanexplore:383537 | leanexplore_sqlite | leanexplore_declarations | /-- A problem of Erdős and Sárközy who proved
$$
g_3(n) \gg \frac{3^n}{n^{O(1)}}.
$$ -/
@[category research solved, AMS 5 11]
theorem erdos_817.variants.bdd_power : ∃ O > (0 : ℝ),
(fun (n : ℕ) => (3 ^ n : ℝ) / n ^ O) =O[atTop] fun n => (g 3 n : ℝ) := by
sorry |
567 | leanexplore_declaration | leanexplore:383538 | leanexplore_sqlite | leanexplore_declarations | /-- Let $k \geq 3$. Define $g_k(n)$ to be the minimal $N$ such that
$\{1, ..., N\}$ contains some $A$ of size $|A| = n$ such that
$$
\langle A\rangle = \left\{\sum_{a \in A} \epsilon_a a : \epsilon_a \in\{0, 1\}\right\}
$$
contains no non-trivial $k$-term arithmetic progression. Estimate $g_k(n)$. In
particular, is i... |
426 | leanexplore_declaration | leanexplore:383539 | leanexplore_sqlite | leanexplore_declarations | /-- Define $g_k(n)$ to be the minimal $N$ such that $\{1, ..., N\}$ contains some $A$ of
size $|A| = n$ such that
$$
\langle A\rangle = \left\{\sum_{a \in A} \epsilon_a a : \epsilon_a \in\{0, 1\}\right\}
$$
contains no non-trivial $k$-term arithmetic progression. -/
noncomputable
def g (k : ℕ) (n : ℕ) : ℕ := sInf { N... |
415 | leanexplore_declaration | leanexplore:383540 | leanexplore_sqlite | leanexplore_declarations | /--
Does the set of integers of the form $n + \varphi(n)$ have positive (lower) density?
[GIL24] proved this was true.
-/
@[category research solved, AMS 11]
theorem erdos_822 :
answer(True) ↔ (Set.range fun n => n + Nat.totient n).HasPosDensity := by
-- TODO: Replace `sorry` with a formal proof using the result... |
378 | leanexplore_declaration | leanexplore:383541 | leanexplore_sqlite | leanexplore_declarations | /--
Show that if the constant $C > 0$ is such that every integer $n$ with
$\sigma(n) > Cn$ is the distinct sum of proper divisors of $n$, then we
must have $C > 2$.
-/
@[category research solved, AMS 11]
theorem erdos_825.variants.necessary_cond (C : ℝ) (hC : 0 < C)
(h : ∀ (n : ℕ) (_ : σ 1 n > C * n),
∃ s ⊆... |
563 | leanexplore_declaration | leanexplore:383542 | leanexplore_sqlite | leanexplore_declarations | /--
Is there an absolute constant $C > 0$ such that every integer $n$ with
$\sigma(n) > Cn$ is the distinct sum of proper divisors of $n$?
This has been solved in the affirmative by Larsen - in fact, for any $\epsilon>0$ there exists $L$
such that if $n$ has only prime divisors $>L$ and $\sigma(n)>(2+\epsilon)n$ then ... |
241 | leanexplore_declaration | leanexplore:383543 | leanexplore_sqlite | leanexplore_declarations | /--
Are there infinitely many $n$ such that, for all $k\geq 1$
$$
\tau(n + k) \ll k?
$$
-/
@[category research open, AMS 11]
theorem erdos_826 : answer(sorry) ↔
∃ C > (0 : ℝ), { n | ∀ k ≥ 1, σ 0 (n + k) ≤ C * k }.Infinite := by
sorry |
463 | leanexplore_declaration | leanexplore:383544 | leanexplore_sqlite | leanexplore_declarations | /--
It is an easy exercise to show that $\phi(n) | n$ if and only if $n = 0, 1$ or $n = 2^a 3^b$ for
some $a > 0$.
-/
@[category undergraduate, AMS 11, formal_proof using formal_conjectures at
"https://github.com/XC0R/formal-conjectures/blob/03e00cf8d44098d0fb06e891fca30c29769df619/FormalConjectures/ErdosProblems/828.l... |
233 | leanexplore_declaration | leanexplore:383545 | leanexplore_sqlite | leanexplore_declarations | /--
When $n > 1$, Lehmer conjectured that $\phi(n) | n - 1$ if and only if $n$ is prime.
-/
@[category research open, AMS 11]
theorem erdos_828.variants.lehmer_conjecture : answer(sorry) ↔ ∀ n > 1, φ n ∣ n - 1 ↔ Prime n := by
sorry |
243 | leanexplore_declaration | leanexplore:383546 | leanexplore_sqlite | leanexplore_declarations | /--
Is it true that, for any $a \in \mathbb{Z}$, there are infinitely many $n$ such that
$$\phi(n) | n + a$$?
-/
@[category research open, AMS 11]
theorem erdos_828 : answer(sorry) ↔ ∀ a : ℤ, Set.Infinite {n : ℕ | ↑(φ n) ∣ n + a} := by
sorry |
365 | leanexplore_declaration | leanexplore:383547 | leanexplore_sqlite | leanexplore_declarations | /--
$F(n) \le O(n^{1/2} \ln ^ {3/4} n)$
Theorem 1.4 from [AKS07]
[AKS07] Alon, N. and Krivelevich, M. and Sudakov, B., Large nearly regular induced subgraphs. arXiv:0710.2106 (2007).
-/
@[category research solved, AMS 5]
theorem erdos_82.variants.F_upper_bound :
(fun n => (F n : ℝ)) =O[atTop] (fun n => Real.sqrt ... |
163 | leanexplore_declaration | leanexplore:383548 | leanexplore_sqlite | leanexplore_declarations | /--
$F(n) / \log n \to \infty as n \to \infty$
-/
@[category research open, AMS 5]
theorem erdos_82 : Tendsto (fun n => F n / Real.log n) atTop atTop := by
sorry |
277 | leanexplore_declaration | leanexplore:383549 | leanexplore_sqlite | leanexplore_declarations | /--
$F(n)$ is the maximal integer such that every graph on $n$ vertices
contains a regular induced subgraph on at least $F(n)$ vertices.
-/
noncomputable def F (n : ℕ) : ℕ :=
sSup {k | ∀ (G : SimpleGraph (Fin n)), ∃ S : Subgraph G,
IsRegularInduced S ∧ k ≤ S.verts.ncard} |
190 | leanexplore_declaration | leanexplore:383550 | leanexplore_sqlite | leanexplore_declarations | /--
A predicate that holds if $S$ is a regular induced subgraph of $G$
-/
def IsRegularInduced {G : SimpleGraph V} (S : Subgraph G) : Prop :=
S.IsInduced ∧ ∃ k, (S.coe).IsRegularOfDegree k |
455 | leanexplore_declaration | leanexplore:383551 | leanexplore_sqlite | leanexplore_declarations | /--
We say that $a,b\in \mathbb{N}$ are an amicable pair if $\sigma(a)=\sigma(b)=a+b$.
If $A(x)$ counts the number of amicable $1\leq a\leq b\leq x$ then one can show that
$A(x) \leq x \exp(-(\tfrac{1}{2}+o(1))(\log x\log\log x)^{1/2})$.
-/
@[category research solved, AMS 11]
theorem erdos_830.variants.pomerance_strong... |
355 | leanexplore_declaration | leanexplore:383552 | leanexplore_sqlite | leanexplore_declarations | /--
We say that $a,b\in \mathbb{N}$ are an amicable pair if $\sigma(a)=\sigma(b)=a+b$.
If $A(x)$ counts the number of amicable $1\leq a\leq b\leq x$ then one can show that
$A(x) \leq x \exp(-(\log x)^{1/3})$.
-/
@[category research solved, AMS 11]
theorem erdos_830.variants.pomerance : ∀ᶠ x in atTop, A x ≤ x * rexp (- ... |
289 | leanexplore_declaration | leanexplore:383553 | leanexplore_sqlite | leanexplore_declarations | /--
We say that $a,b\in \mathbb{N}$ are an amicable pair if $\sigma(a)=\sigma(b)=a+b$.
If $A(x)$ counts the number of amicable $1\leq a\leq b\leq x$ then one can show that $A(x) = o(x)$.
-/
@[category research solved, AMS 11]
theorem erdos_830.variants.erdos : A =o[atTop] id := by
sorry |
396 | leanexplore_declaration | leanexplore:383554 | leanexplore_sqlite | leanexplore_declarations | /-- **Erdos Problem 830, Part 2**
We say that $a,b\in \mathbb{N}$ are an amicable pair if $\sigma(a)=\sigma(b)=a+b$.
If $A(x)$ counts the number of amicable $1\leq a\leq b\leq x$ then is it true that
\[A(x) > x^{1-o(1)}?\]
-/
@[category research open, AMS 11]
theorem erdos_830.parts.ii : answer(sorry) ↔ ∃ o : ℝ → ℝ, o ... |
288 | leanexplore_declaration | leanexplore:383555 | leanexplore_sqlite | leanexplore_declarations | /-- **Erdos Problem 830, Part 1**
We say that $a,b\in \mathbb{N}$ are an amicable pair if $\sigma(a)=\sigma(b)=a+b$. Are there
infinitely many amicable pairs?
-/
@[category research open, AMS 11]
theorem erdos_830.parts.i : answer(sorry) ↔ {(a, b) | IsAmicable a b}.Infinite := by
sorry |
213 | leanexplore_declaration | leanexplore:383556 | leanexplore_sqlite | leanexplore_declarations | /--
Let $A(x)$ counts the number of amicable $1\leq a\leq b\leq x$.
-/
noncomputable abbrev A (x : ℝ) : ℝ :=
Finset.card <| (Finset.Icc 1 ⌊x⌋₊ ×ˢ Finset.Icc 1 ⌊x⌋₊).filter fun (a, b) ↦
a ≤ b ∧ IsAmicable a b |
215 | leanexplore_declaration | leanexplore:383557 | leanexplore_sqlite | leanexplore_declarations | /-- Is the chromatic number of `J(2 * k, k)` always at least `k + 2`? -/
@[category research open, AMS 5]
theorem johnson_chromaticNumber : answer(sorry) ↔
∀ k ≥ 3, k + 2 ≤ J(2 * k, k).chromaticNumber :=
sorry |
442 | leanexplore_declaration | leanexplore:383558 | leanexplore_sqlite | leanexplore_declarations | /--
Ma and Tang's result implies the cases for odd $k$.
-/
@[category test, AMS 5]
theorem johnsonGraph_chromaticNumber_odd_of_johnson_chromaticNumber_composite :
(type_of% johnson_chromaticNumber_composite) → (type_of% johnson_chromaticNumber_odd) := by
intro h k hk h_odd
refine h k hk ⟨by omega, ?_⟩
rw [Nat... |
305 | leanexplore_declaration | leanexplore:383559 | leanexplore_sqlite | leanexplore_declarations | /--
Ma and Tang have proved that the chromatic number of $J(2k,k)$ is $>k+1$ for all $k>2$ not of the
form $p-1$ for prime $p$.
-/
@[category research solved, AMS 5]
theorem johnson_chromaticNumber_composite (k : ℕ) (hk : 2 < k) (h : (k + 1).Composite) :
k + 1 < J(2 * k, k).chromaticNumber :=
sorry |
246 | leanexplore_declaration | leanexplore:383560 | leanexplore_sqlite | leanexplore_declarations | /--
It can be seen that the chromatic number of $J(2k,k)$ is $>k+1$ for all odd $k>2$.
-/
@[category research solved, AMS 5]
theorem johnson_chromaticNumber_odd (k : ℕ) (hk : 2 < k) (h : Odd k) :
k + 1 < J(2 * k, k).chromaticNumber :=
sorry |
439 | leanexplore_declaration | leanexplore:383561 | leanexplore_sqlite | leanexplore_declarations | /-- It is also known that for $3 \leq k \leq 203$ odd, the chromatic number of $J(2k, k)$ is
greater than $k+1$, see [Johnson graphs](https://aeb.win.tue.nl/graphs/Johnson.html). -/
@[category research solved, AMS 5]
theorem chromaticNumber_johnson_2k_k_lower_bound_odd (hk : 3 ≤ k) (hk' : k ≤ 300) (hk_odd : Odd k) :
... |
337 | leanexplore_declaration | leanexplore:383562 | leanexplore_sqlite | leanexplore_declarations | /-- It is known that for $3 \leq k \leq 8$, the chromatic number of $J(2k, k)$ is greater than
$k+1$, see [Johnson graphs](https://aeb.win.tue.nl/graphs/Johnson.html). -/
@[category research solved, AMS 5]
theorem chromaticNumber_johnson_2k_k_lower_bound (hk : 3 ≤ k) (hk' : k ≤ 8) :
k + 1 < J(2 * k, k).chromaticNum... |
528 | leanexplore_declaration | leanexplore:383563 | leanexplore_sqlite | leanexplore_declarations | /-- Johnson's bound for the chromatic number of the Johnson graph. -/
@[category research solved, AMS 5]
lemma div_johnsonBound_le_chromaticNum_johnson :
⌈(n.choose k / johnsonBound n 4 k : ℚ≥0)⌉₊ ≤ χ(J(n, k)) := by
obtain hnk | hkn := lt_or_ge n k
· simp [Nat.choose_eq_zero_of_lt, *]
have : Nonempty {s : Fin... |
189 | leanexplore_declaration | leanexplore:383564 | leanexplore_sqlite | leanexplore_declarations | /-- Johnson's bound for the independence number of the Johnson graph. -/
@[category research solved, AMS 5]
lemma indepNum_johnson_le_johnsonBound : α(J(n, k)) ≤ johnsonBound n 4 k := sorry |
413 | leanexplore_declaration | leanexplore:383565 | leanexplore_sqlite | leanexplore_declarations | /-- Johnson's upper bound on the maximum size `A(n, d, w)` of a `n`-dimensional binary code of
distance `d` and weight `w` is as follows:
* If `d > 2 * w`, then `A(n, d, w) = 1`.
* If `d ≤ 2 * w`, then `A(n, d, w) ≤ ⌊n / w * A(n - 1, d, w - 1)⌋`. -/
def johnsonBound : ℕ → ℕ → ℕ → ℕ
| 0, _d, _w => 1
| _n, _d, 0 => 1... |
266 | leanexplore_declaration | leanexplore:383566 | leanexplore_sqlite | leanexplore_declarations | /--
The smallest case not on this page is $k=9$:
But that one can be solved as well:
The chromatic number of $J(18, 9)$ is at least $11$.
-/
@[category research solved, AMS 5]
theorem johnsonGraph_18_9_chromaticNumber : J(18, 9).chromaticNumber > 9 + 1 := by
sorry |
350 | leanexplore_declaration | leanexplore:383567 | leanexplore_sqlite | leanexplore_declarations | /--
It is known that for $3 \leq k \leq 8$, the chromatic number of $J(2k, k)$ is greater than $k+1$,
see [Johnson graphs](https://aeb.win.tue.nl/graphs/Johnson.html).
-/
@[category research solved, AMS 5]
theorem johnsonGraph_2k_k_chromaticNumber_known_cases (k : ℕ) (hk : 3 ≤ k) (hk' : k ≤ 8) :
J(2 * k, k).chromat... |
421 | leanexplore_declaration | leanexplore:383568 | leanexplore_sqlite | leanexplore_declarations | /--
Alternative statement of Erdős Problem 835 using the chromatic number of the Johnson graph.
This is equivalent to asking whether there exists $k > 2$ such that the chromatic number of the
Johnson graph $J(2k, k)$ is $k+1$.
-/
@[category research open, AMS 5]
theorem erdos_835.variants.johnson : (∃ l,
-- making ... |
156 | leanexplore_declaration | leanexplore:383569 | leanexplore_sqlite | leanexplore_declarations | @[category test, AMS 5]
theorem property_iff_chromaticNumber (k : ℕ) (hk : 0 < k) :
(J(2 * k, k).chromaticNumber = k + 1) ↔
Property k := by
sorry |
351 | leanexplore_declaration | leanexplore:383570 | leanexplore_sqlite | leanexplore_declarations | /--
Does there exist a $k>2$ such that the $k$-sized subsets of {1,...,2k} can be coloured with
$k+1$ colours such that for every $A\subset \{1,\ldots,2k\}$ with $\lvert A\rvert=k+1$ all $k+1$
colours appear among the $k$-sized subsets of $A$?
-/
@[category research open, AMS 5]
theorem erdos_835 : (∃ k > 2, Property k... |
377 | leanexplore_declaration | leanexplore:383571 | leanexplore_sqlite | leanexplore_declarations | /--
The property that for a given $k$, the $k$-subsets of a $2k$-set can be colored with $k+1$ colors
such that any $(k+1)$-subset contains all colors.
-/
def Property (k : ℕ) : Prop :=
let K := {s : Finset (Fin (2 * k)) // s.card = k}
∃ c : K → Fin (k + 1),
∀ A : Finset (Fin (2 * k)), A.card = k + 1 →
(i... |
835 | leanexplore_declaration | leanexplore:383572 | leanexplore_sqlite | leanexplore_declarations | /--
Let $C > 0$. Is it true that the set of integers of the form $n = b_1 + \cdots + b_t$,
with $b_1 < \cdots < b_t$, where $b_i = 2^{k_i}3^{l_i}$ for $1 \leq i\leq t$ and
$b_t \leq Cb_1$ has density $0$?
van Doorn and Everts \cite{vDEv25} have disproved this with $C=6$ - in fact, they prove that all
integers can be w... |
776 | leanexplore_declaration | leanexplore:383573 | leanexplore_sqlite | leanexplore_declarations | /--
**Erdős Problem 846**
Let `A ⊂ ℝ²` be an infinite set for which there exists some `ϵ>0` such that in any subset of `A`
of size `n` there are always at least `ϵn` with no three on a line.
Is it true that `A` is the union of a finite number of sets where no three are on a line?
In other words, prove or disprove the ... |
228 | leanexplore_declaration | leanexplore:383574 | leanexplore_sqlite | leanexplore_declarations | /-- We say a subset `A` of points in the plane is weakly non-trilinear if it is
a finite union of non-trilinear sets. -/
def WeaklyNonTrilinear (A : Set ℝ²) : Prop :=
∃ B : Finset (Set ℝ²), A = sSup B ∧ ∀ b ∈ B, NonTrilinear b |
297 | leanexplore_declaration | leanexplore:383575 | leanexplore_sqlite | leanexplore_declarations | /-- We say a subset `A` of points in the plane is `ε`-non-trilinear if any subset
`B` of `A`, contains a non-trilinear subset `C` of size at least `ε|B|`. -/
def NonTrilinearFor (A : Set ℝ²) (ε : ℝ) : Prop :=
∀ B : Finset ℝ², ↑B ⊆ A → ∃ C ⊆ B,
ε * B.card ≤ C.card ∧ NonTrilinear (C : Set ℝ²) |
911 | leanexplore_declaration | leanexplore:383576 | leanexplore_sqlite | leanexplore_declarations | /--
Let $A \subset \mathbb{N}$ be an infinite set for which there exists some $\epsilon > 0$ such that
in any subset of $A$ of size $n$ there is a subset of size at least $\epsilon n$ which contains no
three-term arithmetic progression.
Is it true that $A$ is the union of a finite number of sets which contain no three... |
397 | leanexplore_declaration | leanexplore:383577 | leanexplore_sqlite | leanexplore_declarations | /--
`HasFew3APs A` means that $A \subset \mathbb{N}$ is a set for which there exists some $\epsilon > 0$ such that
in any subset of $A$ of size $n$ there is a subset of size at least $\epsilon n$ which contains no
three-term arithmetic progression.
-/
def HasFew3APs (A : Set ℕ) := ∃ (ε : ℝ), ε > 0 ∧ ∀ (B : Set ℕ), B ⊆ ... |
778 | leanexplore_declaration | leanexplore:383578 | leanexplore_sqlite | leanexplore_declarations | /-- There exists $N₀$ such that for all $N ≥ N₀$, if $A ⊆ \{1, \dots, N\}$ satisfies that $ab + 1$
is never squarefree for all $a, b ∈ A$, then $|A| ≤ |\{n ≤ N : n ≡ 7 \pmod{25}\}|$.
More precisely, Sawhney proves: there exist absolute constants $η > 0$ and $N₀$
such that for all $N ≥ N₀$, if $|A| ≥ (1/25 - η)N$ then ... |
678 | leanexplore_declaration | leanexplore:383579 | leanexplore_sqlite | leanexplore_declarations | /-- Is the maximum size of a set $A ⊆ \{1, \dots, N\}$ such that $ab + 1$ is never squarefree
(for all $a, b ∈ A$) achieved by taking those $n ≡ 7 \pmod{25}$?
This asks whether `Erdos848 N` holds for all $N$ (formulated using `A ⊆ Finset.range N`).
This was solved for all sufficiently large $N$ by Sawhney in this not... |
290 | leanexplore_declaration | leanexplore:383580 | leanexplore_sqlite | leanexplore_declarations | /-- The Erdős Problem 848 statement for a fixed $N$: any set $A ⊆ \{0, \dots, N-1\}$ with
the non-squarefree product property has cardinality at most $|A₇(N)|$. -/
def Erdos848For (N : ℕ) : Prop :=
∀ A : Finset ℕ, A ⊆ Finset.range N → NonSquarefreeProductProp A →
A.card ≤ (A₇ N).card |
157 | leanexplore_declaration | leanexplore:383581 | leanexplore_sqlite | leanexplore_declarations | /-- The candidate extremal set: $\{n ∈ \{0, \dots, N-1\} : n ≡ 7 (mod 25)\}$. -/
def A₇ (N : ℕ) : Finset ℕ :=
(Finset.range N).filter (fun n => n % 25 = 7) |
204 | leanexplore_declaration | leanexplore:383582 | leanexplore_sqlite | leanexplore_declarations | /-- A set $A$ has the non-squarefree product property if $ab + 1$ is not squarefree
for all $a, b ∈ A$. -/
def NonSquarefreeProductProp (A : Finset ℕ) : Prop :=
∀ a ∈ A, ∀ b ∈ A, ¬Squarefree (a * b + 1) |
333 | leanexplore_declaration | leanexplore:383583 | leanexplore_sqlite | leanexplore_declarations | /--
Is it true that, for every integer $t\geq1$, there is some integer $a$ such that ${n \choose k} = a$
with $1\leq k \le \frac{n}{2}$ has exactly $t$ solutions?
-/
@[category research open, AMS 11]
theorem erdos_849 : answer(sorry) ↔
∀ t ≥ 1, ∃ a : ℕ,
{n : ℕ | ∃ k ≥ 1, 2 * k ≤ n ∧ choose n k = a}.ncard = t ... |
433 | leanexplore_declaration | leanexplore:383584 | leanexplore_sqlite | leanexplore_declarations | /--
Can there exist two distinct integers $x$ and $y$ such that $x,y$ have the same prime factors,
$x+1,y+1$ have the same prime factors, and $x+2,y+2$ also have the same prime factors?
-/
@[category research open, AMS 11]
theorem erdos_850 :
answer(sorry) ↔ ∃ x y : ℕ, x ≠ y ∧ x.primeFactors = y.primeFactors
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.