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

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

The proof's core is proven in sqrt2irrlem 12070, 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 8860 . . . . . 6 (𝑦 ∈ ℕ → (𝑦 + 1) ∈ ℕ)
2 breq2 3980 . . . . . . . . 9 (𝑛 = 1 → (𝑧 < 𝑛𝑧 < 1))
32imbi1d 230 . . . . . . . 8 (𝑛 = 1 → ((𝑧 < 𝑛 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ (𝑧 < 1 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧))))
43ralbidv 2464 . . . . . . 7 (𝑛 = 1 → (∀𝑧 ∈ ℕ (𝑧 < 𝑛 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ ∀𝑧 ∈ ℕ (𝑧 < 1 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧))))
5 breq2 3980 . . . . . . . . 9 (𝑛 = 𝑦 → (𝑧 < 𝑛𝑧 < 𝑦))
65imbi1d 230 . . . . . . . 8 (𝑛 = 𝑦 → ((𝑧 < 𝑛 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ (𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧))))
76ralbidv 2464 . . . . . . 7 (𝑛 = 𝑦 → (∀𝑧 ∈ ℕ (𝑧 < 𝑛 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ ∀𝑧 ∈ ℕ (𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧))))
8 breq2 3980 . . . . . . . . 9 (𝑛 = (𝑦 + 1) → (𝑧 < 𝑛𝑧 < (𝑦 + 1)))
98imbi1d 230 . . . . . . . 8 (𝑛 = (𝑦 + 1) → ((𝑧 < 𝑛 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ (𝑧 < (𝑦 + 1) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧))))
109ralbidv 2464 . . . . . . 7 (𝑛 = (𝑦 + 1) → (∀𝑧 ∈ ℕ (𝑧 < 𝑛 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ ∀𝑧 ∈ ℕ (𝑧 < (𝑦 + 1) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧))))
11 nnnlt1 8874 . . . . . . . . 9 (𝑧 ∈ ℕ → ¬ 𝑧 < 1)
1211pm2.21d 609 . . . . . . . 8 (𝑧 ∈ ℕ → (𝑧 < 1 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)))
1312rgen 2517 . . . . . . 7 𝑧 ∈ ℕ (𝑧 < 1 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧))
14 nnrp 9590 . . . . . . . . . . . . . 14 (𝑦 ∈ ℕ → 𝑦 ∈ ℝ+)
15 rphalflt 9610 . . . . . . . . . . . . . 14 (𝑦 ∈ ℝ+ → (𝑦 / 2) < 𝑦)
1614, 15syl 14 . . . . . . . . . . . . 13 (𝑦 ∈ ℕ → (𝑦 / 2) < 𝑦)
17 breq1 3979 . . . . . . . . . . . . . . . 16 (𝑧 = (𝑦 / 2) → (𝑧 < 𝑦 ↔ (𝑦 / 2) < 𝑦))
18 oveq2 5844 . . . . . . . . . . . . . . . . . 18 (𝑧 = (𝑦 / 2) → (𝑥 / 𝑧) = (𝑥 / (𝑦 / 2)))
1918neeq2d 2353 . . . . . . . . . . . . . . . . 17 (𝑧 = (𝑦 / 2) → ((√‘2) ≠ (𝑥 / 𝑧) ↔ (√‘2) ≠ (𝑥 / (𝑦 / 2))))
2019ralbidv 2464 . . . . . . . . . . . . . . . 16 (𝑧 = (𝑦 / 2) → (∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧) ↔ ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / (𝑦 / 2))))
2117, 20imbi12d 233 . . . . . . . . . . . . . . 15 (𝑧 = (𝑦 / 2) → ((𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ ((𝑦 / 2) < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / (𝑦 / 2)))))
2221rspcv 2821 . . . . . . . . . . . . . 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 9187 . . . . . . . . . . . . . . . . . . 19 (𝑧 ∈ ℤ → 𝑧 ∈ ℂ)
2726ad2antlr 481 . . . . . . . . . . . . . . . . . 18 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → 𝑧 ∈ ℂ)
28 nncn 8856 . . . . . . . . . . . . . . . . . . 19 (𝑦 ∈ ℕ → 𝑦 ∈ ℂ)
2928ad2antrr 480 . . . . . . . . . . . . . . . . . 18 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → 𝑦 ∈ ℂ)
30 2cnd 8921 . . . . . . . . . . . . . . . . . 18 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → 2 ∈ ℂ)
31 nnap0 8877 . . . . . . . . . . . . . . . . . . 19 (𝑦 ∈ ℕ → 𝑦 # 0)
3231ad2antrr 480 . . . . . . . . . . . . . . . . . 18 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → 𝑦 # 0)
33 2ap0 8941 . . . . . . . . . . . . . . . . . . 19 2 # 0
3433a1i 9 . . . . . . . . . . . . . . . . . 18 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → 2 # 0)
3527, 29, 30, 32, 34divcanap7d 8706 . . . . . . . . . . . . . . . . 17 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → ((𝑧 / 2) / (𝑦 / 2)) = (𝑧 / 𝑦))
3625, 35eqtr4d 2200 . . . . . . . . . . . . . . . 16 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → (√‘2) = ((𝑧 / 2) / (𝑦 / 2)))
37 simplr 520 . . . . . . . . . . . . . . . . . . . 20 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → 𝑧 ∈ ℤ)
38 simpll 519 . . . . . . . . . . . . . . . . . . . 20 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → 𝑦 ∈ ℕ)
3937, 38, 25sqrt2irrlem 12070 . . . . . . . . . . . . . . . . . . 19 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → ((𝑧 / 2) ∈ ℤ ∧ (𝑦 / 2) ∈ ℕ))
4039simprd 113 . . . . . . . . . . . . . . . . . 18 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → (𝑦 / 2) ∈ ℕ)
4139simpld 111 . . . . . . . . . . . . . . . . . . 19 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → (𝑧 / 2) ∈ ℤ)
42 oveq1 5843 . . . . . . . . . . . . . . . . . . . . 21 (𝑥 = (𝑧 / 2) → (𝑥 / (𝑦 / 2)) = ((𝑧 / 2) / (𝑦 / 2)))
4342neeq2d 2353 . . . . . . . . . . . . . . . . . . . 20 (𝑥 = (𝑧 / 2) → ((√‘2) ≠ (𝑥 / (𝑦 / 2)) ↔ (√‘2) ≠ ((𝑧 / 2) / (𝑦 / 2))))
4443rspcv 2821 . . . . . . . . . . . . . . . . . . 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 2392 . . . . . . . . . . . . . . . 16 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → ((√‘2) = ((𝑧 / 2) / (𝑦 / 2)) → ¬ ((𝑦 / 2) ∈ ℕ → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / (𝑦 / 2)))))
4836, 47mpd 13 . . . . . . . . . . . . . . 15 (((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) ∧ (√‘2) = (𝑧 / 𝑦)) → ¬ ((𝑦 / 2) ∈ ℕ → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / (𝑦 / 2))))
4948ex 114 . . . . . . . . . . . . . 14 ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) → ((√‘2) = (𝑧 / 𝑦) → ¬ ((𝑦 / 2) ∈ ℕ → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / (𝑦 / 2)))))
5049necon2ad 2391 . . . . . . . . . . . . 13 ((𝑦 ∈ ℕ ∧ 𝑧 ∈ ℤ) → (((𝑦 / 2) ∈ ℕ → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / (𝑦 / 2))) → (√‘2) ≠ (𝑧 / 𝑦)))
5150ralrimdva 2544 . . . . . . . . . . . 12 (𝑦 ∈ ℕ → (((𝑦 / 2) ∈ ℕ → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / (𝑦 / 2))) → ∀𝑧 ∈ ℤ (√‘2) ≠ (𝑧 / 𝑦)))
5224, 51syld 45 . . . . . . . . . . 11 (𝑦 ∈ ℕ → (∀𝑧 ∈ ℕ (𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) → ∀𝑧 ∈ ℤ (√‘2) ≠ (𝑧 / 𝑦)))
53 oveq1 5843 . . . . . . . . . . . . 13 (𝑥 = 𝑧 → (𝑥 / 𝑦) = (𝑧 / 𝑦))
5453neeq2d 2353 . . . . . . . . . . . 12 (𝑥 = 𝑧 → ((√‘2) ≠ (𝑥 / 𝑦) ↔ (√‘2) ≠ (𝑧 / 𝑦)))
5554cbvralv 2689 . . . . . . . . . . 11 (∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑦) ↔ ∀𝑧 ∈ ℤ (√‘2) ≠ (𝑧 / 𝑦))
5652, 55syl6ibr 161 . . . . . . . . . 10 (𝑦 ∈ ℕ → (∀𝑧 ∈ ℕ (𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑦)))
57 oveq2 5844 . . . . . . . . . . . . 13 (𝑧 = 𝑦 → (𝑥 / 𝑧) = (𝑥 / 𝑦))
5857neeq2d 2353 . . . . . . . . . . . 12 (𝑧 = 𝑦 → ((√‘2) ≠ (𝑥 / 𝑧) ↔ (√‘2) ≠ (𝑥 / 𝑦)))
5958ralbidv 2464 . . . . . . . . . . 11 (𝑧 = 𝑦 → (∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧) ↔ ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑦)))
6059ceqsralv 2752 . . . . . . . . . 10 (𝑦 ∈ ℕ → (∀𝑧 ∈ ℕ (𝑧 = 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑦)))
6156, 60sylibrd 168 . . . . . . . . 9 (𝑦 ∈ ℕ → (∀𝑧 ∈ ℕ (𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) → ∀𝑧 ∈ ℕ (𝑧 = 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧))))
6261ancld 323 . . . . . . . 8 (𝑦 ∈ ℕ → (∀𝑧 ∈ ℕ (𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) → (∀𝑧 ∈ ℕ (𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ∧ ∀𝑧 ∈ ℕ (𝑧 = 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)))))
63 nnleltp1 9241 . . . . . . . . . . . . . 14 ((𝑧 ∈ ℕ ∧ 𝑦 ∈ ℕ) → (𝑧𝑦𝑧 < (𝑦 + 1)))
64 nnz 9201 . . . . . . . . . . . . . . 15 (𝑧 ∈ ℕ → 𝑧 ∈ ℤ)
65 nnz 9201 . . . . . . . . . . . . . . 15 (𝑦 ∈ ℕ → 𝑦 ∈ ℤ)
66 zleloe 9229 . . . . . . . . . . . . . . 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 2460 . . . . . . . . 9 (𝑦 ∈ ℕ → (∀𝑧 ∈ ℕ (𝑧 < (𝑦 + 1) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ ∀𝑧 ∈ ℕ ((𝑧 < 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ∧ (𝑧 = 𝑦 → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)))))
74 r19.26 2590 . . . . . . . . 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 8864 . . . . . 6 ((𝑦 + 1) ∈ ℕ → ∀𝑧 ∈ ℕ (𝑧 < (𝑦 + 1) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)))
781, 77syl 14 . . . . 5 (𝑦 ∈ ℕ → ∀𝑧 ∈ ℕ (𝑧 < (𝑦 + 1) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)))
79 nnre 8855 . . . . . 6 (𝑦 ∈ ℕ → 𝑦 ∈ ℝ)
8079ltp1d 8816 . . . . 5 (𝑦 ∈ ℕ → 𝑦 < (𝑦 + 1))
81 breq1 3979 . . . . . . 7 (𝑧 = 𝑦 → (𝑧 < (𝑦 + 1) ↔ 𝑦 < (𝑦 + 1)))
82 df-ne 2335 . . . . . . . . . 10 ((√‘2) ≠ (𝑥 / 𝑦) ↔ ¬ (√‘2) = (𝑥 / 𝑦))
8358, 82bitrdi 195 . . . . . . . . 9 (𝑧 = 𝑦 → ((√‘2) ≠ (𝑥 / 𝑧) ↔ ¬ (√‘2) = (𝑥 / 𝑦)))
8483ralbidv 2464 . . . . . . . 8 (𝑧 = 𝑦 → (∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧) ↔ ∀𝑥 ∈ ℤ ¬ (√‘2) = (𝑥 / 𝑦)))
85 ralnex 2452 . . . . . . . 8 (∀𝑥 ∈ ℤ ¬ (√‘2) = (𝑥 / 𝑦) ↔ ¬ ∃𝑥 ∈ ℤ (√‘2) = (𝑥 / 𝑦))
8684, 85bitrdi 195 . . . . . . 7 (𝑧 = 𝑦 → (∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧) ↔ ¬ ∃𝑥 ∈ ℤ (√‘2) = (𝑥 / 𝑦)))
8781, 86imbi12d 233 . . . . . 6 (𝑧 = 𝑦 → ((𝑧 < (𝑦 + 1) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) ↔ (𝑦 < (𝑦 + 1) → ¬ ∃𝑥 ∈ ℤ (√‘2) = (𝑥 / 𝑦))))
8887rspcv 2821 . . . . 5 (𝑦 ∈ ℕ → (∀𝑧 ∈ ℕ (𝑧 < (𝑦 + 1) → ∀𝑥 ∈ ℤ (√‘2) ≠ (𝑥 / 𝑧)) → (𝑦 < (𝑦 + 1) → ¬ ∃𝑥 ∈ ℤ (√‘2) = (𝑥 / 𝑦))))
8978, 80, 88mp2d 47 . . . 4 (𝑦 ∈ ℕ → ¬ ∃𝑥 ∈ ℤ (√‘2) = (𝑥 / 𝑦))
9089nrex 2556 . . 3 ¬ ∃𝑦 ∈ ℕ ∃𝑥 ∈ ℤ (√‘2) = (𝑥 / 𝑦)
91 elq 9551 . . . 4 ((√‘2) ∈ ℚ ↔ ∃𝑥 ∈ ℤ ∃𝑦 ∈ ℕ (√‘2) = (𝑥 / 𝑦))
92 rexcom 2628 . . . 4 (∃𝑥 ∈ ℤ ∃𝑦 ∈ ℕ (√‘2) = (𝑥 / 𝑦) ↔ ∃𝑦 ∈ ℕ ∃𝑥 ∈ ℤ (√‘2) = (𝑥 / 𝑦))
9391, 92bitri 183 . . 3 ((√‘2) ∈ ℚ ↔ ∃𝑦 ∈ ℕ ∃𝑥 ∈ ℤ (√‘2) = (𝑥 / 𝑦))
9490, 93mtbir 661 . 2 ¬ (√‘2) ∈ ℚ
9594nelir 2432 1 (√‘2) ∉ ℚ
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104  wo 698   = wceq 1342  wcel 2135  wne 2334  wnel 2429  wral 2442  wrex 2443   class class class wbr 3976  cfv 5182  (class class class)co 5836  cc 7742  0cc0 7744  1c1 7745   + caddc 7747   < clt 7924  cle 7925   # cap 8470   / cdiv 8559  cn 8848  2c2 8899  cz 9182  cq 9548  +crp 9580  csqrt 10924
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 1434  ax-7 1435  ax-gen 1436  ax-ie1 1480  ax-ie2 1481  ax-8 1491  ax-10 1492  ax-11 1493  ax-i12 1494  ax-bndl 1496  ax-4 1497  ax-17 1513  ax-i9 1517  ax-ial 1521  ax-i5r 1522  ax-13 2137  ax-14 2138  ax-ext 2146  ax-coll 4091  ax-sep 4094  ax-nul 4102  ax-pow 4147  ax-pr 4181  ax-un 4405  ax-setind 4508  ax-iinf 4559  ax-cnex 7835  ax-resscn 7836  ax-1cn 7837  ax-1re 7838  ax-icn 7839  ax-addcl 7840  ax-addrcl 7841  ax-mulcl 7842  ax-mulrcl 7843  ax-addcom 7844  ax-mulcom 7845  ax-addass 7846  ax-mulass 7847  ax-distr 7848  ax-i2m1 7849  ax-0lt1 7850  ax-1rid 7851  ax-0id 7852  ax-rnegex 7853  ax-precex 7854  ax-cnre 7855  ax-pre-ltirr 7856  ax-pre-ltwlin 7857  ax-pre-lttrn 7858  ax-pre-apti 7859  ax-pre-ltadd 7860  ax-pre-mulgt0 7861  ax-pre-mulext 7862  ax-arch 7863  ax-caucvg 7864
This theorem depends on definitions:  df-bi 116  df-dc 825  df-3or 968  df-3an 969  df-tru 1345  df-fal 1348  df-nf 1448  df-sb 1750  df-eu 2016  df-mo 2017  df-clab 2151  df-cleq 2157  df-clel 2160  df-nfc 2295  df-ne 2335  df-nel 2430  df-ral 2447  df-rex 2448  df-reu 2449  df-rmo 2450  df-rab 2451  df-v 2723  df-sbc 2947  df-csb 3041  df-dif 3113  df-un 3115  df-in 3117  df-ss 3124  df-nul 3405  df-if 3516  df-pw 3555  df-sn 3576  df-pr 3577  df-op 3579  df-uni 3784  df-int 3819  df-iun 3862  df-br 3977  df-opab 4038  df-mpt 4039  df-tr 4075  df-id 4265  df-po 4268  df-iso 4269  df-iord 4338  df-on 4340  df-ilim 4341  df-suc 4343  df-iom 4562  df-xp 4604  df-rel 4605  df-cnv 4606  df-co 4607  df-dm 4608  df-rn 4609  df-res 4610  df-ima 4611  df-iota 5147  df-fun 5184  df-fn 5185  df-f 5186  df-f1 5187  df-fo 5188  df-f1o 5189  df-fv 5190  df-riota 5792  df-ov 5839  df-oprab 5840  df-mpo 5841  df-1st 6100  df-2nd 6101  df-recs 6264  df-frec 6350  df-pnf 7926  df-mnf 7927  df-xr 7928  df-ltxr 7929  df-le 7930  df-sub 8062  df-neg 8063  df-reap 8464  df-ap 8471  df-div 8560  df-inn 8849  df-2 8907  df-3 8908  df-4 8909  df-n0 9106  df-z 9183  df-uz 9458  df-q 9549  df-rp 9581  df-seqfrec 10371  df-exp 10445  df-rsqrt 10926
This theorem is referenced by:  sqrt2irr0  12073
  Copyright terms: Public domain W3C validator