The irrationality of
ProvedFamousTheorems.irrational_sqrt_twomathlibnumber-theory
is irrational.
The classical proof — attributed to the Pythagoreans and reported by Aristotle — supposes in lowest terms, deduces , concludes is even, writes to get and hence even too, contradicting lowest terms. It is the first known proof by contradiction and the discovery that broke the Pythagorean programme of commensurability.
Formalization note. Irrational x is x ∉ Set.range ((↑) : ℚ → ℝ).
Preamble
import Mathlib
Formal statement
namespace FamousTheorems theorem irrational_sqrt_two : Irrational (Real.sqrt 2) := by sorry end FamousTheorems
Source
One of Freek Wiedijk's "100 theorems"; formalized in Mathlib. Proof here reduces to the corresponding Mathlib result.