| Mathbox for Jim Kingdon |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > ILE Home > Th. List > Mathboxes > supfz | GIF version | ||
| Description: The supremum of a finite sequence of integers. (Contributed by Scott Fenton, 8-Aug-2013.) (Revised by Jim Kingdon, 15-Oct-2022.) |
| Ref | Expression |
|---|---|
| supfz | ⊢ (𝑁 ∈ (ℤ≥‘𝑀) → sup((𝑀...𝑁), ℤ, < ) = 𝑁) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | simprl 535 | . . . 4 ⊢ ((𝑁 ∈ (ℤ≥‘𝑀) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → 𝑥 ∈ ℤ) | |
| 2 | 1 | zred 9780 | . . 3 ⊢ ((𝑁 ∈ (ℤ≥‘𝑀) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → 𝑥 ∈ ℝ) |
| 3 | simprr 537 | . . . 4 ⊢ ((𝑁 ∈ (ℤ≥‘𝑀) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → 𝑦 ∈ ℤ) | |
| 4 | 3 | zred 9780 | . . 3 ⊢ ((𝑁 ∈ (ℤ≥‘𝑀) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → 𝑦 ∈ ℝ) |
| 5 | 2, 4 | lttri3d 8448 | . 2 ⊢ ((𝑁 ∈ (ℤ≥‘𝑀) ∧ (𝑥 ∈ ℤ ∧ 𝑦 ∈ ℤ)) → (𝑥 = 𝑦 ↔ (¬ 𝑥 < 𝑦 ∧ ¬ 𝑦 < 𝑥))) |
| 6 | eluzelz 9948 | . 2 ⊢ (𝑁 ∈ (ℤ≥‘𝑀) → 𝑁 ∈ ℤ) | |
| 7 | eluzfz2 10454 | . 2 ⊢ (𝑁 ∈ (ℤ≥‘𝑀) → 𝑁 ∈ (𝑀...𝑁)) | |
| 8 | elfzle2 10450 | . . . 4 ⊢ (𝑧 ∈ (𝑀...𝑁) → 𝑧 ≤ 𝑁) | |
| 9 | 8 | adantl 277 | . . 3 ⊢ ((𝑁 ∈ (ℤ≥‘𝑀) ∧ 𝑧 ∈ (𝑀...𝑁)) → 𝑧 ≤ 𝑁) |
| 10 | elfzelz 10446 | . . . . 5 ⊢ (𝑧 ∈ (𝑀...𝑁) → 𝑧 ∈ ℤ) | |
| 11 | 10 | zred 9780 | . . . 4 ⊢ (𝑧 ∈ (𝑀...𝑁) → 𝑧 ∈ ℝ) |
| 12 | 6 | zred 9780 | . . . 4 ⊢ (𝑁 ∈ (ℤ≥‘𝑀) → 𝑁 ∈ ℝ) |
| 13 | lenlt 8408 | . . . 4 ⊢ ((𝑧 ∈ ℝ ∧ 𝑁 ∈ ℝ) → (𝑧 ≤ 𝑁 ↔ ¬ 𝑁 < 𝑧)) | |
| 14 | 11, 12, 13 | syl2anr 290 | . . 3 ⊢ ((𝑁 ∈ (ℤ≥‘𝑀) ∧ 𝑧 ∈ (𝑀...𝑁)) → (𝑧 ≤ 𝑁 ↔ ¬ 𝑁 < 𝑧)) |
| 15 | 9, 14 | mpbid 147 | . 2 ⊢ ((𝑁 ∈ (ℤ≥‘𝑀) ∧ 𝑧 ∈ (𝑀...𝑁)) → ¬ 𝑁 < 𝑧) |
| 16 | 5, 6, 7, 15 | supmaxti 7351 | 1 ⊢ (𝑁 ∈ (ℤ≥‘𝑀) → sup((𝑀...𝑁), ℤ, < ) = 𝑁) |
| Colors of variables: wff set class |
| This proof depends on syntax axioms: ¬ wn 3 → wi 4 ∧ wa 104 ↔ wb 105 = wceq 1402 ∈ wcel 2209 class class class wbr 4131 ‘cfv 5380 (class class class)co 6088 supcsup 7329 ℝcr 8185 < clt 8367 ≤ cle 8368 ℤcz 9656 ℤ≥cuz 9938 ...cfz 10429 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-ia1 106 ax-ia2 107 ax-ia3 108 ax-in1 623 ax-in2 624 ax-io 721 ax-5 1500 ax-7 1501 ax-gen 1502 ax-ie1 1546 ax-ie2 1547 ax-8 1557 ax-10 1558 ax-11 1559 ax-i12 1560 ax-bndl 1562 ax-4 1563 ax-17 1579 ax-i9 1583 ax-ial 1587 ax-i5r 1588 ax-14 2212 ax-ext 2220 ax-sep 4251 ax-pow 4313 ax-pr 4348 ax-un 4580 ax-setind 4686 ax-cnex 8277 ax-resscn 8278 ax-pre-ltirr 8298 ax-pre-apti 8301 |
| This proof depends on definitions: df-bi 117 df-3or 1010 df-3an 1011 df-tru 1405 df-fal 1408 df-nf 1514 df-sb 1816 df-eu 2089 df-mo 2090 df-clab 2225 df-cleq 2231 df-clel 2234 df-nfc 2381 df-ne 2421 df-nel 2516 df-ral 2533 df-rex 2534 df-reu 2535 df-rmo 2536 df-rab 2537 df-v 2823 df-sbc 3052 df-dif 3222 df-un 3224 df-in 3226 df-ss 3233 df-pw 3690 df-sn 3715 df-pr 3716 df-op 3718 df-uni 3936 df-br 4132 df-opab 4194 df-mpt 4195 df-id 4440 df-xp 4782 df-rel 4783 df-cnv 4784 df-co 4785 df-dm 4786 df-rn 4787 df-res 4788 df-ima 4789 df-iota 5340 df-fun 5382 df-fn 5383 df-f 5384 df-fv 5388 df-riota 6041 df-ov 6091 df-oprab 6092 df-mpo 6093 df-sup 7331 df-pnf 8369 df-mnf 8370 df-xr 8371 df-ltxr 8372 df-le 8373 df-neg 8508 df-z 9657 df-uz 9939 df-fz 10430 |
| This theorem is used by: (None) |
| Copyright terms: Public domain | W3C validator |