Tao equation (2.1): comparison of with and
ProvedTaoFivePrimes.two_norm_le_abs_sin_le_pi_normanalytic-number-theoryexponential-sumsgoldbachnumber-theory
For write for the distance from to the nearest integer. Then
the last inequality under the additional assumption .
These are the elementary comparisons between the distance to the nearest integer and the trigonometric functions of ; they are used throughout the paper to pass between the two ways of measuring how close a frequency is to a rational with small denominator.
Formalization Note The distance to the nearest integer is written . The last inequality is stated under the hypothesis because at the tangent is undefined; the source reads the right-hand side as there.
Preamble
import Mathlib
Formal statement
theorem TaoFivePrimes.two_norm_le_abs_sin_le_pi_norm (alpha : ℝ) :
2 * |alpha - round alpha| ≤ |Real.sin (Real.pi * alpha)|
∧ |Real.sin (Real.pi * alpha)| ≤ Real.pi * |alpha - round alpha|
∧ (|alpha - round alpha| < 1/2 →
Real.pi * |alpha - round alpha| ≤ |Real.tan (Real.pi * alpha)|) := by sorrySource
Terence Tao, "Every odd number greater than 1 is the sum of at most five primes", Mathematics of Computation 83 (2014), 997-1038; arXiv:1201.6656, https://arxiv.org/abs/1201.6656, Section 2, equation (2.1)