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
254
leanexplore_declaration
leanexplore:383985
leanexplore_sqlite
leanexplore_declarations
/-- The empty set in $\mathbb{F}_2^n$ has a coset hole (using the trivial subspace). -/ @[category test, AMS 5 11] theorem hasCosetHole_empty (n : ℕ) : HasCosetHole (∅ : Finset (Fin n → ZMod 2)) 0 := by exact ⟨⊥, 0, Nat.zero_le _, fun _ => by simp⟩
375
leanexplore_declaration
leanexplore:383986
leanexplore_sqlite
leanexplore_declarations
/-- A set $A$ has a coset hole of size $L$ if there exists a subspace $W$ and a vector $v$ such that the affine space $v + W$ has size at least $L$ and is disjoint from $A$. -/ def HasCosetHole {n : ℕ} (A : Finset (Fin n → ZMod 2)) (L : ℕ) : Prop := ∃ W : Submodule (ZMod 2) (Fin n → ZMod 2), ∃ v : Fin n → ZMod 2, ...
277
leanexplore_declaration
leanexplore:383987
leanexplore_sqlite
leanexplore_declarations
/-- Even what happens in the regime $\omega(p) \sim 10 \log p$ is unclear [Gr24]. -/ @[category research open, AMS 5 11] theorem green_32.variants.log_regime : answer(sorry) ↔ (∀ ω : ℕ → ℝ, ω ~[atTop] (fun p ↦ 10 * Real.log p) → HasLargeGapDilate ω) := by sorry
323
leanexplore_declaration
leanexplore:383988
leanexplore_sqlite
leanexplore_declarations
/-- In the regime $\omega(p) \le c \log p$, this is basically Dirichlet's lower bound for the size of Bohr sets [Gr24]. -/ @[category research solved, AMS 5 11] theorem green_32.variants.dirichlet_regime : ∃ c > 0, ∀ ω : ℕ → ℝ, (∀ᶠ p in atTop, 100 < ω p ∧ ω p ≤ c * Real.log p) → HasLargeGapDilate ω := by so...
268
leanexplore_declaration
leanexplore:383989
leanexplore_sqlite
leanexplore_declarations
/-- In the regime $\omega(p) \sim c p$, this is Szemerédi's theorem [Gr24]. -/ @[category research solved, AMS 5 11] theorem green_32.variants.szemeredi_regime : ∀ c, 0 < c ∧ c < 1 → ∀ ω : ℕ → ℝ, ω ~[atTop] (fun p ↦ c * p) → HasLargeGapDilate ω := by sorry
551
leanexplore_declaration
leanexplore:383990
leanexplore_sqlite
leanexplore_declarations
/-- [Sh20] has used the polynomial method to show that this is true with 100 replaced by 2 [Gr24]. Note: More precisely [Sh20, Theorem 1] implies a gap of at least $\lfloor 2p/|A| - 2 \rfloor$. For a set $A$ of size $\lfloor \sqrt{p} \rfloor$, this guarantees a gap of at least $\lfloor 2\sqrt{p} \rfloor - 2$. -/ @[cat...
363
leanexplore_declaration
leanexplore:383991
leanexplore_sqlite
leanexplore_declarations
/-- [Sh20, Theorem 1] implies a gap of at least $\lfloor 2p/|A| - 2 \rfloor$. -/ @[category research solved, AMS 5 11] theorem green_32.variants.sh20_general : ∀ (p : ℕ), p.Prime → -- Theorem 1 is for any prime p, not just asymptotically ∀ A : Finset (ZMod p), 1 < A.card → ∃ c : (ZMod p)ˣ, HasGap (c • A...
309
leanexplore_declaration
leanexplore:383992
leanexplore_sqlite
leanexplore_declarations
/-- Let $p$ be a prime and let $A \subset \mathbb{Z}/p\mathbb{Z}$ be a set of size $\lfloor \sqrt{p} \rfloor$. Is there a dilate of $A$ containing a gap of length $100\sqrt{p}$? -/ @[category research open, AMS 5 11] theorem green_32 : answer(sorry) ↔ HasLargeGapDilate (fun p ↦ Real.sqrt p) := by sorry
416
leanexplore_declaration
leanexplore:383993
leanexplore_sqlite
leanexplore_declarations
/-- The generalized problem: for a prime $p$ and a set $A \subset \mathbb{Z}/p\mathbb{Z}$ of size $\lfloor \omega(p) \rfloor$, is there a dilate of $A$ containing a gap of length $\lfloor 100p/\omega(p) \rfloor$? -/ def HasLargeGapDilate (ω : ℕ → ℝ) : Prop := ∀ᶠ p in atTop, p.Prime → 100 < ω p ∧ ω p < p ∧ ∀ A...
255
leanexplore_declaration
leanexplore:383994
leanexplore_sqlite
leanexplore_declarations
/-- Concrete: $\{0\}$ in $\mathbb{Z}/5\mathbb{Z}$ has a gap of length 4 starting at 1. -/ @[category test, AMS 5 11] theorem hasGap_concrete : HasGap ({(0 : ZMod 5)} : Finset (ZMod 5)) 4 := by refine ⟨1, fun i hi => ?_⟩ interval_cases i <;> decide
261
leanexplore_declaration
leanexplore:383995
leanexplore_sqlite
leanexplore_declarations
/-- The full set in $\mathbb{Z}/p\mathbb{Z}$ has no gap of positive length. -/ @[category test, AMS 5 11] theorem not_hasGap_univ {p : ℕ} [NeZero p] : ¬ HasGap (Finset.univ : Finset (ZMod p)) 1 := by rintro ⟨x, hx⟩ have := hx 0 (by omega) simp at this
184
leanexplore_declaration
leanexplore:383996
leanexplore_sqlite
leanexplore_declarations
/-- The empty set has a gap of any length. -/ @[category test, AMS 5 11] theorem hasGap_empty {p : ℕ} (L : ℕ) : HasGap (∅ : Finset (ZMod p)) L := by exact ⟨0, fun _ _ => by simp⟩
198
leanexplore_declaration
leanexplore:383997
leanexplore_sqlite
leanexplore_declarations
/-- Any set has a gap of length 0 (vacuously true). -/ @[category test, AMS 5 11] theorem hasGap_zero {p : ℕ} (A : Finset (ZMod p)) : HasGap A 0 := by exact ⟨0, fun _ h => absurd h (by omega)⟩
228
leanexplore_declaration
leanexplore:383998
leanexplore_sqlite
leanexplore_declarations
/-- A set $A$ has a gap of length $L$ if there exists $x$ such that $x, x+1, \dots, x+L-1$ are all not in $A$. -/ def HasGap {p : ℕ} (A : Finset (ZMod p)) (L : ℕ) : Prop := ∃ x : ZMod p, ∀ (i : ℕ), i < L → x + (i : ZMod p) ∉ A
545
leanexplore_declaration
leanexplore:383999
leanexplore_sqlite
leanexplore_declarations
/-- Trivial lower bound: if $A + A = \mathbb{Z}/q\mathbb{Z}$, then $|A|^2 \geq q$, since the sumset $A + A$ has at most $|A|^2$ elements. -/ @[category test, AMS 5 11] theorem green_33.sanity_sq_bound (q : ℕ+) (A : Finset (ZMod q)) (hA : A + A = Finset.univ) : (q : ℕ) ≤ A.card ^ 2 := by calc (q : ℕ) = Fintype.car...
445
leanexplore_declaration
leanexplore:384000
leanexplore_sqlite
leanexplore_declarations
/-- Are there infinitely many $q$ for which there is a set $A \subset \mathbb{Z}/q\mathbb{Z}$, $|A| = (\sqrt{2} + o(1))q^{1/2}$, with $A + A = \mathbb{Z}/q\mathbb{Z}$? [Gr24] -/ @[category research open, AMS 5 11] theorem green_33 : answer(sorry) ↔ ∀ ε : ℝ, 0 < ε → ∃ᶠ q : ℕ+ in atTop, ∃ A : ...
148
leanexplore_declaration
leanexplore:384001
leanexplore_sqlite
leanexplore_declarations
/-- A comparison bound from Young's inequality. -/ @[category undergraduate, AMS 26 28 42] theorem c_inf_lower_young : (c 2) ^ 2 ≤ c ∞ := by sorry
174
leanexplore_declaration
leanexplore:384002
leanexplore_sqlite
leanexplore_declarations
/-- Best-known upper bound for $c(\infty)$ due to Matolcsi and Vinuesa ([MV10]). -/ @[category research solved, AMS 26 28 42] theorem c_inf_upper : c ∞ ≤ 0.7505 := by sorry
179
leanexplore_declaration
leanexplore:384003
leanexplore_sqlite
leanexplore_declarations
/-- Best-known lower bound for $c(\infty)$ due to Cloninger and Steinerberger ([CS17]). -/ @[category research solved, AMS 26 28 42] theorem c_inf_lower : 0.64 ≤ c ∞ := by sorry
225
leanexplore_declaration
leanexplore:384004
leanexplore_sqlite
leanexplore_declarations
/-- Lower bound for $c(2)$ from Green's first paper ([Gr01]); the constant is `sqrt(4/7)` (about 0.7559). -/ @[category research solved, AMS 26 28 42] theorem c_2_lower : ENNReal.ofReal (Real.sqrt (4 / 7)) ≤ c 2 := by sorry
268
leanexplore_declaration
leanexplore:384005
leanexplore_sqlite
leanexplore_declarations
/-- Upper bound for $c(p)$ for $1 < p \le \infty$, improving the best-known value at $p = \infty$. -/ @[category research open, AMS 26 28 42] theorem green_35.upper : let ub : ℝ≥0∞ → ℝ≥0∞ := answer(sorry) (∀ p, 1 < p → c p ≤ ub p) ∧ ub ∞ < 0.7505 := by sorry
322
leanexplore_declaration
leanexplore:384006
leanexplore_sqlite
leanexplore_declarations
/-- Lower bound for $c(p)$ for $1 < p \le \infty$, improving the known value at $p = 2$ or $p = \infty$. -/ @[category research open, AMS 26 28 42] theorem green_35.lower : let lb : ℝ≥0∞ → ℝ≥0∞ := answer(sorry) (∀ p, 1 < p → lb p ≤ c p) ∧ (ENNReal.ofReal (Real.sqrt (4 / 7)) < c 2 ∨ 0.64 < c ∞) := by sor...
177
leanexplore_declaration
leanexplore:384007
leanexplore_sqlite
leanexplore_declarations
/-- The infimum of $\|f \ast f\|_p$ over unit-interval densities. -/ noncomputable def c (p : ℝ≥0∞) : ℝ≥0∞ := sInf { r | ∃ f, IsUnitIntervalDensity f ∧ r = eLpNorm (f ⋆ f) p }
209
leanexplore_declaration
leanexplore:384008
leanexplore_sqlite
leanexplore_declarations
/-- A nonnegative integrable function on $[0,1]$ with total integral $1$. -/ def IsUnitIntervalDensity (f : ℝ → ℝ) : Prop := Integrable f ∧ (∀ x, 0 ≤ f x) ∧ Function.support f ⊆ .Icc (0 : ℝ) 1 ∧ ∫ x, f x = 1
209
leanexplore_declaration
leanexplore:384009
leanexplore_sqlite
leanexplore_declarations
/-- Determine a strict upper bound (little o) for `m(N, k)`. -/ @[category research open, AMS 05 11] theorem green_37_littleO (k : ℕ) : (fun N ↦ (m N k : ℝ)) =o[atTop] (answer(sorry) : ℕ → ℝ) := by sorry
197
leanexplore_declaration
leanexplore:384010
leanexplore_sqlite
leanexplore_declarations
/-- Determine an upper bound (big O) for `m(N, k)`. -/ @[category research open, AMS 05 11] theorem green_37_bigO (k : ℕ) : (fun N ↦ (m N k : ℝ)) =O[atTop] (answer(sorry) : ℕ → ℝ) := by sorry
215
leanexplore_declaration
leanexplore:384011
leanexplore_sqlite
leanexplore_declarations
/-- Determine the asymptotic equivalence class (theta) of `m(N, k)`. -/ @[category research open, AMS 05 11] theorem green_37_theta (k : ℕ) : (fun N ↦ (m N k : ℝ)) =Θ[atTop] (answer(sorry) : ℕ → ℝ) := by sorry
332
leanexplore_declaration
leanexplore:384012
leanexplore_sqlite
leanexplore_declarations
/-- Asymptotic version: determine the asymptotic behavior of `m(N, k)` as `N` grows. The solver should determine what function `f : ℕ → ℝ` eventually equals `(fun N ↦ (m N k : ℝ))`. -/ @[category research open, AMS 05 11] theorem green_37_asymptotic (k : ℕ) : ∀ᶠ N in atTop, (m N k : ℝ) = (answer(sorry) : ℕ → ℝ) N :...
357
leanexplore_declaration
leanexplore:384013
leanexplore_sqlite
leanexplore_declarations
/-- Given a natural number `N`, what is the smallest size of a subset of `ℕ` that contains, for each `d = 1, …, N`, an arithmetic progression of length `k` with common difference `d`. -/ @[category research open, AMS 05 11] theorem green_37 (N k : ℕ) : IsLeast { m | ∃ A : Finset ℕ, A.card = m ∧ IsAPCover (A : Set ℕ...
256
leanexplore_declaration
leanexplore:384014
leanexplore_sqlite
leanexplore_declarations
/-- The minimum size of a subset of `ℕ` that contains, for each `d = 1, …, N`, an arithmetic progression of length `k` with common difference `d`. -/ noncomputable def m (N k : ℕ) : ℕ := sInf { m | ∃ A : Finset ℕ, A.card = m ∧ IsAPCover (A : Set ℕ) N k }
200
leanexplore_declaration
leanexplore:384015
leanexplore_sqlite
leanexplore_declarations
/-- `A` contains an arithmetic progression of length `k` and common difference `d` for every `d ∈ {1, …, N}`. -/ def IsAPCover (A : Set ℕ) (N k : ℕ) : Prop := ∀ d, 1 ≤ d ∧ d ≤ N → Set.ContainsAP A k d
311
leanexplore_declaration
leanexplore:384016
leanexplore_sqlite
leanexplore_declarations
/-- The set of valid cardinalities we take the supremum over is bounded above. -/ @[category test, AMS 05 11] theorem green_38.test_bound_above {n : ℕ} : BddAbove (ValidCardinalities n) := by use 7 ^ n rintro _ ⟨A, _, rfl⟩ calc A.card _ ≤ Fintype.card (𝔽₇ n) := A.card_le_univ _ = _ := by simp
248
leanexplore_declaration
leanexplore:384017
leanexplore_sqlite
leanexplore_declarations
/-- 0 is a valid cardinality, since the empty set vacuously satisfies the condition. -/ @[category test, AMS 05 11] theorem green_38.test_zero_mem_validCardinalities {n : ℕ} : 0 ∈ ValidCardinalities n := by use ∅ simp [IntersectsOnlyAtZero]
323
leanexplore_declaration
leanexplore:384018
leanexplore_sqlite
leanexplore_declarations
/-- The current best upper bound is $|A| \leqslant (C_2 + o(1))^n$ where $C_2 = \frac{7 \cos(\pi/7)}{1 + \cos(\pi/7)} \approx 3.3177$ [La79, Corollary 5]. -/ @[category research solved, AMS 05 11] theorem green_38.variants.best_upper : ∀ ε > 0, ∀ᶠ n in atTop, LargestAdmissibleCardinality n ≤ (C₂ + ε) ^ n := by so...
295
leanexplore_declaration
leanexplore:384019
leanexplore_sqlite
leanexplore_declarations
/-- The current best lower bound is $(C_1 - o(1))^n \leqslant |A|$ where $C_1 = 367^{1/5} \approx 3.2578$ [Po20, Section 9.1]. -/ @[category research solved, AMS 05 11] theorem green_38.variants.best_lower : ∀ ε > 0, ∀ᶠ n in atTop, (C₁ - ε) ^ n ≤ LargestAdmissibleCardinality n := by sorry
251
leanexplore_declaration
leanexplore:384020
leanexplore_sqlite
leanexplore_declarations
/-- Can we improve the best upper bound? -/ @[category research open, AMS 05 11] theorem green_38.upper : let ans := (answer(sorry) : ℕ → ℝ) LargestAdmissibleCardinality ≤ᶠ[atTop] ans ∧ ∃ c < C₂, ans =O[atTop] (fun n ↦ c ^ n) := by sorry
246
leanexplore_declaration
leanexplore:384021
leanexplore_sqlite
leanexplore_declarations
/-- Can we improve the lower bound? -/ @[category research open, AMS 05 11] theorem green_38.lower : let ans := (answer(sorry) : ℕ → ℝ) ans ≤ᶠ[atTop] LargestAdmissibleCardinality ∧ ∃ c > C₁, (fun n ↦ c ^ n) =O[atTop] ans := by sorry
153
leanexplore_declaration
leanexplore:384022
leanexplore_sqlite
leanexplore_declarations
/-- The upper bound constant $C_2 \approx 3.3177$ from [La79]. -/ noncomputable def C₂ : ℝ := (7 * Real.cos (Real.pi / 7)) / (1 + Real.cos (Real.pi / 7))
115
leanexplore_declaration
leanexplore:384023
leanexplore_sqlite
leanexplore_declarations
/-- The lower bound constant $C_1 \approx 3.2578$ from [Po20]. -/ noncomputable def C₁ : ℝ := (367 : ℝ) ^ (5⁻¹ : ℝ)
213
leanexplore_declaration
leanexplore:384024
leanexplore_sqlite
leanexplore_declarations
/-- The largest subset $A \subset \mathbb{F}_7^n$ for which $A - A$ intersects $\{-1, 0, 1\}^n$ only at $0$. -/ noncomputable def LargestAdmissibleCardinality : ℕ → ℝ := fun n ↦ (sSup (ValidCardinalities n) : ℕ)
429
leanexplore_declaration
leanexplore:384025
leanexplore_sqlite
leanexplore_declarations
/-- {0, 2, 4} is a valid independent set in C_7, giving cardinality 3. -/ @[category test, AMS 5] theorem green_38.test_n1_lower : 3 ∈ ValidCardinalities 1 := by refine ⟨{![0], ![2], ![4]}, ?_, by decide⟩ intro a ha simp at ha ⊢ -- a is a difference of elements from {0, 2, 4}, check all cases cases ha ·...
203
leanexplore_declaration
leanexplore:384026
leanexplore_sqlite
leanexplore_declarations
/-- The set of cardinalities of all subsets A where A - A intersects {-1, 0, 1}^n only at 0. -/ def ValidCardinalities (n : ℕ) : Set ℕ := { (A.card) | (A : Finset (𝔽₇ n)) (_ : IntersectsOnlyAtZero A) }
185
leanexplore_declaration
leanexplore:384027
leanexplore_sqlite
leanexplore_declarations
/-- $A - A$ intersects $\{-1, 0, 1\}^n$ only at $0$. -/ def IntersectsOnlyAtZero {n : ℕ} (A : Finset (𝔽₇ n)) : Prop := ∀ a ∈ A - A, (∀ i, a i ∈ ({-1, 0, 1} : Finset (ZMod 7))) → a = 0
77
leanexplore_declaration
leanexplore:384028
leanexplore_sqlite
leanexplore_declarations
/-- The vector space $\mathbb{F}_7^n$. -/ abbrev 𝔽₇ (n : ℕ) := Fin n → ZMod 7
341
leanexplore_declaration
leanexplore:384029
leanexplore_sqlite
leanexplore_declarations
/-- Suppose that $A \subset [0,1]$ is open and has measure greater than $\frac{1}{3}$. Is there a solution to $xy = z$ with $x, y, z \in A$? -/ @[category research open, AMS 11] theorem green_3 : answer(sorry) ↔ ∀ A : Set ℝ, IsOpen A → A ⊆ Icc 0 1 → volume A > 1/3 → ∃ x y z, x ∈ A ∧ y ∈ A ∧ z ∈ A ∧ x ...
486
leanexplore_declaration
leanexplore:384030
leanexplore_sqlite
leanexplore_declarations
/-- In the case of large n, the problem was solved in [On the largest product-free subsets of the alternating groups](https://arxiv.org/pdf/2205.15191). Specifically, this theorem formalizes the statement of theorem 1.1 in the mentioned paper -/ @[category research solved, AMS 20] theorem large_green_4 : ∀ᶠ n in .atTop...
446
leanexplore_declaration
leanexplore:384031
leanexplore_sqlite
leanexplore_declarations
/-- Defines a family of subsets of $A_n$ where each permutation $\pi$ in a subset obeys $\pi(x)$ and $\forall v \in I$, \pi(v)\notin I$ for a fixed $x$ and $I$. It is easy to demonstrate that such a subset is product-free, because for any a,b,c in such a set, $(a*b) (x)=a(b(x))\notin I$ but $c(x) in I$ -/ def extremalF...
232
leanexplore_declaration
leanexplore:384032
leanexplore_sqlite
leanexplore_declarations
/-- What is the largest product-free set in the alternating group $A_n$? -/ @[category research open, AMS 20] theorem green_4 (n : ℕ) : MaximalFor (ProdFree (M := alternatingGroup <| Fin n)) Set.ncard answer(sorry) := by sorry
195
leanexplore_declaration
leanexplore:384033
leanexplore_sqlite
leanexplore_declarations
/-- A set in a monoid is product-free if there are no elements `x, y, z` in the set such that `x * y = z`. -/ def ProdFree {M : Type*} [Monoid M] (S : Set M) : Prop := ∀ x ∈ S, ∀ y ∈ S, x * y ∉ S
656
leanexplore_declaration
leanexplore:384034
leanexplore_sqlite
leanexplore_declarations
/-- For $G = \mathbb{Z}/3\mathbb{Z}$ and the functional $a(0) = -1$, $a(1) = -3$, $a(2) = 3$, does the support function of $\Phi$ at $a$ strictly exceed that of $\Phi'$? Numerical evidence suggests the answer is **yes**: $$\sup_{\varphi \in \Phi'(\mathbb{Z}/3\mathbb{Z})} \operatorname{Re}\langle a, \varphi \rangle \...
535
leanexplore_declaration
leanexplore:384035
leanexplore_sqlite
leanexplore_declarations
/-- Do $\Phi(\mathbb{Z}/3\mathbb{Z})$ and $\Phi'(\mathbb{Z}/3\mathbb{Z})$ coincide? Numerical evidence suggests the answer is **no**: the integer functional $a = (-1, -3, 3)$ separates the two spaces. A branch-and-bound verification over the phase variables shows $\max_{\Phi'} \operatorname{Re}\langle a, \varphi \rang...
188
leanexplore_declaration
leanexplore:384036
leanexplore_sqlite
leanexplore_declarations
/-- The support function of a set `S` with respect to a linear functional `a`: `sup_{φ ∈ S} Re ⟨a, φ⟩`. -/ def supportFn (a : G → ℂ) (S : Set (G → ℂ)) : ℝ := sSup (functional G a '' S)
145
leanexplore_declaration
leanexplore:384037
leanexplore_sqlite
leanexplore_declarations
/-- The linear functional on `G → ℂ` given by `φ ↦ Re ∑ g, a g * φ g`. -/ def functional (a : G → ℂ) (φ : G → ℂ) : ℝ := (∑ g : G, a g * φ g).re
586
leanexplore_declaration
leanexplore:384038
leanexplore_sqlite
leanexplore_declarations
/-- Is it true that for every finite abelian group $G$ the spaces $\Phi(G)$ and $\Phi'(G)$, obtained from kernels $\phi(g) = \mathbb{E}_{x_1 + x_2 + x_3 = g} f_1(x_2, x_3) f_2(x_1, x_3) f_3(x_1, x_2)$ with $\lVert f_i \rVert_\infty \le 1$ (where $f_i : G \times G \to \mathbb{C}$), still coincide when the third ke...
136
leanexplore_declaration
leanexplore:384039
leanexplore_sqlite
leanexplore_declarations
/-- The restricted space `Φ′(G)` of "convex combinations" of kernels from `baseΦ'`. -/ def Φ' : Set (G → ℂ) := convexHull ℝ (baseΦ' G)
382
leanexplore_declaration
leanexplore:384040
leanexplore_sqlite
leanexplore_declarations
/-- The space `Φ(G)` of "convex combinations" of kernels from `baseΦ`. Since `baseΦ G` is balanced (closed under multiplication by unit complex numbers) and contains 0, the absolutely convex hull over ℂ (i.e., the set of $\sum c_i \phi_i$ with $\phi_i \in \text{baseΦ}$ and $\sum |c_i| \le 1$) coincides with the real c...
291
leanexplore_declaration
leanexplore:384041
leanexplore_sqlite
leanexplore_declarations
/-- The generating family of functions for `Φ′(G)`, where the third kernel depends only on `x₁ + x₂`. -/ def baseΦ' : Set (G → ℂ) := {φ | ∃ f₁ f₂ : G × G → ℂ, ∃ h : G → ℂ, (∀ p, ‖f₁ p‖ ≤ 1) ∧ (∀ p, ‖f₂ p‖ ≤ 1) ∧ (∀ x, ‖h x‖ ≤ 1) ∧ φ = tripleKernel G f₁ f₂ (fun p => h (p.1 + p.2))}
269
leanexplore_declaration
leanexplore:384042
leanexplore_sqlite
leanexplore_declarations
/-- The generating family of functions for `Φ(G)`. The functions `fᵢ : G × G → ℂ` are bounded by 1 in sup norm. -/ def baseΦ : Set (G → ℂ) := {φ | ∃ f₁ f₂ f₃ : G × G → ℂ, (∀ p, ‖f₁ p‖ ≤ 1) ∧ (∀ p, ‖f₂ p‖ ≤ 1) ∧ (∀ p, ‖f₃ p‖ ≤ 1) ∧ φ = tripleKernel G f₁ f₂ f₃}
370
leanexplore_declaration
leanexplore:384043
leanexplore_sqlite
leanexplore_declarations
/-- Uniform average over pairs `(x₁, x₂)` in `G × G`, with the third variable determined by the relation `x₁ + x₂ + x₃ = g`. The functions `fᵢ` are complex-valued. -/ def tripleKernel (f₁ f₂ f₃ : G × G → ℂ) : G → ℂ := fun g => let cardG : ℂ := Fintype.card G (cardG ^ 2)⁻¹ * ∑ x₁ : G, ∑ x₂ : G, f₁ (x₂,...
423
leanexplore_declaration
leanexplore:384044
leanexplore_sqlite
leanexplore_declarations
/-- Suppose $A, B ⊆ \{1, \dots, N\}$ both have size at least $N^{0.49}$. Must the sumset $A + B$ contain a composite number? -/ @[category research open, AMS 5 11] theorem green_58 : answer(sorry) ↔ ∀ᶠ (N : ℕ) in Filter.atTop, ∀ᵉ (A ⊆ Finset.Icc 1 N) (B ⊆ Finset.Icc 1 N), (N : ℝ) ^ (0.49 : ℝ) ≤ (A.car...
404
leanexplore_declaration
leanexplore:384045
leanexplore_sqlite
leanexplore_declarations
/-- Is there an absolute constant $c > 0$ such that, whenever $A ⊆ \mathbb{N}$ is a set of squares with $|A| ≥ 2$, the sumset $A + A$ satisfies $|A + A| ≥ |A|^{1 + c}$? -/ @[category research open, AMS 11] theorem green_60 : answer(sorry) ↔ ∃ c > (0 : ℝ), ∀ (A : Finset ℕ), (∀ a ∈ A, IsSquare a) → ...
506
leanexplore_declaration
leanexplore:384046
leanexplore_sqlite
leanexplore_declarations
/-- Suppose that $A + A$ contains the first $n$ squares. Is $|A| \geq n^{1 - o(1)}$? It is known that necessarily $|A| \geq n^{2/3 - o(1)}$, whilst in the other direction there do exist such $A$ with $|A| \ll_C n / \log^C n$ for any $C$. -/ @[category research open, AMS 11] theorem green_61 : answer(sorry) ↔ ...
446
leanexplore_declaration
leanexplore:384047
leanexplore_sqlite
leanexplore_declarations
/-- Let $p$ be a large prime, and let $A$ be the set of all primes less than $p$. Is every $x \in \{1, \ldots, p-1\}$ congruent to some product $a_1 a_2$ where $a_1, a_2 \in A$? -/ @[category research open, AMS 11] theorem green_62 : answer(sorry) ↔ ∀ᶠ p in atTop, p.Prime → let A := (Finset.range p).f...
227
leanexplore_declaration
leanexplore:384048
leanexplore_sqlite
leanexplore_declarations
/-- In [GK2025] Grebennikov and Kwan prove the no-k-in-line conjecture for $k > 10 ^ 37$. -/ @[category research solved, AMS 05 52] theorem no_k_in_line_big {k : ℕ} (N : ℕ) (h : 10 ^ 37 < k) : NoKInLineFor k N := by sorry
201
leanexplore_declaration
leanexplore:384049
leanexplore_sqlite
leanexplore_declarations
/-- For $N \leq 60$, this has been verfied with computers. -/ @[category research solved, AMS 05 52] theorem no_three_in_line_le {N : ℕ} (hN : 3 ≤ N) (hN' : N ≤ 60) : NoKInLineFor 3 N := by sorry
214
leanexplore_declaration
leanexplore:384050
leanexplore_sqlite
leanexplore_declarations
/-- Does the no-three-in-line problem hold when $N$ is big enough? -/ @[category research open, AMS 05 52] theorem green_72.variants.eventually : answer(sorry) ↔ ∀ᶠ N in Filter.atTop, NoKInLineFor 3 N := by sorry
217
leanexplore_declaration
leanexplore:384052
leanexplore_sqlite
leanexplore_declarations
/-- **Green's Open Problem 72 / No-three-in-line problem**: The no-k-in-line conjecture holds for $k = 3$. -/ @[category research open, AMS 05 52] theorem green_72 {N : ℕ} (hN : 3 ≤ N) : NoKInLineFor 3 N := by sorry
364
leanexplore_declaration
leanexplore:384053
leanexplore_sqlite
leanexplore_declarations
/-- The **no-k-in-line problem**: For $N \geq k$ and $k > 1$, the AllowedSetSize in $(k - 1) * N$, i. e. on an $N \times N$ subset, there is a set of $k * N$ points for which no $k$ lie on a line (and not such a set of bigger size). -/ @[category research open, AMS 05 52] theorem NoKInLine {k : ℕ} {N : ℕ} (hk : 1 < k) ...
142
leanexplore_declaration
leanexplore:384054
leanexplore_sqlite
leanexplore_declarations
/-- $N, k$ when the AllowedSetSize of $N$ for $k$ is $k * N$. -/ def NoKInLineFor (k : ℕ) (N : ℕ) : Prop := AllowedSetSize k N = (k - 1) * N
310
leanexplore_declaration
leanexplore:384055
leanexplore_sqlite
leanexplore_declarations
/-- By the pigeon hole principle, the size of a subset of an $N \times N$ grid such that no $k$ points lie on a line is bounded by $\leq (k - 1) * N$ for $N \geq k$. -/ @[category high_school, AMS 05 52] theorem allowedSetSize_le {k : ℕ} {N : ℕ} (h : k ≤ N) : AllowedSetSize k N ≤ (k - 1) * N := by sorry
145
leanexplore_declaration
leanexplore:384056
leanexplore_sqlite
leanexplore_declarations
/-- The maximal size of an allowed set -/ noncomputable def AllowedSetSize (k : ℕ) (N : ℕ) : ℕ := sSup {r | ∃ s, r = s.card ∧ AllowedSet k N s}
60
leanexplore_declaration
leanexplore:384057
leanexplore_sqlite
leanexplore_declarations
not_collinear : ∀ ⦃t : Finset (ℕ × ℕ)⦄, t ⊆ s → t.card = k →
366
leanexplore_declaration
leanexplore:384059
leanexplore_sqlite
leanexplore_declarations
/-- We say a subset of $[N]^2$ is allowed for some $k$ if it contains no $k$ points which lie on a common line. -/ structure AllowedSet (k : ℕ) (N : ℕ) (s : Finset (ℕ × ℕ)) : Prop where is_bounded : ∀ i ∈ s, i.1 < N ∧ i.2 < N not_collinear : ∀ ⦃t : Finset (ℕ × ℕ)⦄, t ⊆ s → t.card = k → Collinear ℝ ({r | ∃ i ∈ s...
281
leanexplore_declaration
leanexplore:384060
leanexplore_sqlite
leanexplore_declarations
/-- Given $n$ points in the unit disc, must there be a triangle of area at most $n^{-2+o(1)}$ determined by them? -/ @[category research open, AMS 5 52] theorem green_77 : answer(sorry) ↔ ∃ (o : ℕ → ℝ), Tendsto o atTop (𝓝 0) ∧ α ≪ fun n ↦ n ^ (-2 + o n) := by sorry
255
leanexplore_declaration
leanexplore:384061
leanexplore_sqlite
leanexplore_declarations
/-- Does Ulam's sequence have positive density? -/ @[category research open, AMS 11 42] theorem green_7.variants.positive_density : answer(sorry) ↔ ∀ a : ℕ → ℕ, Erdos342.IsUlamSequence a → Set.upperDensity (Set.range a) > 0 := by sorry
501
leanexplore_declaration
leanexplore:384062
leanexplore_sqlite
leanexplore_declarations
/-- From [Gr24] "It is quite easy to show using Cauchy-Schwarz that there must be such a rectangle with area $\gg \alpha^2 (\log 1/\alpha)^{-1}$." -/ @[category research solved, AMS 28 52] theorem green_85_loose : ∃ c > 0, ∀ᶠ α in 𝓝[>] 0, ∀ A : Set (ℝ × ℝ), IsOpen A → A ⊆ Icc 0 1 ×ˢ Icc 0 1 → A.Non...
494
leanexplore_declaration
leanexplore:384063
leanexplore_sqlite
leanexplore_declarations
/-- Suppose that $A$ is an open subset of $[0, 1]^2$ with measure $\alpha$. Are there four points in $A$ determining an axis-parallel rectangle with area $\gt c \alpha^2$? -/ @[category research open, AMS 28 52] theorem green_85 : answer(sorry) ↔ ∃ c > 0, ∀ A : Set (ℝ × ℝ), IsOpen A → A ⊆ Icc 0 1 ×ˢ Icc 0 1 →...
296
leanexplore_declaration
leanexplore:384064
leanexplore_sqlite
leanexplore_declarations
/-- Let `A ⊂ R` be a set of positive measure. Does $A$ contain an affine copy of `{1, 1/2, 1/4, . . . }`? -/ @[category research open, AMS 28] theorem green_94 : answer(sorry) ↔ ∀ A : Set ℝ, MeasurableSet A ∧ volume A > 0 → ∃ a b : ℝ, a ≠ 0 ∧ ∀ n : ℕ, a * (1 / 2^n) + b ∈ A := by sorry
515
leanexplore_declaration
leanexplore:384065
leanexplore_sqlite
leanexplore_declarations
/-- Let `A ⊂ R` be a set of positive outer measure. Does $A$ contain an affine copy of `{1, 1/2, 1/4, . . . }`? The answer is "no". -/ @[category research solved, AMS 28, formal_proof using formal_conjectures at "https://github.com/google-deepmind/formal-conjectures/blob/153d79d6c82c76fe1bee860742af800840c974d9/Formal...
304
leanexplore_declaration
leanexplore:384066
leanexplore_sqlite
leanexplore_declarations
/-- Problem 9 (iii): is $r_4(\mathbf{F}_5^n) \ll N^{1-c}$, where $N=5^n$? -/ @[category research open, AMS 5] theorem green_9_iii : answer(sorry) ↔ ∃ c > (0 : ℝ), (fun (n : ℕ) ↦ ((Finset.univ : Finset (Fin n → ZMod 5)).maxAPFreeCard 4 : ℝ)) ≪ fun (n : ℕ) ↦ ((5 : ℝ) ^ n) ^ (1 - c) := by sorry
237
leanexplore_declaration
leanexplore:384067
leanexplore_sqlite
leanexplore_declarations
/-- Problem 9 (ii): is $r_5(N) \ll N(\log N)^{-c}$? -/ @[category research open, AMS 5] theorem green_9_ii : answer(sorry) ↔ ∃ c > (0 : ℝ), (fun (N : ℕ) ↦ (r 5 N : ℝ)) ≪ fun (N : ℕ) ↦ (N : ℝ) * (Real.log N) ^ (-c) := by sorry
227
leanexplore_declaration
leanexplore:384068
leanexplore_sqlite
leanexplore_declarations
/-- Problem 9 (i): is $r_3(N) \ll N(\log N)^{-10}$? Solved in [BlSi20]. -/ @[category research solved, AMS 5] theorem green_9_i : (fun (N : ℕ) ↦ (r 3 N : ℝ)) ≪ fun (N : ℕ) ↦ (N : ℝ) * (Real.log N) ^ (-10 : ℝ) := by sorry
216
leanexplore_declaration
leanexplore:384069
leanexplore_sqlite
leanexplore_declarations
/-- The quantity $r_k(N)$, defined as the size of the largest subset of $\{1, \dots, N\}$ without non-trivial $k$-term arithmetic progressions. -/ noncomputable def r (k N : ℕ) : ℕ := (Finset.Icc 1 N).maxAPFreeCard k
202
leanexplore_declaration
leanexplore:384070
leanexplore_sqlite
leanexplore_declarations
@[category research solved, AMS 12] theorem hilbert_17th_problem_poly {n d : ℕ} (hn : 0 < n) (hd : 0 < d) : Hilbert17thProblemHomogenousPoly n d ↔ n = 1 ∨ n = 2 ∨ d = 1 ∨ n = 3 ∧ d = 2 := by sorry
453
leanexplore_declaration
leanexplore:384071
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 12] theorem Hilbert17thProblemHomogenousPoly_zero_right (n : ℕ) : Hilbert17thProblemHomogenousPoly n 0 := by intro f hf hf₀ rcases eq_or_ne f 0 with (rfl | hf_zero); · exact ⟨0, 0, by simp⟩ have hfd := f.totalDegree_eq_zero_iff_eq_C.1 <| by simpa using hf.totalDegree hf_zero use 1, fun ...
353
leanexplore_declaration
leanexplore:384072
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 12] theorem Hilbert17thProblemHomogenousPoly_zero_left (d : ℕ) : Hilbert17thProblemHomogenousPoly 0 d := by refine fun f hf hf₀ ↦ ⟨1, fun _ ↦ C √(f.coeff 0), ?_⟩ have hfd := hf.totalDegree rw [f.eq_C_of_isEmpty] at hf₀ ⊢ rw [Finset.sum_congr rfl fun _ _ ↦ (map_pow _ _ _).symm, Real.sq_s...
469
leanexplore_declaration
leanexplore:384073
leanexplore_sqlite
leanexplore_declarations
/-- For the polynomial version, Hilbert showed that every nonnegative homogeneous polynomial in $n$ variables of degree $2d$ can be written as a sum of squares of polynomials if and only if - $n = 1$ - $n = 2$ - $d = 1$ - $(n, d) = (3, 2)$. -/ def Hilbert17thProblemHomogenousPoly (n d : ℕ) : Prop := ∀ f : MvPolynomia...
159
leanexplore_declaration
leanexplore:384074
leanexplore_sqlite
leanexplore_declarations
@[category high_school, AMS 12] theorem f_not_sum_of_squares : ¬∃ (n : ℕ) (hn : 0 < n) (S : Fin n → MvPolynomial (Fin 2) ℝ), f = ∑ i, S i ^ 2 := by sorry
571
leanexplore_declaration
leanexplore:384075
leanexplore_sqlite
leanexplore_declarations
@[category high_school, AMS 12] theorem f_nonneg : ∀ x y : ℝ, 0 ≤ f.eval ![x, y] := by intro x y simp only [Nat.succ_eq_add_one, Nat.reduceAdd, f, Fin.isValue, map_add, map_sub, map_mul, map_pow, eval_X, Matrix.cons_val_zero, Matrix.cons_val_one, Matrix.cons_val_fin_one, eval_ofNat, map_one] by_cases hx : x =...
349
leanexplore_declaration
leanexplore:384076
leanexplore_sqlite
leanexplore_declarations
/-- The statement is false in general if we restrict to polynomials. The polynomial (by Motzkin) $f(x, y) = x^4 y^2 + x^2 y^4 - 3 x^2 y^2 + 1$ takes only nonnegative values but cannot be written as a sum of squares of polynomials. -/ noncomputable def f : MvPolynomial (Fin 2) ℝ := X 0 ^ 4 * X 1 ^ 2 + X 0 ^ 2 * X 1 ^ ...
253
leanexplore_declaration
leanexplore:384077
leanexplore_sqlite
leanexplore_declarations
@[category research solved, AMS 12] theorem hilbert_17th_problem {n : ℕ} (hn : 0 < n) (f : MvPolynomial (Fin n) ℝ) (h : ∀ x : Fin n → ℝ, 0 ≤ f.eval x) : ∃ (m : ℕ) (g : Fin m → MvRatFunc (Fin n) ℝ), algebraMap _ _ f = ∑ i, (g i) ^ 2 := by sorry
78
leanexplore_declaration
leanexplore:384078
leanexplore_sqlite
leanexplore_declarations
abbrev MvRatFunc (σ K : Type*) [CommRing K] := FractionRing (MvPolynomial σ K)
310
leanexplore_declaration
leanexplore:384079
leanexplore_sqlite
leanexplore_declarations
/-- **Hilbert's fifth problem** (Gleason–Montgomery–Zippin, 1952): every locally Euclidean topological group is a Lie group. -/ @[category research solved, AMS 22 57] theorem hilbert_fifth_problem [IsTopologicalGroup G] [ChartedSpace (EuclideanSpace ℝ (Fin n)) G] : LieGroup (𝓡 n) ⊤ G := by sorry
469
leanexplore_declaration
leanexplore:384080
leanexplore_sqlite
leanexplore_declarations
/-- Equivalent p-adic formulation: the p-adic integers `ℤ_[p]` cannot act continuously and faithfully on any connected finite-dimensional topological manifold. By the Gleason–Yamabe theorem, this is equivalent to `hilbert_smith_conjecture`. -/ @[category research open, AMS 22 57 58] theorem hilbert_smith_padic_formulat...
514
leanexplore_declaration
leanexplore:384081
leanexplore_sqlite
leanexplore_declarations
/-- Pardon (2013): the Hilbert–Smith conjecture holds for 3-dimensional manifolds. See [arXiv:1112.2324](https://arxiv.org/abs/1112.2324). -/ @[category research solved, AMS 22 57 58] theorem hilbert_smith_conjecture.variants.dimension_three {X : Type*} [TopologicalSpace X] [T2Space X] [ConnectedSpace X] [Chart...
527
leanexplore_declaration
leanexplore:384082
leanexplore_sqlite
leanexplore_declarations
/-- The conjecture holds when `G` acts by isometries on a Riemannian manifold, since `G` embeds as a closed subgroup of the isometry group, which is a Lie group by Myers–Steenrod. -/ @[category research solved, AMS 22 53 57 58] theorem hilbert_smith_conjecture.variants.riemannian [IsTopologicalGroup G] [LocallyComp...
412
leanexplore_declaration
leanexplore:384083
leanexplore_sqlite
leanexplore_declarations
/-- **Hilbert–Smith conjecture**: every locally compact topological group acting continuously and faithfully on a connected finite-dimensional topological manifold is a Lie group. -/ @[category research open, AMS 22 57 58] theorem hilbert_smith_conjecture [IsTopologicalGroup G] [LocallyCompactSpace G] [MulActio...
352
leanexplore_declaration
leanexplore:384084
leanexplore_sqlite
leanexplore_declarations
/-- A group admitting a Lie group structure is locally compact. -/ @[category API, AMS 22] theorem locallyCompact_of_admitsLieGroupStructure (h : AdmitsLieGroupStructure G) : LocallyCompactSpace G := by obtain ⟨k, cs, _⟩ := h haveI := cs haveI := (𝓡 k).locallyCompactSpace exact ChartedSpace.locallyCompactS...
270
leanexplore_declaration
leanexplore:384085
leanexplore_sqlite
leanexplore_declarations
/-- Every Lie group trivially admits a Lie group structure. -/ @[category API, AMS 22] theorem admitsLieGroupStructure_of_lieGroup [ChartedSpace (EuclideanSpace ℝ (Fin n)) G] [LieGroup (𝓡 n) ⊤ G] : AdmitsLieGroupStructure G := ⟨n, inferInstance, inferInstance⟩
338
leanexplore_declaration
leanexplore:384086
leanexplore_sqlite
leanexplore_declarations
/-- A topological group `G` admits a Lie group structure if there exists a finite-dimensional smooth manifold structure on `G` making it a real Lie group. -/ def AdmitsLieGroupStructure (G : Type*) [Group G] [TopologicalSpace G] : Prop := ∃ (k : ℕ) (cs : ChartedSpace (EuclideanSpace ℝ (Fin k)) G), letI := cs ...