HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
Unicode version

Theorem sqr2irr 6610
Description: The square root of 2 is irrational.
Assertion
Ref Expression
sqr2irr |- (sqr` 2) e/ QQ

Proof of Theorem sqr2irr
StepHypRef Expression
1 sqr2irrlem3 6607 . . . . 5 |- -. E.x e. NN E.y e. NN (x^2) = (2 x. (y^2))
2 sqr2irrlem5 6609 . . . . . 6 |- ((x e. NN /\ y e. NN) -> ((sqr` 2) = (x / y) <-> (x^2) = (2 x. (y^2))))
322rexbiia 1651 . . . . 5 |- (E.x e. NN E.y e. NN (sqr` 2) = (x / y) <-> E.x e. NN E.y e. NN (x^2) = (2 x. (y^2)))
41, 3mtbir 192 . . . 4 |- -. E.x e. NN E.y e. NN (sqr` 2) = (x / y)
5 nngt0t 5845 . . . . . . . . . . . . . 14 |- (y e. NN -> 0 < y)
65adantr 389 . . . . . . . . . . . . 13 |- ((y e. NN /\ x e. ZZ) -> 0 < y)
7 0re 5363 . . . . . . . . . . . . . . 15 |- 0 e. RR
8 ltmuldivt 5768 . . . . . . . . . . . . . . . 16 |- (((0 e. RR /\ y e. RR /\ x e. RR) /\ 0 < y) -> ((0 x. y) < x <-> 0 < (x / y)))
98ex 373 . . . . . . . . . . . . . . 15 |- ((0 e. RR /\ y e. RR /\ x e. RR) -> (0 < y -> ((0 x. y) < x <-> 0 < (x / y))))
107, 9mp3an1 899 . . . . . . . . . . . . . 14 |- ((y e. RR /\ x e. RR) -> (0 < y -> ((0 x. y) < x <-> 0 < (x / y))))
11 nnret 5828 . . . . . . . . . . . . . 14 |- (y e. NN -> y e. RR)
12 zret 6037 . . . . . . . . . . . . . 14 |- (x e. ZZ -> x e. RR)
1310, 11, 12syl2an 454 . . . . . . . . . . . . 13 |- ((y e. NN /\ x e. ZZ) -> (0 < y -> ((0 x. y) < x <-> 0 < (x / y))))
146, 13mpd 26 . . . . . . . . . . . 12 |- ((y e. NN /\ x e. ZZ) -> ((0 x. y) < x <-> 0 < (x / y)))
1514ancoms 436 . . . . . . . . . . 11 |- ((x e. ZZ /\ y e. NN) -> ((0 x. y) < x <-> 0 < (x / y)))
16 2re 5877 . . . . . . . . . . . . 13 |- 2 e. RR
17 2pos 5887 . . . . . . . . . . . . 13 |- 0 < 2
1816, 17sqrgt0i 6578 . . . . . . . . . . . 12 |- 0 < (sqr` 2)
19 breq2 2591 . . . . . . . . . . . 12 |- ((sqr` 2) = (x / y) -> (0 < (sqr` 2) <-> 0 < (x / y)))
2018, 19mpbii 193 . . . . . . . . . . 11 |- ((sqr` 2) = (x / y) -> 0 < (x / y))
2115, 20syl5bir 210 . . . . . . . . . 10 |- ((x e. ZZ /\ y e. NN) -> ((sqr` 2) = (x / y) -> (0 x. y) < x))
22 nncnt 5829 . . . . . . . . . . . . 13 |- (y e. NN -> y e. CC)
23 mul02t 5367 . . . . . . . . . . . . 13 |- (y e. CC -> (0 x. y) = 0)
2422, 23syl 10 . . . . . . . . . . . 12 |- (y e. NN -> (0 x. y) = 0)
2524breq1d 2597 . . . . . . . . . . 11 |- (y e. NN -> ((0 x. y) < x <-> 0 < x))
2625adantl 388 . . . . . . . . . 10 |- ((x e. ZZ /\ y e. NN) -> ((0 x. y) < x <-> 0 < x))
2721, 26sylibd 202 . . . . . . . . 9 |- ((x e. ZZ /\ y e. NN) -> ((sqr` 2) = (x / y) -> 0 < x))
2827r19.23adva 1723 . . . . . . . 8 |- (x e. ZZ -> (E.y e. NN (sqr` 2) = (x / y) -> 0 < x))
2928anc2li 302 . . . . . . 7 |- (x e. ZZ -> (E.y e. NN (sqr` 2) = (x / y) -> (x e. ZZ /\ 0 < x)))
30 elnnz 6043 . . . . . . 7 |- (x e. NN <-> (x e. ZZ /\ 0 < x))
3129, 30syl6ibr 213 . . . . . 6 |- (x e. ZZ -> (E.y e. NN (sqr` 2) = (x / y) -> x e. NN))
3231impac 387 . . . . 5 |- ((x e. ZZ /\ E.y e. NN (sqr` 2) = (x / y)) -> (x e. NN /\ E.y e. NN (sqr` 2) = (x / y)))
3332r19.22i2 1709 . . . 4 |- (E.x e. ZZ E.y e. NN (sqr` 2) = (x / y) -> E.x e. NN E.y e. NN (sqr` 2) = (x / y))
344, 33mto 106 . . 3 |- -. E.x e. ZZ E.y e. NN (sqr` 2) = (x / y)
35 elq 6146 . . 3 |- ((sqr` 2) e. QQ <-> E.x e. ZZ E.y e. NN (sqr` 2) = (x / y))
3634, 35mtbir 192 . 2 |- -. (sqr` 2) e. QQ
37 df-nel 1564 . 2 |- ((sqr` 2) e/ QQ <-> -. (sqr` 2) e. QQ)
3836, 37mpbir 190 1 |- (sqr` 2) e/ QQ
Colors of variables: wff set class
Syntax hints:  -. wn 2   -> wi 3   <-> wb 146   /\ wa 223   /\ w3a 772   = wceq 1099   e. wcel 1105   e/ wnel 1562  E.wrex 1622   class class class wbr 2587  ` cfv 3145  (class class class)co 3902  CCcc 5155  RRcr 5156  0cc0 5157   x. cmul 5162   / cdiv 5217  NNcn 5219  ZZcz 5221  QQcq 5222   < clt 5409  2c2 5859  ^cexp 6451  sqrcsqr 6550
This theorem is referenced by:  nthruc 6627
This theorem was proved from axioms:  ax-1 4  ax-2 5  ax-3 6  ax-mp 7  ax-4 951  ax-5 952  ax-6 953  ax-7 954  ax-gen 955  ax-8 1101  ax-9 1102  ax-10 1103  ax-12 1104  ax-13 1107  ax-14 1108  ax-11 1180  ax-17 1190  ax-16 1194  ax-11o 1202  ax-ext 1436  ax-rep 2661  ax-sep 2671  ax-nul 2678  ax-pow 2710  ax-pr 2747  ax-un 2830  ax-inf2 4549
This theorem depends on definitions:  df-bi 147  df-or 224  df-an 225  df-3or 773  df-3an 774  df-ex 957  df-sb 1155  df-eu 1359  df-mo 1360  df-clab 1441  df-cleq 1446  df-clel 1449  df-ne 1563  df-nel 1564  df-ral 1625  df-rex 1626  df-reu 1627  df-rab 1628  df-v 1787  df-sbc 1913  df-csb 1973  df-dif 2020  df-un 2021  df-in 2022  df-ss 2024  df-pss 2026  df-nul 2252  df-if 2333  df-pw 2373  df-sn 2383  df-pr 2384  df-tp 2386  df-op 2387  df-uni 2472  df-int 2502  df-iun 2536  df-br 2588  df-opab 2635  df-tr 2649  df-eprel 2794  df-id 2797  df-po 2804  df-so 2814  df-fr 2880  df-we 2897  df-ord 2914  df-on 2915  df-lim 2916  df-suc 2917  df-om 3095  df-xp 3147  df-rel 3148  df-cnv 3149  df-co 3150  df-dm 3151  df-rn 3152  df-res 3153  df-ima 3154  df-fun 3155  df-fn 3156  df-f 3157  df-f1 3158  df-fo 3159  df-f1o 3160  df-fv 3161  df-rdg 3871  df-opr 3904  df-oprab 3905  df-1st 4017  df-2nd 4018  df-1o 4071  df-oadd 4073  df-omul 4074  df-er 4199  df-ec 4201  df-qs 4204  df-en 4305  df-dom 4306  df-sdom 4307  df-sup 4500  df-ni 4923  df-pli 4924  df-mi 4925  df-lti 4926  df-plpq 4958  df-mpq 4959  df-enq 4960  df-nq 4961  df-plq 4962  df-mq 4963  df-rq 4964  df-ltq 4965  df-1q 4966  df-np 5009  df-1p 5010  df-plp 5011  df-mp 5012  df-ltp 5013  df-plpr 5087  df-mpr 5088  df-enr 5089  df-nr 5090  df-plr 5091  df-mr 5092  df-ltr 5093  df-0r 5094  df-1r 5095  df-m1r 5096  df-c 5163  df-0 5164  df-1 5165  df-i 5166  df-r 5167  df-plus 5168  df-mul 5169  df-lt 5170  df-sub 5279  df-neg 5281  df-pnf 5410  df-mnf 5411  df-xr 5412  df-ltxr 5413  df-le 5414  df-div 5623  df-n 5824  df-2 5868  df-n0 5998  df-z 6034  df-q 6145  df-seq1 6196  df-uz 6301  df-exp 6452  df-sqr 6551
Copyright terms: Public domain