MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  elfzolem1 Structured version   Visualization version   GIF version

Theorem elfzolem1 13624
Description: A member in a half-open integer interval is less than or equal to the upper bound minus 1 . (Contributed by Glauco Siliprandi, 17-Aug-2020.)
Assertion
Ref Expression
elfzolem1 (𝐾 ∈ (𝑀..^𝑁) → 𝐾 ≤ (𝑁 − 1))

Proof of Theorem elfzolem1
StepHypRef Expression
1 id 22 . 2 (𝐾 ∈ (𝑀..^𝑁) → 𝐾 ∈ (𝑀..^𝑁))
2 elfzoel2 13578 . 2 (𝐾 ∈ (𝑀..^𝑁) → 𝑁 ∈ ℤ)
3 simpl 482 . . . 4 ((𝐾 ∈ (𝑀..^𝑁) ∧ 𝑁 ∈ ℤ) → 𝐾 ∈ (𝑀..^𝑁))
4 fzoval 13580 . . . . 5 (𝑁 ∈ ℤ → (𝑀..^𝑁) = (𝑀...(𝑁 − 1)))
54adantl 481 . . . 4 ((𝐾 ∈ (𝑀..^𝑁) ∧ 𝑁 ∈ ℤ) → (𝑀..^𝑁) = (𝑀...(𝑁 − 1)))
63, 5eleqtrd 2839 . . 3 ((𝐾 ∈ (𝑀..^𝑁) ∧ 𝑁 ∈ ℤ) → 𝐾 ∈ (𝑀...(𝑁 − 1)))
7 elfzle2 13448 . . 3 (𝐾 ∈ (𝑀...(𝑁 − 1)) → 𝐾 ≤ (𝑁 − 1))
86, 7syl 17 . 2 ((𝐾 ∈ (𝑀..^𝑁) ∧ 𝑁 ∈ ℤ) → 𝐾 ≤ (𝑁 − 1))
91, 2, 8syl2anc 585 1 (𝐾 ∈ (𝑀..^𝑁) → 𝐾 ≤ (𝑁 − 1))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1542  wcel 2114   class class class wbr 5099  (class class class)co 7360  1c1 11031  cle 11171  cmin 11368  cz 12492  ...cfz 13427  ..^cfzo 13574
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-10 2147  ax-11 2163  ax-12 2185  ax-ext 2709  ax-sep 5242  ax-nul 5252  ax-pr 5378  ax-un 7682  ax-cnex 11086  ax-resscn 11087
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3or 1088  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-nf 1786  df-sb 2069  df-mo 2540  df-eu 2570  df-clab 2716  df-cleq 2729  df-clel 2812  df-nfc 2886  df-ne 2934  df-ral 3053  df-rex 3062  df-rab 3401  df-v 3443  df-sbc 3742  df-csb 3851  df-dif 3905  df-un 3907  df-in 3909  df-ss 3919  df-nul 4287  df-if 4481  df-pw 4557  df-sn 4582  df-pr 4584  df-op 4588  df-uni 4865  df-iun 4949  df-br 5100  df-opab 5162  df-mpt 5181  df-id 5520  df-xp 5631  df-rel 5632  df-cnv 5633  df-co 5634  df-dm 5635  df-rn 5636  df-res 5637  df-ima 5638  df-iota 6449  df-fun 6495  df-fn 6496  df-f 6497  df-fv 6501  df-ov 7363  df-oprab 7364  df-mpo 7365  df-1st 7935  df-2nd 7936  df-neg 11371  df-z 12493  df-uz 12756  df-fz 13428  df-fzo 13575
This theorem is referenced by:  elfzo0subge1  13625  iundjiun  46771
  Copyright terms: Public domain W3C validator