Theorem 1.20(b) — is dense in
ProvedRudin.ch01_rationals_denseanalysis
If are real numbers, there is a rational with : between any two distinct reals lies a rational number.
Preamble
import Mathlib
Formal statement
namespace Rudin
/-- Rudin, Theorem 1.20(b): `ℚ` is dense in `ℝ`; between any two reals `x < y` there is a
rational number `p` with `x < p < y`. -/
theorem ch01_rationals_dense (x y : ℝ) (hxy : x < y) :
∃ p : ℚ, x < (p : ℝ) ∧ (p : ℝ) < y := by sorry
end RudinSource
Walter Rudin, Principles of Mathematical Analysis, 3rd edition, McGraw-Hill, 1976, Chapter 1, p. 9, Theorem 1.20(b)
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic)
For all real numbers and with (strict inequality), there exists a rational number such that, after embedding into the reals,
Both inequalities are strict, so lies in the open interval and can equal neither endpoint. No positivity or boundedness assumption is placed on or ; the only hypothesis is . Nothing is asserted about uniqueness or about how many such rationals exist.
Human review
Confirmed by the mission captain (proposal self-audit).