/-
Copyright 2025 The Formal Conjectures Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-/
import FormalConjecturesUtilRamanujan τ-function
There are two conjectures related to the Ramanujan τ-function:
Ramanujan-Petersson conjecture: For every prime p, the absolute value of the
Ramanujan τ-function at p is bounded by 2 * p^(11/2).
Lehmer's conjecture: The Ramanujan τ-function is never zero for any positive integer n.
namespace RamanujanTau
open PowerSeries PowerSeries.WithPiTopology
noncomputable def Δ : PowerSeries ℤ := X * ∏' (n : ℕ+), (1 - X ^ (n : ℕ)) ^ 24
noncomputable def τ (n : ℕ) : ℤ := PowerSeries.coeff n Δ
@[category API, AMS 11]
lemma multipliable : Multipliable fun n : ℕ+ ↦ ((1 - X ^ (n : ℕ)) ^ 24 : PowerSeries ℤ) := ⊢ Multipliable fun n => (1 - X ^ ↑n) ^ 24
All goals completed! 🐙
@[category test, AMS 11]
lemma τ_zero : τ 0 = 0 := ⊢ τ 0 = 0 All goals completed! 🐙
@[category test, AMS 11]
lemma τ_one : τ 1 = 1 := ⊢ τ 1 = 1
obtain ⟨i, hi⟩ := ⊢ ?m.7 All goals completed! 🐙
All goals completed! 🐙
@[category test, AMS 11]
lemma τ_two : τ 2 = -24 := ⊢ τ 2 = -24
All goals completed! 🐙The Ramanujan-Petersson conjecture: $|\tau(p)| \le 2 p^{11/2}$ for primes $p$.
@[category research solved, AMS 11]
theorem ramanujan_petersson : ∀ p : ℕ, Prime p → abs (τ p) ≤ 2 * (p : ℝ) ^ ((11 : ℝ) / 2) := ⊢ ∀ (p : ℕ), Prime p → ↑|τ p| ≤ 2 * ↑p ^ (11 / 2)
All goals completed! 🐙Lehmer's conjecture: $\tau(n) \ne 0$ for all $n > 0$.
@[category research open, AMS 11]
theorem lehmer_ramanujan_tau : ∀ n > 0, τ n ≠ 0 := ⊢ ∀ n > 0, τ n ≠ 0
All goals completed! 🐙
end RamanujanTau