ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  sqrt2irr GIF version

Theorem sqrt2irr 12094
Description: The square root of 2 is not rational. That is, for any rational number, (√‘2) does not equal it. However, if we were to say "the square root of 2 is irrational" that would mean something stronger: "for any rational number, (√‘2) is apart from it" (the two statements are equivalent given excluded middle). See sqrt2irrap 12112 for the proof that the square root of two is irrational.

The proof's core is proven in sqrt2irrlem 12093, which shows that if 𝐴 / 𝐵 = √(2), then 𝐴 and 𝐵 are even, so 𝐴 / 2 and 𝐵 / 2 are smaller representatives, which is absurd. (Contributed by NM, 8-Jan-2002.) (Proof shortened by Mario Carneiro, 12-Sep-2015.)

Assertion
Ref Expression
sqrt2irr (√‘2) ∉ ℚ

Proof of Theorem sqrt2irr
Dummy variables 𝑥 𝑛 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 peano2nn 8869 . . . . . 6 (𝑦 ∈ ℕ → (𝑦 + 1) ∈ ℕ)
2 breq2 3986 . . . . . . . . 9 (𝑛 = 1 → (𝑧 < 𝑛𝑧 < 1))
32imbi1d 230 . . . . . . . 8 (𝑛 = 1 → ((𝑧 < 𝑛 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ (𝑧 < 1 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧))))
43ralbidv 2466 . . . . . . 7 (𝑛 = 1 → (∀𝑧 ∈ ℕ (𝑧 < 𝑛 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ ∀𝑧 ∈ ℕ (𝑧 < 1 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧))))
5 breq2 3986 . . . . . . . . 9 (𝑛 = 𝑦 → (𝑧 < 𝑛𝑧 < 𝑦))
65imbi1d 230 . . . . . . . 8 (𝑛 = 𝑦 → ((𝑧 < 𝑛 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ (𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧))))
76ralbidv 2466 . . . . . . 7 (𝑛 = 𝑦 → (∀𝑧 ∈ ℕ (𝑧 < 𝑛 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ ∀𝑧 ∈ ℕ (𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧))))
8 breq2 3986 . . . . . . . . 9 (𝑛 = (𝑦 + 1) → (𝑧 < 𝑛𝑧 < (𝑦 + 1)))
98imbi1d 230 . . . . . . . 8 (𝑛 = (𝑦 + 1) → ((𝑧 < 𝑛 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ (𝑧 < (𝑦 + 1) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧))))
109ralbidv 2466 . . . . . . 7 (𝑛 = (𝑦 + 1) → (∀𝑧 ∈ ℕ (𝑧 < 𝑛 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ ∀𝑧 ∈ ℕ (𝑧 < (𝑦 + 1) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧))))
11 nnnlt1 8883 . . . . . . . . 9 (𝑧 ∈ ℕ → ¬ 𝑧 < 1)
1211pm2.21d 609 . . . . . . . 8 (𝑧 ∈ ℕ → (𝑧 < 1 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)))
1312rgen 2519 . . . . . . 7 𝑧 ∈ ℕ (𝑧 < 1 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧))
14 nnrp 9599 . . . . . . . . . . . . . 14 (𝑦 ∈ ℕ → 𝑦 ∈ ℝ+)
15 rphalflt 9619 . . . . . . . . . . . . . 14 (𝑦 ∈ ℝ+ → (𝑦 / 2) < 𝑦)
1614, 15syl 14 . . . . . . . . . . . . 13 (𝑦 ∈ ℕ → (𝑦 / 2) < 𝑦)
17 breq1 3985 . . . . . . . . . . . . . . . 16 (𝑧 = (𝑦 / 2) → (𝑧 < 𝑦 ↔ (𝑦 / 2) < 𝑦))
18 oveq2 5850 . . . . . . . . . . . . . . . . . 18 (𝑧 = (𝑦 / 2) → (𝑥 / 𝑧) = (𝑥 / (𝑦 / 2)))
1918neeq2d 2355 . . . . . . . . . . . . . . . . 17 (𝑧 = (𝑦 / 2) → ((√‘2) ≠ (𝑥 / 𝑧) ↔ (√‘2) ≠ (𝑥 / (𝑦 / 2))))
2019ralbidv 2466 . . . . . . . . . . . . . . . 16 (𝑧 = (𝑦 / 2) → (∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧) ↔ ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / (𝑦 / 2))))
2117, 20imbi12d 233 . . . . . . . . . . . . . . 15 (𝑧 = (𝑦 / 2) → ((𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ ((𝑦 / 2) < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / (𝑦 / 2)))))
2221rspcv 2826 . . . . . . . . . . . . . 14 ((𝑦 / 2) ∈ ℕ → (∀𝑧 ∈ ℕ (𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) → ((𝑦 / 2) < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / (𝑦 / 2)))))
2322com13 80 . . . . . . . . . . . . 13 ((𝑦 / 2) < 𝑦 → (∀𝑧 ∈ ℕ (𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) → ((𝑦 / 2) ∈ ℕ → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / (𝑦 / 2)))))
2416, 23syl 14 . . . . . . . . . . . 12 (𝑦 ∈ ℕ → (∀𝑧 ∈ ℕ (𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) → ((𝑦 / 2) ∈ ℕ → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / (𝑦 / 2)))))
25 simpr 109 . . . . . . . . . . . . . . . . 17 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → (√‘2) = (𝑧 / 𝑦))
26 zcn 9196 . . . . . . . . . . . . . . . . . . 19 (𝑧 ∈ ℤ → 𝑧 ∈ ℂ)
2726ad2antlr 481 . . . . . . . . . . . . . . . . . 18 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → 𝑧 ∈ ℂ)
28 nncn 8865 . . . . . . . . . . . . . . . . . . 19 (𝑦 ∈ ℕ → 𝑦 ∈ ℂ)
2928ad2antrr 480 . . . . . . . . . . . . . . . . . 18 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → 𝑦 ∈ ℂ)
30 2cnd 8930 . . . . . . . . . . . . . . . . . 18 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → 2 ∈ ℂ)
31 nnap0 8886 . . . . . . . . . . . . . . . . . . 19 (𝑦 ∈ ℕ → 𝑦 # 0)
3231ad2antrr 480 . . . . . . . . . . . . . . . . . 18 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → 𝑦 # 0)
33 2ap0 8950 . . . . . . . . . . . . . . . . . . 19 2 # 0
3433a1i 9 . . . . . . . . . . . . . . . . . 18 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → 2 # 0)
3527, 29, 30, 32, 34divcanap7d 8715 . . . . . . . . . . . . . . . . 17 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → ((𝑧 / 2) / (𝑦 / 2)) = (𝑧 / 𝑦))
3625, 35eqtr4d 2201 . . . . . . . . . . . . . . . 16 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → (√‘2) = ((𝑧 / 2) / (𝑦 / 2)))
37 simplr 520 . . . . . . . . . . . . . . . . . . . 20 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → 𝑧 ∈ ℤ)
38 simpll 519 . . . . . . . . . . . . . . . . . . . 20 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → 𝑦 ∈ ℕ)
3937, 38, 25sqrt2irrlem 12093 . . . . . . . . . . . . . . . . . . 19 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → ((𝑧 / 2) ∈ ℤ ∧ (𝑦 / 2) ∈ ℕ))
4039simprd 113 . . . . . . . . . . . . . . . . . 18 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → (𝑦 / 2) ∈ ℕ)
4139simpld 111 . . . . . . . . . . . . . . . . . . 19 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → (𝑧 / 2) ∈ ℤ)
42 oveq1 5849 . . . . . . . . . . . . . . . . . . . . 21 (𝑥 = (𝑧 / 2) → (𝑥 / (𝑦 / 2)) = ((𝑧 / 2) / (𝑦 / 2)))
4342neeq2d 2355 . . . . . . . . . . . . . . . . . . . 20 (𝑥 = (𝑧 / 2) → ((√‘2) ≠ (𝑥 / (𝑦 / 2)) ↔ (√‘2) ≠ ((𝑧 / 2) / (𝑦 / 2))))
4443rspcv 2826 . . . . . . . . . . . . . . . . . . 19 ((𝑧 / 2) ∈ ℤ → (∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / (𝑦 / 2)) → (√‘2) ≠ ((𝑧 / 2) / (𝑦 / 2))))
4541, 44syl 14 . . . . . . . . . . . . . . . . . 18 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → (∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / (𝑦 / 2)) → (√‘2) ≠ ((𝑧 / 2) / (𝑦 / 2))))
4640, 45embantd 56 . . . . . . . . . . . . . . . . 17 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → (((𝑦 / 2) ∈ ℕ → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / (𝑦 / 2))) → (√‘2) ≠ ((𝑧 / 2) / (𝑦 / 2))))
4746necon2bd 2394 . . . . . . . . . . . . . . . 16 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → ((√‘2) = ((𝑧 / 2) / (𝑦 / 2)) → ¬ ((𝑦 / 2) ∈ ℕ → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / (𝑦 / 2)))))
4836, 47mpd 13 . . . . . . . . . . . . . . 15 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → ¬ ((𝑦 / 2) ∈ ℕ → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / (𝑦 / 2))))
4948ex 114 . . . . . . . . . . . . . 14 ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) → ((√‘2) = (𝑧 / 𝑦) → ¬ ((𝑦 / 2) ∈ ℕ → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / (𝑦 / 2)))))
5049necon2ad 2393 . . . . . . . . . . . . 13 ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) → (((𝑦 / 2) ∈ ℕ → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / (𝑦 / 2))) → (√‘2) ≠ (𝑧 / 𝑦)))
5150ralrimdva 2546 . . . . . . . . . . . 12 (𝑦 ∈ ℕ → (((𝑦 / 2) ∈ ℕ → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / (𝑦 / 2))) → ∀𝑧 ∈ ℤ (√‘2) ≠ (𝑧 / 𝑦)))
5224, 51syld 45 . . . . . . . . . . 11 (𝑦 ∈ ℕ → (∀𝑧 ∈ ℕ (𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) → ∀𝑧 ∈ ℤ (√‘2) ≠ (𝑧 / 𝑦)))
53 oveq1 5849 . . . . . . . . . . . . 13 (𝑥 = 𝑧 → (𝑥 / 𝑦) = (𝑧 / 𝑦))
5453neeq2d 2355 . . . . . . . . . . . 12 (𝑥 = 𝑧 → ((√‘2) ≠ (𝑥 / 𝑦) ↔ (√‘2) ≠ (𝑧 / 𝑦)))
5554cbvralv 2692 . . . . . . . . . . 11 (∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑦) ↔ ∀𝑧 ∈ ℤ (√‘2) ≠ (𝑧 / 𝑦))
5652, 55syl6ibr 161 . . . . . . . . . 10 (𝑦 ∈ ℕ → (∀𝑧 ∈ ℕ (𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑦)))
57 oveq2 5850 . . . . . . . . . . . . 13 (𝑧 = 𝑦 → (𝑥 / 𝑧) = (𝑥 / 𝑦))
5857neeq2d 2355 . . . . . . . . . . . 12 (𝑧 = 𝑦 → ((√‘2) ≠ (𝑥 / 𝑧) ↔ (√‘2) ≠ (𝑥 / 𝑦)))
5958ralbidv 2466 . . . . . . . . . . 11 (𝑧 = 𝑦 → (∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧) ↔ ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑦)))
6059ceqsralv 2757 . . . . . . . . . 10 (𝑦 ∈ ℕ → (∀𝑧 ∈ ℕ (𝑧 = 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑦)))
6156, 60sylibrd 168 . . . . . . . . 9 (𝑦 ∈ ℕ → (∀𝑧 ∈ ℕ (𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) → ∀𝑧 ∈ ℕ (𝑧 = 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧))))
6261ancld 323 . . . . . . . 8 (𝑦 ∈ ℕ → (∀𝑧 ∈ ℕ (𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) → (∀𝑧 ∈ ℕ (𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ∧ ∀𝑧 ∈ ℕ (𝑧 = 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)))))
63 nnleltp1 9250 . . . . . . . . . . . . . 14 ((𝑧 ∈ ℕ ∧ 𝑦 ∈ ℕ) → (𝑧𝑦𝑧 < (𝑦 + 1)))
64 nnz 9210 . . . . . . . . . . . . . . 15 (𝑧 ∈ ℕ → 𝑧 ∈ ℤ)
65 nnz 9210 . . . . . . . . . . . . . . 15 (𝑦 ∈ ℕ → 𝑦 ∈ ℤ)
66 zleloe 9238 . . . . . . . . . . . . . . 15 ((𝑧 ∈ ℤ ∧ 𝑦 ∈ ℤ) → (𝑧𝑦 ↔ (𝑧 < 𝑦𝑧 = 𝑦)))
6764, 65, 66syl2an 287 . . . . . . . . . . . . . 14 ((𝑧 ∈ ℕ ∧ 𝑦 ∈ ℕ) → (𝑧𝑦 ↔ (𝑧 < 𝑦𝑧 = 𝑦)))
6863, 67bitr3d 189 . . . . . . . . . . . . 13 ((𝑧 ∈ ℕ ∧ 𝑦 ∈ ℕ) → (𝑧 < (𝑦 + 1) ↔ (𝑧 < 𝑦𝑧 = 𝑦)))
6968ancoms 266 . . . . . . . . . . . 12 ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) → (𝑧 < (𝑦 + 1) ↔ (𝑧 < 𝑦𝑧 = 𝑦)))
7069imbi1d 230 . . . . . . . . . . 11 ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) → ((𝑧 < (𝑦 + 1) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ ((𝑧 < 𝑦𝑧 = 𝑦) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧))))
71 jaob 700 . . . . . . . . . . 11 (((𝑧 < 𝑦𝑧 = 𝑦) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ ((𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ∧ (𝑧 = 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧))))
7270, 71bitrdi 195 . . . . . . . . . 10 ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) → ((𝑧 < (𝑦 + 1) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ ((𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ∧ (𝑧 = 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)))))
7372ralbidva 2462 . . . . . . . . 9 (𝑦 ∈ ℕ → (∀𝑧 ∈ ℕ (𝑧 < (𝑦 + 1) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ ∀𝑧 ∈ ℕ ((𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ∧ (𝑧 = 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)))))
74 r19.26 2592 . . . . . . . . 9 (∀𝑧 ∈ ℕ ((𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ∧ (𝑧 = 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧))) ↔ (∀𝑧 ∈ ℕ (𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ∧ ∀𝑧 ∈ ℕ (𝑧 = 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧))))
7573, 74bitrdi 195 . . . . . . . 8 (𝑦 ∈ ℕ → (∀𝑧 ∈ ℕ (𝑧 < (𝑦 + 1) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ (∀𝑧 ∈ ℕ (𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ∧ ∀𝑧 ∈ ℕ (𝑧 = 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)))))
7662, 75sylibrd 168 . . . . . . 7 (𝑦 ∈ ℕ → (∀𝑧 ∈ ℕ (𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) → ∀𝑧 ∈ ℕ (𝑧 < (𝑦 + 1) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧))))
774, 7, 10, 10, 13, 76nnind 8873 . . . . . 6 ((𝑦 + 1) ∈ ℕ → ∀𝑧 ∈ ℕ (𝑧 < (𝑦 + 1) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)))
781, 77syl 14 . . . . 5 (𝑦 ∈ ℕ → ∀𝑧 ∈ ℕ (𝑧 < (𝑦 + 1) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)))
79 nnre 8864 . . . . . 6 (𝑦 ∈ ℕ → 𝑦 ∈ ℝ)
8079ltp1d 8825 . . . . 5 (𝑦 ∈ ℕ → 𝑦 < (𝑦 + 1))
81 breq1 3985 . . . . . . 7 (𝑧 = 𝑦 → (𝑧 < (𝑦 + 1) ↔ 𝑦 < (𝑦 + 1)))
82 df-ne 2337 . . . . . . . . . 10 ((√‘2) ≠ (𝑥 / 𝑦) ↔ ¬ (√‘2) = (𝑥 / 𝑦))
8358, 82bitrdi 195 . . . . . . . . 9 (𝑧 = 𝑦 → ((√‘2) ≠ (𝑥 / 𝑧) ↔ ¬ (√‘2) = (𝑥 / 𝑦)))
8483ralbidv 2466 . . . . . . . 8 (𝑧 = 𝑦 → (∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧) ↔ ∀𝑥 ∈ ℤ ¬ (√‘2) = (𝑥 / 𝑦)))
85 ralnex 2454 . . . . . . . 8 (∀𝑥 ∈ ℤ ¬ (√‘2) = (𝑥 / 𝑦) ↔ ¬ ∃𝑥 ∈ ℤ (√‘2) = (𝑥 / 𝑦))
8684, 85bitrdi 195 . . . . . . 7 (𝑧 = 𝑦 → (∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧) ↔ ¬ ∃𝑥 ∈ ℤ (√‘2) = (𝑥 / 𝑦)))
8781, 86imbi12d 233 . . . . . 6 (𝑧 = 𝑦 → ((𝑧 < (𝑦 + 1) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ (𝑦 < (𝑦 + 1) → ¬ ∃𝑥 ∈ ℤ (√‘2) = (𝑥 / 𝑦))))
8887rspcv 2826 . . . . 5 (𝑦 ∈ ℕ → (∀𝑧 ∈ ℕ (𝑧 < (𝑦 + 1) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) → (𝑦 < (𝑦 + 1) → ¬ ∃𝑥 ∈ ℤ (√‘2) = (𝑥 / 𝑦))))
8978, 80, 88mp2d 47 . . . 4 (𝑦 ∈ ℕ → ¬ ∃𝑥 ∈ ℤ (√‘2) = (𝑥 / 𝑦))
9089nrex 2558 . . 3 ¬ ∃𝑦 ∈ ℕ ∃𝑥 ∈ ℤ (√‘2) = (𝑥 / 𝑦)
91 elq 9560 . . . 4 ((√‘2) ∈ ℚ ↔ ∃𝑥 ∈ ℤ ∃𝑦 ∈ ℕ (√‘2) = (𝑥 / 𝑦))
92 rexcom 2630 . . . 4 (∃𝑥 ∈ ℤ ∃𝑦 ∈ ℕ (√‘2) = (𝑥 / 𝑦) ↔ ∃𝑦 ∈ ℕ ∃𝑥 ∈ ℤ (√‘2) = (𝑥 / 𝑦))
9391, 92bitri 183 . . 3 ((√‘2) ∈ ℚ ↔ ∃𝑦 ∈ ℕ ∃𝑥 ∈ ℤ (√‘2) = (𝑥 / 𝑦))
9490, 93mtbir 661 . 2 ¬ (√‘2) ∈ ℚ
9594nelir 2434 1 (√‘2) ∉ ℚ
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104  wo 698   = wceq 1343  wcel 2136  wne 2336  wnel 2431  wral 2444  wrex 2445   class class class wbr 3982  cfv 5188  (class class class)co 5842  cc 7751  0cc0 7753  1c1 7754   + caddc 7756   < clt 7933  cle 7934   # cap 8479   / cdiv 8568  cn 8857  2c2 8908  cz 9191  cq 9557  +crp 9589  csqrt 10938
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 604  ax-in2 605  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-13 2138  ax-14 2139  ax-ext 2147  ax-coll 4097  ax-sep 4100  ax-nul 4108  ax-pow 4153  ax-pr 4187  ax-un 4411  ax-setind 4514  ax-iinf 4565  ax-cnex 7844  ax-resscn 7845  ax-1cn 7846  ax-1re 7847  ax-icn 7848  ax-addcl 7849  ax-addrcl 7850  ax-mulcl 7851  ax-mulrcl 7852  ax-addcom 7853  ax-mulcom 7854  ax-addass 7855  ax-mulass 7856  ax-distr 7857  ax-i2m1 7858  ax-0lt1 7859  ax-1rid 7860  ax-0id 7861  ax-rnegex 7862  ax-precex 7863  ax-cnre 7864  ax-pre-ltirr 7865  ax-pre-ltwlin 7866  ax-pre-lttrn 7867  ax-pre-apti 7868  ax-pre-ltadd 7869  ax-pre-mulgt0 7870  ax-pre-mulext 7871  ax-arch 7872  ax-caucvg 7873
This theorem depends on definitions:  df-bi 116  df-dc 825  df-3or 969  df-3an 970  df-tru 1346  df-fal 1349  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ne 2337  df-nel 2432  df-ral 2449  df-rex 2450  df-reu 2451  df-rmo 2452  df-rab 2453  df-v 2728  df-sbc 2952  df-csb 3046  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129  df-nul 3410  df-if 3521  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-int 3825  df-iun 3868  df-br 3983  df-opab 4044  df-mpt 4045  df-tr 4081  df-id 4271  df-po 4274  df-iso 4275  df-iord 4344  df-on 4346  df-ilim 4347  df-suc 4349  df-iom 4568  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-ima 4617  df-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-f1 5193  df-fo 5194  df-f1o 5195  df-fv 5196  df-riota 5798  df-ov 5845  df-oprab 5846  df-mpo 5847  df-1st 6108  df-2nd 6109  df-recs 6273  df-frec 6359  df-pnf 7935  df-mnf 7936  df-xr 7937  df-ltxr 7938  df-le 7939  df-sub 8071  df-neg 8072  df-reap 8473  df-ap 8480  df-div 8569  df-inn 8858  df-2 8916  df-3 8917  df-4 8918  df-n0 9115  df-z 9192  df-uz 9467  df-q 9558  df-rp 9590  df-seqfrec 10381  df-exp 10455  df-rsqrt 10940
This theorem is referenced by:  sqrt2irr0  12096
  Copyright terms: Public domain W3C validator