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 |
|---|---|---|---|---|---|
413 | leanexplore_declaration | leanexplore:385008 | leanexplore_sqlite | leanexplore_declarations | /--
For every positive real number ε, there exist only finitely many triples `(a, b, c)` of coprime positive integers with `a + b = c` such that `q(a, b, c) > 1 + ε`.
-/
@[category research open, AMS 11]
theorem abc.variants.quality (ε : ℝ) (hε : 0 < ε) :
{(a, b, c) : ℕ × ℕ × ℕ | 0 < a ∧ 0 < b ∧ 0 < c ∧ ({a, b, c} ... |
443 | leanexplore_declaration | leanexplore:385009 | leanexplore_sqlite | leanexplore_declarations | /--
For every positive real number ε, there exists a constant `K_ε` such that for all triples (a, b, c) of coprime positive integers, with a + b = c we have `c < K_ε rad(abc)^(1+ε)`.
-/
@[category research open, AMS 11]
theorem abc.variants.lt_constant_mul (ε : ℝ) (hε : 0 < ε) : ∃ K,
∀ (a b c : ℕ), 0 < a → 0 < b → ... |
414 | leanexplore_declaration | leanexplore:385010 | leanexplore_sqlite | leanexplore_declarations | /--
For every positive real number `ε`, there exist only finitely many triples `(a, b, c)` of coprime positive integers, with `a + b = c`, such that `c > rad(abc)^(1+ε)`
-/
@[category research open, AMS 11]
theorem abc (ε : ℝ) (hε : 0 < ε) :
{(a, b, c) : ℕ × ℕ × ℕ | 0 < a ∧ 0 < b ∧ 0 < c ∧ ({a, b, c} : Set ℕ).Pairw... |
196 | leanexplore_declaration | leanexplore:385011 | leanexplore_sqlite | leanexplore_declarations | /--
Quality `q(a, b, c)` of the triple `(a, b, c)` is defined as `q(a,b,c) = log (c) / log (rad(abc))`.
-/
noncomputable def quality (a b c : ℕ) : ℝ := (c : ℝ).log / (radical <| a * b * c : ℝ).log |
285 | leanexplore_declaration | leanexplore:385012 | leanexplore_sqlite | leanexplore_declarations | @[category test, AMS 11]
theorem radical_12 : radical 12 = 6 := by
rw [radical, show 12 = 2^2 * 3 by rfl, Nat.primeFactors_mul (by norm_num)
(by norm_num), Nat.primeFactors_pow _ (by norm_num),
Nat.Prime.primeFactors (by norm_num), Nat.Prime.primeFactors (by norm_num)]
rfl |
147 | leanexplore_declaration | leanexplore:385013 | leanexplore_sqlite | leanexplore_declarations | @[category test, AMS 11]
theorem radical_17 : radical 17 = 17 := by
rw [radical, Nat.Prime.primeFactors (by norm_num), Finset.prod_singleton, id] |
219 | leanexplore_declaration | leanexplore:385014 | leanexplore_sqlite | leanexplore_declarations | @[category test, AMS 11]
theorem radical_16 : radical 16 = 2 := by
have : Nat.primeFactors 16 = {2} := by
rw [show 16 = 2 ^ 4 by decide, Nat.primeFactors_pow]
· norm_num
· decide
norm_num [radical, this] |
136 | leanexplore_declaration | leanexplore:385015 | leanexplore_sqlite | leanexplore_declarations | /--
The radical of `n` denoted is the product of the distinct prime factors of `n`.
-/
def radical (n : ℕ) : ℕ := n.primeFactors.prod id |
470 | leanexplore_declaration | leanexplore:385016 | leanexplore_sqlite | leanexplore_declarations | /--
Let `G(X)` denote the number of exceptions `n ≤ X` to Giuga’s conjecture.
Then for `X` larger than an absolute constant which can be made
explicit, `G(X) ≪ X^{1/2} log X`.
Ref: Vicentiu Tipu, _A Note on Giuga’s Conjecture_
-/
@[category research solved, AMS 11]
theorem agoh_giuga.variants.isStrongGiuga_growth
(... |
324 | leanexplore_declaration | leanexplore:385017 | leanexplore_sqlite | leanexplore_declarations | /--
Giuga showed that a Giuga number has at least 9 prime factors.
Ref: G. Giuga, _Su una presumibile proprieta caratteristica dei numeri primi_
-/
@[category research solved, AMS 11]
theorem agoh_giuga.variants.le_primeFactors_card_of_isStrongGiuga
(a : ℕ) (ha : IsStrongGiuga a) : 9 ≤ a.primeFactors.card := by
s... |
221 | leanexplore_declaration | leanexplore:385018 | leanexplore_sqlite | leanexplore_declarations | /--
Every strong Giuga number is a Carmichael number.
-/
@[category research solved, AMS 11]
theorem agoh_giuga.variants.isStrongGiuga_implies_isCarmichael
(a : ℕ) (ha : IsStrongGiuga a) : IsCarmichael a := by
sorry |
446 | leanexplore_declaration | leanexplore:385019 | leanexplore_sqlite | leanexplore_declarations | /--
Giuga showed that a number `n` is strong Giuga if and only if it is
Carmichael and `∑_{p|n} 1/p - 1/n ∈ ℕ` (i.e., if and only if it is Carmichael
and weak Giuga).
Ref: G. Giuga, _Su una presumibile proprieta caratteristica dei numeri primi_
-/
@[category research solved, AMS 11]
theorem isStrongGiuga_iff {a : ℕ} (h... |
2,524 | leanexplore_declaration | leanexplore:385020 | leanexplore_sqlite | leanexplore_declarations | /-- A composite number `a` is Carmichael if and only if it is squarefree
and, for all prime `p` dividing `a`, we have `p - 1 ∣ a - 1`. -/
@[category undergraduate, AMS 11]
theorem korselts_criterion (a : ℕ) (ha₁ : a.Composite) :
IsCarmichael a ↔ Squarefree a ∧
∀ p, p.Prime → p ∣ a → (p - 1 : ℕ) ∣ (a - 1 : ℕ) ... |
696 | leanexplore_declaration | leanexplore:385021 | leanexplore_sqlite | leanexplore_declarations | /-- A composite Carmichael number is squarefree. -/
@[category undergraduate, AMS 11]
theorem squarefree_of_isCarmichael {a : ℕ} (ha₁ : a.Composite) (ha₂ : IsCarmichael a) :
Squarefree a := by
simp_all [Nat.Composite, a.squarefree_iff_prime_squarefree, IsCarmichael, Nat.FermatPsp, Nat.ProbablePrime]
rintro p hp... |
180 | leanexplore_declaration | leanexplore:385022 | leanexplore_sqlite | leanexplore_declarations | /--
A Carmichael number is a composite number `n` such that for all `b ≥ 1`,
we have `b^n ≡ b (mod n)`.
-/
def IsCarmichael (n : ℕ) : Prop :=
∀ b ≥ 1, n.Coprime b → n.FermatPsp b |
315 | leanexplore_declaration | leanexplore:385023 | leanexplore_sqlite | leanexplore_declarations | /--
A composite number $n$ is weak Giuga if and only if
$$
\sum_{p\mid n} \frac{1}{p} - \frac{1}{n} \in\mathbb{N}.
$$
-/
@[category research solved, AMS 11]
theorem isWeakGiuga_iff_sum_primeFactors {n : ℕ} (hn : n.Composite) :
IsWeakGiuga n ↔ ∃ m : ℕ, ∑ p ∈ n.primeFactors, (1 / p : ℚ) - 1 / n = m := by
sorry |
291 | leanexplore_declaration | leanexplore:385024 | leanexplore_sqlite | leanexplore_declarations | /--
A composite number $n$ is weak Giuga if and only if $p \mid (\frac{n}{p} - 1)$ for all
prime divisors $p$ of $n$.
-/
@[category research solved, AMS 11]
theorem isWeakGiuga_iff_prime_dvd {n : ℕ} (hn : n.Composite) :
IsWeakGiuga n ↔ ∀ p ∈ n.primeFactors, p ∣ (n / p - 1) := by
sorry |
211 | leanexplore_declaration | leanexplore:385025 | leanexplore_sqlite | leanexplore_declarations | /--
A (strong) Giuga number is a composite number $n$ such that
$$\sum_{i=1}^{n - 1}i^{n - 1} \equiv -1\pmod{n}$$-/
def IsStrongGiuga (n : ℕ) : Prop :=
n.Composite ∧ n ∣ 1 + ∑ i ∈ Finset.Ioo 0 n, i ^ (n - 1) |
210 | leanexplore_declaration | leanexplore:385026 | leanexplore_sqlite | leanexplore_declarations | /--
A (weak) Giuga number is a composite number $n$ such that
$$\sum_{i=1}^{n - 1}i^{\varphi(n)} \equiv -1\pmod{n}$$.
-/
def IsWeakGiuga (n : ℕ) : Prop :=
n.Composite ∧ n ∣ 1 + ∑ i ∈ Finset.Ioo 0 n, i ^ φ n |
181 | leanexplore_declaration | leanexplore:385027 | leanexplore_sqlite | leanexplore_declarations | /-- The two statements of the conjecture are equivalent. -/
@[category research solved, AMS 11]
theorem agoh_giuga.variants.equivalence : AgohGiugaCongr ↔ AgohGiugaSum := by
sorry |
154 | leanexplore_declaration | leanexplore:385028 | leanexplore_sqlite | leanexplore_declarations | /-- The **Agoh-Giuga Conjecture**, Giuga's formulation -/
@[category research open, AMS 11]
theorem agoh_giuga.variants.giuga : AgohGiugaSum := by
sorry |
140 | leanexplore_declaration | leanexplore:385029 | leanexplore_sqlite | leanexplore_declarations | /-- The **Agoh-Giuga Conjecture**, Agoh's formulation -/
@[category research open, AMS 11]
theorem agoh_giuga : AgohGiugaCongr := by
sorry |
258 | leanexplore_declaration | leanexplore:385030 | leanexplore_sqlite | leanexplore_declarations | /--
The **Agoh-Giuga Conjecture**, Giuga's formulation.
An integer `p ≥ 2` is prime if and only if it satifies the congruence
`∑_{i=1}^{p-1} i^{p-1} ≡ -1 [MOD p]`.
-/
def AgohGiugaSum : Prop := ∀ p ≥ 2, p.Prime ↔
p ∣ 1 + ∑ i ∈ Finset.Ioo 0 p, i^(p - 1 : ℕ) |
254 | leanexplore_declaration | leanexplore:385031 | leanexplore_sqlite | leanexplore_declarations | /--
The **Agoh-Giuga Conjecture**, Agoh's formulation.
An integer `p ≥ 2` is prime if and only if we have
`p*B_{p-1} ≡ -1 [MOD p]`
-/
def AgohGiugaCongr : Prop :=
∀ p ≥ 2, p.Prime ↔ ∃ (k : ℤ),
let B := bernoulli' (p - 1)
p * B.num + B.den = k * p^2 |
729 | leanexplore_declaration | leanexplore:385032 | leanexplore_sqlite | leanexplore_declarations | /--
**Roman B. Popovych Conjecture.**
A stronger version of Agrawal's conjecture, which also considers the congruence
$(X+2)^n \equiv X^n + 2 \pmod{n, X^r-1}$.
If both congruences hold, then $n$ is either prime or $n^2 \equiv 1 \pmod{r}$.
This variant was proposed by Roman B. Popovych in 2018.
-/
@[category research op... |
646 | leanexplore_declaration | leanexplore:385033 | leanexplore_sqlite | leanexplore_declarations | /--
**Agrawal's Primality Conjecture.**
Does the congruence $(X-1)^n \equiv X^n - 1 \pmod{n, X^r-1}$ imply
$n$ is prime (with a specific exception for $n^2 \equiv 1 \pmod{r}$)?
While the "if" direction is a known theorem, the "only if" direction
remains a conjecture.
-/
@[category research open, AMS 11]
theorem agraw... |
291 | leanexplore_declaration | leanexplore:385034 | leanexplore_sqlite | leanexplore_declarations | /--
**Non-Power-of-2 Almost Perfect Numbers Conjecture.**
Does there exist an almost perfect number that is not a power of 2?
-/
@[category research open, AMS 11]
theorem exists_almost_perfect_not_power_of_two :
answer(sorry) ↔ ∃ n : ℕ, AlmostPerfect n ∧ ¬ ∃ k : ℕ, n = 2^k := by
sorry |
140 | leanexplore_declaration | leanexplore:385035 | leanexplore_sqlite | leanexplore_declarations | /--
A number is almost perfect if the sum of its divisors is equal to $2n - 1$.
-/
def AlmostPerfect (n : ℕ) : Prop :=
1 + σ 1 n = 2 * n |
515 | leanexplore_declaration | leanexplore:385036 | leanexplore_sqlite | leanexplore_declarations | /--
**Amicable numbers with opposite parity conjecture.**
Do there exist amicable numbers $(a, b)$ where one is even and the other is odd?
All known amicable pairs are either both even or both odd. It is widely believed
that mixed-parity amicable pairs do not exist, but this remains open.
*Reference:* [Wikipedia](htt... |
451 | leanexplore_declaration | leanexplore:385037 | leanexplore_sqlite | leanexplore_declarations | /--
**Infinitely many amicable numbers conjecture.**
Are there infinitely many pairs of amicable numbers?
While many amicable pairs are known, it remains open whether there are infinitely many.
*Reference:* [Wikipedia](https://en.wikipedia.org/wiki/Amicable_numbers),
[erdosproblems.com/830](https://www.erdosproblems... |
481 | leanexplore_declaration | leanexplore:385038 | leanexplore_sqlite | leanexplore_declarations | /--
**Relatively prime amicable numbers conjecture.**
Do there exist amicable numbers $(a, b)$ with $\gcd(a, b) = 1$?
All known amicable pairs share a common factor. It is an open question
whether a pair of relatively prime amicable numbers can exist.
*Reference:* [Wikipedia](https://en.wikipedia.org/wiki/Amicable_nu... |
171 | leanexplore_declaration | leanexplore:385039 | leanexplore_sqlite | leanexplore_declarations | /-- `IsAmicable` is symmetric. -/
@[category test, AMS 11]
theorem IsAmicable.symm {a b : ℕ} (h : IsAmicable a b) : IsAmicable b a := by
rw [isAmicable_iff] at *
omega |
148 | leanexplore_declaration | leanexplore:385040 | leanexplore_sqlite | leanexplore_declarations | /-- The classic amicable pair $(220, 284)$. -/
@[category test, AMS 11]
theorem amicable_220_284 : IsAmicable 220 284 := by
constructor <;> decide |
263 | leanexplore_declaration | leanexplore:385041 | leanexplore_sqlite | leanexplore_declarations | /--
Ferreira proved that Andrica's conjecture is true for sufficiently large n.
-/
@[category research solved, AMS 11]
theorem andrica_conjecture.ferreira_large_n :
∀ᶠ n in atTop, Real.sqrt ((n+1).nth Nat.Prime) - Real.sqrt (n.nth Nat.Prime) < 1 := by
sorry |
292 | leanexplore_declaration | leanexplore:385042 | leanexplore_sqlite | leanexplore_declarations | /--
**Andrica's conjecture**
The inequality $\sqrt{p_{n+1}}-\sqrt{p_n} < 1$ holds for all $n$, where $p_n$ is the $n$-th prime number.
-/
@[category research open, AMS 11]
theorem andrica_conjecture (n : ℕ) :
Real.sqrt ((n+1).nth Nat.Prime) - Real.sqrt (n.nth Nat.Prime) < 1 := by
sorry |
535 | leanexplore_declaration | leanexplore:385043 | leanexplore_sqlite | leanexplore_declarations | /--
**Artin's Conjecture on Primitive Roots**, second half, power version, conditional on GRH.
-/
@[category research solved, AMS 11]
theorem conditional_artin_primitive_roots.variants.part_ii_power_squarefreePart_modeq_one
(a m b : ℕ) (ha : a = b ^ m) (hb : ∀ u v, 1 < u → b ≠ v ^ u) (hm₁ : 1 < m)
(hm₂ : Odd m)... |
865 | leanexplore_declaration | leanexplore:385044 | leanexplore_sqlite | leanexplore_declarations | /--
**Artin's Conjecture on Primitive Roots**, second half, power version
If $a = b^m$ is a perfect power of a number $b$ whose squarefree part $b_0\equiv 1 \pmod{4}$,
then the density of the set $S(a)$ of primes $p$ such that $a$ is a primitive root modulo $p$
is given by
$$C \left(\prod_{p \mid m} \frac{p(p-2)}{(p ^ ... |
503 | leanexplore_declaration | leanexplore:385045 | leanexplore_sqlite | leanexplore_declarations | /--
**Artin's Conjecture on Primitive Roots**, second half, power version, conditional on GRH
-/
@[category research solved, AMS 11]
theorem conditional_artin_primitive_roots.variants.part_ii_power_squarefreePart_not_modeq_one
(a m b : ℕ) (ha : a = b ^ m) (hb : ∀ u v, 1 < u → b ≠ v ^ u) (hm₁ : 1 < m)
(hm₂ : Odd... |
708 | leanexplore_declaration | leanexplore:385046 | leanexplore_sqlite | leanexplore_declarations | /--
**Artin's Conjecture on Primitive Roots**, second half, power version
If $a = b^m$ is a perfect odd power of a number $b$ whose squarefree part
$b_0\not\equiv 1 \pmod{4}$, then the density of the set $S(a)$ of primes $p$ such that
$a$ is a primitive root modulo $p$ is given by
$$C\prod_{p \mid m} \frac{p(p - 2)}{p^... |
556 | leanexplore_declaration | leanexplore:385047 | leanexplore_sqlite | leanexplore_declarations | /--
**Artin's Conjecture on Primitive Roots**, second half, different residue version
If $a$ is a square number or $a = −1$, then the density of the set $S(a)$ of primes
$p$ such that $a$ is a primitive root modulo $p$ is $0$.
-/
@[category research solved, AMS 11]
--See https://math.stackexchange.com/questions/2780014... |
418 | leanexplore_declaration | leanexplore:385048 | leanexplore_sqlite | leanexplore_declarations | /--
**Artin's Conjecture on Primitive Roots**, second half, conditional on GRH.
-/
@[category research solved, AMS 11]
theorem conditional_artin_primitive_roots.parts.ii
(a a_0 b : ℤ) (ha : a = a_0 * b ^ 2)
(ha' : ∀ n m, m ≠ 1 → a ≠ n ^ m) (ha_0 : Squarefree a_0)
(ha_0' : ¬a_0 ≡ 1 [ZMOD 4])
(h : type_of... |
635 | leanexplore_declaration | leanexplore:385049 | leanexplore_sqlite | leanexplore_declarations | /--
**Artin's Conjecture on Primitive Roots**, second half.
Write $a = a_0 b^2$ where $a_0$ is squarefree. Under the conditions that $a$ is not a perfect
power and $a_0\not\equiv 1\pmod{4}$ (sequence A85397 in the OEIS), the density of the set
$S(a)$ of primes $p$ such that $a$ is a primitive root modulo $p$ is indepen... |
321 | leanexplore_declaration | leanexplore:385050 | leanexplore_sqlite | leanexplore_declarations | /--
**Artin's Conjecture on Primitive Roots**, first half, conditional on GRH.
-/
@[category research solved, AMS 11]
theorem conditional_artin_primitive_roots.parts.i (a : ℤ) (ha : ¬IsSquare a) (ha' : a ≠ -1)
(h : type_of% generalized_riemann_hypothesis) :
∃ x > 0, (S a).HasDensity x {p | p.Prime} := by
sorr... |
475 | leanexplore_declaration | leanexplore:385051 | leanexplore_sqlite | leanexplore_declarations | /--
**Artin's Conjecture on Primitive Roots**, first half.
Let $a$ be an integer that is not a square number and not $−1$. Then the set $S(a)$
of primes $p$ such that $a$ is a primitive root modulo $p$ has a positive asymptotic
density inside the set of primes. In particular, $S(a)$ is infinite.
-/
@[category research ... |
661 | leanexplore_declaration | leanexplore:385052 | leanexplore_sqlite | leanexplore_declarations | /--
Artin's conjecture on $S(a)$ when $a = b^m$ is a power, and the squarefree part
of $b_0\equiv 1\pmod{4}$, requires a further correct factor to
`ArtinConstant * powCorrectionFactor m`, which modifies primes which divide
$\gcd(b_0, m)$ and primes which do not divide $m$ separately as
$$ 1 - \prod_{p \mid \gcd(b_0, m)... |
375 | leanexplore_declaration | leanexplore:385053 | leanexplore_sqlite | leanexplore_declarations | /--
Artin's conjecture on $S(a)$ when $a = b^m$ is a power, where $m$ is odd and maximal,
requires a correction factor to multiply `ArtinConstant` and is given by
$$\prod_{p \mid m} \frac{p(p - 2)}{p^2 - p - 1}.$$
-/
-- Eq. (1.2) of https://arxiv.org/pdf/1112.4816
noncomputable def powCorrectionFactor (m : ℕ) : ℝ :=
... |
209 | leanexplore_declaration | leanexplore:385054 | leanexplore_sqlite | leanexplore_declarations | /--
**Artin's Constant** is defined to be the product
$$\prod_{p\ \text{prime}} \left(1 - \frac{1}{p(p - 1)}\right)$$.
-/
noncomputable def ArtinConstant : ℝ :=
∏' p : Nat.Primes, (1 - 1 / (p * (p - 1)) : ℝ) |
167 | leanexplore_declaration | leanexplore:385055 | leanexplore_sqlite | leanexplore_declarations | /-- Let $S(a)$ be the set of primes such that $a$ is a primitive root modulo $p$. -/
abbrev S (a : ℤ) : Set ℕ :=
{p : ℕ | p.Prime ∧ orderOf (a : ZMod p) = (p-1 : ℕ)} |
369 | leanexplore_declaration | leanexplore:385056 | leanexplore_sqlite | leanexplore_declarations | /--
Let $p_k$ be the $k$-th prime number.
Are there infinitely many $n$ such that
$p_n = \dfrac{\sum_{i = 1} ^ k p_{n - i} + p_{n + i}}{2*k}$?
-/
@[category research open, AMS 11]
theorem balanced_primes_order :
answer(sorry) ↔ ∀ k > 0, {n : ℕ | k ≤ n ∧ 2 * k * Nat.nth Prime n = ∑ i ∈ .Ioc 0 k,
((n - i).nth P... |
283 | leanexplore_declaration | leanexplore:385057 | leanexplore_sqlite | leanexplore_declarations | /--
Let $p_k$ be the $k$-th prime number.
Are there infinitely many $n$ such that $(p_n + p_{n+2}) / 2$ is prime?
-/
@[category research open, AMS 11]
theorem balanced_primes :
answer(sorry) ↔ {n : ℕ | Prime ((Nat.nth Prime n + Nat.nth Prime (n + 2)) / 2)}.Infinite := by
sorry |
1,258 | leanexplore_declaration | leanexplore:385058 | leanexplore_sqlite | leanexplore_declarations | /--
**The Bateman-Horn Conjecture**
Given a finite collection of distinct irreducible polynomials non-constant $f_1, f_2, \dots, f_k \in \mathbb{Z}[x]$
with positive leading coefficients that satisfy the Schinzel condition, the number
of positive integers n ≤ x for which all polynomials $f_i$ are simultaneously prime i... |
315 | leanexplore_declaration | leanexplore:385059 | leanexplore_sqlite | leanexplore_declarations | /-- `CountSimultaneousPrimes S x` counts the number of `n ≤ x` at which all polynomials in `S` attain a prime value. -/
noncomputable def CountSimultaneousPrimes (polys : Finset ℤ[X]) (x : ℝ) : ℕ :=
Finset.card (Finset.filter
(fun n : ℕ => ∀ f ∈ polys, (f.eval ↑n).natAbs.Prime)
(Finset.range (⌊x⌋₊ + 1))) |
583 | leanexplore_declaration | leanexplore:385060 | leanexplore_sqlite | leanexplore_declarations | /--
The Bateman-Horn constant of a set of polynomials `S`. This is defined as the infinite product over all primes:
$$\frac{1}{D} \prod_p (1 - \frac{1}{p})^{-|S|} (1 - \frac{\omega_p(S)}{p})$$
where $D = \prod_{f \in S} \deg(f)$ is the product of degrees and $\omega_p(S)$ is the number of residue classes mod $p$
where ... |
145 | leanexplore_declaration | leanexplore:385061 | leanexplore_sqlite | leanexplore_declarations | /-- The product of degrees of polynomials in a finite set. -/
def DegreesProduct (polys : Finset ℤ[X]) : ℕ :=
polys.prod (fun f => f.natDegree) |
255 | leanexplore_declaration | leanexplore:385062 | leanexplore_sqlite | leanexplore_declarations | /-- `OmegaP S p` counts the number of residue classes mod `p` where at least one polynomial in `S` vanishes. -/
noncomputable def OmegaP (polys : Finset ℤ[X]) (p : ℕ) : ℕ :=
{n : ZMod p | ∃ f ∈ polys, (f.map (Int.castRingHom (ZMod p))).eval n = 0}.ncard |
1,175 | leanexplore_declaration | leanexplore:385063 | leanexplore_sqlite | leanexplore_declarations | /--
The Beal Conjecture implies Fermat's last theorem
-/
@[category high_school, AMS 11]
theorem flt_of_beal_conjecture (H : bealConjecture) :
FermatLastTheorem := by
intro n hn x y z hx hy hz
by_contra h
apply mul_ne_zero (mul_ne_zero hx hy) hz
by_contra H''
obtain ⟨hx, hy, hz⟩ : x ≠ 0 ∧ y ≠ 0 ∧ z ≠ 0 :=... |
257 | leanexplore_declaration | leanexplore:385064 | leanexplore_sqlite | leanexplore_declarations | /--
The **Beal Conjecture**: if we are given positive integers $A, B, C, x, y, z$ such that
$x, y, z > 2$ and $A^x + B^y = C^z$ then $A, B, C$ have a common divisor.
-/
@[category research open, AMS 11]
theorem beal_conjecture : bealConjecture := by
sorry |
151 | leanexplore_declaration | leanexplore:385065 | leanexplore_sqlite | leanexplore_declarations | def bealConjecture : Prop := ∀ {A B C x y z : ℕ},
A ≠ 0 → B ≠ 0 → C ≠ 0 → 2 < x → 2 < y → 2 < z →
A^x + B^y = C^z → 1 < Finset.gcd {A, B, C} id |
264 | leanexplore_declaration | leanexplore:385066 | leanexplore_sqlite | leanexplore_declarations | /--
**Infinitude of betrothed numbers conjecture.**
Are there infinitely many betrothed number pairs?
-/
@[category research open, AMS 11]
theorem infinitely_many_betrothed :
answer(sorry) ↔ {p : ℕ × ℕ | p.1 < p.2 ∧ IsBetrothed p.1 p.2}.Infinite := by
sorry |
366 | leanexplore_declaration | leanexplore:385067 | leanexplore_sqlite | leanexplore_declarations | /--
**Same parity betrothed numbers conjecture.**
Do there exist betrothed numbers $(m, n)$ where both have the same parity
(both even or both odd)?
All known betrothed pairs consist of one even and one odd number.
-/
@[category research open, AMS 11]
theorem same_parity_betrothed :
answer(sorry) ↔ ∃ m n : ℕ, IsB... |
176 | leanexplore_declaration | leanexplore:385068 | leanexplore_sqlite | leanexplore_declarations | /-- `IsBetrothed` is symmetric. -/
@[category test, AMS 11]
theorem IsBetrothed.symm {m n : ℕ} (h : IsBetrothed m n) : IsBetrothed n m := by
rw [isBetrothed_iff] at *
omega |
152 | leanexplore_declaration | leanexplore:385069 | leanexplore_sqlite | leanexplore_declarations | /-- The smallest known betrothed pair $(48, 75)$. -/
@[category test, AMS 11]
theorem betrothed_48_75 : IsBetrothed 48 75 := by
constructor <;> decide |
238 | leanexplore_declaration | leanexplore:385072 | leanexplore_sqlite | leanexplore_declarations | @[mk_iff]
structure IsBetrothed (m n : ℕ) : Prop where
left : σ 1 m = m + n + 1
right : σ 1 n = m + n + 1
/-- The smallest known betrothed pair $(48, 75)$. -/
@[category test, AMS 11]
theorem betrothed_48_75 : IsBetrothed 48 75 := by |
401 | leanexplore_declaration | leanexplore:385073 | leanexplore_sqlite | leanexplore_declarations | /--
Two natural numbers $m$ and $n$ are **betrothed** (or quasi-amicable) if $\sigma(m) = \sigma(n) = m + n + 1$,
where $\sigma$ is the sum-of-divisors function. Equivalently, the sum of the proper divisors
of $m$ equals $n + 1$, and the sum of the proper divisors of $n$ equals $m + 1$.
-/
@[mk_iff]
structure IsBetrot... |
358 | leanexplore_declaration | leanexplore:385074 | leanexplore_sqlite | leanexplore_declarations | /--
Let $G$ be a finitely generated group, and assume there exists $n$ such that for every $g$ in $G$,
$g^n = 1$. Is $G$ necessarily finite?
-/
@[category research open, AMS 20]
theorem bounded_burnside_problem :
answer(sorry) ↔ ∀ (G : Type) [Group G] (fin_gen : Group.FG G)
(n : ℕ) (hn : n > 0) (bounded : ∀ g... |
321 | leanexplore_declaration | leanexplore:385075 | leanexplore_sqlite | leanexplore_declarations | /--
Ferreira proved that Brocard's conjecture is true for sufficiently large n.
-/
@[category research solved, AMS 11]
theorem brocard_conjecture.ferreira_large_n : ∀ᶠ n in atTop,
letI prev := n.nth Nat.Prime;
letI next := (n+1).nth Nat.Prime;
4 ≤ ((Ioo (prev^2) (next^2)).filter Nat.Prime).card := by
sorr... |
372 | leanexplore_declaration | leanexplore:385076 | leanexplore_sqlite | leanexplore_declarations | /--
**Brocard's Conjecture**
For every `n ≥ 2`, between the squares of the `n`-th and `(n+1)`-th primes,
there are at least four prime numbers.
-/
@[category research open, AMS 11]
theorem brocard_conjecture (n : ℕ) (hn : 1 ≤ n) :
letI prev := n.nth Nat.Prime;
letI next := (n+1).nth Nat.Prime;
4 ≤ ((Ioo (pr... |
560 | leanexplore_declaration | leanexplore:385077 | leanexplore_sqlite | leanexplore_declarations | /-- The case $M = 4$ fails: $(246+n)^2 - 60480$ is a perfect square for $n = 0, 1, 2, 3$
($6^2$, $23^2$, $32^2$, and $39^2$), but $a = -60480 \neq 0$.
The sequence $(6, 23, 32, 39)$ is a nontrivial Büchi sequence of length 4 (Hensley 1983). -/
@[category test, AMS 11]
theorem buchi_false_M4 : ¬ IsBuchi 4 := by
simp o... |
421 | leanexplore_declaration | leanexplore:385078 | leanexplore_sqlite | leanexplore_declarations | /-- The case $M = 3$ fails: $(24+n)^2 - 576$ is a perfect square for $n = 0, 1, 2$
($0^2$, $7^2$, and $10^2$), but $a = -576 \neq 0$. -/
@[category test, AMS 11]
theorem buchi_false_M3 : ¬ IsBuchi 3 := by
simp only [IsBuchi, not_forall]
refine ⟨24, -576, ?_, by norm_num⟩
intro n hn
simp [Finset.mem_range] at hn... |
376 | leanexplore_declaration | leanexplore:385079 | leanexplore_sqlite | leanexplore_declarations | /-- The case $M = 2$ fails: $(7+n)^2 - 48$ is a perfect square for $n = 0, 1$
($1^2$ and $4^2$), but $a = -48 \neq 0$. -/
@[category test, AMS 11]
theorem buchi_false_M2 : ¬ IsBuchi 2 := by
simp only [IsBuchi, not_forall]
refine ⟨7, -48, ?_, by norm_num⟩
intro n hn
simp [Finset.mem_range] at hn
interval_cases... |
324 | leanexplore_declaration | leanexplore:385080 | leanexplore_sqlite | leanexplore_declarations | /-- The case $M = 1$ fails: $0^2 + 4 = 4 = 2^2$ is a square but $a = 4 \neq 0$. -/
@[category test, AMS 11]
theorem buchi_false_M1 : ¬ IsBuchi 1 := by
simp only [IsBuchi, not_forall]
refine ⟨0, 4, ?_, by norm_num⟩
intro n hn
simp only [Finset.range_one, Finset.mem_singleton] at hn; subst hn
exact ⟨2, by norm_... |
251 | leanexplore_declaration | leanexplore:385081 | leanexplore_sqlite | leanexplore_declarations | /-- The case $M = 0$ fails: the hypothesis is vacuous, so $a = 0$ cannot be concluded. -/
@[category test, AMS 11]
theorem buchi_false_M0 : ¬ IsBuchi 0 := by
simp only [IsBuchi, Finset.range_zero, not_forall, exists_prop]
exact ⟨0, 1, by norm_num⟩ |
341 | leanexplore_declaration | leanexplore:385082 | leanexplore_sqlite | leanexplore_declarations | /--
**Büchi's problem (first open case, $M = 5$)**:
For all integers $x$ and $a$, if $(x+n)^2 + a$ is a perfect square for $n = 0, 1, 2, 3, 4$,
then $a = 0$.
Non-trivial sequences of length 3 and 4 are known to exist, so $M = 5$ is the first open case.
-/
@[category research open, AMS 11]
theorem buchi_problem_M5 : Is... |
300 | leanexplore_declaration | leanexplore:385083 | leanexplore_sqlite | leanexplore_declarations | /--
**Büchi's problem**
There exists a positive integer $M$ such that, for all integers $x$ and $a$,
if $(x+n)^2 + a$ is a square for $M$ consecutive values of $n$, then $a = 0$.
-/
@[category research open, AMS 11]
theorem buchi_problem :
answer(sorry) ↔ ∃ M : ℕ, 1 ≤ M ∧ IsBuchi M := by
sorry |
257 | leanexplore_declaration | leanexplore:385084 | leanexplore_sqlite | leanexplore_declarations | /-- `IsBuchi M` asserts that whenever `M` consecutive values `(x + n)² + a` (for
`n = 0, …, M - 1`) are all perfect squares, then `a` must be `0`. -/
def IsBuchi (M : ℕ) : Prop :=
∀ x a : ℤ, (∀ n ∈ Finset.range M, IsSquare ((x + (n : ℤ)) ^ 2 + a)) → a = 0 |
392 | leanexplore_declaration | leanexplore:385085 | leanexplore_sqlite | leanexplore_declarations | /--
**Bunyakovsky conjecture**
If a polynomial $f$ over integers satisfies both Schinzel and Bunyakovsky conditions,
there exist infinitely many natural numbers $m$ such that $f(m)$ is prime.
-/
@[category research open, AMS 11]
theorem bunyakovsky_conjecture (f : ℤ[X]) :
BunyakovskyCondition f ∧ SchinzelCondition ... |
147 | leanexplore_declaration | leanexplore:385086 | leanexplore_sqlite | leanexplore_declarations | /--
Determine the value of the Busy Beaver function at n = 6.
-/
@[category research open, AMS 3]
theorem BB_6 : BB 6 = answer(sorry) := by
sorry |
79 | leanexplore_declaration | leanexplore:385087 | leanexplore_sqlite | leanexplore_declarations | @[category research solved, AMS 3]
theorem BB_5 : BB 5 = 47176870 := by
sorry |
72 | leanexplore_declaration | leanexplore:385088 | leanexplore_sqlite | leanexplore_declarations | @[category undergraduate, AMS 3]
theorem BB_4 : BB 4 = 107 := by
sorry |
71 | leanexplore_declaration | leanexplore:385089 | leanexplore_sqlite | leanexplore_declarations | @[category undergraduate, AMS 3]
theorem BB_3 : BB 3 = 21 := by
sorry |
70 | leanexplore_declaration | leanexplore:385090 | leanexplore_sqlite | leanexplore_declarations | @[category undergraduate, AMS 3]
theorem BB_2 : BB 2 = 6 := by
sorry |
61 | leanexplore_declaration | leanexplore:385091 | leanexplore_sqlite | leanexplore_declarations | @[category test, AMS 3]
theorem BB_1 : BB 1 = 1 := by
sorry |
276 | leanexplore_declaration | leanexplore:385092 | leanexplore_sqlite | leanexplore_declarations | /--
To compute `BB n`, we need only consider machines with states and symbols indexed in `Fin`.
-/
@[category API, AMS 3]
theorem sanity_check (n : ℕ) [NeZero n] :
BB n = sSup {N | ∃ (M : Machine (Fin n) (Fin 2)) (_ : M.IsHalting),
M.haltingNumber = N} := by
sorry |
212 | leanexplore_declaration | leanexplore:385093 | leanexplore_sqlite | leanexplore_declarations | /--
`BB(n)` is the `n`-th Busy Beaver number.
*This is the maximum shifts function*, not the "number of ones function"
-/
noncomputable def BB (n : ℕ) : ℕ :=
sSup { N | ∃ C : Candidate n, C.M.haltingNumber = N} |
67 | leanexplore_declaration | leanexplore:385094 | leanexplore_sqlite | leanexplore_declarations | instance {n : ℕ} {M : Candidate n} : Inhabited M.Λ := M.Λ_inhabited |
67 | leanexplore_declaration | leanexplore:385095 | leanexplore_sqlite | leanexplore_declarations | instance {n : ℕ} {M : Candidate n} : Inhabited M.Γ := M.Γ_inhabited |
63 | leanexplore_declaration | leanexplore:385096 | leanexplore_sqlite | leanexplore_declarations | instance {n : ℕ} {M : Candidate n} : Fintype M.Λ := M.Λ_fintype |
63 | leanexplore_declaration | leanexplore:385097 | leanexplore_sqlite | leanexplore_declarations | instance {n : ℕ} {M : Candidate n} : Fintype M.Γ := M.Γ_fintype |
265 | leanexplore_declaration | leanexplore:385108 | leanexplore_sqlite | leanexplore_declarations | structure Candidate (n : ℕ) where
Γ : Type
Λ : Type
Γ_fintype : Fintype Γ
Γ_card : Fintype.card Γ = n
Γ_inhabited : Inhabited Γ
Λ_fintype : Fintype Λ
Λ_card : Fintype.card Λ = 2
Λ_inhabited : Inhabited Λ
M : Machine Γ Λ
M_isHalting : M.IsHalting |
312 | leanexplore_declaration | leanexplore:385109 | leanexplore_sqlite | leanexplore_declarations | /-- In Theorem 6 in [F1998], Kevin Ford proves that the smallest counterexample to
Carmichael's totient function conjecture must be $≥ 10 ^ (10 ^ 10)$ -/
@[category research solved, AMS 11]
theorem carchimaelTotient_bound {n : ℕ} (hn : 0 < n) (hn' : n < 10 ^ (10 ^ 10)) :
CarmichaelTotientFor n := by
sorry |
285 | leanexplore_declaration | leanexplore:385110 | leanexplore_sqlite | leanexplore_declarations | /-- *Carmichael's totient function conjecture*: For every positive natural number $n$,
there exists a natural number $m$ with $m ≠ n$, such that $φ(n) = φ(m)$. -/
@[category research open, AMS 11]
theorem charmichaelTotient :
∀ ⦃n : ℕ⦄, 0 < n → CarmichaelTotientFor n := by
sorry |
309 | leanexplore_declaration | leanexplore:385111 | leanexplore_sqlite | leanexplore_declarations | /-- For every odd number $n$, $φ(2n) = φ(n)$ -/
@[category high_school, AMS 11]
theorem carmichealTotientFor_odd {n : ℕ} (hn : Odd n) : CarmichaelTotientFor n := by
use 2 * n
refine ⟨(Nat.ne_of_lt (lt_two_mul_self (Odd.pos hn))).symm, ?_⟩
rw [totient_mul (coprime_two_left.mpr hn), totient_two, one_mul] |
150 | leanexplore_declaration | leanexplore:385112 | leanexplore_sqlite | leanexplore_declarations | /-- $n = 0 ↔ φ(n) = 0$ -/
@[category test, AMS 11]
theorem carchimichealTotientFor_zero : ¬ CarmichaelTotientFor 0 := by
simp [CarmichaelTotientFor] |
147 | leanexplore_declaration | leanexplore:385113 | leanexplore_sqlite | leanexplore_declarations | /-- Natural number $n$ for which there exists a $m ≠ n$ with $φ(m) = φ(n)$ -/
def CarmichaelTotientFor (n : ℕ) : Prop := ∃ m : ℕ, m ≠ n ∧ φ m = φ n |
235 | leanexplore_declaration | leanexplore:385114 | leanexplore_sqlite | leanexplore_declarations | /-- The pair $(-1, -1)$ is a solution to $x^2 - 2 = y^p$ for any odd $p$. -/
@[category test, AMS 11]
theorem lebesgue_nagell_solution_neg_one (p : ℕ) (hodd : Odd p) :
(-1 : ℤ) ^ 2 - 2 = (-1 : ℤ) ^ p := by
simp [hodd.neg_one_pow] |
233 | leanexplore_declaration | leanexplore:385115 | leanexplore_sqlite | leanexplore_declarations | /-- The pair $(1, -1)$ is a solution to $x^2 - 2 = y^p$ for any odd $p$. -/
@[category test, AMS 11]
theorem lebesgue_nagell_solution_pos_one (p : ℕ) (hodd : Odd p) :
(1 : ℤ) ^ 2 - 2 = (-1 : ℤ) ^ p := by
simp [hodd.neg_one_pow] |
483 | leanexplore_declaration | leanexplore:385116 | leanexplore_sqlite | leanexplore_declarations | /--
**Lebesgue-Nagell Equation Conjecture**
For any odd prime $p$, the only integer solutions $(x, y)$ to the equation $x^2 - 2 = y^p$
are $(x, y) = (\pm 1, -1)$.
*Reference:* Ethan Katz and Kyle Pratt, "On the Lebesgue-Nagell equation $x^2 - 2 = y^p$",
[arXiv:2507.12397](https://arxiv.org/abs/2507.12397)
-/
@[catego... |
439 | leanexplore_declaration | leanexplore:385117 | leanexplore_sqlite | leanexplore_declarations | /--
For positive integers a, b, and c, there are only finitely many positive solutions (x, y, m, n) to the
equation $ax^n - by^m = c$ where $(m, n) \neq (2, 2)$ and $x, y > 1$.
-/
@[category research open, AMS 11]
theorem pillais_conjecture (a b c : ℕ) (ha : 0 < a) (hb : 0 < b) (hc : 0 < c) :
{ (x, y, m, n) : (ℕ × ... |
365 | leanexplore_declaration | leanexplore:385118 | leanexplore_sqlite | leanexplore_declarations | /--
The only natural number solution to the equation $x^a - y^b = 1$ such that $a, b > 1$ and
$x, y > 0$ is given by $a = 2$, $b = 3$, $x = 3$, and $y = 2$.
-/
@[category research solved, AMS 11]
theorem catalans_conjecture (a b x y : ℕ) (ha : 1 < a) (hb : 1 < b) (hx : 0 < x) (hy : 0 < y)
(heq : x ^ a - y ^ b = 1) ... |
405 | leanexplore_declaration | leanexplore:385119 | leanexplore_sqlite | leanexplore_declarations | /--
**Stark–Heegner theorem** : For any squarefree integer `d < 0`, the class number of the imaginary
quadratic field Q(√d) is one if and only if `d ∈ {-1, -2, -3, -7, -11, -19, -43, -67, -163}`.
-/
@[category research solved, AMS 11]
theorem class_number_problem.variants.imaginary :
{ d : ℤ | Squarefree d ∧ d < 0 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.