FormalConjectures/Arxiv/2501.03234/ArithmeticSumS.lean

GitHub source file

Explanation legend Lean4 Domain Explanation Language (L4DEL)

L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.

L4DEL
Lean4 Domain Explanation Language

Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.

Project sources: Pinned project documentation, Formal Conjectures paper, arXiv v1

12 declarations, 5 contain sorry, 0 declared as axioms

An Arithmetic Sum Associated with the Classical Theta Function

Reference: arxiv/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

Imports (1)
Imported by 1 file
  1. def Arxiv.«2501.03234».S' Define the sum $$S'(h, k) := \sum_{j=1}^{k-1}(-1)^{j + 1 + \lfloor \frac{hj}{k}\rfloor}.$$ line 41 source

    Source documentation

    Define the sum $$S'(h, k) := \sum_{j=1}^{k-1}(-1)^{j + 1 + \lfloor \frac{hj}{k}\rfloor}.$$

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat, Int

    Proof uses: Finset.sum, Finset.Ico, OfNat.ofNat, HPow.hPow, Neg.neg, HAdd.hAdd, Nat.floor, Rat, HDiv.hDiv, HMul.hMul

    25 instances, coercions and auxiliary constants left out.

    def S' (h k : ℕ) : ℤ := ∑ j ∈ Finset.Ico 1 k, (-1 : ℤ) ^ (j + 1 + ⌊(h * j : ℚ) / k⌋₊)
  2. def Arxiv.«2501.03234».S Define the sum $$S(k) := \sum_{h=1}^{k-1}S'(h, k)$$ line 47 source

    Source documentation

    Define the sum $$S(k) := \sum_{h=1}^{k-1}S'(h, k)$$

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat, Int

    Proof uses: Finset.sum, Finset.Ico, OfNat.ofNat, Arxiv.«2501.03234».S'

    4 instances, coercions and auxiliary constants left out.

    def S (k : ℕ) : ℤ := ∑ h ∈ Finset.Ico 1 k, S' h k
    …

    Mentions: Arxiv.«2501.03234».S'

  3. theorem Arxiv.«2501.03234».S_fst_10 Note that in Table 1 in https://arxiv.org/abs/2501.03234v1, there seems to be an error: 11 appears twice line 54 source

    Source documentation

    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$.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Eq, List, Int, List.map, Nat, Arxiv.«2501.03234».S, List.range, OfNat.ofNat, List.cons, List.nil

    Proof uses: id

    5 instances, coercions and auxiliary constants left out.

    Tactic trace: 2 steps

    Open to load the checked before-and-after goal states.

    theorem S_fst_10 : List.map S (List.range 10) = [0, 0, 1, 2, 5, 4, 7, 10, 11, 8] := by
    …

    Mentions: Arxiv.«2501.03234».S

  4. theorem Arxiv.«2501.03234».conjecture_1_1 Conjecture 1.1: For any odd prime $k$, the sum associated with the classical theta function $θ_3$, $S(k)$ is positive sorry line 65 source

    Source documentation

    Conjecture 1.1: For any odd prime $k$, the sum associated with the classical theta function $θ_3$, $S(k)$ is positive.

    depends on sorry what this means

    Statement uses: Nat, Nat.Prime, Odd, LT.lt, Int, OfNat.ofNat, Arxiv.«2501.03234».S

    Proof uses: sorryAx, Lean.Name, Bool.false, Lean.Name.num, Lean.Name.str, Lean.Name.anonymous

    7 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

    Open to load the checked before-and-after goal states.

    theorem conjecture_1_1 (k : ℕ) (hprim : k.Prime) (hodd : Odd k) : 0 < S k := by
    …

    Mentions: Arxiv.«2501.03234».S

  5. theorem Arxiv.«2501.03234».conjecture_4_1 Conjecture 4.1: For any prime $k$ larger than $5$, $S(k) > k$ sorry line 72 source

    Source documentation

    Conjecture 4.1: For any prime $k$ larger than $5$, $S(k) > k$.

    depends on sorry what this means

    Statement uses: Nat, Nat.Prime, Odd, GT.gt, OfNat.ofNat, LT.lt, Int, Arxiv.«2501.03234».S

    Proof uses: sorryAx, Lean.Name, Bool.false, Lean.Name.num, Lean.Name.str, Lean.Name.anonymous

    12 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

    Open to load the checked before-and-after goal states.

    theorem conjecture_4_1 (k : ℕ) (hprim : k.Prime) (hodd : Odd k) (hgt : k > 5) : k < S k := by
    …

    Mentions: Arxiv.«2501.03234».S

  6. theorem Arxiv.«2501.03234».conjecture_4_2 Conjecture 4.2: For any prime $k$ larger than $233$, $S(k) > 2k$ sorry line 79 source

    Source documentation

    Conjecture 4.2: For any prime $k$ larger than $233$, $S(k) > 2k$.

    depends on sorry what this means

    Statement uses: Nat, Nat.Prime, Odd, GT.gt, OfNat.ofNat, LT.lt, Int, HMul.hMul, Arxiv.«2501.03234».S

    Proof uses: sorryAx, Lean.Name, Bool.false, Lean.Name.num, Lean.Name.str, Lean.Name.anonymous

    18 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

    Open to load the checked before-and-after goal states.

    theorem conjecture_4_2 (k : ℕ) (hprim : k.Prime) (hodd : Odd k) (hgt : k > 233) : 2 * k < S k := by
    …

    Mentions: Arxiv.«2501.03234».S

  7. theorem Arxiv.«2501.03234».conjecture_4_3 Conjecture 4.3: For any prime $k$ larger than $3119$, $S(k) > 3k$ sorry line 86 source

    Source documentation

    Conjecture 4.3: For any prime $k$ larger than $3119$, $S(k) > 3k$.

    depends on sorry what this means

    Statement uses: Nat, Nat.Prime, Odd, GT.gt, OfNat.ofNat, LT.lt, Int, HMul.hMul, Arxiv.«2501.03234».S

    Proof uses: sorryAx, Lean.Name, Bool.false, Lean.Name.num, Lean.Name.str, Lean.Name.anonymous

    18 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

    Open to load the checked before-and-after goal states.

    theorem conjecture_4_3 (k : ℕ) (hprim : k.Prime) (hodd : Odd k) (hgt : k > 3119) : 3 * k < S k := by
    …

    Mentions: Arxiv.«2501.03234».S

  8. theorem Arxiv.«2501.03234».conjecture_4_4 Conjecture 4.4: Given a natural number $n ∈ ℕ$, for all large enough odd prime $k$ (depending on $n$), $nk < S(k)$ sorry line 94 source

    Source documentation

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

    depends on sorry what this means

    Statement uses: Nat, Filter.Eventually, Nat.Prime, Odd, LT.lt, Int, HMul.hMul, Arxiv.«2501.03234».S, Filter.atTop

    Proof uses: sorryAx, Lean.Name, Bool.false, Lean.Name.num, Lean.Name.str, Lean.Name.anonymous, OfNat.ofNat

    15 instances, coercions and auxiliary constants left out.

    Tactic trace: 1 steps

    Open to load the checked before-and-after goal states.

    theorem conjecture_4_4 (n : ℕ) : ∀ᶠ (k : ℕ) in Filter.atTop, k.Prime → Odd k → n * k < S k := by
    …

    Mentions: Arxiv.«2501.03234».S

  9. theorem Arxiv.«2501.03234».conjecture_4_4_def_0 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$ line 103 source

    Source documentation

    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$.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat, Nat.Prime, Odd, LT.lt, Int, OfNat.ofNat, Arxiv.«2501.03234».S, Filter.Eventually, HMul.hMul, Filter.atTop

    Proof uses: Eq.mpr, Exists, LE.le, Membership.mem, Set, Set.ofPred, id, Eq, Eq.trans, Filter, congrArg, funext, implies_congr, Eq.refl, congrFun', CharP.cast_eq_zero, MulZeroClass.zero_mul, Exists.intro

    44 instances, coercions and auxiliary constants left out.

    Tactic trace: 2 steps

    Open to load the checked before-and-after goal states.

    theorem conjecture_4_4_def_0 (hc1_1: type_of% conjecture_1_1) : type_of% (conjecture_4_4 0) := by
    …

    Mentions: Arxiv.«2501.03234».conjecture_1_1, Arxiv.«2501.03234».conjecture_4_4

  10. theorem Arxiv.«2501.03234».conjecture_4_4_def_1 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$ line 112 source

    Source documentation

    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$.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat, Nat.Prime, Odd, GT.gt, OfNat.ofNat, LT.lt, Int, Arxiv.«2501.03234».S, Filter.Eventually, HMul.hMul, Filter.atTop

    Proof uses: Eq.mpr, Exists, LE.le, id, Eq, Eq.trans, Membership.mem, Set, Filter, Set.ofPred, congrArg, funext, implies_congr, Eq.refl, congrFun', Nat.cast_one, one_mul, Exists.intro, HAdd.hAdd, lt_of_not_ge and 47 more

    95 instances, coercions and auxiliary constants left out.

    Tactic trace: 3 steps

    Open to load the checked before-and-after goal states.

    theorem conjecture_4_4_def_1 (hc4_1: type_of% conjecture_4_1) : type_of% (conjecture_4_4 1) := by
    …

    Mentions: Arxiv.«2501.03234».conjecture_4_1, Arxiv.«2501.03234».conjecture_4_4

  11. theorem Arxiv.«2501.03234».conjecture_4_4_def_2 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$ line 121 source

    Source documentation

    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$.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat, Nat.Prime, Odd, GT.gt, OfNat.ofNat, LT.lt, Int, HMul.hMul, Arxiv.«2501.03234».S, Filter.Eventually, Filter.atTop

    Proof uses: Eq.mpr, Exists, LE.le, Membership.mem, Set, Set.ofPred, id, Eq, Exists.intro, HAdd.hAdd, lt_of_not_ge, Mathlib.Tactic.Linarith.lt_irrefl, Eq.mp, Neg.neg, HSub.hSub, congrArg, Mathlib.Tactic.Ring.of_eq, Mathlib.Tactic.Ring.Common.add_congr, Nat.rawCast, Mathlib.Meta.NormNum.instAddMonoidWithOne and 43 more

    93 instances, coercions and auxiliary constants left out.

    Tactic trace: 3 steps

    Open to load the checked before-and-after goal states.

    theorem conjecture_4_4_def_2 (hc4_2: type_of% conjecture_4_2) : type_of% (conjecture_4_4 2) := by
    …

    Mentions: Arxiv.«2501.03234».conjecture_4_2, Arxiv.«2501.03234».conjecture_4_4

  12. theorem Arxiv.«2501.03234».conjecture_4_4_def_3 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$ line 130 source

    Source documentation

    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$.

    standard axioms: Classical.choice, Quot.sound, propext what this means

    Statement uses: Nat, Nat.Prime, Odd, GT.gt, OfNat.ofNat, LT.lt, Int, HMul.hMul, Arxiv.«2501.03234».S, Filter.Eventually, Filter.atTop

    Proof uses: Eq.mpr, Exists, LE.le, Membership.mem, Set, Set.ofPred, id, Eq, Exists.intro, HAdd.hAdd, lt_of_not_ge, Mathlib.Tactic.Linarith.lt_irrefl, Eq.mp, Neg.neg, HSub.hSub, congrArg, Mathlib.Tactic.Ring.of_eq, Mathlib.Tactic.Ring.Common.add_congr, Nat.rawCast, Mathlib.Meta.NormNum.instAddMonoidWithOne and 43 more

    93 instances, coercions and auxiliary constants left out.

    Tactic trace: 3 steps

    Open to load the checked before-and-after goal states.

    theorem conjecture_4_4_def_3 (hc4_3: type_of% conjecture_4_3) : type_of% (conjecture_4_4 3) := by
    …

    Mentions: Arxiv.«2501.03234».conjecture_4_3, Arxiv.«2501.03234».conjecture_4_4