Users' Mathboxes Mathbox for Scott Fenton < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  supfz Structured version   Visualization version   GIF version

Theorem supfz 36808
Description: The supremum of a finite sequence of integers. (Contributed by Scott Fenton, 8-Aug-2013.)
Assertion
Ref Expression
supfz (𝑁 ∈ (ℤ≥‘𝑀) → sup((𝑀...𝑁), ℤ, < ) = 𝑁)

Proof of Theorem supfz
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 zssre 12759 . . . 4 ℤ ⊆ ℝ
2 ltso 11448 . . . 4 < Or ℝ
3 soss 5594 . . . 4 (ℤ ⊆ ℝ → ( < Or ℝ → < Or ℤ))
41, 2, 3mp2 9 . . 3 < Or ℤ
54a1i 11 . 2 (𝑁 ∈ (ℤ≥‘𝑀) → < Or ℤ)
6 eluzelz 13034 . 2 (𝑁 ∈ (ℤ≥‘𝑀) → 𝑁 ∈ ℤ)
7 eluzfz2 13724 . 2 (𝑁 ∈ (ℤ≥‘𝑀) → 𝑁 ∈ (𝑀...𝑁))
8 elfzle2 13720 . . . 4 (𝑥 ∈ (𝑀...𝑁) → 𝑥 ≤ 𝑁)
98adantl 487 . . 3 ((𝑁 ∈ (ℤ≥‘𝑀) ∧ 𝑥 ∈ (𝑀...𝑁)) → 𝑥 ≤ 𝑁)
10 elfzelz 13715 . . . . 5 (𝑥 ∈ (𝑀...𝑁) → 𝑥 ∈ ℤ)
1110zred 12862 . . . 4 (𝑥 ∈ (𝑀...𝑁) → 𝑥 ∈ ℝ)
12 eluzelre 13035 . . . 4 (𝑁 ∈ (ℤ≥‘𝑀) → 𝑁 ∈ ℝ)
13 lenlt 11446 . . . 4 ((𝑥 ∈ ℝ ∧ 𝑁 ∈ ℝ) → (𝑥 ≤ 𝑁 ↔ ¬ 𝑁 < 𝑥))
1411, 12, 13syl2anr 609 . . 3 ((𝑁 ∈ (ℤ≥‘𝑀) ∧ 𝑥 ∈ (𝑀...𝑁)) → (𝑥 ≤ 𝑁 ↔ ¬ 𝑁 < 𝑥))
159, 14mpbid 235 . 2 ((𝑁 ∈ (ℤ≥‘𝑀) ∧ 𝑥 ∈ (𝑀...𝑁)) → ¬ 𝑁 < 𝑥)
165, 6, 7, 15supmax 9516 1 (𝑁 ∈ (ℤ≥‘𝑀) → sup((𝑀...𝑁), ℤ, < ) = 𝑁)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572   ∈ wcel 2156   ⊆ wss 3907   class class class wbr 5116   Or wor 5573  ‘cfv 6579  (class class class)co 7470  supcsup 9488  ℝcr 11257   < clt 11401   ≤ cle 11402  ℤcz 12752  ℤ≥cuz 13024  ...cfz 13698
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7802  ax-cnex 11314  ax-resscn 11315  ax-pre-lttri 11332  ax-pre-lttrn 11333
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-nel 3077  df-ral 3092  df-rex 3102  df-rmo 3376  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-po 5574  df-so 5575  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6533  df-fun 6581  df-fn 6582  df-f 6583  df-f1 6584  df-fo 6585  df-f1o 6586  df-fv 6587  df-riota 7426  df-ov 7473  df-oprab 7474  df-mpo 7475  df-1st 8054  df-2nd 8055  df-er 8774  df-en 9031  df-dom 9032  df-sdom 9033  df-sup 9490  df-pnf 11403  df-mnf 11404  df-xr 11405  df-ltxr 11406  df-le 11407  df-neg 11602  df-z 12753  df-uz 13025  df-fz 13699
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator