| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > infpnlem2 | Structured version Visualization version GIF version | ||
| Description: Lemma for infpn 16939. For any positive integer 𝑁, there exists a prime number 𝑗 greater than 𝑁. (Contributed by NM, 5-May-2005.) |
| Ref | Expression |
|---|---|
| infpnlem.1 | ⊢ 𝐾 = ((!‘𝑁) + 1) |
| Ref | Expression |
|---|---|
| infpnlem2 | ⊢ (𝑁 ∈ ℕ → ∃𝑗 ∈ ℕ (𝑁 < 𝑗 ∧ ∀𝑘 ∈ ℕ ((𝑗 / 𝑘) ∈ ℕ → (𝑘 = 1 ∨ 𝑘 = 𝑗)))) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | infpnlem.1 | . . . . 5 ⊢ 𝐾 = ((!‘𝑁) + 1) | |
| 2 | nnnn0 12482 | . . . . . . 7 ⊢ (𝑁 ∈ ℕ → 𝑁 ∈ ℕ0) | |
| 3 | 2 | faccld 14291 | . . . . . 6 ⊢ (𝑁 ∈ ℕ → (!‘𝑁) ∈ ℕ) |
| 4 | 3 | peano2nnd 12221 | . . . . 5 ⊢ (𝑁 ∈ ℕ → ((!‘𝑁) + 1) ∈ ℕ) |
| 5 | 1, 4 | eqeltrid 2865 | . . . 4 ⊢ (𝑁 ∈ ℕ → 𝐾 ∈ ℕ) |
| 6 | 3 | nnge1d 12255 | . . . . . 6 ⊢ (𝑁 ∈ ℕ → 1 ≤ (!‘𝑁)) |
| 7 | 1nn 12215 | . . . . . . 7 ⊢ 1 ∈ ℕ | |
| 8 | nnleltp1 12622 | . . . . . . 7 ⊢ ((1 ∈ ℕ ∧ (!‘𝑁) ∈ ℕ) → (1 ≤ (!‘𝑁) ↔ 1 < ((!‘𝑁) + 1))) | |
| 9 | 7, 3, 8 | sylancr 596 | . . . . . 6 ⊢ (𝑁 ∈ ℕ → (1 ≤ (!‘𝑁) ↔ 1 < ((!‘𝑁) + 1))) |
| 10 | 6, 9 | mpbid 234 | . . . . 5 ⊢ (𝑁 ∈ ℕ → 1 < ((!‘𝑁) + 1)) |
| 11 | 10, 1 | breqtrrdi 5139 | . . . 4 ⊢ (𝑁 ∈ ℕ → 1 < 𝐾) |
| 12 | nncn 12212 | . . . . . . 7 ⊢ (𝐾 ∈ ℕ → 𝐾 ∈ ℂ) | |
| 13 | nnne0 12241 | . . . . . . 7 ⊢ (𝐾 ∈ ℕ → 𝐾 ≠ 0) | |
| 14 | 12, 13 | jca 519 | . . . . . 6 ⊢ (𝐾 ∈ ℕ → (𝐾 ∈ ℂ ∧ 𝐾 ≠ 0)) |
| 15 | divid 11870 | . . . . . 6 ⊢ ((𝐾 ∈ ℂ ∧ 𝐾 ≠ 0) → (𝐾 / 𝐾) = 1) | |
| 16 | 5, 14, 15 | 3syl 18 | . . . . 5 ⊢ (𝑁 ∈ ℕ → (𝐾 / 𝐾) = 1) |
| 17 | 16, 7 | eqeltrdi 2869 | . . . 4 ⊢ (𝑁 ∈ ℕ → (𝐾 / 𝐾) ∈ ℕ) |
| 18 | breq2 5101 | . . . . . 6 ⊢ (𝑗 = 𝐾 → (1 < 𝑗 ↔ 1 < 𝐾)) | |
| 19 | oveq2 7399 | . . . . . . 7 ⊢ (𝑗 = 𝐾 → (𝐾 / 𝑗) = (𝐾 / 𝐾)) | |
| 20 | 19 | eleq1d 2846 | . . . . . 6 ⊢ (𝑗 = 𝐾 → ((𝐾 / 𝑗) ∈ ℕ ↔ (𝐾 / 𝐾) ∈ ℕ)) |
| 21 | 18, 20 | anbi12d 641 | . . . . 5 ⊢ (𝑗 = 𝐾 → ((1 < 𝑗 ∧ (𝐾 / 𝑗) ∈ ℕ) ↔ (1 < 𝐾 ∧ (𝐾 / 𝐾) ∈ ℕ))) |
| 22 | 21 | rspcev 3580 | . . . 4 ⊢ ((𝐾 ∈ ℕ ∧ (1 < 𝐾 ∧ (𝐾 / 𝐾) ∈ ℕ)) → ∃𝑗 ∈ ℕ (1 < 𝑗 ∧ (𝐾 / 𝑗) ∈ ℕ)) |
| 23 | 5, 11, 17, 22 | syl12anc 847 | . . 3 ⊢ (𝑁 ∈ ℕ → ∃𝑗 ∈ ℕ (1 < 𝑗 ∧ (𝐾 / 𝑗) ∈ ℕ)) |
| 24 | breq2 5101 | . . . . 5 ⊢ (𝑗 = 𝑘 → (1 < 𝑗 ↔ 1 < 𝑘)) | |
| 25 | oveq2 7399 | . . . . . 6 ⊢ (𝑗 = 𝑘 → (𝐾 / 𝑗) = (𝐾 / 𝑘)) | |
| 26 | 25 | eleq1d 2846 | . . . . 5 ⊢ (𝑗 = 𝑘 → ((𝐾 / 𝑗) ∈ ℕ ↔ (𝐾 / 𝑘) ∈ ℕ)) |
| 27 | 24, 26 | anbi12d 641 | . . . 4 ⊢ (𝑗 = 𝑘 → ((1 < 𝑗 ∧ (𝐾 / 𝑗) ∈ ℕ) ↔ (1 < 𝑘 ∧ (𝐾 / 𝑘) ∈ ℕ))) |
| 28 | 27 | nnwos 12910 | . . 3 ⊢ (∃𝑗 ∈ ℕ (1 < 𝑗 ∧ (𝐾 / 𝑗) ∈ ℕ) → ∃𝑗 ∈ ℕ ((1 < 𝑗 ∧ (𝐾 / 𝑗) ∈ ℕ) ∧ ∀𝑘 ∈ ℕ ((1 < 𝑘 ∧ (𝐾 / 𝑘) ∈ ℕ) → 𝑗 ≤ 𝑘))) |
| 29 | 23, 28 | syl 17 | . 2 ⊢ (𝑁 ∈ ℕ → ∃𝑗 ∈ ℕ ((1 < 𝑗 ∧ (𝐾 / 𝑗) ∈ ℕ) ∧ ∀𝑘 ∈ ℕ ((1 < 𝑘 ∧ (𝐾 / 𝑘) ∈ ℕ) → 𝑗 ≤ 𝑘))) |
| 30 | 1 | infpnlem1 16937 | . . 3 ⊢ ((𝑁 ∈ ℕ ∧ 𝑗 ∈ ℕ) → (((1 < 𝑗 ∧ (𝐾 / 𝑗) ∈ ℕ) ∧ ∀𝑘 ∈ ℕ ((1 < 𝑘 ∧ (𝐾 / 𝑘) ∈ ℕ) → 𝑗 ≤ 𝑘)) → (𝑁 < 𝑗 ∧ ∀𝑘 ∈ ℕ ((𝑗 / 𝑘) ∈ ℕ → (𝑘 = 1 ∨ 𝑘 = 𝑗))))) |
| 31 | 30 | reximdva 3174 | . 2 ⊢ (𝑁 ∈ ℕ → (∃𝑗 ∈ ℕ ((1 < 𝑗 ∧ (𝐾 / 𝑗) ∈ ℕ) ∧ ∀𝑘 ∈ ℕ ((1 < 𝑘 ∧ (𝐾 / 𝑘) ∈ ℕ) → 𝑗 ≤ 𝑘)) → ∃𝑗 ∈ ℕ (𝑁 < 𝑗 ∧ ∀𝑘 ∈ ℕ ((𝑗 / 𝑘) ∈ ℕ → (𝑘 = 1 ∨ 𝑘 = 𝑗))))) |
| 32 | 29, 31 | mpd 15 | 1 ⊢ (𝑁 ∈ ℕ → ∃𝑗 ∈ ℕ (𝑁 < 𝑗 ∧ ∀𝑘 ∈ ℕ ((𝑗 / 𝑘) ∈ ℕ → (𝑘 = 1 ∨ 𝑘 = 𝑗)))) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ↔ wb 208 ∧ wa 399 ∨ wo 858 = wceq 1559 ∈ wcel 2141 ≠ wne 2956 ∀wral 3075 ∃wrex 3085 class class class wbr 5097 ‘cfv 6516 (class class class)co 7391 ℂcc 11065 0cc0 11067 1c1 11068 + caddc 11070 < clt 11210 ≤ cle 11211 / cdiv 11838 ℕcn 12204 !cfa 14280 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1814 ax-4 1828 ax-5 1929 ax-6 1986 ax-7 2027 ax-8 2143 ax-9 2151 ax-10 2174 ax-11 2190 ax-12 2211 ax-ext 2733 ax-sep 5243 ax-nul 5253 ax-pow 5319 ax-pr 5387 ax-un 7713 ax-cnex 11123 ax-resscn 11124 ax-1cn 11125 ax-icn 11126 ax-addcl 11127 ax-addrcl 11128 ax-mulcl 11129 ax-mulrcl 11130 ax-mulcom 11131 ax-addass 11132 ax-mulass 11133 ax-distr 11134 ax-i2m1 11135 ax-1ne0 11136 ax-1rid 11137 ax-rnegex 11138 ax-rrecex 11139 ax-cnre 11140 ax-pre-lttri 11141 ax-pre-lttrn 11142 ax-pre-ltadd 11143 ax-pre-mulgt0 11144 |
| This theorem depends on definitions: df-bi 209 df-an 400 df-or 859 df-3or 1098 df-3an 1099 df-tru 1562 df-fal 1572 df-ex 1799 df-nf 1803 df-sb 2090 df-mo 2565 df-eu 2595 df-clab 2740 df-cleq 2753 df-clel 2836 df-nfc 2910 df-ne 2957 df-nel 3061 df-ral 3076 df-rex 3086 df-rmo 3366 df-reu 3367 df-rab 3414 df-v 3455 df-sbc 3743 df-csb 3851 df-dif 3905 df-un 3907 df-in 3909 df-ss 3919 df-pss 3922 df-nul 4284 df-if 4478 df-pw 4554 df-sn 4580 df-pr 4582 df-op 4586 df-uni 4863 df-iun 4948 df-br 5098 df-opab 5160 df-mpt 5179 df-tr 5205 df-id 5538 df-eprel 5543 df-po 5551 df-so 5552 df-fr 5596 df-we 5598 df-xp 5649 df-rel 5650 df-cnv 5651 df-co 5652 df-dm 5653 df-rn 5654 df-res 5655 df-ima 5656 df-pred 6283 df-ord 6344 df-on 6345 df-lim 6346 df-suc 6347 df-iota 6472 df-fun 6518 df-fn 6519 df-f 6520 df-f1 6521 df-fo 6522 df-f1o 6523 df-fv 6524 df-riota 7348 df-ov 7394 df-oprab 7395 df-mpo 7396 df-om 7842 df-2nd 7966 df-frecs 8256 df-wrecs 8287 df-recs 8336 df-rdg 8375 df-er 8672 df-en 8922 df-dom 8923 df-sdom 8924 df-pnf 11212 df-mnf 11213 df-xr 11214 df-ltxr 11215 df-le 11216 df-sub 11410 df-neg 11411 df-div 11839 df-nn 12205 df-n0 12476 df-z 12563 df-uz 12834 df-seq 14009 df-fac 14281 |
| This theorem is referenced by: infpn 16939 |
| Copyright terms: Public domain | W3C validator |