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
216
leanexplore_declaration
leanexplore:385542
leanexplore_sqlite
leanexplore_declarations
/-- Indicates whether there exists a sequence of pebbling moves transforming one pebble distribution to another. -/ def ExistsPebblePath {α : Type} (r : α → α → Prop) (a b : α) : Prop := Nonempty (PebblePath r a b)
72
leanexplore_declaration
leanexplore:385543
leanexplore_sqlite
leanexplore_declarations
| step {a b c : α} (p : PebblePath r a b) (h : r b c) : PebblePath r a c
228
leanexplore_declaration
leanexplore:385545
leanexplore_sqlite
leanexplore_declarations
/-- A pebble path is a series of pebbling moves. -/ inductive PebblePath {α : Type} (r : α → α → Prop) : α → α → Type | refl (a : α) : PebblePath r a a | step {a b c : α} (p : PebblePath r a b) (h : r b c) : PebblePath r a c
280
leanexplore_declaration
leanexplore:385546
leanexplore_sqlite
leanexplore_declarations
@[category API, AMS 5] theorem IsPebblingMove.refl (G : SimpleGraph V) (A : PebbleDistribution V) {v w : V} (hv : 2 ≤ A v) (hvw : G.Adj v w) : IsPebblingMove G A fun u => if u = w then A u + 1 else if u = v then A u - 2 else A u := ⟨v, w, hv, hvw, rfl⟩
421
leanexplore_declaration
leanexplore:385547
leanexplore_sqlite
leanexplore_declarations
/-- A pebbling move on a graph consists of choosing a vertex with at least two pebbles, removing two pebbles from it, and adding one to an adjacent vertex (the second removed pebble is discarded from play). -/ def IsPebblingMove (G : SimpleGraph V) (A B : PebbleDistribution V) : Prop := ∃ v w : V, (A v) ≥ 2 ∧ G.Adj...
174
leanexplore_declaration
leanexplore:385548
leanexplore_sqlite
leanexplore_declarations
/-- The number of pebbles of a distribution is the total number summed over all vertices. -/ def NumberOfPebbles [Fintype V] : (PebbleDistribution V) → ℕ := fun D => ∑ v, D v
136
leanexplore_declaration
leanexplore:385549
leanexplore_sqlite
leanexplore_declarations
/-- A Pebble distribution is an assigment of zero or more pebbles to each of the vertices. -/ def PebbleDistribution (V : Type) := V → ℕ
176
leanexplore_declaration
leanexplore:385550
leanexplore_sqlite
leanexplore_declarations
/-- There are infinitely many prime Pell numbers -/ @[category research open, AMS 11] theorem infinite_pellNumber_primes : Infinite {n : ℕ | Prime (pellNumber n)} := by sorry
212
leanexplore_declaration
leanexplore:385551
leanexplore_sqlite
leanexplore_declarations
/-- An explicit formula for Pell numbers, similar to Binet's formula -/ @[category high_school, AMS 11] theorem coe_pellNumber_eq : ∀ n, (pellNumber n : ℝ) = ((1 + √2) ^ n - (1 - √2) ^ n) / (2 * √2) := by sorry
298
leanexplore_declaration
leanexplore:385552
leanexplore_sqlite
leanexplore_declarations
/-- Similar to Fibonacci numbers, there exist numerous identites around Pell numbers, i.e. P_{2n+1} = P_n ^ 2 + P_{n+1} ^ 2 -/ @[category high_school, AMS 11] theorem pellNumber_sq_add_pellNumber_succ_sq (n : ℕ) : pellNumber (2 * n + 1) = pellNumber n ^ 2 + pellNumber (n + 1) ^ 2 := by sorry
75
leanexplore_declaration
leanexplore:385553
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 11] theorem pellNumber_five : pellNumber 5 = 29 := rfl
73
leanexplore_declaration
leanexplore:385554
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 11] theorem pellNumber_two : pellNumber 2 = 2 := rfl
73
leanexplore_declaration
leanexplore:385555
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 11] theorem pellNumber_one : pellNumber 1 = 1 := rfl
74
leanexplore_declaration
leanexplore:385556
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 11] theorem pellNumber_zero : pellNumber 0 = 0 := rfl
196
leanexplore_declaration
leanexplore:385557
leanexplore_sqlite
leanexplore_declarations
/-- The *Pell numbers* $P_n$ are defined by $P_0 = 0$, $P_1 = 1$, $P_{n+2} = 2*P_{n+1} + P_n$ -/ def pellNumber : ℕ → ℕ | 0 => 0 | 1 => 1 | n + 1 + 1 => 2 * pellNumber (n + 1) + pellNumber n
476
leanexplore_declaration
leanexplore:385558
leanexplore_sqlite
leanexplore_declarations
/-- A known result: If an odd perfect number exists, it must be of the form $p^α * m^2$ where $p$ is prime, $p \equiv 1 \pmod{4}$, $\alpha \equiv 1 \pmod{4}$, and $p \nmid m$. *Reference:* Euler's theorem on odd perfect numbers -/ @[category research solved, AMS 11] theorem odd_perfect_number.euler_form (n : ℕ) (hn : ...
436
leanexplore_declaration
leanexplore:385559
leanexplore_sqlite
leanexplore_declarations
/-- A known result: If an odd perfect number exists, it must be greater than $10^{1500}$ and must have at least 101 prime factors (including multiplicities). *Reference:* Pascal Ochem, Michaël Rao (2012). "Odd perfect numbers are greater than 10^1500" -/ @[category research solved, AMS 11] theorem odd_perfect_number.l...
329
leanexplore_declaration
leanexplore:385560
leanexplore_sqlite
leanexplore_declarations
/-- **Odd Perfect Number Conjecture.** The Odd Perfect Number Conjecture states that all perfect numbers are even. *Reference:* [Wikipedia](https://en.wikipedia.org/wiki/Perfect_number#Odd_perfect_numbers) -/ @[category research open, AMS 11] theorem odd_perfect_number_conjecture (n : ℕ) (hn : Perfect n) : Even n := b...
552
leanexplore_declaration
leanexplore:385561
leanexplore_sqlite
leanexplore_declarations
/-- **Infinitely many even perfect numbers conjecture.** Are there infinitely many even perfect numbers? This is equivalent to asking whether there are infinitely many Mersenne primes, since by the Euclid–Euler theorem an even number is perfect if and only if it has the form $2^{p-1}(2^p - 1)$ where $2^p - 1$ is a Mer...
300
leanexplore_declaration
leanexplore:385562
leanexplore_sqlite
leanexplore_declarations
/-- **Infinitely many perfect numbers conjecture.** Are there infinitely many perfect numbers? *Reference:* [Wikipedia](https://en.wikipedia.org/wiki/Perfect_number) -/ @[category research open, AMS 11] theorem infinitely_many_perfect : answer(sorry) ↔ {n : ℕ | Perfect n}.Infinite := by sorry
375
leanexplore_declaration
leanexplore:385563
leanexplore_sqlite
leanexplore_declarations
/-- The Pierce-Birkhoff conjecture holds for `n = 2`. This was proved by Louis Mahé. -/ @[category research solved, AMS 13] theorem pierce_birkhoff_conjecture_dim_two (f : (Fin 2 → ℝ) → ℝ) (hf : IsPiecewiseMvPolynomial f) : ∃ (ι κ : Type) (g : ι → κ → MvPolynomial (Fin 2) ℝ), Finite ι ∧ Finite κ ∧ ∀ x, f ...
351
leanexplore_declaration
leanexplore:385564
leanexplore_sqlite
leanexplore_declarations
/-- The Pierce-Birkhoff conjecture holds for `n = 1`. This was proved by Louis Mahé. -/ @[category research solved, AMS 13] theorem pierce_birkhoff_conjecture_dim_one (f : ℝ → ℝ) (hf : IsPiecewisePolynomial f) : ∃ (ι κ : Type) (g : ι → κ → Polynomial ℝ), Finite ι ∧ Finite κ ∧ ∀ x, f x = ⨆ i, ⨅ j, Polynomi...
490
leanexplore_declaration
leanexplore:385565
leanexplore_sqlite
leanexplore_declarations
/-- The Pierce-Birkhoff conjecture states that for every real piecewise-polynomial function `f : ℝⁿ → ℝ`, there exists a finite set of polynomials `gᵢⱼ ∈ ℝ[x₁, ..., xₙ]` such that `f = supᵢ infⱼ(gᵢⱼ)`. -/ @[category research open, AMS 13] theorem pierce_birkhoff_conjecture {n : ℕ} (f : (Fin n → ℝ) → ℝ) (hf : IsPiec...
488
leanexplore_declaration
leanexplore:385566
leanexplore_sqlite
leanexplore_declarations
/-- A function `f : ℝ → ℝ` is piecewise polynomial if there exists a finite covering of `ℝ` by closed semi-algebraic sets such that the restriction of `f` to each set in the covering is polynomial. -/ def IsPiecewisePolynomial (f : ℝ → ℝ) : Prop := ∃ (ι : Type) (P : ι → Set ℝ) (g : ι → Polynomial ℝ), Finite ι...
513
leanexplore_declaration
leanexplore:385567
leanexplore_sqlite
leanexplore_declarations
/-- A function `f : ℝⁿ → ℝ` is piecewise polynomial if there exists a finite covering of `ℝⁿ` by closed semi-algebraic sets such that the restriction of `f` to each set in the covering is polynomial. -/ def IsPiecewiseMvPolynomial {n : ℕ} (f : (Fin n → ℝ) → ℝ) : Prop := ∃ (ι : Type) (P : ι → Set (Fin n → ℝ)) (g :...
363
leanexplore_declaration
leanexplore:385568
leanexplore_sqlite
leanexplore_declarations
/-- A set is semi-algebraic in `ℝ` if it can be described by a finite boolean combination of polynomial equations and inequalities. -/ def IsSemiAlgebraic₁ (S : Set ℝ) : Prop := ∃ (ι₀ ι₁ : Type) (p₀ : ι₀ → Polynomial ℝ) (p₁ : ι₁ → Polynomial ℝ), Finite ι₀ ∧ Finite ι₁ ∧ S = (⋃ i, {x | Polynomial.eval x (p₀ i) = 0}...
424
leanexplore_declaration
leanexplore:385569
leanexplore_sqlite
leanexplore_declarations
/-- A set is semi-algebraic in `ℝⁿ` if it can be described by a finite union of sets defined by multivariate polynomial equations and inequalities. -/ def IsSemiAlgebraic {n : ℕ} (S : Set (Fin n → ℝ)) : Prop := ∃ (ι₀ ι₁ : Type) (p₀ : ι₀ → MvPolynomial (Fin n) ℝ) (p₁ : ι₁ → MvPolynomial (Fin n) ℝ), Finite ι₀ ∧ Fin...
269
leanexplore_declaration
leanexplore:385570
leanexplore_sqlite
leanexplore_declarations
/-- As stated on Wikipedia/OEIS (A797), the set of exceptions has cardinality $241$. -/ @[category high_school, AMS 11] theorem pollock_tetrahedral.ncard_exceptions : type_of% pollock_tetrahedral.salzer_levine ↔ NotSumOfFourTetrahedral.ncard = 241 := by sorry
312
leanexplore_declaration
leanexplore:385571
leanexplore_sqlite
leanexplore_declarations
/-- Salzer–Levine strengthening (as stated on Wikipedia/OEIS): there are exactly $241$ integers that are not a sum of $4$ tetrahedral numbers, and the largest is $343867$. -/ @[category research open, AMS 11] theorem pollock_tetrahedral.salzer_levine : IsGreatest NotSumOfFourTetrahedral 343867 := by sorry
245
leanexplore_declaration
leanexplore:385572
leanexplore_sqlite
leanexplore_declarations
/-- Pollock's (tetrahedral numbers) conjecture: every integer is the sum of at most $5$ tetrahedral numbers. -/ @[category research open, AMS 11] theorem pollock_tetrahedral (N : ℕ) : ∃ f : Fin 5 → ℕ, N = ∑ i, tetrahedral (f i) := by sorry
179
leanexplore_declaration
leanexplore:385573
leanexplore_sqlite
leanexplore_declarations
/-- The set of natural numbers that are **not** a sum of $4$ tetrahedral numbers. -/ def NotSumOfFourTetrahedral : Set ℕ := {N : ℕ | ∀ f : Fin 4 → ℕ, N ≠ ∑ i, tetrahedral (f i)}
127
leanexplore_declaration
leanexplore:385574
leanexplore_sqlite
leanexplore_declarations
/-- The $n$-th tetrahedral number: $T_n = \frac{n(n+1)(n+2)}{6}$. -/ def tetrahedral (n : ℕ) : ℕ := n * (n + 1) * (n + 2) / 6
293
leanexplore_declaration
leanexplore:385575
leanexplore_sqlite
leanexplore_declarations
/-- Are there infinitely many primes $p$ such that $p - 1$ is a perfect square? In other words: Are there infinitely many primes of the form $n^2 + 1$? -/ @[category research open, AMS 11] theorem infinite_prime_sq_add_one : answer(sorry) ↔ {n : ℕ | Prime (n^2 + 1)}.Infinite := by sorry
192
leanexplore_declaration
leanexplore:385576
leanexplore_sqlite
leanexplore_declarations
/-- **Quasiperfect Numbers Conjecture.** Do quasiperfect numbers exist? -/ @[category research open, AMS 11] theorem exists_quasiperfect : answer(sorry) ↔ ∃ n, Quasiperfect n := by sorry
137
leanexplore_declaration
leanexplore:385577
leanexplore_sqlite
leanexplore_declarations
/-- A number is quasiperfect if the sum of its divisors is equal to $2n + 1$. -/ def Quasiperfect (n : ℕ) : Prop := σ 1 n = 2 * n + 1
95
leanexplore_declaration
leanexplore:385578
leanexplore_sqlite
leanexplore_declarations
@[category research open, AMS 11] theorem lehmer_ramanujan_tau : ∀ n > 0, τ n ≠ 0 := by sorry
139
leanexplore_declaration
leanexplore:385579
leanexplore_sqlite
leanexplore_declarations
@[category research solved, AMS 11] theorem ramanujan_petersson : ∀ p : ℕ, Prime p → abs (τ p) ≤ 2 * (p : ℝ) ^ ((11 : ℝ) / 2) := by sorry
62
leanexplore_declaration
leanexplore:385580
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 11] lemma τ_two : τ 2 = -24 := by sorry
174
leanexplore_declaration
leanexplore:385581
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 11] lemma τ_one : τ 1 = 1 := by obtain ⟨i, hi⟩ := by simpa using ((continuous_constantCoeff ℤ).tendsto _).comp multipliable.hasProd simp [τ, Δ, hi i]
65
leanexplore_declaration
leanexplore:385582
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 11] lemma τ_zero : τ 0 = 0 := by simp [τ, Δ]
125
leanexplore_declaration
leanexplore:385583
leanexplore_sqlite
leanexplore_declarations
@[category API, AMS 11] lemma multipliable : Multipliable fun n : ℕ+ ↦ ((1 - X ^ (n : ℕ)) ^ 24 : PowerSeries ℤ) := by sorry
56
leanexplore_declaration
leanexplore:385584
leanexplore_sqlite
leanexplore_declarations
noncomputable def τ (n : ℕ) : ℤ := PowerSeries.coeff n Δ
78
leanexplore_declaration
leanexplore:385585
leanexplore_sqlite
leanexplore_declarations
noncomputable def Δ : PowerSeries ℤ := X * ∏' (n : ℕ+), (1 - X ^ (n : ℕ)) ^ 24
246
leanexplore_declaration
leanexplore:385586
leanexplore_sqlite
leanexplore_declarations
/-- Upper bound $R(5,5) \le 46$, i.e. every graph on $46$ vertices contains a $5$-clique or an independent set of size $5$. -/ @[category research solved, AMS 5] theorem ramsey_number_five_five_upper_bound : IsGraphRamsey 46 5 5 := by sorry
304
leanexplore_declaration
leanexplore:385587
leanexplore_sqlite
leanexplore_declarations
/-- Lower bound $43 \le R(5,5)$, equivalently: there exists a graph on $42$ vertices with no $5$-clique and no independent set of size $5$. -/ @[category research solved, AMS 5] theorem ramsey_number_five_five_lower_bound : ∃ G : SimpleGraph (Fin 42), G.CliqueFree 5 ∧ (Gᶜ).CliqueFree 5 := by sorry
213
leanexplore_declaration
leanexplore:385588
leanexplore_sqlite
leanexplore_declarations
/-- The open problem: determine the Ramsey number $R(5,5)$. It is known that $43 \le R(5,5) \le 46$. -/ @[category research open, AMS 5] theorem ramsey_number_five_five : R(5, 5) = answer(sorry) := by sorry
51
leanexplore_declaration
leanexplore:385589
leanexplore_sqlite
leanexplore_declarations
notation "R(" k ", " l ")" => graphRamseyNumber k l
202
leanexplore_declaration
leanexplore:385590
leanexplore_sqlite
leanexplore_declarations
/-- The (graph) Ramsey number `R(k,l)` is the least natural number `n` such that `IsGraphRamsey n k l` holds. -/ noncomputable def graphRamseyNumber (k l : ℕ) : ℕ := sInf {n : ℕ | IsGraphRamsey n k l}
348
leanexplore_declaration
leanexplore:385591
leanexplore_sqlite
leanexplore_declarations
/-- Symmetry in the clique / independent set sizes. -/ @[category API, AMS 5] theorem IsGraphRamsey.symm (n k l : ℕ) : IsGraphRamsey n k l ↔ IsGraphRamsey n l k := by constructor <;> intro h G · simpa [IsGraphRamsey, and_comm, and_left_comm, and_assoc] using h (Gᶜ) · simpa [IsGraphRamsey, and_comm, and_left_c...
725
leanexplore_declaration
leanexplore:385592
leanexplore_sqlite
leanexplore_declarations
/-- Monotonicity in the number of vertices. -/ @[category API, AMS 5] theorem IsGraphRamsey.succ (n k l : ℕ) : IsGraphRamsey n k l → IsGraphRamsey (n + 1) k l := by intro h G -- Restrict to the induced subgraph on the first `n` vertices. let H : SimpleGraph (Fin n) := G.comap (Fin.castSuccEmb : Fin n ↪ Fin (n...
359
leanexplore_declaration
leanexplore:385593
leanexplore_sqlite
leanexplore_declarations
/-- `IsGraphRamsey n k l` means that for every simple graph `G` on `n` vertices, either - `G` contains a clique of size `k`, or - the complement graph `Gᶜ` contains a clique of size `l` (equivalently, `G` contains an independent set of size `l`). -/ def IsGraphRamsey (n k l : ℕ) : Prop := ∀ G : SimpleGraph (Fin n),...
275
leanexplore_declaration
leanexplore:385594
leanexplore_sqlite
leanexplore_declarations
/-- Does there exist a point in the plane at rational distance from all four vertices of the unit square? -/ @[category research open, AMS 11 51] theorem rational_distance_problem : answer(sorry) ↔ ∃ P : ℝ² , ∀ i, ¬ Irrational (dist P (UnitSquareCorners i)) := by sorry
81
leanexplore_declaration
leanexplore:385595
leanexplore_sqlite
leanexplore_declarations
def UnitSquareCorners : Fin 4 → ℝ² := ![!₂[0, 0], !₂[1, 0], !₂[1, 1], !₂[0, 1]]
162
leanexplore_declaration
leanexplore:385596
leanexplore_sqlite
leanexplore_declarations
/-- Conjecture: The set of regular primes is infinite. -/ @[category research open, AMS 11] theorem regularprime_conjecture : RegularPrimeConjecture := by sorry
119
leanexplore_declaration
leanexplore:385597
leanexplore_sqlite
leanexplore_declarations
/-- Conjecture: The set of regular primes is infinite. -/ def RegularPrimeConjecture : Prop := regularPrimes.Infinite
162
leanexplore_declaration
leanexplore:385598
leanexplore_sqlite
leanexplore_declarations
/-- The set of irregular primes is infinite. -/ @[category research solved, AMS 11] theorem infinitude_of_irregularprimes : irregularPrimes.Infinite := by sorry
336
leanexplore_declaration
leanexplore:385599
leanexplore_sqlite
leanexplore_declarations
/-- An equivanlent definitions of regualr prime `p` is that it does not divide the numerator of the first `p-3` Bernoulli numbers. Not in Mathlib. -/ @[category graduate, AMS 11] theorem isRegularPrime_iff_Bernoulli (p : ℕ) [Fact p.Prime] : IsRegularPrime p ↔ ∀ k ∈ Finset.Icc 2 (p - 3), ¬ (p : ℤ) ∣ (bernoulli' k).n...
119
leanexplore_declaration
leanexplore:385600
leanexplore_sqlite
leanexplore_declarations
@[category undergraduate, AMS 11] theorem not_isRegularPrime_37_second : ¬ @IsRegularPrime 37 (by decide) := by sorry
139
leanexplore_declaration
leanexplore:385601
leanexplore_sqlite
leanexplore_declarations
@[category undergraduate, AMS 11] lemma small_regular_primes : { 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31 } ⊆ regularPrimes := by sorry
121
leanexplore_declaration
leanexplore:385602
leanexplore_sqlite
leanexplore_declarations
/-- The set of irregular primes. -/ def irregularPrimes : Set ℕ := { p | ∃ (hp : Nat.Prime p), ¬ @IsRegularPrime p ⟨hp⟩ }
115
leanexplore_declaration
leanexplore:385603
leanexplore_sqlite
leanexplore_declarations
/-- The set of regular primes. -/ def regularPrimes : Set ℕ := { p | ∃ (hp : Nat.Prime p), @IsRegularPrime p ⟨hp⟩ }
118
leanexplore_declaration
leanexplore:385604
leanexplore_sqlite
leanexplore_declarations
@[category undergraduate, AMS 11] theorem not_isRegularPrime_37_first : ¬ @IsRegularPrime 37 (by decide) := by sorry
255
leanexplore_declaration
leanexplore:385605
leanexplore_sqlite
leanexplore_declarations
/-- A natural prime number `p` is regular if `p` is coprime with the order of the class group of the `p`-th cyclotomic field. -/ noncomputable def IsRegularPrime [Fact p.Prime] : Prop := p.Coprime <| Fintype.card <| ClassGroup (𝓞 <| CyclotomicField p ℚ)
390
leanexplore_declaration
leanexplore:385606
leanexplore_sqlite
leanexplore_declarations
/-- At least one of $\zeta(5), \zeta(7), \zeta(9)$ or $\zeta(11)$ is irrational. [Zu01] W. Zudilin (2001). _One of the numbers ζ(5), ζ(7), ζ(9), ζ(11) is irrational_. Russ. Math. Surv. 56 (4): 774–776. -/ @[category research solved, AMS 11 33] theorem exists_irrational_of_five_seven_nine_eleven : {5, 7, 9, 11} ∩ ...
446
leanexplore_declaration
leanexplore:385607
leanexplore_sqlite
leanexplore_declarations
/-- There are infinitely many $\zeta(2n + 1)$, $n \in \mathbb{N}$, that are irrational. [Ri00] Rivoal, T. (2000). _La fonction zeta de Riemann prend une infinité de valeurs irrationnelles aux entiers impairs_. Comptes Rendus de l'Académie des Sciences, Série I. 331 (4): 267–270. -/ @[category research solved, AMS 11 3...
232
leanexplore_declaration
leanexplore:385608
leanexplore_sqlite
leanexplore_declarations
/-- $\zeta(3)$ is irrational. [Ap79] Apéry, R. (1979). _Irrationalité de ζ(2) et ζ(3)_. Astérisque. 61: 11–13. -/ @[category research solved, AMS 11 33] theorem irrational_three : ∃ x, Irrational x ∧ riemannZeta 3 = x := by sorry
215
leanexplore_declaration
leanexplore:385609
leanexplore_sqlite
leanexplore_declarations
/-- $\zeta(2n + 1)$ is irrational for any $n\in\mathbb{N}^{+}$. -/ @[category research open, AMS 11 33] theorem irrational_odd (n : ℕ) (hn : 0 < n) : ∃ x, Irrational x ∧ riemannZeta (2 * n + 1) = x := by sorry
151
leanexplore_declaration
leanexplore:385610
leanexplore_sqlite
leanexplore_declarations
/-- $\zeta(11)$ is irrational. -/ @[category research open, AMS 11 33] theorem irrational_eleven : ∃ x, Irrational x ∧ riemannZeta 11 = x := by sorry
147
leanexplore_declaration
leanexplore:385611
leanexplore_sqlite
leanexplore_declarations
/-- $\zeta(9)$ is irrational. -/ @[category research open, AMS 11 33] theorem irrational_nine : ∃ x, Irrational x ∧ riemannZeta 9 = x := by sorry
148
leanexplore_declaration
leanexplore:385612
leanexplore_sqlite
leanexplore_declarations
/-- $\zeta(7)$ is irrational. -/ @[category research open, AMS 11 33] theorem irrational_seven : ∃ x, Irrational x ∧ riemannZeta 7 = x := by sorry
147
leanexplore_declaration
leanexplore:385613
leanexplore_sqlite
leanexplore_declarations
/-- $\zeta(5)$ is irrational. -/ @[category research open, AMS 11 33] theorem irrational_five : ∃ x, Irrational x ∧ riemannZeta 5 = x := by sorry
535
leanexplore_declaration
leanexplore:385614
leanexplore_sqlite
leanexplore_declarations
/-- Given any set of $n$ complex numbers $\{z_1, ..., z_n\}$ that are linearly independent over $\mathbb{Q}$, the field extension $\mathbb{Q}(z_1, ..., z_n, e^{z_1}, ..., e^{z_n})$ has transcendence degree at least $n$ over $\mathbb{Q}$. -/ @[category research open, AMS 11 33] theorem schanuel_conjecture (n : ℕ) (z : F...
456
leanexplore_declaration
leanexplore:385615
leanexplore_sqlite
leanexplore_declarations
/-- **Schinzel conjecture (H hypothesis)** If a finite set of polynomials $f_i$ satisfies both Schinzel and Bunyakovsky conditions, there exist infinitely many natural numbers $n$ such that $f_i(n)$ are primes for all $i$. -/ @[category research open, AMS 11] theorem schinzel_conjecture (fs : Finset ℤ[X]) (hfs : ∀ f ∈ ...
435
leanexplore_declaration
leanexplore:385616
leanexplore_sqlite
leanexplore_declarations
/-- Selfridge conjectured that the number of prime factors of the `n`-th Fermat number does not grow monotonically in $n$. A sufficient condition for this conjecture to hold is that there exists a Fermat prime larger than 65537. -/ @[category research solved, AMS 11] theorem selfridge_seq_conjecture.variants.sufficien...
233
leanexplore_declaration
leanexplore:385617
leanexplore_sqlite
leanexplore_declarations
/-- Selfridge conjectured that the number of prime factors of the `n`-th Fermat number does not grow monotonically in $n$. -/ @[category research open, AMS 11] theorem selfridge_seq_conjecture : ¬ Monotone fermatFactors := by sorry
195
leanexplore_declaration
leanexplore:385618
leanexplore_sqlite
leanexplore_declarations
/-- **OEIS A46052** The number of distinct prime factors of nth Fermat number. Known terms: 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 4, 5 -/ def fermatFactors (n : ℕ) : ℕ := n.fermatNumber.primeFactors.card
485
leanexplore_declaration
leanexplore:385619
leanexplore_sqlite
leanexplore_declarations
/-- Selfridge's test variant: Let $p$ be an odd number, with $p \equiv \pm 1 \pmod{5}$, $2^{p-1} \equiv 1 \pmod{p}$ and $F_{p-1} \equiv 0 \pmod{p}$, then $p$ is a prime number. The number $30889$ is a conterexample to this test satisfying $30889 ≡ - 1 \mod 5$ -/ @[category high_school, AMS 11] theorem selfridge_conjec...
477
leanexplore_declaration
leanexplore:385620
leanexplore_sqlite
leanexplore_declarations
/-- Selfridge's test variant: Let $p$ be an odd number, with $p \equiv \pm 1 \pmod{5}$, $2^{p-1} \equiv 1 \pmod{p}$ and $F_{p-1} \equiv 0 \pmod{p}$, then $p$ is a prime number. The number $6601$ is a conterexample to this test satisfying $6601 ≡ 1 \mod 5$ -/ @[category high_school, AMS 11] theorem selfridge_conjecture...
420
leanexplore_declaration
leanexplore:385621
leanexplore_sqlite
leanexplore_declarations
/-- Selfridge's test variant: Let $p$ be an odd number, with $p \equiv \pm 1 \pmod{5}$, $2^{p-1} \equiv 1 \pmod{p}$ and $F_{p-1} \equiv 0 \pmod{p}$, then $p$ is a prime number. This test does not work. -/ @[category undergraduate, AMS 11] theorem selfridge_conjecture.variants.exist_pseudo_counterexample : ∃ n : ℕ,...
307
leanexplore_declaration
leanexplore:385622
leanexplore_sqlite
leanexplore_declarations
/-- **PSW conjecture** (Selfridge's test) Let $p$ be an odd number, with $p \equiv \pm 2 \pmod{5}$, $2^{p-1} \equiv 1 \pmod{p}$ and $F_{p+1} \equiv 0 \pmod{p}$, then $p$ is a prime number. -/ @[category research open, AMS 11] theorem selfridge_conjecture (p : ℕ) (hp : IsSelfridge p) : p.Prime := by sorry
469
leanexplore_declaration
leanexplore:385627
leanexplore_sqlite
leanexplore_declarations
@[mk_iff] structure IsPseudoSelfridge (p : ℕ) where is_odd : Odd p mod_5 : p ≡ 1 [MOD 5] ∨ p ≡ 4 [MOD 5] pow_2 : 2^(p-1) ≡ 1 [MOD p] fib : (p-1).fib ≡ 0 [MOD p] /-- **PSW conjecture** (Selfridge's test) Let $p$ be an odd number, with $p \equiv \pm 2 \pmod{5}$, $2^{p-1} \equiv 1 \pmod{p}$ and $F_{p+1} \equiv 0 ...
485
leanexplore_declaration
leanexplore:385628
leanexplore_sqlite
leanexplore_declarations
/-- A number `p` satisfies the *Pseudo Selfridge condition* if 1. `p` is odd, 2. `p ≡ ± 1 (mod 5)`, 3. `2^(p-1) ≡ 1 (mod p)` 4. `(p-1).fib ≡ 0 (mod p)` This is a variant of the condition that is tested in the PSW conjecture, and appears in the wiki page mentioned above. Note: this is non-standard terminology. -/ @[m...
950
leanexplore_declaration
leanexplore:385633
leanexplore_sqlite
leanexplore_declarations
@[mk_iff] structure IsSelfridge (p : ℕ) where is_odd : Odd p mod_5 : p ≡ 2 [MOD 5] ∨ p ≡ 3 [MOD 5] pow_2 : 2^(p-1) ≡ 1 [MOD p] fib : (p+1).fib ≡ 0 [MOD p] /-- A number `p` satisfies the *Pseudo Selfridge condition* if 1. `p` is odd, 2. `p ≡ ± 1 (mod 5)`, 3. `2^(p-1) ≡ 1 (mod p)` 4. `(p-1).fib ≡ 0 (mod p)` Th...
412
leanexplore_declaration
leanexplore:385634
leanexplore_sqlite
leanexplore_declarations
/-- A number `p` satisfies the *Selfridge condition* if 1. `p` is odd, 2. `p ≡ ± 2 (mod 5)`, 3. `2^(p-1) ≡ 1 (mod p)` 4. `(p+1).fib ≡ 0 (mod p)` This is the condition that is tested in the PSW conjecture. Note: this is non-standard terminology. -/ @[mk_iff] structure IsSelfridge (p : ℕ) where is_odd : Odd p mod_5...
536
leanexplore_declaration
leanexplore:385635
leanexplore_sqlite
leanexplore_declarations
/-- **Sendov's conjecture** states that for a polynomial $$f(z)=(z-r_{1})\cdots (z-r_{n}),\qquad (n\geq 2)$$ with all roots $r_1, ..., r_n$ inside the closed unit disk $|z| ≤ 1$, each of the $n$ roots is at a distance no more than $1$ from at least one critical point. It has been shown that Sendov's conjecture holds f...
524
leanexplore_declaration
leanexplore:385636
leanexplore_sqlite
leanexplore_declarations
/-- **Sendov's conjecture** states that for a polynomial $$f(z)=(z-r_{1})\cdots (z-r_{n}),\qquad (n\geq 2)$$ with all roots $r_1, ..., r_n$ inside the closed unit disk $|z| ≤ 1$, each of the $n$ roots is at a distance no more than $1$ from at least one critical point. It has been shown that Sendov's conjecture holds w...
402
leanexplore_declaration
leanexplore:385637
leanexplore_sqlite
leanexplore_declarations
/-- **Sendov's conjecture** states that for a polynomial $$f(z)=(z-r_{1})\cdots (z-r_{n}),\qquad (n\geq 2)$$ with all roots $r_1, ..., r_n$ inside the closed unit disk $|z| ≤ 1$, each of the $n$ roots is at a distance no more than $1$ from at least one critical point. -/ @[category research open, AMS 12 30 52] theorem ...
284
leanexplore_declaration
leanexplore:385638
leanexplore_sqlite
leanexplore_declarations
/-- `SatisfiesSendovConjecture n` states that Sendov's conjecture is true for every polynomial of degree `n`. -/ def Nat.SatisfiesSendovConjecture (n : ℕ) : Prop := ∀ (f : ℂ[X]), f.IsSendov → f.natDegree = n → ∀ z, z ∈ f.rootSet ℂ → Metric.infDist z (f.derivative.rootSet ℂ) ≤ 1
303
leanexplore_declaration
leanexplore:385639
leanexplore_sqlite
leanexplore_declarations
/-- The predicate that a polynomial satisfies the hypotheses of Sendov's conjecture. `f.IsSendov` holds if `f` has degree at least 2 and all roots of `f` lie in the unit disc of the complex plane. -/ def Polynomial.IsSendov (f : ℂ[X]) : Prop := 2 ≤ f.natDegree ∧ (f.rootSet ℂ ⊆ Metric.closedBall 0 1)
565
leanexplore_declaration
leanexplore:385640
leanexplore_sqlite
leanexplore_declarations
/-- **The extended Sierpiński problem.** Is 271129 the second-smallest Sierpiński number? Even if 78557 is confirmed as the smallest Sierpiński number, there could exist a composite Sierpiński number $k$ with $78557 < k < 271129$. We formalize "second-smallest" as: the least Sierpiński number $k$ such that there exist...
352
leanexplore_declaration
leanexplore:385641
leanexplore_sqlite
leanexplore_declarations
/-- **The prime Sierpiński problem.** Is 271129 the smallest prime Sierpiński number? In 1976, Nathan Mendelsohn determined that the second provable Sierpiński number is the prime $k = 271129$. -/ @[category research open, AMS 11] theorem prime_sierpinski_problem : answer(sorry) ↔ IsLeast {k | k.IsSierpinskiNumber...
495
leanexplore_declaration
leanexplore:385642
leanexplore_sqlite
leanexplore_declarations
/-- **The Sierpiński problem (Selfridge's conjecture).** Is 78557 the smallest Sierpiński number? Selfridge conjectured that 78557 is the smallest Sierpiński number. He proved in 1962 that 78557 is indeed a Sierpiński number by showing that all numbers of the form $78557 \cdot 2^n + 1$ have a factor in the covering se...
297
leanexplore_declaration
leanexplore:385643
leanexplore_sqlite
leanexplore_declarations
/-- Selfridge proved in 1962 that 78557 is a Sierpiński number by showing that all numbers of the form $78557 \cdot 2^n + 1$ have a factor in the covering set $\{3, 5, 7, 13, 19, 37, 73\}$. -/ @[category research solved, AMS 11] theorem selfridge_78557 : Nat.IsSierpinskiNumber 78557 := by sorry
170
leanexplore_declaration
leanexplore:385644
leanexplore_sqlite
leanexplore_declarations
@[category research open, AMS 11] theorem singmaster: ∃ (C : ℕ), ∀ (t : ℕ), t > 1 → (Singmaster.solutions t).Finite ∧ (Singmaster.solutions t).ncard ≤ C := by sorry
232
leanexplore_declaration
leanexplore:385645
leanexplore_sqlite
leanexplore_declarations
/-- The set of pairs (n, k) representing the solutions to the equation `Nat.choose n k = t` for a given `t`, under the constraint `1 ≤ k < n`. -/ def solutions (t : ℕ) : Set (ℕ × ℕ) := {(n, k) | 1 ≤ k ∧ k < n ∧ Nat.choose n k = t}
334
leanexplore_declaration
leanexplore:385646
leanexplore_sqlite
leanexplore_declarations
/-- An upper bound of the maximal length of the longest snake in a box is given by $$ 1 + 2^{n-1}\frac{6n}{6n + \frac{1}{6\sqrt{6}}n^{\frac 1 2} - 7}. $$ -/ @[category research solved, AMS 5] theorem snake_upper_bound (n : ℕ) : LongestSnakeInTheBox n ≤ (1 : ℝ) + 2 ^ (n - 1) * (6 * n) / (6 * n + (1 / (6 * √6) * √n))...
114
leanexplore_declaration
leanexplore:385647
leanexplore_sqlite
leanexplore_declarations
@[category research solved, AMS 5] theorem snake_dim_nine_lower_bound : 190 ≤ LongestSnakeInTheBox 9 := by sorry
110
leanexplore_declaration
leanexplore:385648
leanexplore_sqlite
leanexplore_declarations
@[category research open, AMS 5] theorem snake_dim_nine : LongestSnakeInTheBox 9 = answer(sorry) := by sorry
154
leanexplore_declaration
leanexplore:385649
leanexplore_sqlite
leanexplore_declarations
@[category research solved, AMS 5] theorem snake_small_dimensions : map LongestSnakeInTheBox (range 9) = [0, 1, 2, 4, 7, 13, 26, 50, 98] := by sorry
641
leanexplore_declaration
leanexplore:385650
leanexplore_sqlite
leanexplore_declarations
/-- The longest snake in the $0$-dimensional cube, i.e. the cube consisting of one point, is zero, since there only is one induced path and it is of length zero. -/ @[category test, AMS 5] theorem snake_zero_zero : LongestSnakeInTheBox 0 = 0 := by simp_rw [LongestSnakeInTheBox, LongestSnakeInGraph, IsSnakeInGraphOfLe...