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

Theorem sqrt2irr 12116
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 12134 for the proof that the square root of two is irrational.

The proof's core is proven in sqrt2irrlem 12115, 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 8890 . . . . . 6 (𝑦 ∈ ℕ → (𝑦 + 1) ∈ ℕ)
2 breq2 3993 . . . . . . . . 9 (𝑛 = 1 → (𝑧 < 𝑛𝑧 < 1))
32imbi1d 230 . . . . . . . 8 (𝑛 = 1 → ((𝑧 < 𝑛 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ (𝑧 < 1 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧))))
43ralbidv 2470 . . . . . . 7 (𝑛 = 1 → (∀𝑧 ∈ ℕ (𝑧 < 𝑛 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ ∀𝑧 ∈ ℕ (𝑧 < 1 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧))))
5 breq2 3993 . . . . . . . . 9 (𝑛 = 𝑦 → (𝑧 < 𝑛𝑧 < 𝑦))
65imbi1d 230 . . . . . . . 8 (𝑛 = 𝑦 → ((𝑧 < 𝑛 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ (𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧))))
76ralbidv 2470 . . . . . . 7 (𝑛 = 𝑦 → (∀𝑧 ∈ ℕ (𝑧 < 𝑛 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ ∀𝑧 ∈ ℕ (𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧))))
8 breq2 3993 . . . . . . . . 9 (𝑛 = (𝑦 + 1) → (𝑧 < 𝑛𝑧 < (𝑦 + 1)))
98imbi1d 230 . . . . . . . 8 (𝑛 = (𝑦 + 1) → ((𝑧 < 𝑛 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ (𝑧 < (𝑦 + 1) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧))))
109ralbidv 2470 . . . . . . 7 (𝑛 = (𝑦 + 1) → (∀𝑧 ∈ ℕ (𝑧 < 𝑛 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ ∀𝑧 ∈ ℕ (𝑧 < (𝑦 + 1) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧))))
11 nnnlt1 8904 . . . . . . . . 9 (𝑧 ∈ ℕ → ¬ 𝑧 < 1)
1211pm2.21d 614 . . . . . . . 8 (𝑧 ∈ ℕ → (𝑧 < 1 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)))
1312rgen 2523 . . . . . . 7 𝑧 ∈ ℕ (𝑧 < 1 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧))
14 nnrp 9620 . . . . . . . . . . . . . 14 (𝑦 ∈ ℕ → 𝑦 ∈ ℝ+)
15 rphalflt 9640 . . . . . . . . . . . . . 14 (𝑦 ∈ ℝ+ → (𝑦 / 2) < 𝑦)
1614, 15syl 14 . . . . . . . . . . . . 13 (𝑦 ∈ ℕ → (𝑦 / 2) < 𝑦)
17 breq1 3992 . . . . . . . . . . . . . . . 16 (𝑧 = (𝑦 / 2) → (𝑧 < 𝑦 ↔ (𝑦 / 2) < 𝑦))
18 oveq2 5861 . . . . . . . . . . . . . . . . . 18 (𝑧 = (𝑦 / 2) → (𝑥 / 𝑧) = (𝑥 / (𝑦 / 2)))
1918neeq2d 2359 . . . . . . . . . . . . . . . . 17 (𝑧 = (𝑦 / 2) → ((√‘2) ≠ (𝑥 / 𝑧) ↔ (√‘2) ≠ (𝑥 / (𝑦 / 2))))
2019ralbidv 2470 . . . . . . . . . . . . . . . 16 (𝑧 = (𝑦 / 2) → (∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧) ↔ ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / (𝑦 / 2))))
2117, 20imbi12d 233 . . . . . . . . . . . . . . 15 (𝑧 = (𝑦 / 2) → ((𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ ((𝑦 / 2) < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / (𝑦 / 2)))))
2221rspcv 2830 . . . . . . . . . . . . . 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 9217 . . . . . . . . . . . . . . . . . . 19 (𝑧 ∈ ℤ → 𝑧 ∈ ℂ)
2726ad2antlr 486 . . . . . . . . . . . . . . . . . 18 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → 𝑧 ∈ ℂ)
28 nncn 8886 . . . . . . . . . . . . . . . . . . 19 (𝑦 ∈ ℕ → 𝑦 ∈ ℂ)
2928ad2antrr 485 . . . . . . . . . . . . . . . . . 18 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → 𝑦 ∈ ℂ)
30 2cnd 8951 . . . . . . . . . . . . . . . . . 18 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → 2 ∈ ℂ)
31 nnap0 8907 . . . . . . . . . . . . . . . . . . 19 (𝑦 ∈ ℕ → 𝑦 # 0)
3231ad2antrr 485 . . . . . . . . . . . . . . . . . 18 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → 𝑦 # 0)
33 2ap0 8971 . . . . . . . . . . . . . . . . . . 19 2 # 0
3433a1i 9 . . . . . . . . . . . . . . . . . 18 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → 2 # 0)
3527, 29, 30, 32, 34divcanap7d 8736 . . . . . . . . . . . . . . . . 17 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → ((𝑧 / 2) / (𝑦 / 2)) = (𝑧 / 𝑦))
3625, 35eqtr4d 2206 . . . . . . . . . . . . . . . 16 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → (√‘2) = ((𝑧 / 2) / (𝑦 / 2)))
37 simplr 525 . . . . . . . . . . . . . . . . . . . 20 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → 𝑧 ∈ ℤ)
38 simpll 524 . . . . . . . . . . . . . . . . . . . 20 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → 𝑦 ∈ ℕ)
3937, 38, 25sqrt2irrlem 12115 . . . . . . . . . . . . . . . . . . 19 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → ((𝑧 / 2) ∈ ℤ ∧ (𝑦 / 2) ∈ ℕ))
4039simprd 113 . . . . . . . . . . . . . . . . . 18 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → (𝑦 / 2) ∈ ℕ)
4139simpld 111 . . . . . . . . . . . . . . . . . . 19 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → (𝑧 / 2) ∈ ℤ)
42 oveq1 5860 . . . . . . . . . . . . . . . . . . . . 21 (𝑥 = (𝑧 / 2) → (𝑥 / (𝑦 / 2)) = ((𝑧 / 2) / (𝑦 / 2)))
4342neeq2d 2359 . . . . . . . . . . . . . . . . . . . 20 (𝑥 = (𝑧 / 2) → ((√‘2) ≠ (𝑥 / (𝑦 / 2)) ↔ (√‘2) ≠ ((𝑧 / 2) / (𝑦 / 2))))
4443rspcv 2830 . . . . . . . . . . . . . . . . . . 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 2398 . . . . . . . . . . . . . . . 16 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → ((√‘2) = ((𝑧 / 2) / (𝑦 / 2)) → ¬ ((𝑦 / 2) ∈ ℕ → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / (𝑦 / 2)))))
4836, 47mpd 13 . . . . . . . . . . . . . . 15 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → ¬ ((𝑦 / 2) ∈ ℕ → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / (𝑦 / 2))))
4948ex 114 . . . . . . . . . . . . . 14 ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) → ((√‘2) = (𝑧 / 𝑦) → ¬ ((𝑦 / 2) ∈ ℕ → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / (𝑦 / 2)))))
5049necon2ad 2397 . . . . . . . . . . . . 13 ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) → (((𝑦 / 2) ∈ ℕ → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / (𝑦 / 2))) → (√‘2) ≠ (𝑧 / 𝑦)))
5150ralrimdva 2550 . . . . . . . . . . . 12 (𝑦 ∈ ℕ → (((𝑦 / 2) ∈ ℕ → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / (𝑦 / 2))) → ∀𝑧 ∈ ℤ (√‘2) ≠ (𝑧 / 𝑦)))
5224, 51syld 45 . . . . . . . . . . 11 (𝑦 ∈ ℕ → (∀𝑧 ∈ ℕ (𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) → ∀𝑧 ∈ ℤ (√‘2) ≠ (𝑧 / 𝑦)))
53 oveq1 5860 . . . . . . . . . . . . 13 (𝑥 = 𝑧 → (𝑥 / 𝑦) = (𝑧 / 𝑦))
5453neeq2d 2359 . . . . . . . . . . . 12 (𝑥 = 𝑧 → ((√‘2) ≠ (𝑥 / 𝑦) ↔ (√‘2) ≠ (𝑧 / 𝑦)))
5554cbvralv 2696 . . . . . . . . . . 11 (∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑦) ↔ ∀𝑧 ∈ ℤ (√‘2) ≠ (𝑧 / 𝑦))
5652, 55syl6ibr 161 . . . . . . . . . 10 (𝑦 ∈ ℕ → (∀𝑧 ∈ ℕ (𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑦)))
57 oveq2 5861 . . . . . . . . . . . . 13 (𝑧 = 𝑦 → (𝑥 / 𝑧) = (𝑥 / 𝑦))
5857neeq2d 2359 . . . . . . . . . . . 12 (𝑧 = 𝑦 → ((√‘2) ≠ (𝑥 / 𝑧) ↔ (√‘2) ≠ (𝑥 / 𝑦)))
5958ralbidv 2470 . . . . . . . . . . 11 (𝑧 = 𝑦 → (∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧) ↔ ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑦)))
6059ceqsralv 2761 . . . . . . . . . 10 (𝑦 ∈ ℕ → (∀𝑧 ∈ ℕ (𝑧 = 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑦)))
6156, 60sylibrd 168 . . . . . . . . 9 (𝑦 ∈ ℕ → (∀𝑧 ∈ ℕ (𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) → ∀𝑧 ∈ ℕ (𝑧 = 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧))))
6261ancld 323 . . . . . . . 8 (𝑦 ∈ ℕ → (∀𝑧 ∈ ℕ (𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) → (∀𝑧 ∈ ℕ (𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ∧ ∀𝑧 ∈ ℕ (𝑧 = 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)))))
63 nnleltp1 9271 . . . . . . . . . . . . . 14 ((𝑧 ∈ ℕ ∧ 𝑦 ∈ ℕ) → (𝑧𝑦𝑧 < (𝑦 + 1)))
64 nnz 9231 . . . . . . . . . . . . . . 15 (𝑧 ∈ ℕ → 𝑧 ∈ ℤ)
65 nnz 9231 . . . . . . . . . . . . . . 15 (𝑦 ∈ ℕ → 𝑦 ∈ ℤ)
66 zleloe 9259 . . . . . . . . . . . . . . 15 ((𝑧 ∈ ℤ ∧ 𝑦 ∈ ℤ) → (𝑧𝑦 ↔ (𝑧 < 𝑦𝑧 = 𝑦)))
6764, 65, 66syl2an 287 . . . . . . . . . . . . . 14 ((𝑧 ∈ ℕ ∧ 𝑦 ∈ ℕ) → (𝑧𝑦 ↔ (𝑧 < 𝑦𝑧 = 𝑦)))
6863, 67bitr3d 189 . . . . . . . . . . . . 13 ((𝑧 ∈ ℕ ∧ 𝑦 ∈ ℕ) → (𝑧 < (𝑦 + 1) ↔ (𝑧 < 𝑦𝑧 = 𝑦)))
6968ancoms 266 . . . . . . . . . . . 12 ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) → (𝑧 < (𝑦 + 1) ↔ (𝑧 < 𝑦𝑧 = 𝑦)))
7069imbi1d 230 . . . . . . . . . . 11 ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) → ((𝑧 < (𝑦 + 1) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ ((𝑧 < 𝑦𝑧 = 𝑦) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧))))
71 jaob 705 . . . . . . . . . . 11 (((𝑧 < 𝑦𝑧 = 𝑦) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ ((𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ∧ (𝑧 = 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧))))
7270, 71bitrdi 195 . . . . . . . . . 10 ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℕ) → ((𝑧 < (𝑦 + 1) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ ((𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ∧ (𝑧 = 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)))))
7372ralbidva 2466 . . . . . . . . 9 (𝑦 ∈ ℕ → (∀𝑧 ∈ ℕ (𝑧 < (𝑦 + 1) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ ∀𝑧 ∈ ℕ ((𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ∧ (𝑧 = 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)))))
74 r19.26 2596 . . . . . . . . 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 8894 . . . . . 6 ((𝑦 + 1) ∈ ℕ → ∀𝑧 ∈ ℕ (𝑧 < (𝑦 + 1) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)))
781, 77syl 14 . . . . 5 (𝑦 ∈ ℕ → ∀𝑧 ∈ ℕ (𝑧 < (𝑦 + 1) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)))
79 nnre 8885 . . . . . 6 (𝑦 ∈ ℕ → 𝑦 ∈ ℝ)
8079ltp1d 8846 . . . . 5 (𝑦 ∈ ℕ → 𝑦 < (𝑦 + 1))
81 breq1 3992 . . . . . . 7 (𝑧 = 𝑦 → (𝑧 < (𝑦 + 1) ↔ 𝑦 < (𝑦 + 1)))
82 df-ne 2341 . . . . . . . . . 10 ((√‘2) ≠ (𝑥 / 𝑦) ↔ ¬ (√‘2) = (𝑥 / 𝑦))
8358, 82bitrdi 195 . . . . . . . . 9 (𝑧 = 𝑦 → ((√‘2) ≠ (𝑥 / 𝑧) ↔ ¬ (√‘2) = (𝑥 / 𝑦)))
8483ralbidv 2470 . . . . . . . 8 (𝑧 = 𝑦 → (∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧) ↔ ∀𝑥 ∈ ℤ ¬ (√‘2) = (𝑥 / 𝑦)))
85 ralnex 2458 . . . . . . . 8 (∀𝑥 ∈ ℤ ¬ (√‘2) = (𝑥 / 𝑦) ↔ ¬ ∃𝑥 ∈ ℤ (√‘2) = (𝑥 / 𝑦))
8684, 85bitrdi 195 . . . . . . 7 (𝑧 = 𝑦 → (∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧) ↔ ¬ ∃𝑥 ∈ ℤ (√‘2) = (𝑥 / 𝑦)))
8781, 86imbi12d 233 . . . . . 6 (𝑧 = 𝑦 → ((𝑧 < (𝑦 + 1) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ (𝑦 < (𝑦 + 1) → ¬ ∃𝑥 ∈ ℤ (√‘2) = (𝑥 / 𝑦))))
8887rspcv 2830 . . . . 5 (𝑦 ∈ ℕ → (∀𝑧 ∈ ℕ (𝑧 < (𝑦 + 1) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) → (𝑦 < (𝑦 + 1) → ¬ ∃𝑥 ∈ ℤ (√‘2) = (𝑥 / 𝑦))))
8978, 80, 88mp2d 47 . . . 4 (𝑦 ∈ ℕ → ¬ ∃𝑥 ∈ ℤ (√‘2) = (𝑥 / 𝑦))
9089nrex 2562 . . 3 ¬ ∃𝑦 ∈ ℕ ∃𝑥 ∈ ℤ (√‘2) = (𝑥 / 𝑦)
91 elq 9581 . . . 4 ((√‘2) ∈ ℚ ↔ ∃𝑥 ∈ ℤ ∃𝑦 ∈ ℕ (√‘2) = (𝑥 / 𝑦))
92 rexcom 2634 . . . 4 (∃𝑥 ∈ ℤ ∃𝑦 ∈ ℕ (√‘2) = (𝑥 / 𝑦) ↔ ∃𝑦 ∈ ℕ ∃𝑥 ∈ ℤ (√‘2) = (𝑥 / 𝑦))
9391, 92bitri 183 . . 3 ((√‘2) ∈ ℚ ↔ ∃𝑦 ∈ ℕ ∃𝑥 ∈ ℤ (√‘2) = (𝑥 / 𝑦))
9490, 93mtbir 666 . 2 ¬ (√‘2) ∈ ℚ
9594nelir 2438 1 (√‘2) ∉ ℚ
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104  wo 703   = wceq 1348  wcel 2141  wne 2340  wnel 2435  wral 2448  wrex 2449   class class class wbr 3989  cfv 5198  (class class class)co 5853  cc 7772  0cc0 7774  1c1 7775   + caddc 7777   < clt 7954  cle 7955   # cap 8500   / cdiv 8589  cn 8878  2c2 8929  cz 9212  cq 9578  +crp 9610  csqrt 10960
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 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-13 2143  ax-14 2144  ax-ext 2152  ax-coll 4104  ax-sep 4107  ax-nul 4115  ax-pow 4160  ax-pr 4194  ax-un 4418  ax-setind 4521  ax-iinf 4572  ax-cnex 7865  ax-resscn 7866  ax-1cn 7867  ax-1re 7868  ax-icn 7869  ax-addcl 7870  ax-addrcl 7871  ax-mulcl 7872  ax-mulrcl 7873  ax-addcom 7874  ax-mulcom 7875  ax-addass 7876  ax-mulass 7877  ax-distr 7878  ax-i2m1 7879  ax-0lt1 7880  ax-1rid 7881  ax-0id 7882  ax-rnegex 7883  ax-precex 7884  ax-cnre 7885  ax-pre-ltirr 7886  ax-pre-ltwlin 7887  ax-pre-lttrn 7888  ax-pre-apti 7889  ax-pre-ltadd 7890  ax-pre-mulgt0 7891  ax-pre-mulext 7892  ax-arch 7893  ax-caucvg 7894
This theorem depends on definitions:  df-bi 116  df-dc 830  df-3or 974  df-3an 975  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ne 2341  df-nel 2436  df-ral 2453  df-rex 2454  df-reu 2455  df-rmo 2456  df-rab 2457  df-v 2732  df-sbc 2956  df-csb 3050  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-nul 3415  df-if 3527  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-int 3832  df-iun 3875  df-br 3990  df-opab 4051  df-mpt 4052  df-tr 4088  df-id 4278  df-po 4281  df-iso 4282  df-iord 4351  df-on 4353  df-ilim 4354  df-suc 4356  df-iom 4575  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-ima 4624  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-f1 5203  df-fo 5204  df-f1o 5205  df-fv 5206  df-riota 5809  df-ov 5856  df-oprab 5857  df-mpo 5858  df-1st 6119  df-2nd 6120  df-recs 6284  df-frec 6370  df-pnf 7956  df-mnf 7957  df-xr 7958  df-ltxr 7959  df-le 7960  df-sub 8092  df-neg 8093  df-reap 8494  df-ap 8501  df-div 8590  df-inn 8879  df-2 8937  df-3 8938  df-4 8939  df-n0 9136  df-z 9213  df-uz 9488  df-q 9579  df-rp 9611  df-seqfrec 10402  df-exp 10476  df-rsqrt 10962
This theorem is referenced by:  sqrt2irr0  12118
  Copyright terms: Public domain W3C validator