Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:An Arithmetic Sum Associated with the Classical Theta Function · conjecture_4_4

Source:Problems from arXiv papers · arxiv.org/abs/2501.03234
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

Conjecture 4.4: Given a natural number n∈Nn ∈ ℕ, for all large enough odd prime kk (depending on nn), nk<S(k)nk < S(k).

Subjects:Number Theory (math.NT)
MSC classes:11
Cite as:NS.00138 [math.NT] · NS.00138v1 for this version
Declaration:Arxiv.«2501.03234».conjecture_4_4
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100; accepted critique: up to 100
Statement hash:ff3587186cca274bad749267876939be91a28a4f55b6bcfa30dd6b70f08100c2
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/Arxiv/2501.03234/ArithmeticSumS.lean

Formal statement

theorem conjecture_4_4 (n : ℕ) : ∀ᶠ (k : ℕ) in Filter.atTop, k.Prime → Odd k → n * k < S k
Show the full Challenge.lean (135 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# An Arithmetic Sum Associated with the Classical Theta Function

*Reference:* [arxiv/2501.03234](https://arxiv.org/abs/2501.03234)
**An Arithmetic Sum Associated with the Classical Theta Function**
by *Bruce C. Berndt, Raghavendra N. Bhat, Jeffrey L. Meyer, Likun Xie, Alexandru Zaharescu*
-/

@[expose] public section

namespace Arxiv.«2501.03234»

section SumS

open Nat Finset BigOperators in

/--
Define the sum
$$S'(h, k) := \sum_{j=1}^{k-1}(-1)^{j + 1 + \lfloor \frac{hj}{k}\rfloor}.$$
-/
-- Using "S'" instead of "S", like it is in the paper, to avoid overloading function name.
def S' (h k : ℕ) : ℤ := ∑ j ∈ Finset.Ico 1 k, (-1 : ℤ) ^ (j + 1 + ⌊(h * j : ℚ) / k⌋₊)

/--
Define the sum
$$S(k) := \sum_{h=1}^{k-1}S'(h, k)$$
-/
def S (k : ℕ) : ℤ := ∑ h ∈ Finset.Ico 1 k, S' h k

/--
Note that in Table 1 in https://arxiv.org/abs/2501.03234v1, there seems to be an error:
11 appears twice. The first 10 values of $S$.
-/
@[category test, AMS 11]
theorem S_fst_10 : List.map S (List.range 10) = [0, 0, 1, 2, 5, 4, 7, 10, 11, 8] := by
  unfold S
  decide +kernel

end SumS

/--
**Conjecture 1.1**: For any odd prime $k$, the sum associated with the classical theta function $θ_3$,
$S(k)$ is positive.
-/
@[category research open, AMS 11]
theorem conjecture_1_1 (k : ℕ) (hprim : k.Prime) (hodd : Odd k) : 0 < S k := by
  sorry

/--
**Conjecture 4.1**: For any prime $k$ larger than $5$, $S(k) > k$.
-/
@[category research open, AMS 11]
theorem conjecture_4_1 (k : ℕ) (hprim : k.Prime) (hodd : Odd k) (hgt : k > 5) : k < S k := by
  sorry

/--
**Conjecture 4.2**: For any prime $k$ larger than $233$, $S(k) > 2k$.
-/
@[category research open, AMS 11]
theorem conjecture_4_2 (k : ℕ) (hprim : k.Prime) (hodd : Odd k) (hgt : k > 233) : 2 * k < S k := by
  sorry

/--
**Conjecture 4.3**: For any prime $k$ larger than $3119$, $S(k) > 3k$.
-/
@[category research open, AMS 11]
theorem conjecture_4_3 (k : ℕ) (hprim : k.Prime) (hodd : Odd k) (hgt : k > 3119) : 3 * k < S k := by
  sorry

/--
**Conjecture 4.4**: Given a natural number $n ∈ ℕ$, for all large enough odd prime $k$ (depending on $n$),
$nk < S(k)$.
-/
@[category research open, AMS 11]
theorem conjecture_4_4 (n : ℕ) : ∀ᶠ (k : ℕ) in Filter.atTop, k.Prime → Odd k → n * k < S k := by
  sorry

/--
**Conjecture 1.1 → Conjecture 4.4**: If conjecture 1.1 holds true, then this implies a special
case of conjecture 4.4 where $n = 0$. In this case the lower bound for the odd prime $k$
would be $0$.
-/
@[category test, AMS 11]
theorem conjecture_4_4_def_0 (hc1_1: type_of% conjecture_1_1) : type_of% (conjecture_4_4 0) := by
  simp only [Filter.Eventually, CharP.cast_eq_zero, zero_mul, Filter.mem_atTop_sets]
  exact ⟨0, fun b sb bprim bodd ↦ hc1_1 b bprim bodd⟩

/--
**Conjecture 4.1 → Conjecture 4.4**: If conjecture 4.1 holds true, then this implies a special
case of conjecture 4.4 where $n = 1$. In this case the lower bound would be $5$.
-/
@[category test, AMS 11]
theorem conjecture_4_4_def_1 (hc4_1: type_of% conjecture_4_1) : type_of% (conjecture_4_4 1) := by
  simp [Filter.Eventually, Filter.mem_atTop_sets]
  exact ⟨5+1, fun b sb bprim bodd ↦ hc4_1 b bprim bodd (by linarith)⟩

/--
**Conjecture 4.2 → Conjecture 4.4**: If conjecture 4.2 holds true, then this implies a special
case of conjecture 4.4 for $n = 2$. For this scenario, the lower bound is now $233$.
-/
@[category test, AMS 11]
theorem conjecture_4_4_def_2 (hc4_2: type_of% conjecture_4_2) : type_of% (conjecture_4_4 2) := by
  simp only [Filter.Eventually, Filter.mem_atTop_sets]
  exact ⟨233+1, fun b sb bprim bodd ↦ hc4_2 b bprim bodd (by linarith)⟩

/--
**Conjecture 4.3 → Conjecture 4.4**: If conjecture 4.3 holds true, then a special
case of conjecture 4.4 for $n = 3$ is obtained, and the lower bound is $3119$.
-/
@[category test, AMS 11]
theorem conjecture_4_4_def_3 (hc4_3: type_of% conjecture_4_3) : type_of% (conjecture_4_4 3) := by
  simp only [Filter.Eventually, Filter.mem_atTop_sets]
  exact ⟨3119+1, fun b sb bprim bodd ↦ hc4_3 b bprim bodd (by linarith)⟩

end Arxiv.«2501.03234»

To prove it: keep every definition of Challenge.lean unchanged and prove Arxiv.«2501.03234».conjecture_4_4 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_conjecture_4_4 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry desk arxiv-2501-03234-arithmeticsums--conjecture-4-4      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch arxiv-2501-03234-arithmeticsums--conjecture-4-4
nosorry submit arxiv-2501-03234-arithmeticsums--conjecture-4-4 nosorry/arxiv-2501-03234-arithmeticsums--conjecture-4-4/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.