| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > fznn0sub2 | Structured version Visualization version GIF version | ||
| Description: Subtraction closure for a member of a finite set of sequential nonnegative integers. (Contributed by NM, 26-Sep-2005.) (Revised by Mario Carneiro, 28-Apr-2015.) |
| Ref | Expression |
|---|---|
| fznn0sub2 | ⊢ (𝐾 ∈ (0...𝑁) → (𝑁 − 𝐾) ∈ (0...𝑁)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | elfzle1 13473 | . . 3 ⊢ (𝐾 ∈ (0...𝑁) → 0 ≤ 𝐾) | |
| 2 | elfzel2 13468 | . . . 4 ⊢ (𝐾 ∈ (0...𝑁) → 𝑁 ∈ ℤ) | |
| 3 | elfzelz 13470 | . . . 4 ⊢ (𝐾 ∈ (0...𝑁) → 𝐾 ∈ ℤ) | |
| 4 | zre 12520 | . . . . 5 ⊢ (𝑁 ∈ ℤ → 𝑁 ∈ ℝ) | |
| 5 | zre 12520 | . . . . 5 ⊢ (𝐾 ∈ ℤ → 𝐾 ∈ ℝ) | |
| 6 | subge02 11658 | . . . . 5 ⊢ ((𝑁 ∈ ℝ ∧ 𝐾 ∈ ℝ) → (0 ≤ 𝐾 ↔ (𝑁 − 𝐾) ≤ 𝑁)) | |
| 7 | 4, 5, 6 | syl2an 602 | . . . 4 ⊢ ((𝑁 ∈ ℤ ∧ 𝐾 ∈ ℤ) → (0 ≤ 𝐾 ↔ (𝑁 − 𝐾) ≤ 𝑁)) |
| 8 | 2, 3, 7 | syl2anc 590 | . . 3 ⊢ (𝐾 ∈ (0...𝑁) → (0 ≤ 𝐾 ↔ (𝑁 − 𝐾) ≤ 𝑁)) |
| 9 | 1, 8 | mpbid 233 | . 2 ⊢ (𝐾 ∈ (0...𝑁) → (𝑁 − 𝐾) ≤ 𝑁) |
| 10 | fznn0sub 13502 | . . . 4 ⊢ (𝐾 ∈ (0...𝑁) → (𝑁 − 𝐾) ∈ ℕ0) | |
| 11 | nn0uz 12818 | . . . 4 ⊢ ℕ0 = (ℤ≥‘0) | |
| 12 | 10, 11 | eleqtrdi 2849 | . . 3 ⊢ (𝐾 ∈ (0...𝑁) → (𝑁 − 𝐾) ∈ (ℤ≥‘0)) |
| 13 | elfz5 13462 | . . 3 ⊢ (((𝑁 − 𝐾) ∈ (ℤ≥‘0) ∧ 𝑁 ∈ ℤ) → ((𝑁 − 𝐾) ∈ (0...𝑁) ↔ (𝑁 − 𝐾) ≤ 𝑁)) | |
| 14 | 12, 2, 13 | syl2anc 590 | . 2 ⊢ (𝐾 ∈ (0...𝑁) → ((𝑁 − 𝐾) ∈ (0...𝑁) ↔ (𝑁 − 𝐾) ≤ 𝑁)) |
| 15 | 9, 14 | mpbird 258 | 1 ⊢ (𝐾 ∈ (0...𝑁) → (𝑁 − 𝐾) ∈ (0...𝑁)) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ↔ wb 207 ∈ wcel 2119 class class class wbr 5073 ‘cfv 6486 (class class class)co 7357 ℝcr 11029 0cc0 11030 ≤ cle 11172 − cmin 11369 ℕ0cn0 12429 ℤcz 12516 ℤ≥cuz 12780 ...cfz 13453 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1802 ax-4 1816 ax-5 1917 ax-6 1974 ax-7 2015 ax-8 2121 ax-9 2129 ax-10 2152 ax-11 2168 ax-12 2189 ax-ext 2711 ax-sep 5219 ax-nul 5229 ax-pow 5295 ax-pr 5363 ax-un 7679 ax-cnex 11086 ax-resscn 11087 ax-1cn 11088 ax-icn 11089 ax-addcl 11090 ax-addrcl 11091 ax-mulcl 11092 ax-mulrcl 11093 ax-mulcom 11094 ax-addass 11095 ax-mulass 11096 ax-distr 11097 ax-i2m1 11098 ax-1ne0 11099 ax-1rid 11100 ax-rnegex 11101 ax-rrecex 11102 ax-cnre 11103 ax-pre-lttri 11104 ax-pre-lttrn 11105 ax-pre-ltadd 11106 ax-pre-mulgt0 11107 |
| This theorem depends on definitions: df-bi 208 df-an 397 df-or 854 df-3or 1093 df-3an 1094 df-tru 1550 df-fal 1560 df-ex 1787 df-nf 1791 df-sb 2074 df-mo 2543 df-eu 2573 df-clab 2718 df-cleq 2731 df-clel 2814 df-nfc 2888 df-ne 2935 df-nel 3039 df-ral 3054 df-rex 3064 df-reu 3345 df-rab 3392 df-v 3433 df-sbc 3724 df-csb 3832 df-dif 3886 df-un 3888 df-in 3890 df-ss 3900 df-pss 3903 df-nul 4263 df-if 4456 df-pw 4532 df-sn 4557 df-pr 4559 df-op 4563 df-uni 4840 df-iun 4924 df-br 5074 df-opab 5136 df-mpt 5155 df-tr 5181 df-id 5514 df-eprel 5519 df-po 5527 df-so 5528 df-fr 5572 df-we 5574 df-xp 5625 df-rel 5626 df-cnv 5627 df-co 5628 df-dm 5629 df-rn 5630 df-res 5631 df-ima 5632 df-pred 6253 df-ord 6314 df-on 6315 df-lim 6316 df-suc 6317 df-iota 6442 df-fun 6488 df-fn 6489 df-f 6490 df-f1 6491 df-fo 6492 df-f1o 6493 df-fv 6494 df-riota 7314 df-ov 7360 df-oprab 7361 df-mpo 7362 df-om 7808 df-1st 7932 df-2nd 7933 df-frecs 8222 df-wrecs 8253 df-recs 8302 df-rdg 8340 df-er 8634 df-en 8885 df-dom 8886 df-sdom 8887 df-pnf 11173 df-mnf 11174 df-xr 11175 df-ltxr 11176 df-le 11177 df-sub 11371 df-neg 11372 df-nn 12167 df-n0 12430 df-z 12517 df-uz 12781 df-fz 13454 |
| This theorem is referenced by: uzsubfz0 13582 bccmpl 14263 pfxlswccat 14667 revcl 14715 revlen 14716 revccat 14720 revrev 14721 2cshwcshw 14779 cshwcshid 14781 revco 14788 fsum0diag2 15737 mertenslem1 15841 cshwshashlem2 17059 taylthlem2 26358 birthdaylem2 26935 basellem3 27065 eleclclwwlknlem2 30150 gsummptrev 33138 selvply1rhmlemb 33712 vietalem 33772 vieta 33773 signstfveq0 34770 revpfxsfxrev 35353 swrdrevpfx 35354 swrdwlk 35364 dvnprodlem2 46398 ply1mulgsumlem2 48886 |
| Copyright terms: Public domain | W3C validator |