| Intuitionistic Logic Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > ILE Home > Th. List > expnprm | GIF version | ||
| Description: A second or higher power of a rational number is not a prime number. Or by contraposition, the n-th root of a prime number is not rational. Suggested by Norm Megill. (Contributed by Mario Carneiro, 10-Aug-2015.) |
| Ref | Expression |
|---|---|
| expnprm | ⊢ ((𝐴 ∈ ℚ ∧ 𝑁 ∈ (ℤ≥‘2)) → ¬ (𝐴↑𝑁) ∈ ℙ) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | eluz2b3 9831 | . . . 4 ⊢ (𝑁 ∈ (ℤ≥‘2) ↔ (𝑁 ∈ ℕ ∧ 𝑁 ≠ 1)) | |
| 2 | 1 | simprbi 275 | . . 3 ⊢ (𝑁 ∈ (ℤ≥‘2) → 𝑁 ≠ 1) |
| 3 | 2 | adantl 277 | . 2 ⊢ ((𝐴 ∈ ℚ ∧ 𝑁 ∈ (ℤ≥‘2)) → 𝑁 ≠ 1) |
| 4 | eluzelz 9758 | . . . . . . . 8 ⊢ (𝑁 ∈ (ℤ≥‘2) → 𝑁 ∈ ℤ) | |
| 5 | 4 | ad2antlr 489 | . . . . . . 7 ⊢ (((𝐴 ∈ ℚ ∧ 𝑁 ∈ (ℤ≥‘2)) ∧ (𝐴↑𝑁) ∈ ℙ) → 𝑁 ∈ ℤ) |
| 6 | simpr 110 | . . . . . . . 8 ⊢ (((𝐴 ∈ ℚ ∧ 𝑁 ∈ (ℤ≥‘2)) ∧ (𝐴↑𝑁) ∈ ℙ) → (𝐴↑𝑁) ∈ ℙ) | |
| 7 | simpll 527 | . . . . . . . 8 ⊢ (((𝐴 ∈ ℚ ∧ 𝑁 ∈ (ℤ≥‘2)) ∧ (𝐴↑𝑁) ∈ ℙ) → 𝐴 ∈ ℚ) | |
| 8 | prmnn 12675 | . . . . . . . . . . . 12 ⊢ ((𝐴↑𝑁) ∈ ℙ → (𝐴↑𝑁) ∈ ℕ) | |
| 9 | 8 | adantl 277 | . . . . . . . . . . 11 ⊢ (((𝐴 ∈ ℚ ∧ 𝑁 ∈ (ℤ≥‘2)) ∧ (𝐴↑𝑁) ∈ ℙ) → (𝐴↑𝑁) ∈ ℕ) |
| 10 | 9 | nnne0d 9181 | . . . . . . . . . 10 ⊢ (((𝐴 ∈ ℚ ∧ 𝑁 ∈ (ℤ≥‘2)) ∧ (𝐴↑𝑁) ∈ ℙ) → (𝐴↑𝑁) ≠ 0) |
| 11 | eluz2nn 9793 | . . . . . . . . . . . 12 ⊢ (𝑁 ∈ (ℤ≥‘2) → 𝑁 ∈ ℕ) | |
| 12 | 11 | ad2antlr 489 | . . . . . . . . . . 11 ⊢ (((𝐴 ∈ ℚ ∧ 𝑁 ∈ (ℤ≥‘2)) ∧ (𝐴↑𝑁) ∈ ℙ) → 𝑁 ∈ ℕ) |
| 13 | 12 | 0expd 10944 | . . . . . . . . . 10 ⊢ (((𝐴 ∈ ℚ ∧ 𝑁 ∈ (ℤ≥‘2)) ∧ (𝐴↑𝑁) ∈ ℙ) → (0↑𝑁) = 0) |
| 14 | 10, 13 | neeqtrrd 2430 | . . . . . . . . 9 ⊢ (((𝐴 ∈ ℚ ∧ 𝑁 ∈ (ℤ≥‘2)) ∧ (𝐴↑𝑁) ∈ ℙ) → (𝐴↑𝑁) ≠ (0↑𝑁)) |
| 15 | oveq1 6020 | . . . . . . . . . 10 ⊢ (𝐴 = 0 → (𝐴↑𝑁) = (0↑𝑁)) | |
| 16 | 15 | necon3i 2448 | . . . . . . . . 9 ⊢ ((𝐴↑𝑁) ≠ (0↑𝑁) → 𝐴 ≠ 0) |
| 17 | 14, 16 | syl 14 | . . . . . . . 8 ⊢ (((𝐴 ∈ ℚ ∧ 𝑁 ∈ (ℤ≥‘2)) ∧ (𝐴↑𝑁) ∈ ℙ) → 𝐴 ≠ 0) |
| 18 | pcqcl 12872 | . . . . . . . 8 ⊢ (((𝐴↑𝑁) ∈ ℙ ∧ (𝐴 ∈ ℚ ∧ 𝐴 ≠ 0)) → ((𝐴↑𝑁) pCnt 𝐴) ∈ ℤ) | |
| 19 | 6, 7, 17, 18 | syl12anc 1269 | . . . . . . 7 ⊢ (((𝐴 ∈ ℚ ∧ 𝑁 ∈ (ℤ≥‘2)) ∧ (𝐴↑𝑁) ∈ ℙ) → ((𝐴↑𝑁) pCnt 𝐴) ∈ ℤ) |
| 20 | dvdsmul1 12367 | . . . . . . 7 ⊢ ((𝑁 ∈ ℤ ∧ ((𝐴↑𝑁) pCnt 𝐴) ∈ ℤ) → 𝑁 ∥ (𝑁 · ((𝐴↑𝑁) pCnt 𝐴))) | |
| 21 | 5, 19, 20 | syl2anc 411 | . . . . . 6 ⊢ (((𝐴 ∈ ℚ ∧ 𝑁 ∈ (ℤ≥‘2)) ∧ (𝐴↑𝑁) ∈ ℙ) → 𝑁 ∥ (𝑁 · ((𝐴↑𝑁) pCnt 𝐴))) |
| 22 | 9 | nncnd 9150 | . . . . . . . . 9 ⊢ (((𝐴 ∈ ℚ ∧ 𝑁 ∈ (ℤ≥‘2)) ∧ (𝐴↑𝑁) ∈ ℙ) → (𝐴↑𝑁) ∈ ℂ) |
| 23 | 22 | exp1d 10923 | . . . . . . . 8 ⊢ (((𝐴 ∈ ℚ ∧ 𝑁 ∈ (ℤ≥‘2)) ∧ (𝐴↑𝑁) ∈ ℙ) → ((𝐴↑𝑁)↑1) = (𝐴↑𝑁)) |
| 24 | 23 | oveq2d 6029 | . . . . . . 7 ⊢ (((𝐴 ∈ ℚ ∧ 𝑁 ∈ (ℤ≥‘2)) ∧ (𝐴↑𝑁) ∈ ℙ) → ((𝐴↑𝑁) pCnt ((𝐴↑𝑁)↑1)) = ((𝐴↑𝑁) pCnt (𝐴↑𝑁))) |
| 25 | 1z 9498 | . . . . . . . 8 ⊢ 1 ∈ ℤ | |
| 26 | pcid 12890 | . . . . . . . 8 ⊢ (((𝐴↑𝑁) ∈ ℙ ∧ 1 ∈ ℤ) → ((𝐴↑𝑁) pCnt ((𝐴↑𝑁)↑1)) = 1) | |
| 27 | 6, 25, 26 | sylancl 413 | . . . . . . 7 ⊢ (((𝐴 ∈ ℚ ∧ 𝑁 ∈ (ℤ≥‘2)) ∧ (𝐴↑𝑁) ∈ ℙ) → ((𝐴↑𝑁) pCnt ((𝐴↑𝑁)↑1)) = 1) |
| 28 | pcexp 12875 | . . . . . . . 8 ⊢ (((𝐴↑𝑁) ∈ ℙ ∧ (𝐴 ∈ ℚ ∧ 𝐴 ≠ 0) ∧ 𝑁 ∈ ℤ) → ((𝐴↑𝑁) pCnt (𝐴↑𝑁)) = (𝑁 · ((𝐴↑𝑁) pCnt 𝐴))) | |
| 29 | 6, 7, 17, 5, 28 | syl121anc 1276 | . . . . . . 7 ⊢ (((𝐴 ∈ ℚ ∧ 𝑁 ∈ (ℤ≥‘2)) ∧ (𝐴↑𝑁) ∈ ℙ) → ((𝐴↑𝑁) pCnt (𝐴↑𝑁)) = (𝑁 · ((𝐴↑𝑁) pCnt 𝐴))) |
| 30 | 24, 27, 29 | 3eqtr3rd 2271 | . . . . . 6 ⊢ (((𝐴 ∈ ℚ ∧ 𝑁 ∈ (ℤ≥‘2)) ∧ (𝐴↑𝑁) ∈ ℙ) → (𝑁 · ((𝐴↑𝑁) pCnt 𝐴)) = 1) |
| 31 | 21, 30 | breqtrd 4112 | . . . . 5 ⊢ (((𝐴 ∈ ℚ ∧ 𝑁 ∈ (ℤ≥‘2)) ∧ (𝐴↑𝑁) ∈ ℙ) → 𝑁 ∥ 1) |
| 32 | 31 | ex 115 | . . . 4 ⊢ ((𝐴 ∈ ℚ ∧ 𝑁 ∈ (ℤ≥‘2)) → ((𝐴↑𝑁) ∈ ℙ → 𝑁 ∥ 1)) |
| 33 | 11 | adantl 277 | . . . . . 6 ⊢ ((𝐴 ∈ ℚ ∧ 𝑁 ∈ (ℤ≥‘2)) → 𝑁 ∈ ℕ) |
| 34 | 33 | nnnn0d 9448 | . . . . 5 ⊢ ((𝐴 ∈ ℚ ∧ 𝑁 ∈ (ℤ≥‘2)) → 𝑁 ∈ ℕ0) |
| 35 | dvds1 12407 | . . . . 5 ⊢ (𝑁 ∈ ℕ0 → (𝑁 ∥ 1 ↔ 𝑁 = 1)) | |
| 36 | 34, 35 | syl 14 | . . . 4 ⊢ ((𝐴 ∈ ℚ ∧ 𝑁 ∈ (ℤ≥‘2)) → (𝑁 ∥ 1 ↔ 𝑁 = 1)) |
| 37 | 32, 36 | sylibd 149 | . . 3 ⊢ ((𝐴 ∈ ℚ ∧ 𝑁 ∈ (ℤ≥‘2)) → ((𝐴↑𝑁) ∈ ℙ → 𝑁 = 1)) |
| 38 | 37 | necon3ad 2442 | . 2 ⊢ ((𝐴 ∈ ℚ ∧ 𝑁 ∈ (ℤ≥‘2)) → (𝑁 ≠ 1 → ¬ (𝐴↑𝑁) ∈ ℙ)) |
| 39 | 3, 38 | mpd 13 | 1 ⊢ ((𝐴 ∈ ℚ ∧ 𝑁 ∈ (ℤ≥‘2)) → ¬ (𝐴↑𝑁) ∈ ℙ) |
| Colors of variables: wff set class |
| Syntax hints: ¬ wn 3 → wi 4 ∧ wa 104 ↔ wb 105 = wceq 1395 ∈ wcel 2200 ≠ wne 2400 class class class wbr 4086 ‘cfv 5324 (class class class)co 6013 0cc0 8025 1c1 8026 · cmul 8030 ℕcn 9136 2c2 9187 ℕ0cn0 9395 ℤcz 9472 ℤ≥cuz 9748 ℚcq 9846 ↑cexp 10793 ∥ cdvds 12341 ℙcprime 12672 pCnt cpc 12850 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-ia1 106 ax-ia2 107 ax-ia3 108 ax-in1 617 ax-in2 618 ax-io 714 ax-5 1493 ax-7 1494 ax-gen 1495 ax-ie1 1539 ax-ie2 1540 ax-8 1550 ax-10 1551 ax-11 1552 ax-i12 1553 ax-bndl 1555 ax-4 1556 ax-17 1572 ax-i9 1576 ax-ial 1580 ax-i5r 1581 ax-13 2202 ax-14 2203 ax-ext 2211 ax-coll 4202 ax-sep 4205 ax-nul 4213 ax-pow 4262 ax-pr 4297 ax-un 4528 ax-setind 4633 ax-iinf 4684 ax-cnex 8116 ax-resscn 8117 ax-1cn 8118 ax-1re 8119 ax-icn 8120 ax-addcl 8121 ax-addrcl 8122 ax-mulcl 8123 ax-mulrcl 8124 ax-addcom 8125 ax-mulcom 8126 ax-addass 8127 ax-mulass 8128 ax-distr 8129 ax-i2m1 8130 ax-0lt1 8131 ax-1rid 8132 ax-0id 8133 ax-rnegex 8134 ax-precex 8135 ax-cnre 8136 ax-pre-ltirr 8137 ax-pre-ltwlin 8138 ax-pre-lttrn 8139 ax-pre-apti 8140 ax-pre-ltadd 8141 ax-pre-mulgt0 8142 ax-pre-mulext 8143 ax-arch 8144 ax-caucvg 8145 |
| This theorem depends on definitions: df-bi 117 df-stab 836 df-dc 840 df-3or 1003 df-3an 1004 df-tru 1398 df-fal 1401 df-nf 1507 df-sb 1809 df-eu 2080 df-mo 2081 df-clab 2216 df-cleq 2222 df-clel 2225 df-nfc 2361 df-ne 2401 df-nel 2496 df-ral 2513 df-rex 2514 df-reu 2515 df-rmo 2516 df-rab 2517 df-v 2802 df-sbc 3030 df-csb 3126 df-dif 3200 df-un 3202 df-in 3204 df-ss 3211 df-nul 3493 df-if 3604 df-pw 3652 df-sn 3673 df-pr 3674 df-op 3676 df-uni 3892 df-int 3927 df-iun 3970 df-br 4087 df-opab 4149 df-mpt 4150 df-tr 4186 df-id 4388 df-po 4391 df-iso 4392 df-iord 4461 df-on 4463 df-ilim 4464 df-suc 4466 df-iom 4687 df-xp 4729 df-rel 4730 df-cnv 4731 df-co 4732 df-dm 4733 df-rn 4734 df-res 4735 df-ima 4736 df-iota 5284 df-fun 5326 df-fn 5327 df-f 5328 df-f1 5329 df-fo 5330 df-f1o 5331 df-fv 5332 df-isom 5333 df-riota 5966 df-ov 6016 df-oprab 6017 df-mpo 6018 df-1st 6298 df-2nd 6299 df-recs 6466 df-frec 6552 df-1o 6577 df-2o 6578 df-er 6697 df-en 6905 df-sup 7177 df-inf 7178 df-pnf 8209 df-mnf 8210 df-xr 8211 df-ltxr 8212 df-le 8213 df-sub 8345 df-neg 8346 df-reap 8748 df-ap 8755 df-div 8846 df-inn 9137 df-2 9195 df-3 9196 df-4 9197 df-n0 9396 df-z 9473 df-uz 9749 df-q 9847 df-rp 9882 df-fz 10237 df-fzo 10371 df-fl 10523 df-mod 10578 df-seqfrec 10703 df-exp 10794 df-cj 11396 df-re 11397 df-im 11398 df-rsqrt 11552 df-abs 11553 df-dvds 12342 df-gcd 12518 df-prm 12673 df-pc 12851 |
| This theorem is referenced by: (None) |
| Copyright terms: Public domain | W3C validator |