Skip to content

Commit

Permalink
floor issues
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKontorovich committed Jan 11, 2024
1 parent d27f31d commit 12ac143
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions PrimeNumberTheoremAnd/Basic.lean
Original file line number Diff line number Diff line change
@@ -1,11 +1,29 @@
import Mathlib.Analysis.Complex.CauchyIntegral
import Mathlib.NumberTheory.VonMangoldt
import Mathlib.NumberTheory.ArithmeticFunction
import Mathlib.NumberTheory.ZetaFunction

open Complex
open Complex BigOperators Finset Nat Classical

open scoped ArithmeticFunction

/-%%
In this file, we prove the Prime Number Theorem. We have plans to extend to primes in progressions (Dirichlet's theorem), Chebytarev's density theorem, etc etc.
Testing 1 2 3
\begin{def}
The Chebyshev Psi function is defined as
$$
\psi(x) = \sum_{n \leq x} \Lambda(n),
$$
where $\Lambda(n)$ is the von Mangoldt function.
\end{def}
%%-/
noncomputable def ChebyshevPsi (x : ℝ) : ℝ := ∑ n in Finset.Ico (1 : ℕ) (Real.floor (x + 1)), Λ n

/-%%
Main Theorem: The Prime Number Theorem
\begin{theorem}[PrimeNumberTheorem]
%%-/

0 comments on commit 12ac143

Please sign in to comment.