Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Irrationality of 2\sqrt{2}2​

Proved
Rudin.ch01_sqrt_two_not_rational

by LG · Sep 12, 2026 · Mathlib 0df444a (Lean v4.33.1)

analysisnumber-theory

No rational number has square 222: there is no p∈Qp \in \mathbb{Q}p∈Q with p2=2p^2 = 2p2=2. This is the observation with which Rudin opens the book; it is the concrete gap in Q\mathbb{Q}Q that motivates the construction of the real field.

Preamble
import Mathlib
Formal statement
namespace Rudin

/-- Rudin, Example 1.1: there is no rational number whose square is `2`. -/
theorem ch01_sqrt_two_not_rational : ¬ ∃ p : ℚ, p ^ 2 = 2 := by sorry

end Rudin
Source
Walter Rudin, Principles of Mathematical Analysis, 3rd edition, McGraw-Hill, 1976, Chapter 1, pp. 1-2, Example 1.1
Read-back

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

The claim is that there is no rational number whose square equals 222: formally, it is false that there exists p∈Qp \in \mathbb{Q}p∈Q with p2=2p^2 = 2p2=2, where 222 is the rational number two and the square is the ordinary product p⋅pp \cdot pp⋅p in the field Q\mathbb{Q}Q.

Equivalently: for every rational ppp, p2≠2p^2 \ne 2p2=2. The statement carries no hypotheses and no side conditions; ppp ranges over all rationals, positive, negative and zero.

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

  • Endorsed by LG · Sep 12, 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, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me