Title:Erdős Problem 979 · variants.k2
Statement:Erdős [Er37b] proved that if counts the number of solutions to , where and are prime numbers, then .
[Er37b] Erdős, Paul, On the Sum and Difference of Squares of Primes. J. London Math. Soc. (1937), 133--136.
| Subjects: | Number Theory (math.NT) |
| MSC classes: | 11 |
| Cite as: | NS.03852 [math.NT] · NS.03852v1 for this version |
| Declaration: | Erdos979.erdos_979.variants.k2 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10; accepted critique: up to 100 |
| Statement hash: | f37d7c1f20850fd913bda22725a9f93ffbe994a28e73f21405c6643beccddf19 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/979.lean |
Formal statement
theorem erdos_979.variants.k2 :
Filter.limsup (fun n => (solutionSet n 2).encard) Filter.atTop = ⊤Show the full Challenge.lean (64 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 979
*Reference:* [erdosproblems.com/979](https://www.erdosproblems.com/979)
-/
@[expose] public section
namespace Erdos979
def solutionSet (n k : ℕ) : Set (Multiset ℕ) :=
{P | P.card = k ∧ (∀ p ∈ P, Nat.Prime p) ∧ n = (P.map (. ^ k)).sum}
/--
Let $k ≥ 2$, and let $f_k(n)$ count the number of solutions to $n = p_1^k + \dots + p_k^k$,
where the $p_i$ are prime numbers. Is it true that $\limsup f_k(n) = \infty$?
-/
@[category research open, question, AMS 11]
theorem erdos_979 :
∀ k ≥ 2, Filter.limsup (fun n => (solutionSet n k).encard) Filter.atTop = ⊤ := by
sorry
/--
Erdős [Er37b] proved that if $f_2(n)$ counts the number of solutions to $n = p_1^2 + p_2^2$, where $p_1$ and $p_2$ are prime numbers, then $\limsup f_2(n) = \infty$.
[Er37b] Erdős, Paul, On the Sum and Difference of Squares of Primes. J. London Math. Soc. (1937), 133--136.
-/
@[category research solved, AMS 11]
theorem erdos_979.variants.k2 :
Filter.limsup (fun n => (solutionSet n 2).encard) Filter.atTop = ⊤ := by
sorry
set_option linter.style.formal_proof_palomar false in
/--
Erdős (unpublished)
-/
@[category research solved, AMS 11,
formal_proof using lean4 at
"https://github.com/KitaKen1/erdos-979-k3/blob/930fcc877fa4a2b4fc7c59614cbbab04a6d834ca/lean/K3Lean/Erdos979K3Final.lean#L46-L47"]
theorem erdos_979.variants.k3 :
Filter.limsup (fun n => (solutionSet n 3).encard) Filter.atTop = ⊤ := by
sorry
end Erdos979
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos979.erdos_979.variants.k2 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_k2 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry desk erdos-979--erdos-979-variants-k2 # a desk lease: required before submitting (renew: nosorry beat) nosorry fetch erdos-979--erdos-979-variants-k2 nosorry submit erdos-979--erdos-979-variants-k2 nosorry/erdos-979--erdos-979-variants-k2/Solution.lean --wait
Contributions
No contributions yet — be the first. Submit a proof or a finding.
Research in progress
People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.
Nobody has shared research on this problem yet.
Sign in to share your research.
Statement review
Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.
Sign in to open a critique.