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 36590
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 12707 . . . 4 ℤ ⊆ ℝ
2 ltso 11397 . . . 4 < Or ℝ
3 soss 5579 . . . 4 (ℤ ⊆ ℝ → ( < Or ℝ → < Or ℤ))
41, 2, 3mp2 9 . . 3 < Or ℤ
54a1i 11 . 2 (𝑁 ∈ (ℤ≥‘𝑀) → < Or ℤ)
6 eluzelz 12982 . 2 (𝑁 ∈ (ℤ≥‘𝑀) → 𝑁 ∈ ℤ)
7 eluzfz2 13672 . 2 (𝑁 ∈ (ℤ≥‘𝑀) → 𝑁 ∈ (𝑀...𝑁))
8 elfzle2 13668 . . . 4 (𝑥 ∈ (𝑀...𝑁) → 𝑥 ≤ 𝑁)
98adantl 487 . . 3 ((𝑁 ∈ (ℤ≥‘𝑀) ∧ 𝑥 ∈ (𝑀...𝑁)) → 𝑥 ≤ 𝑁)
10 elfzelz 13663 . . . . 5 (𝑥 ∈ (𝑀...𝑁) → 𝑥 ∈ ℤ)
1110zred 12810 . . . 4 (𝑥 ∈ (𝑀...𝑁) → 𝑥 ∈ ℝ)
12 eluzelre 12983 . . . 4 (𝑁 ∈ (ℤ≥‘𝑀) → 𝑁 ∈ ℝ)
13 lenlt 11395 . . . 4 ((𝑥 ∈ ℝ ∧ 𝑁 ∈ ℝ) → (𝑥 ≤ 𝑁 ↔ ¬ 𝑁 < 𝑥))
1411, 12, 13syl2anr 609 . . 3 ((𝑁 ∈ (ℤ≥‘𝑀) ∧ 𝑥 ∈ (𝑀...𝑁)) → (𝑥 ≤ 𝑁 ↔ ¬ 𝑁 < 𝑥))
159, 14mpbid 235 . 2 ((𝑁 ∈ (ℤ≥‘𝑀) ∧ 𝑥 ∈ (𝑀...𝑁)) → ¬ 𝑁 < 𝑥)
165, 6, 7, 15supmax 9467 1 (𝑁 ∈ (ℤ≥‘𝑀) → sup((𝑀...𝑁), ℤ, < ) = 𝑁)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144   ⊆ wss 3896   class class class wbr 5102   Or wor 5558  ‘cfv 6543  (class class class)co 7424  supcsup 9439  ℝcr 11206   < clt 11350   ≤ cle 11351  ℤcz 12700  ℤ≥cuz 12972  ...cfz 13646
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pow 5327  ax-pr 5391  ax-un 7755  ax-cnex 11263  ax-resscn 11264  ax-pre-lttri 11281  ax-pre-lttrn 11282
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5546  df-po 5559  df-so 5560  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6497  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-riota 7381  df-ov 7427  df-oprab 7428  df-mpo 7429  df-1st 8005  df-2nd 8006  df-er 8724  df-en 8981  df-dom 8982  df-sdom 8983  df-sup 9441  df-pnf 11352  df-mnf 11353  df-xr 11354  df-ltxr 11355  df-le 11356  df-neg 11551  df-z 12701  df-uz 12973  df-fz 13647
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator