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
112
leanexplore_declaration
leanexplore:383885
leanexplore_sqlite
leanexplore_declarations
/-- $W(3, 6) = 32$ from [AKS14]. -/ @[category research solved, AMS 5 11] theorem W_3_6 : W 3 6 = 32 := by sorry
112
leanexplore_declaration
leanexplore:383886
leanexplore_sqlite
leanexplore_declarations
/-- $W(3, 5) = 22$ from [AKS14]. -/ @[category research solved, AMS 5 11] theorem W_3_5 : W 3 5 = 22 := by sorry
112
leanexplore_declaration
leanexplore:383887
leanexplore_sqlite
leanexplore_declarations
/-- $W(3, 4) = 18$ from [AKS14]. -/ @[category research solved, AMS 5 11] theorem W_3_4 : W 3 4 = 18 := by sorry
110
leanexplore_declaration
leanexplore:383888
leanexplore_sqlite
leanexplore_declarations
/-- $W(3, 3) = 9$ from [AKS14]. -/ @[category research solved, AMS 5 11] theorem W_3_3 : W 3 3 = 9 := by sorry
762
leanexplore_declaration
leanexplore:383889
leanexplore_sqlite
leanexplore_declarations
/-- It remains an interesting open problem to actually write down a colouring showing (say) $W(3, r) \ge 2r^2$ for some $r$. [Gr24] -/ @[category research open, AMS 5 11] theorem green_14_variant_2r2 : -- Provide a pair (r, associated coloring) that avoids the monochromatic APs -- To show $W(3, r) > 2r^2 - 1$, ...
292
leanexplore_declaration
leanexplore:383890
leanexplore_sqlite
leanexplore_declarations
/-- [KeMe23] gives a corresponding upper bound $W(3, r) \ll \exp(C(\log r)^C)$. -/ @[category research solved, AMS 5 11] theorem green_14_upper_bound_kelley_meka : answer(sorry) ↔ ∃ C : ℝ, (fun (r : ℕ) => ((W 3 r) : ℝ)) =O[atTop] (fun r => Real.exp (C * (Real.log r)^C)) := by sorry
292
leanexplore_declaration
leanexplore:383891
leanexplore_sqlite
leanexplore_declarations
/-- [Sc20] proves the upper bound $W(3, r) < \exp(r^{1-c})$ for some $c > 0$. -/ @[category research solved, AMS 5 11] theorem green_14_upper_bound_schoen : answer(sorry) ↔ ∃ c : ℝ, 0 < c ∧ (fun (r : ℕ) => ((W 3 r) : ℝ)) =O[atTop] (fun r => Real.exp ((r : ℝ) ^ (1 - c))) := by sorry
241
leanexplore_declaration
leanexplore:383892
leanexplore_sqlite
leanexplore_declarations
/-- [LiSh10] proved $W(3, r) \gg (r / \log r)^2$. -/ @[category research solved, AMS 5 11] theorem green_14_lower_bound_li_shu : answer(sorry) ↔ (fun (r : ℕ) => ((r : ℝ) / Real.log r)^2) =O[atTop] (fun r => (W 3 r : ℝ)) := by sorry
279
leanexplore_declaration
leanexplore:383893
leanexplore_sqlite
leanexplore_declarations
/-- [BLR08] proved $W(3, r) \gg r^{2 - 1/\log \log r}$. -/ @[category research solved, AMS 5 11] theorem green_14_lower_bound_brown_landman_robertson : answer(sorry) ↔ (fun (r : ℕ) => (r : ℝ)^(2 - 1 / Real.log (Real.log r))) =O[atTop] (fun r => (W 3 r : ℝ)) := by sorry
324
leanexplore_declaration
leanexplore:383894
leanexplore_sqlite
leanexplore_declarations
/-- [Hu22] improved this to $W(3, r) \gg \exp(c(\log r)^{2-o(1)})$. -/ @[category research solved, AMS 5 11] theorem green_14_lower_bound_hunter : answer(sorry) ↔ ∃ c : ℝ, ∃ (o : ℕ → ℝ) (_ : Tendsto o atTop (𝓝 0)), (fun (r : ℕ) => Real.exp (c * (Real.log r)^(2 - o r))) =O[atTop] (fun r => (W 3 r : ℝ)) := by ...
338
leanexplore_declaration
leanexplore:383895
leanexplore_sqlite
leanexplore_declarations
/-- [Gr21] proved a lower bound of shape $W(3, r) \gg \exp(c(\log r)^{4/3-o(1)})$. -/ @[category research solved, AMS 5 11] theorem green_14_lower_bound_green : answer(sorry) ↔ ∃ c : ℝ, ∃ (o : ℕ → ℝ) (_ : Tendsto o atTop (𝓝 0)), (fun (r : ℕ) => Real.exp (c * (Real.log r)^(4/3 - o r))) =O[atTop] fun r => (W 3 r...
270
leanexplore_declaration
leanexplore:383896
leanexplore_sqlite
leanexplore_declarations
/-- Is $W(3, r) \ll r^2$? [Gr21] proves a superpolynomial lower bound $W(3, r) \gg \exp(c(\log r)^{4/3-o(1)})$. -/ @[category research solved, AMS 5 11] theorem green_14_quadratic : answer(False) ↔ (fun r => (W 3 r : ℝ)) =O[atTop] fun r => (r : ℝ) ^ 2 := by sorry
234
leanexplore_declaration
leanexplore:383897
leanexplore_sqlite
leanexplore_declarations
/-- We know $W(3, r)$ does not have polynomial growth in $r$ [Gr21, p.3]. -/ @[category research solved, AMS 5 11] theorem green_14_polynomial_k_eq_3 : ¬ ∃ d : ℕ, (fun r => (W 3 r : ℝ)) =O[atTop] fun r => (r : ℝ) ^ d := by sorry
351
leanexplore_declaration
leanexplore:383898
leanexplore_sqlite
leanexplore_declarations
/-- Is $W(k, r)$ a polynomial in $r$, for fixed $k$? We formulate this as asking if $W(k, r)$ has polynomial growth in $r$. We know it is not the case for $k = 3$ [Gr21, p.3]. -/ @[category research open, AMS 5 11] theorem green_14_polynomial : answer(sorry) ↔ ∀ k ≥ 4, ∃ d : ℕ, (fun r => (W k r : ℝ)) =O[atTop] fun...
303
leanexplore_declaration
leanexplore:383899
leanexplore_sqlite
leanexplore_declarations
/-- We define the 2-colour van der Waerden numbers $W(k, r)$ to be the least quantities such that if $\{1, ... , W(k, r)\}$ is coloured red and blue then there is either a red $k$-term progression or a blue $r$-term progression. -/ noncomputable def W (k r : ℕ) : ℕ := sInf (mixedMonoAPGuaranteeSet k r)
453
leanexplore_declaration
leanexplore:383900
leanexplore_sqlite
leanexplore_declarations
/-- The set of natural numbers $N$ such that any 2-coloring of ${1, ..., N}$ contains a monochromatic arithmetic progression of length $k$ (color 0) or length $r$ (color 1). -/ def mixedMonoAPGuaranteeSet (k r : ℕ) : Set ℕ := { N | ∀ coloring : Icc 1 N → Fin 2, (∃ s : Finset (Icc 1 N), ({(s' : ℕ) | s' ∈ s}).IsAPO...
237
leanexplore_declaration
leanexplore:383901
leanexplore_sqlite
leanexplore_declarations
/-- The answer is YES for 4-term progressions [BJP14]. -/ @[category research solved, AMS 5 11] theorem green_15_ap4 : ∃ K : ℝ≥0, ∃ f : ℕ → ℤ, LipschitzWith K f ∧ IsAPOfLengthFree {((n, f n) : ℤ × ℤ) | (n : ℕ)} 4 := by sorry
376
leanexplore_declaration
leanexplore:383902
leanexplore_sqlite
leanexplore_declarations
/-- Does there exist a Lipschitz function $f : \mathbb{N} \to \mathbb{Z}$ whose graph $\Gamma = \{(n, f(n)) : n \in \mathbb{N}\} \subseteq \mathbb{Z}^2$ is free of 3-term progressions? -/ @[category research open, AMS 5 11] theorem green_15 : answer(sorry) ↔ ∃ K : ℝ≥0, ∃ f : ℕ → ℤ, LipschitzWith K f ∧ IsAPOfL...
321
leanexplore_declaration
leanexplore:383903
leanexplore_sqlite
leanexplore_declarations
/-- From [Yufei Zhao]: Is there a subset of $\{1, \ldots, N\}$ of size $N^{1/3 - o(1)}$ with no nontrivial solutions to $x + 2y + 3z = x' + 2y' + 3z'$? -/ @[category research open, AMS 5 11] theorem zhao_question : ¬∃ h : ℕ → ℝ, Tendsto h atTop (𝓝 0) ∧ ∀ᶠ N in atTop, (g N : ℝ) ≥ (N : ℝ) ^ (1 / 3 - h N) := by sor...
178
leanexplore_declaration
leanexplore:383904
leanexplore_sqlite
leanexplore_declarations
/-- The maximum size of a Zhao-solution-free subset of $[N]$. -/ noncomputable def g (N : ℕ) : ℕ := sSup {k : ℕ | ∃ A : Finset ℕ, A ⊆ Icc 1 N ∧ ZhaoSolutionFree A ∧ A.card = k}
270
leanexplore_declaration
leanexplore:383905
leanexplore_sqlite
leanexplore_declarations
/-- A set has no nontrivial solution to $x + 2y + 3z = x' + 2y' + 3z'$. -/ def ZhaoSolutionFree (A : Finset ℕ) : Prop := ∀ x y z x' y' z', x ∈ A → y ∈ A → z ∈ A → x' ∈ A → y' ∈ A → z' ∈ A → [x, y, z, x', y', z'].Nodup → x + 2 * y + 3 * z ≠ x' + 2 * y' + 3 * z'
232
leanexplore_declaration
leanexplore:383906
leanexplore_sqlite
leanexplore_declarations
/-- $f(N) \gg N \cdot e^{-c(\log N)^{1/7}}$. -/ @[category research open, AMS 5 11] theorem green_16_conjectured_lower_bound : ∃ c > (0 : ℝ), (fun N ↦ (N : ℝ) * exp (-c * (log N) ^ (1 / 7 : ℝ))) ≪ fun N ↦ (f N : ℝ) := by sorry
245
leanexplore_declaration
leanexplore:383907
leanexplore_sqlite
leanexplore_declarations
/-- From [Schoen and Sisask] $f(N) \ll N \cdot e^{-c(\log N)^{1/7}}$. -/ @[category research open, AMS 5 11] theorem green_16_upper_bound : ∃ c > (0 : ℝ), (fun N ↦ (f N : ℝ)) ≪ fun N ↦ (N : ℝ) * exp (-c * (log N) ^ (1 / 7 : ℝ)) := by sorry
176
leanexplore_declaration
leanexplore:383908
leanexplore_sqlite
leanexplore_declarations
/-- From [Ruzsa] $f(N) \gg N^{1/2}$. -/ @[category research open, AMS 5 11] theorem green_16_lower_bound : (fun N ↦ (N : ℝ) ^ (1 / 2 : ℝ)) ≪ fun N ↦ (f N : ℝ) := by sorry
346
leanexplore_declaration
leanexplore:383909
leanexplore_sqlite
leanexplore_declarations
/-- What is the largest subset of $[N]$ with no solution to $x + 3y = 2z + 2w$ in distinct integers $x, y, z, w$? -/ @[category research open, AMS 5 11] theorem green_16 (N : ℕ) : ∃ A : Finset ℕ, A ⊆ Icc 1 N ∧ SolutionFree A ∧ A.card = answer(sorry) ∧ MaximalFor (fun B => B ⊆ Icc 1 N ∧ SolutionFree B) F...
169
leanexplore_declaration
leanexplore:383910
leanexplore_sqlite
leanexplore_declarations
/-- The maximum size of a solution-free subset of $[N]$. -/ noncomputable def f (N : ℕ) : ℕ := sSup {k : ℕ | ∃ A : Finset ℕ, A ⊆ Icc 1 N ∧ SolutionFree A ∧ A.card = k}
207
leanexplore_declaration
leanexplore:383911
leanexplore_sqlite
leanexplore_declarations
/-- A set has no solution to $x + 3y = 2z + 2w$ in distinct elements. -/ def SolutionFree (A : Finset ℕ) : Prop := ∀ x ∈ A, ∀ y ∈ A, ∀ z ∈ A, ∀ w ∈ A, [x, y, z, w].Nodup → x + 3 * y ≠ 2 * z + 2 * w
421
leanexplore_declaration
leanexplore:383912
leanexplore_sqlite
leanexplore_declarations
/-- [So13] proved this is true for "BMZ corners". Follows from the proof of Theorem 2.1, p.1456-1457. -/ @[category research solved, AMS 5 11 20] theorem green_18.bmz_corners : ∀ α > 0, ∃ c > 0, ∃ m₀ : ℕ, ∀ (G : Type*) [Group G] [Fintype G] [DecidableEq G] (A : Finset (G × G)), Fintype.card G ≥ m₀ → (A.card...
382
leanexplore_declaration
leanexplore:383913
leanexplore_sqlite
leanexplore_declarations
/-- The number of triples $(x, y, g)$ in $G^3$ such that $g \neq e$, and $(x, y), (xg, y), (x, gy)$ are all in $A$. These are called "BMZ corners" by [Au16]. -/ def numBmzCorners {G : Type*} [Group G] [Fintype G] [DecidableEq G] (A : Finset (G × G)) : ℕ := ( (univ : Finset (G × G × G)).filter fun ⟨x, y, g⟩ =>...
639
leanexplore_declaration
leanexplore:383914
leanexplore_sqlite
leanexplore_declarations
/-- Suppose that $G$ is a finite group, and let $A \subset G \times G$ be a subset of density $\alpha$. Is it true that there are $\gg_\alpha |G|^3$ triples $x, y, g$ such that $(x, y), (gx, y), (x, gy)$ all lie in $A$? Note: A is taken as $\alpha$-dense, i.e. $|A| \ge \alpha |G|^2$ [Au16, Question 2] -/ @[category re...
634
leanexplore_declaration
leanexplore:383915
leanexplore_sqlite
leanexplore_declarations
/-- The number of triples $(x, y, g)$ in $G^3$ such that $g \neq e$, and $(x, y), (gx, y), (x, gy)$ are all in $A$. These are called "naive corners" by [Au16]. Note: the shortened formulation from [Gr26] does not mention $g \neq e$, but this is the original statement from [Au16], which ensure non-trivial corners. Note...
119
leanexplore_declaration
leanexplore:383916
leanexplore_sqlite
leanexplore_declarations
/-- [Ma21] showed that $C \leq 4$. -/ @[category research open, AMS 5 11] theorem green_19.upper : C <= 4 := by sorry
125
leanexplore_declaration
leanexplore:383917
leanexplore_sqlite
leanexplore_declarations
/-- [Ma21] showed that $3.13 \leq C$. -/ @[category research open, AMS 5 11] theorem green_19.lower : C >= 3.13 := by sorry
478
leanexplore_declaration
leanexplore:383918
leanexplore_sqlite
leanexplore_declarations
/-- What is $C$, the infimum of all exponents $c$ for which the following is true, uniformly for $0 < \alpha < 1$? Suppose that $A \subset \mathbb{F}_2^n \times \mathbb{F}_2^n$ is a set of density $\alpha$. Write $N := 2^n$. Then there is some $d \neq 0$ such that $A$ contains $\gg \alpha^c N^2$ corners $(x,y), (x,y+d)...
103
leanexplore_declaration
leanexplore:383919
leanexplore_sqlite
leanexplore_declarations
/-- The infimum of all valid exponents [Gr26]. -/ noncomputable def C : ℝ := sInf {c | ValidExponent c}
355
leanexplore_declaration
leanexplore:383920
leanexplore_sqlite
leanexplore_declarations
/-- True if the given exponent satisfies Green's conditions [Gr26]. -/ def ValidExponent (c : ℝ) : Prop := ∃ K > 0, ∀ α, 0 < α → α < 1 → ∀ᶠ n in Filter.atTop, ∀ A : Finset (𝔽₂ n × 𝔽₂ n), let N : ℝ := (Fintype.card (𝔽₂ n) : ℝ) (A.card : ℝ) ≥ α * N^2 → ∃ d : 𝔽₂ n, d ≠...
85
leanexplore_declaration
leanexplore:383921
leanexplore_sqlite
leanexplore_declarations
/-- The group $G = \mathbb{F}_2^n = (Z/2Z)^n$. -/ abbrev 𝔽₂ (n : ℕ) := Fin n → ZMod 2
275
leanexplore_declaration
leanexplore:383922
leanexplore_sqlite
leanexplore_declarations
/-- From [FSS20]: given $A \subseteq G \times G$ and $d \in G$, let $$S_d(A) = \lbrace (x, y) \in G \times G : (x, y), (x + d, y), (x, y + d) \in A \rbrace$$ -/ noncomputable def S (d : G) (A : Finset (G × G)) : Finset (G × G) := univ.filter (fun p => IsCorner A p.1 p.2 d)
161
leanexplore_declaration
leanexplore:383923
leanexplore_sqlite
leanexplore_declarations
/-- A corner in $A$ with common difference $d$ [FSS20]. -/ def IsCorner (A : Finset (G × G)) (x y d : G) : Prop := (x, y) ∈ A ∧ (x + d, y) ∈ A ∧ (x, y + d) ∈ A
412
leanexplore_declaration
leanexplore:383924
leanexplore_sqlite
leanexplore_declarations
/-- Let $A$ be a set of $n$ positive integers. Does $A$ contain a sum-free set of size at least $\frac n 3 + Ω(n)$, where $Ω(n) → ∞$ as $n → ∞$? -/ @[category research open, AMS 5 11] theorem green_1 : answer(sorry) ↔ ∃ Ω : ℕ → ℝ, atTop.Tendsto Ω atTop ∧ ∀ n, ∀ (A : Finset ℕ), (∀ a ∈ A, 0 < a) → A.card = n → ...
555
leanexplore_declaration
leanexplore:383925
leanexplore_sqlite
leanexplore_declarations
/-- Suppose that $\mathbb{N}$ is finitely coloured. Are there $x,y$ of the same colour such that $x^2 + y^2$ is a square? Solved in [FrKlMo25]. -/ @[category research solved, AMS 5 11] theorem green_23 : answer(True) ↔ -- For every finite colouring of the natural numbers ∀ (k : ℕ) (c : ℕ → Fin k), -- th...
151
leanexplore_declaration
leanexplore:383926
leanexplore_sqlite
leanexplore_declarations
/-- Conjecture p.579 in [Aa19]: $\left({1}{3} + o(1)\right) n^2$. -/ @[category research open, AMS 5 11] theorem conjecture : gamma = 1/3 := by sorry
172
leanexplore_declaration
leanexplore:383927
leanexplore_sqlite
leanexplore_declarations
/-- Asymptotic lower bound (1.2) in [Aa19]. Named after Hardy and Littlewood [HaL28]. -/ @[category research solved, AMS 5 11] theorem lower_HL : gamma ≥ 1/12 := by sorry
171
leanexplore_declaration
leanexplore:383928
leanexplore_sqlite
leanexplore_declarations
/-- Asymptotic upper bound (1.2) in [Aa19]. Named after Hardy and Littlewood [HaL28]. -/ @[category research solved, AMS 5 11] theorem upper_HL : gamma ≤ 3/4 := by sorry
170
leanexplore_declaration
leanexplore:383929
leanexplore_sqlite
leanexplore_declarations
/-- The asymptotic constant $\gamma$ defined in [Aa19] p.579. -/ noncomputable def gamma : ℝ := limsup (fun n : ℕ => (max013AffineTranslates n : ℝ) / ((n : ℝ)^2)) atTop
459
leanexplore_declaration
leanexplore:383930
leanexplore_sqlite
leanexplore_declarations
/-- From [Aa19] p.577: the trivial upper bound is $n^2$ (non asymptotic). -/ @[category research solved, AMS 5 11] theorem upper_trivial {n : ℕ} : max013AffineTranslates n ≤ n ^ 2 := by apply csSup_le · exact ⟨_, ⟨(Finset.range n).image Int.ofNat, by rw [Finset.card_image_of_injective _ Int.ofNat_injective, F...
323
leanexplore_declaration
leanexplore:383931
leanexplore_sqlite
leanexplore_declarations
/-- If $A$ is a set of $n$ integers, what is the maximum number of affine translates of the set $\lbrace 0,1,3 \rbrace$ that $A$ can contain? Conjectured in [Aa19] p.579: $\left({1}{3} + o(1)\right) n^2$. -/ @[category research open, AMS 5 11] theorem green_24 : ∀ n, max013AffineTranslates n = answer(sorry) := by so...
392
leanexplore_declaration
leanexplore:383932
leanexplore_sqlite
leanexplore_declarations
/-- The maximum number of $\lbrace 0,1,3 \rbrace$ affine translates that a set of size $n$ can contain. -/ noncomputable def max013AffineTranslates (n : ℕ) : ℕ := sSup { k | ∃ A : Finset ℤ, A.card = n ∧ -- Iterate over (x,y) = (a, a + d) in A × A (x ≠ y), and check if a + 3d = x + 3(y - x) ∈ A k...
382
leanexplore_declaration
leanexplore:383933
leanexplore_sqlite
leanexplore_declarations
/-- For $k \gg N / \log N$, it need not be true [Gr24]. In this version, cases like $k(N) = N$ or $N-1$ can produce trivial counter examples. -/ @[category research solved, AMS 5 11] theorem green_25.variants.upper_ess89_trivial : ∃ k : ℕ → ℕ, (∀ᶠ N in atTop, 1 ≤ k N ∧ k N ≤ N) ∧ ((fun N => (k N : ℝ)) ≫ best...
492
leanexplore_declaration
leanexplore:383934
leanexplore_sqlite
leanexplore_declarations
/-- For $k \gg N / \log N$, it need not be true [Gr24]. We formalize by enforcing a $N / \log N$ growth rate on $k(N)$. This avoids cases like $k(N) = N$ or $N-1$, which produce trivial counter examples with singletons and thus empty restricted sumsets. -/ @[category research solved, AMS 5 11] theorem green_25.variant...
507
leanexplore_declaration
leanexplore:383935
leanexplore_sqlite
leanexplore_declarations
/-- For $k \ll \log \log N$, this is true [Gr24]. NOTE: [ESS89] derive a precise constant for which this is true, but $\ll$ would imply that it works for any constant. We thus prefer a little-o statement. -/ @[category research solved, AMS 5 11] theorem green_25.variants.lower_ess89 : ∀ k : ℕ → ℕ, (∀ᶠ N in atTo...
395
leanexplore_declaration
leanexplore:383936
leanexplore_sqlite
leanexplore_declarations
/-- We conjecture that the best-known lower bound can be raised. -/ @[category research open, AMS 5 11] theorem green_25.lower : let ans := (answer(sorry) : ℕ → ℝ) (bestLower =o[atTop] ans) ∧ (∀ᶠ N in atTop, 1 ≤ ans N ∧ ans N ≤ N) ∧ ∀ k : ℕ → ℕ, (∀ᶠ N in atTop, 1 ≤ k N ∧ k N ≤ N) ∧ ((fun N =...
356
leanexplore_declaration
leanexplore:383937
leanexplore_sqlite
leanexplore_declarations
/-- We conjecture that the best-known upper bound can be lowered. -/ @[category research open, AMS 5 11] theorem green_25.upper : let ans := (answer(sorry) : ℕ → ℕ) (∀ᶠ N in atTop, 1 ≤ ans N ∧ ans N ≤ N) ∧ -- Ensure k is a valid partition size (fun N => (ans N : ℝ)) =o[atTop] bestUpper ∧ ¬ ∀ᶠ N in atTop...
311
leanexplore_declaration
leanexplore:383938
leanexplore_sqlite
leanexplore_declarations
/-- For which values of $k$ is the following true: whenever we partition $[N] = A_1 \cup \dots \cup A_k$, $\left|\bigcup^k_{i=1} (A_i \hat{+} A_i)\right| \geq \frac{1}{10} N$? -/ @[category research open, AMS 5 11] theorem green_25 : {k : ℕ → ℕ | ∀ᶠ N in atTop, Property25 (k N) N} = answer(sorry) := by sorry
106
leanexplore_declaration
leanexplore:383939
leanexplore_sqlite
leanexplore_declarations
/-- The best-known upper bound [ESS89]. -/ noncomputable def bestUpper (N : ℕ) : ℝ := (N : ℝ) / Real.log N
107
leanexplore_declaration
leanexplore:383940
leanexplore_sqlite
leanexplore_declarations
/-- The best-known lower bound [ESS89]. -/ noncomputable def bestLower (N : ℕ) : ℝ := Real.log (Real.log N)
332
leanexplore_declaration
leanexplore:383941
leanexplore_sqlite
leanexplore_declarations
/-- For which values of $k$ is the following true: whenever we partition $[N] = A_1 \cup \dots \cup A_k$, $\left|\bigcup^k_{i=1} (A_i \hat{+} A_i)\right| \geq \frac{1}{10} N$? -/ def Property25 (k N : ℕ) : Prop := 1 ≤ k ∧ k ≤ N ∧ ∀ P : Finpartition (Icc 1 N), #P.parts = k → 10 * #(P.parts.biUnion Finset.restricte...
290
leanexplore_declaration
leanexplore:383942
leanexplore_sqlite
leanexplore_declarations
/-- The analogous problem in $\mathbb{F}^n_p$ remains open. [Gr24] -/ @[category research open, AMS 5 11 15] theorem green_26.variants.open : answer(sorry) ↔ ∀ (p : ℕ) [Fact p.Prime], (∃ C, ∀ n, ∀ A : Fin C → Set (𝔽 p n), (∀ i, IsCube (A i)) → ∑ i, A i = univ) := by sorry
426
leanexplore_declaration
leanexplore:383943
leanexplore_sqlite
leanexplore_declarations
/-- [ALM91] showed that if 100 is replaced by $\leq c(p) \log n$ then the result is true for $\mathbb{F}^n_p$. -/ @[category research solved, AMS 5 11 15] theorem green_26.variants.alm91 : ∀ (p : ℕ) [Fact p.Prime], ∃ (k : ℕ → ℕ), ((fun n ↦ (k n : ℝ)) =O[atTop] fun n ↦ Real.log n) ∧ ∀ᶠ n in atT...
245
leanexplore_declaration
leanexplore:383944
leanexplore_sqlite
leanexplore_declarations
/-- [Yu25] has solved the original problem (with 100 replaced by 4) -/ @[category research solved, AMS 5 11 15] theorem green_26.variants.yu25 : ∀ n : ℕ, ∀ A : Fin 4 → Set (𝔽₃ n), (∀ i, IsCube (A i)) → ∑ i, A i = univ := by sorry
287
leanexplore_declaration
leanexplore:383945
leanexplore_sqlite
leanexplore_declarations
/-- Let $A_1, \dots, A_{100}$ be "cubes" in $\mathbb{F}^n_3$. Is it true that $A_1 + \dots + A_{100} = \mathbb{F}^n_3$? -/ @[category research solved, AMS 5 11 15] theorem green_26 : ∀ n : ℕ, ∀ A : Fin 100 → Set (𝔽₃ n), (∀ i, IsCube (A i)) → ∑ i, A i = univ := by sorry
202
leanexplore_declaration
leanexplore:383946
leanexplore_sqlite
leanexplore_declarations
/-- A cube is the image of $\lbrace 0, 1\rbrace^n$ under a linear automorphism. -/ def IsCube {p n : ℕ} [Fact p.Prime] (A : Set (𝔽 p n)) : Prop := ∃ φ : 𝔽 p n ≃ₗ[ZMod p] 𝔽 p n, A = φ '' StandardCube n
193
leanexplore_declaration
leanexplore:383947
leanexplore_sqlite
leanexplore_declarations
/-- The standard cube in $\mathbb{F}_p^n$ is the set of points with coordinates in $\{0, 1\}$. -/ def StandardCube {p : ℕ} [Fact p.Prime] (n : ℕ) : Set (𝔽 p n) := {x | ∀ i, x i = 0 ∨ x i = 1}
68
leanexplore_declaration
leanexplore:383948
leanexplore_sqlite
leanexplore_declarations
/-- The vector space $\mathbb{F}_3^n$. -/ abbrev 𝔽₃ (n : ℕ) := 𝔽 3 n
93
leanexplore_declaration
leanexplore:383949
leanexplore_sqlite
leanexplore_declarations
/-- The vector space $\mathbb{F}_p^n$. -/ abbrev 𝔽 (p n : ℕ) [Fact p.Prime] := Fin n → ZMod p
214
leanexplore_declaration
leanexplore:383950
leanexplore_sqlite
leanexplore_declarations
/-- Previous best-known upper bound $m(p) \ll \sqrt{p}$ from [Be23]. -/ @[category research solved, AMS 5 11] theorem green_27.variants.previous_upper : m =O[primesAtTop] (fun p ↦ Real.sqrt (p : ℝ)) := by sorry
211
leanexplore_declaration
leanexplore:383951
leanexplore_sqlite
leanexplore_declarations
/-- Previous best-known lower bound $\log p \ll m(p)$ from [St76]. -/ @[category research solved, AMS 5 11] theorem green_27.variants.previous_lower : (fun p ↦ Real.log (p : ℝ)) =O[primesAtTop] m := by sorry
181
leanexplore_declaration
leanexplore:383952
leanexplore_sqlite
leanexplore_declarations
/-- Upper bound: $m(p) \ll (\log p)^2$ [Be23, Theorem 5]. -/ @[category research solved, AMS 5 11] theorem green_27.variants.upper_be23 : m =O[primesAtTop] upperBest := by sorry
308
leanexplore_declaration
leanexplore:383953
leanexplore_sqlite
leanexplore_declarations
/-- We have $m(p) \geq \omega(p) \log p$ for some function $\omega(p)$ tending to infinity [Be23, Theorem 3]. -/ @[category research solved, AMS 5 11] theorem green_27.variants.lower_be23 : ∃ ω : ℕ → ℝ, Tendsto ω primesAtTop atTop ∧ ∀ᶠ p in primesAtTop, ω p * Real.log (p : ℝ) ≤ m p := by sorry
225
leanexplore_declaration
leanexplore:383954
leanexplore_sqlite
leanexplore_declarations
/-- Propose a better upper bound along primes. -/ @[category research open, AMS 5 11] theorem green_27.upper : let ans := (answer(sorry) : ℕ → ℝ) (ans =o[primesAtTop] upperBest) ∧ (m =O[primesAtTop] ans) := by sorry
225
leanexplore_declaration
leanexplore:383955
leanexplore_sqlite
leanexplore_declarations
/-- Propose a better lower bound along primes. -/ @[category research open, AMS 5 11] theorem green_27.lower : let ans := (answer(sorry) : ℕ → ℝ) (lowerBest =o[primesAtTop] ans) ∧ (ans =O[primesAtTop] m) := by sorry
304
leanexplore_declaration
leanexplore:383956
leanexplore_sqlite
leanexplore_declarations
/-- What is the size of the smallest set $A \subset \mathbb{Z} / p\mathbb{Z}$ (with at least two elements) for which no element in the sumset $A + A$ has a unique representation? -/ @[category research open, AMS 5 11] theorem green_27.equivalent : (answer(sorry) : ℕ → ℝ) ~[primesAtTop] m := by sorry
114
leanexplore_declaration
leanexplore:383957
leanexplore_sqlite
leanexplore_declarations
/-- Best-known upper bound [Be23, Theorem 5]. -/ noncomputable def upperBest (p : ℕ) : ℝ := (Real.log (p : ℝ)) ^ 2
220
leanexplore_declaration
leanexplore:383958
leanexplore_sqlite
leanexplore_declarations
/-- Best-known lower bound [Be23, Theorem 3]. -/ noncomputable def lowerBest (p : ℕ) : ℝ := (Real.sqrt (Real.log (Real.log (Real.log (p : ℝ)))) / Real.log (Real.log (Real.log (Real.log (p : ℝ))))) * Real.log (p : ℝ)
101
leanexplore_declaration
leanexplore:383959
leanexplore_sqlite
leanexplore_declarations
/-- `atTop` restricted to prime numbers. -/ def primesAtTop : Filter ℕ := atTop ⊓ 𝓟 {p : ℕ | p.Prime}
335
leanexplore_declaration
leanexplore:383960
leanexplore_sqlite
leanexplore_declarations
/-- This is $m(p)$ in [Be23]: the size of the smallest set $A \subset \mathbb{Z} / p\mathbb{Z}$ (with at least two elements) for which no element in the sumset $A + A$ has a unique representation. -/ noncomputable def m (p : ℕ) : ℝ := (sInf { (A.card) | (A : Finset (ZMod p)) (_ : 2 ≤ A.card) (_ : HasNoUniqueRepresent...
512
leanexplore_declaration
leanexplore:383961
leanexplore_sqlite
leanexplore_declarations
/-- Suppose that $X, Y$ are two finitely-supported independent random variables taking integer values, and such that $X + Y$ is uniformly distributed on its range. Are $X$ and $Y$ themselves uniformly distributed on their ranges? -/ @[category research open, AMS 60] theorem green_28 : answer(sorry) ↔ ∀ (X Y : PMF ℤ),...
236
leanexplore_declaration
leanexplore:383962
leanexplore_sqlite
leanexplore_declarations
/-- The discrete convolution of two PMFs on $\mathbb{Z}$, representing the distribution of the sum of two independent random variables. -/ noncomputable def indepSum (X Y : PMF ℤ) : PMF ℤ := do let x ← X let y ← Y PMF.pure (x + y)
189
leanexplore_declaration
leanexplore:383963
leanexplore_sqlite
leanexplore_declarations
/-- True if a PMF on $\mathbb{Z}$ is uniformly distributed on its support. -/ def IsUniformOnSupport (X : PMF ℤ) : Prop := ∃ (s : Finset ℤ) (hs : s.Nonempty), X = PMF.uniformOfFinset s hs
493
leanexplore_declaration
leanexplore:383964
leanexplore_sqlite
leanexplore_declarations
/-- Such a conclusion is known with $|S| \gg_K |A|$ [Br13 Problem 6.5, CrSi10, Sa10]. -/ @[category research solved, AMS 20] theorem green_29.variant : ∀ K : ℝ, 1 ≤ K → ∃ c : ℝ, 0 < c ∧ -- Allow c to depend on K. ∀ {G : Type*} [Group G] [DecidableEq G] (A : Finset G), IsApproximateSubgroup K...
490
leanexplore_declaration
leanexplore:383965
leanexplore_sqlite
leanexplore_declarations
/-- Suppose that $A$ is a $K$-approximate group (not necessarily abelian). Is there $S \subset A$, $|S| \gg K^{-O(1)} |A|$, with $S^8 \subset A^4$? -/ @[category research open, AMS 20] theorem green_29 : answer(sorry) ↔ ∃ C c : ℝ, 0 < C ∧ 0 < c ∧ ∀ {G : Type*} [Group G] [DecidableEq G] (K : ℝ) (A : Fi...
324
leanexplore_declaration
leanexplore:383966
leanexplore_sqlite
leanexplore_declarations
/-- From [Ru05] the best-known upper bound is $|S| \lt e^{C \sqrt{\log |A|}}$. -/ @[category research solved, AMS 11] theorem green_2_upper_bound_ruzsa : ∃ C > (0 : ℝ), ∀ᶠ n in atTop, ∃ A : Finset ℤ, A.card = n ∧ (maxRestrictedSumAvoidingSubsetSize A : ℝ) < Real.exp (C * Real.sqrt (Real.log A.card)) := by s...
319
leanexplore_declaration
leanexplore:383967
leanexplore_sqlite
leanexplore_declarations
/-- From [Ch71] it is known that $M(A) \le |A|^{2/5 + o(1)}$. -/ @[category research solved, AMS 11] theorem green_2_upper_bound_choi : ∃ (o : ℕ → ℝ) (_ : Tendsto o atTop (𝓝 0)), ∀ᶠ n in atTop, ∃ A : Finset ℤ, A.card = n ∧ (maxRestrictedSumAvoidingSubsetSize A : ℝ) ≤ A.card ^ (2 / 5 + o A.card) := by sorry
278
leanexplore_declaration
leanexplore:383968
leanexplore_sqlite
leanexplore_declarations
/-- From [Er65] it is known that $M(A) \le \frac{1}{3}|A| + O(1)$. -/ @[category research solved, AMS 11] theorem green_2_upper_bound_erdos : ∃ C : ℝ, ∀ᶠ n in atTop, ∃ A : Finset ℤ, A.card = n ∧ (maxRestrictedSumAvoidingSubsetSize A : ℝ) ≤ A.card / 3 + C := by sorry
315
leanexplore_declaration
leanexplore:383969
leanexplore_sqlite
leanexplore_declarations
/-- From [Sa21] it is known that there is always such an S with $|S| \gt (\log |A|)^{1+c}$. -/ @[category research solved, AMS 11] theorem green_2_lower_bound_sanders : ∃ c > (0 : ℝ), ∀ᶠ n : ℕ in atTop, ∀ A : Finset ℤ, A.card = n → maxRestrictedSumAvoidingSubsetSize A ≥ Real.log n ^ (1 + c) := by sorry
384
leanexplore_declaration
leanexplore:383970
leanexplore_sqlite
leanexplore_declarations
/-- Let $A \subset \mathbf{Z}$ be a set of $n$ integers. Is there a set $S \subset A$ of size $(\log n)^{100}$ such that the restricted sumset$S \hat{+} S$ is disjoint from $A$? -/ @[category research open, AMS 11] theorem green_2 : answer(sorry) ↔ ∀ᶠ n : ℕ in atTop, ∀ A : Finset ℤ, A.card = n → (maxRestricte...
279
leanexplore_declaration
leanexplore:383971
leanexplore_sqlite
leanexplore_declarations
/-- We define the construction from [Sa21, p1] as $M(A) := \max \{|S| : S \subseteq A \text{ and } (S \hat{+} S) \cap A = \varnothing \}$. -/ def maxRestrictedSumAvoidingSubsetSize (A : Finset ℤ) : ℕ := (A.powerset.filter fun S => Disjoint S.restrictedSumset A).sup Finset.card
341
leanexplore_declaration
leanexplore:383972
leanexplore_sqlite
leanexplore_declarations
/-- The best-known upper bound for a Sidon subset of $\{0, 1\}^n$ ($N = 2^n$) is $N^{0.5753}$ [CLZ01]. -/ @[category research solved, AMS 5 11] theorem green_31.variants.sidon_01n_clz01 : ∃ C : ℝ, ∀ n, ∀ S : Finset (Fin n → ZMod 2), IsSidon (S : Set (Fin n → ZMod 2)) → (S.card : ℝ) ≤ C * ((2 : ℝ) ^ n) ^ (0.57...
393
leanexplore_declaration
leanexplore:383973
leanexplore_sqlite
leanexplore_declarations
/-- Another very nice old problem is whether there is a Sidon subset of $\{0, 1\}^n$ of size $N^{0.51}$, where $N = 2^n$ [Gr24]. -/ @[category research open, AMS 5 11] theorem green_31.variants.sidon_01n : answer(sorry) ↔ ∃ S : (n : ℕ) → Finset (Fin n → ZMod 2), (∀ n, IsSidon (S n : Set (Fin n → ZMod 2))) ∧ ...
380
leanexplore_declaration
leanexplore:383974
leanexplore_sqlite
leanexplore_declarations
/-- It is not known whether, if $G$ is an abelian group of size $n$, there always exists a Sidon subset of $G$ of size $0.01\sqrt{n}$ [Gr24]. -/ @[category research open, AMS 5 11] theorem green_31.variants.abelian : answer(sorry) ↔ ∀ (G : Type) [AddCommGroup G] [Fintype G], ∃ S : Finset G, IsSidon (S : Set G...
466
leanexplore_declaration
leanexplore:383975
leanexplore_sqlite
leanexplore_declarations
/-- It is not known whether or not there exists a Sidon subset of $\mathbb{Z}/p\mathbb{Z}$ of size $(1 + o(1))\sqrt{p}$, for all $p$ [Gr24]. -/ @[category research open, AMS 5 11] theorem green_31.variants.zmod_p : answer(sorry) ↔ ∃ S : (n : ℕ) → Finset (ZMod n), ∃ o : ℕ → ℝ, (o =o[atTop] fun _ : ℕ ↦ (1 :...
276
leanexplore_declaration
leanexplore:383976
leanexplore_sqlite
leanexplore_declarations
/-- The upper bound was further improved to $N^{1/2} + 0.98183 N^{1/4} + O(1)$ [CHO25]. -/ @[category research solved, AMS 5 11] theorem green_31.variants.upper_cho25 : ∃ C : ℝ, ∀ᶠ N in atTop, F N ≤ Real.sqrt (N : ℝ) + (0.98183 : ℝ) * (N : ℝ) ^ (4⁻¹ : ℝ) + C := by sorry
291
leanexplore_declaration
leanexplore:383977
leanexplore_sqlite
leanexplore_declarations
/-- [BFR23] obtained a small improvement, getting an upper bound of $F(N) \le N^{1/2} + 0.998 N^{1/4}$ for large $N$. -/ @[category research solved, AMS 5 11] theorem green_31.variants.upper_bfr23 : ∀ᶠ N in atTop, F N ≤ Real.sqrt (N : ℝ) + (0.998 : ℝ) * (N : ℝ) ^ (4⁻¹ : ℝ) := by sorry
226
leanexplore_declaration
leanexplore:383978
leanexplore_sqlite
leanexplore_declarations
/-- [Li69] proved $F(n) \le n^{1/2} + n^{1/4} + O(1)$. -/ @[category research solved, AMS 5 11] theorem green_31.variants.upper_li69 : ∃ C : ℝ, ∀ᶠ N in atTop, F N ≤ Real.sqrt (N : ℝ) + (N : ℝ) ^ (4⁻¹ : ℝ) + C := by sorry
387
leanexplore_declaration
leanexplore:383979
leanexplore_sqlite
leanexplore_declarations
/-- Can we improve the upper bound $N^{1/2} + 0.98183 N^{1/4} + O(1)$ [CHO25], for all sufficiently large $N$? -/ @[category research open, AMS 5 11] theorem green_31.variants.upper_eventually : let ans := (answer(sorry) : ℕ → ℝ) (∀ᶠ N in atTop, F N ≤ ans N) ∧ ∃ c < (0.98183 : ℝ), ∃ C : ℝ, ∀ᶠ N in atTop, an...
369
leanexplore_declaration
leanexplore:383980
leanexplore_sqlite
leanexplore_declarations
/-- Can we improve the upper bound $N^{1/2} + 0.98183 N^{1/4} + O(1)$ [CHO25], at least for infinitely many $N$? -/ @[category research open, AMS 5 11] theorem green_31.upper : let ans := (answer(sorry) : ℕ → ℝ) (∃ᶠ N in atTop, F N ≤ ans N) ∧ ∃ c < (0.98183 : ℝ), ∃ C : ℝ, ∀ᶠ N in atTop, ans N - Real.sqrt (N...
347
leanexplore_declaration
leanexplore:383981
leanexplore_sqlite
leanexplore_declarations
/-- Can we improve the lower bound $N^{1/2} + O(1)$, for all sufficiently large $N$? -/ @[category research open, AMS 5 11] theorem green_31.variants.lower_eventually : let ans := (answer(sorry) : ℕ → ℝ) Filter.Tendsto (fun N ↦ ans N - Real.sqrt (N : ℝ)) atTop atTop ∧ -- Break the O(1) barrier ∀ᶠ N in atTop...
329
leanexplore_declaration
leanexplore:383982
leanexplore_sqlite
leanexplore_declarations
/-- Can we improve the lower bound $N^{1/2} + O(1)$, at least for infinitely many $N$? -/ @[category research open, AMS 5 11] theorem green_31.lower : let ans := (answer(sorry) : ℕ → ℝ) Filter.Tendsto (fun N ↦ ans N - Real.sqrt (N : ℝ)) atTop atTop ∧ -- Break the O(1) barrier ∃ᶠ N in atTop, ans N ≤ F N := b...
133
leanexplore_declaration
leanexplore:383983
leanexplore_sqlite
leanexplore_declarations
/-- Let $F(N)$ be the largest Sidon subset of $[N]$. -/ noncomputable def F (N : ℕ) : ℝ := Finset.maxSidonSubsetCard (Finset.Icc 1 N)
437
leanexplore_declaration
leanexplore:383984
leanexplore_sqlite
leanexplore_declarations
/-- Tom Sanders' finite field variant [Gr24]. If $N = 2^n$ and $A$ is a subset of size $\lfloor \sqrt{N} \rfloor$, then $A^c$ contains a coset of size at least $100\sqrt{N}$ for sufficiently large $n$. -/ @[category research solved, AMS 5 11] theorem green_32.variants.finite_field : ∀ᶠ n in atTop, ∀ A : Finse...