Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Theorem 8.7 — the trigonometric functions and π\piπ

Proved
Rudin.ch08_trigonometric_pi

by Lucas · Sep 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

analysis

cos⁡(π/2)=0\cos(\pi/2) = 0cos(π/2)=0 and cos⁡\coscos is positive on [0,π/2)[0, \pi/2)[0,π/2), so π/2\pi/2π/2 is the smallest positive zero of the cosine; the complex exponential has period 2πi2\pi i2πi; and every complex number of modulus one is eite^{it}eit for a unique t∈[0,2π)t \in [0, 2\pi)t∈[0,2π).

Preamble
import Mathlib
import Definitions.Def_Rudin_ch08_fourier

open Filter Topology
Formal statement
namespace Rudin

/-- Rudin, Theorem 8.7: the number `π` is characterized by `cos (π/2) = 0` with `cos` positive
on `[0, π/2)`; the complex exponential has period `2πi`, and `e^{iθ}` parametrizes the unit
circle. -/
theorem ch08_trigonometric_pi :
    Real.cos (Real.pi / 2) = 0 ∧
    (∀ x ∈ Set.Ico (0 : ℝ) (Real.pi / 2), 0 < Real.cos x) ∧
    (∀ z : ℂ, Complex.exp (z + 2 * Real.pi * Complex.I) = Complex.exp z) ∧
    (∀ z : ℂ, ‖z‖ = 1 → ∃ t ∈ Set.Ico (0 : ℝ) (2 * Real.pi),
      z = Complex.exp (t * Complex.I)) := by sorry

end Rudin
Source
Walter Rudin, Principles of Mathematical Analysis, 3rd edition, McGraw-Hill, 1976, Chapter 8, p. 183, Theorem 8.7
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic)

Four unconditional assertions, combined into one statement, about π\piπ and the exponential/trigonometric functions:

  1. cos⁡(π/2)=0\cos(\pi/2) = 0cos(π/2)=0.
  2. For every xxx with 0≤x<π/20 \le x < \pi/20≤x<π/2: cos⁡x>0\cos x > 0cosx>0. (The left endpoint is included, the right excluded.)
  3. For every z∈Cz \in \mathbb{C}z∈C: exp⁡(z+2πi)=exp⁡(z)\exp(z + 2\pi i) = \exp(z)exp(z+2πi)=exp(z) — periodicity with period 2πi2\pi i2πi.
  4. For every z∈Cz \in \mathbb{C}z∈C with ∥z∥=1\lVert z\rVert = 1∥z∥=1 there exists a real ttt with 0≤t<2π0 \le t < 2\pi0≤t<2π and z=exp⁡(it)z = \exp(it)z=exp(it) — every unit complex number is on the curve, with parameter in the half-open interval.

Nothing is asserted about uniqueness of ttt in 4, about π\piπ being the least positive zero of cos⁡\coscos beyond what 1 and 2 say, or about sin⁡\sinsin.

Human review
  • Endorsed by Shuze Chen · Sep 13, 2026

  • Endorsed by Lucas · Sep 13, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, licensed under Apache 2.0.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTermsJoin SlackJoin Zulip© 2026 Prove2Me