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

Theorem elfzo1 13718
Description: Membership in a half-open integer range based at 1. (Contributed by Thierry Arnoux, 14-Feb-2017.)
Assertion
Ref Expression
elfzo1 (𝑁 ∈ (1..^𝑀) ↔ (𝑁 ∈ ℕ ∧ 𝑀 ∈ ℕ ∧ 𝑁 < 𝑀))

Proof of Theorem elfzo1
StepHypRef Expression
1 fzossnn 13717 . . . 4 (1..^𝑀) ⊆ ℕ
21sseli 3932 . . 3 (𝑁 ∈ (1..^𝑀) → 𝑁 ∈ ℕ)
3 elfzouz2 13680 . . . 4 (𝑁 ∈ (1..^𝑀) → 𝑀 ∈ (ℤ𝑁))
4 eluznn 12919 . . . 4 ((𝑁 ∈ ℕ ∧ 𝑀 ∈ (ℤ𝑁)) → 𝑀 ∈ ℕ)
52, 3, 4syl2anc 593 . . 3 (𝑁 ∈ (1..^𝑀) → 𝑀 ∈ ℕ)
6 elfzolt2 13674 . . 3 (𝑁 ∈ (1..^𝑀) → 𝑁 < 𝑀)
72, 5, 63jca 1141 . 2 (𝑁 ∈ (1..^𝑀) → (𝑁 ∈ ℕ ∧ 𝑀 ∈ ℕ ∧ 𝑁 < 𝑀))
8 nnuz 12878 . . . . . 6 ℕ = (ℤ‘1)
98eqimssi 3996 . . . . 5 ℕ ⊆ (ℤ‘1)
109sseli 3932 . . . 4 (𝑁 ∈ ℕ → 𝑁 ∈ (ℤ‘1))
11 nnz 12589 . . . 4 (𝑀 ∈ ℕ → 𝑀 ∈ ℤ)
12 id 22 . . . 4 (𝑁 < 𝑀𝑁 < 𝑀)
1310, 11, 123anim123i 1164 . . 3 ((𝑁 ∈ ℕ ∧ 𝑀 ∈ ℕ ∧ 𝑁 < 𝑀) → (𝑁 ∈ (ℤ‘1) ∧ 𝑀 ∈ ℤ ∧ 𝑁 < 𝑀))
14 elfzo2 13667 . . 3 (𝑁 ∈ (1..^𝑀) ↔ (𝑁 ∈ (ℤ‘1) ∧ 𝑀 ∈ ℤ ∧ 𝑁 < 𝑀))
1513, 14sylibr 236 . 2 ((𝑁 ∈ ℕ ∧ 𝑀 ∈ ℕ ∧ 𝑁 < 𝑀) → 𝑁 ∈ (1..^𝑀))
167, 15impbii 211 1 (𝑁 ∈ (1..^𝑀) ↔ (𝑁 ∈ ℕ ∧ 𝑀 ∈ ℕ ∧ 𝑁 < 𝑀))
Colors of variables: wff setvar class
Syntax hints:  wb 208  w3a 1098  wcel 2142   class class class wbr 5100  cfv 6521  (class class class)co 7396  1c1 11074   < clt 11216  cn 12210  cz 12568  cuz 12839  ..^cfzo 13659
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1815  ax-4 1829  ax-5 1930  ax-6 1987  ax-7 2028  ax-8 2144  ax-9 2152  ax-10 2175  ax-11 2191  ax-12 2212  ax-ext 2734  ax-sep 5246  ax-nul 5256  ax-pow 5322  ax-pr 5390  ax-un 7718  ax-cnex 11129  ax-resscn 11130  ax-1cn 11131  ax-icn 11132  ax-addcl 11133  ax-addrcl 11134  ax-mulcl 11135  ax-mulrcl 11136  ax-mulcom 11137  ax-addass 11138  ax-mulass 11139  ax-distr 11140  ax-i2m1 11141  ax-1ne0 11142  ax-1rid 11143  ax-rnegex 11144  ax-rrecex 11145  ax-cnre 11146  ax-pre-lttri 11147  ax-pre-lttrn 11148  ax-pre-ltadd 11149  ax-pre-mulgt0 11150
This theorem depends on definitions:  df-bi 209  df-an 400  df-or 859  df-3or 1099  df-3an 1100  df-tru 1563  df-fal 1573  df-ex 1800  df-nf 1804  df-sb 2091  df-mo 2566  df-eu 2596  df-clab 2741  df-cleq 2754  df-clel 2837  df-nfc 2911  df-ne 2958  df-nel 3062  df-ral 3077  df-rex 3087  df-reu 3368  df-rab 3415  df-v 3456  df-sbc 3745  df-csb 3853  df-dif 3907  df-un 3909  df-in 3911  df-ss 3921  df-pss 3924  df-nul 4286  df-if 4481  df-pw 4557  df-sn 4583  df-pr 4585  df-op 4589  df-uni 4866  df-iun 4951  df-br 5101  df-opab 5163  df-mpt 5182  df-tr 5208  df-id 5542  df-eprel 5547  df-po 5555  df-so 5556  df-fr 5600  df-we 5602  df-xp 5653  df-rel 5654  df-cnv 5655  df-co 5656  df-dm 5657  df-rn 5658  df-res 5659  df-ima 5660  df-pred 6288  df-ord 6349  df-on 6350  df-lim 6351  df-suc 6352  df-iota 6477  df-fun 6523  df-fn 6524  df-f 6525  df-f1 6526  df-fo 6527  df-f1o 6528  df-fv 6529  df-riota 7353  df-ov 7399  df-oprab 7400  df-mpo 7401  df-om 7847  df-1st 7970  df-2nd 7971  df-frecs 8262  df-wrecs 8293  df-recs 8342  df-rdg 8381  df-er 8678  df-en 8928  df-dom 8929  df-sdom 8930  df-pnf 11218  df-mnf 11219  df-xr 11220  df-ltxr 11221  df-le 11222  df-sub 11416  df-neg 11417  df-nn 12211  df-n0 12482  df-z 12569  df-uz 12840  df-fz 13513  df-fzo 13660
This theorem is referenced by:  1elfzo1  13720  modfzo0difsn  13956  modsumfzodifsn  13957  cshwshashlem1  17131  cshwshashlem2  17132  pthdivtx  29924  pthdlem2lem  29964  crctcshwlkn0lem3  30009  crctcshwlkn0lem4  30010  crctcshwlkn0lem5  30011  crctcshwlkn0lem6  30012  crctcshwlkn0lem7  30013  clwwisshclwwslem  30213  fiunelros  34468  2tceilhalfelfzo1  47927  1elfzo1ceilhalf1  47932  difltmodne  47939  zplusmodne  47940  addmodne  47941  plusmod5ne  47942  minusmod5ne  47946  modmknepk  47959  mod2addne  47961  modm2nep1  47963  modm1nep2  47965  muldvdsfacgt  47977  iccpartlt  48027  nprmdvdsfacm1  48230  bgoldbtbndlem4  48427  gpgusgralem  48675  gpgedgvtx0  48680  gpgedgvtx1  48681  gpg3kgrtriexlem4  48705  gpg3kgrtriexlem6  48707
  Copyright terms: Public domain W3C validator