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

Theorem elfz2 13497
Description: Membership in a finite set of sequential integers. We use the fact that an operation's value is empty outside of its domain to show 𝑀 ∈ β„€ and 𝑁 ∈ β„€. (Contributed by NM, 6-Sep-2005.) (Revised by Mario Carneiro, 28-Apr-2015.)
Assertion
Ref Expression
elfz2 (𝐾 ∈ (𝑀...𝑁) ↔ ((𝑀 ∈ β„€ ∧ 𝑁 ∈ β„€ ∧ 𝐾 ∈ β„€) ∧ (𝑀 ≀ 𝐾 ∧ 𝐾 ≀ 𝑁)))

Proof of Theorem elfz2
StepHypRef Expression
1 anass 467 . 2 ((((𝑀 ∈ β„€ ∧ 𝑁 ∈ β„€) ∧ 𝐾 ∈ β„€) ∧ (𝑀 ≀ 𝐾 ∧ 𝐾 ≀ 𝑁)) ↔ ((𝑀 ∈ β„€ ∧ 𝑁 ∈ β„€) ∧ (𝐾 ∈ β„€ ∧ (𝑀 ≀ 𝐾 ∧ 𝐾 ≀ 𝑁))))
2 df-3an 1087 . . 3 ((𝑀 ∈ β„€ ∧ 𝑁 ∈ β„€ ∧ 𝐾 ∈ β„€) ↔ ((𝑀 ∈ β„€ ∧ 𝑁 ∈ β„€) ∧ 𝐾 ∈ β„€))
32anbi1i 622 . 2 (((𝑀 ∈ β„€ ∧ 𝑁 ∈ β„€ ∧ 𝐾 ∈ β„€) ∧ (𝑀 ≀ 𝐾 ∧ 𝐾 ≀ 𝑁)) ↔ (((𝑀 ∈ β„€ ∧ 𝑁 ∈ β„€) ∧ 𝐾 ∈ β„€) ∧ (𝑀 ≀ 𝐾 ∧ 𝐾 ≀ 𝑁)))
4 elfz1 13495 . . . 4 ((𝑀 ∈ β„€ ∧ 𝑁 ∈ β„€) β†’ (𝐾 ∈ (𝑀...𝑁) ↔ (𝐾 ∈ β„€ ∧ 𝑀 ≀ 𝐾 ∧ 𝐾 ≀ 𝑁)))
5 3anass 1093 . . . . 5 ((𝐾 ∈ β„€ ∧ 𝑀 ≀ 𝐾 ∧ 𝐾 ≀ 𝑁) ↔ (𝐾 ∈ β„€ ∧ (𝑀 ≀ 𝐾 ∧ 𝐾 ≀ 𝑁)))
6 ibar 527 . . . . 5 ((𝑀 ∈ β„€ ∧ 𝑁 ∈ β„€) β†’ ((𝐾 ∈ β„€ ∧ (𝑀 ≀ 𝐾 ∧ 𝐾 ≀ 𝑁)) ↔ ((𝑀 ∈ β„€ ∧ 𝑁 ∈ β„€) ∧ (𝐾 ∈ β„€ ∧ (𝑀 ≀ 𝐾 ∧ 𝐾 ≀ 𝑁)))))
75, 6bitrid 282 . . . 4 ((𝑀 ∈ β„€ ∧ 𝑁 ∈ β„€) β†’ ((𝐾 ∈ β„€ ∧ 𝑀 ≀ 𝐾 ∧ 𝐾 ≀ 𝑁) ↔ ((𝑀 ∈ β„€ ∧ 𝑁 ∈ β„€) ∧ (𝐾 ∈ β„€ ∧ (𝑀 ≀ 𝐾 ∧ 𝐾 ≀ 𝑁)))))
84, 7bitrd 278 . . 3 ((𝑀 ∈ β„€ ∧ 𝑁 ∈ β„€) β†’ (𝐾 ∈ (𝑀...𝑁) ↔ ((𝑀 ∈ β„€ ∧ 𝑁 ∈ β„€) ∧ (𝐾 ∈ β„€ ∧ (𝑀 ≀ 𝐾 ∧ 𝐾 ≀ 𝑁)))))
9 fzf 13494 . . . . . . 7 ...:(β„€ Γ— β„€)βŸΆπ’« β„€
109fdmi 6730 . . . . . 6 dom ... = (β„€ Γ— β„€)
1110ndmov 7595 . . . . 5 (Β¬ (𝑀 ∈ β„€ ∧ 𝑁 ∈ β„€) β†’ (𝑀...𝑁) = βˆ…)
1211eleq2d 2817 . . . 4 (Β¬ (𝑀 ∈ β„€ ∧ 𝑁 ∈ β„€) β†’ (𝐾 ∈ (𝑀...𝑁) ↔ 𝐾 ∈ βˆ…))
13 noel 4331 . . . . . 6 Β¬ 𝐾 ∈ βˆ…
1413pm2.21i 119 . . . . 5 (𝐾 ∈ βˆ… β†’ (𝑀 ∈ β„€ ∧ 𝑁 ∈ β„€))
15 simpl 481 . . . . 5 (((𝑀 ∈ β„€ ∧ 𝑁 ∈ β„€) ∧ (𝐾 ∈ β„€ ∧ (𝑀 ≀ 𝐾 ∧ 𝐾 ≀ 𝑁))) β†’ (𝑀 ∈ β„€ ∧ 𝑁 ∈ β„€))
1614, 15pm5.21ni 376 . . . 4 (Β¬ (𝑀 ∈ β„€ ∧ 𝑁 ∈ β„€) β†’ (𝐾 ∈ βˆ… ↔ ((𝑀 ∈ β„€ ∧ 𝑁 ∈ β„€) ∧ (𝐾 ∈ β„€ ∧ (𝑀 ≀ 𝐾 ∧ 𝐾 ≀ 𝑁)))))
1712, 16bitrd 278 . . 3 (Β¬ (𝑀 ∈ β„€ ∧ 𝑁 ∈ β„€) β†’ (𝐾 ∈ (𝑀...𝑁) ↔ ((𝑀 ∈ β„€ ∧ 𝑁 ∈ β„€) ∧ (𝐾 ∈ β„€ ∧ (𝑀 ≀ 𝐾 ∧ 𝐾 ≀ 𝑁)))))
188, 17pm2.61i 182 . 2 (𝐾 ∈ (𝑀...𝑁) ↔ ((𝑀 ∈ β„€ ∧ 𝑁 ∈ β„€) ∧ (𝐾 ∈ β„€ ∧ (𝑀 ≀ 𝐾 ∧ 𝐾 ≀ 𝑁))))
191, 3, 183bitr4ri 303 1 (𝐾 ∈ (𝑀...𝑁) ↔ ((𝑀 ∈ β„€ ∧ 𝑁 ∈ β„€ ∧ 𝐾 ∈ β„€) ∧ (𝑀 ≀ 𝐾 ∧ 𝐾 ≀ 𝑁)))
Colors of variables: wff setvar class
Syntax hints:  Β¬ wn 3   ↔ wb 205   ∧ wa 394   ∧ w3a 1085   ∈ wcel 2104  βˆ…c0 4323  π’« cpw 4603   class class class wbr 5149   Γ— cxp 5675  (class class class)co 7413   ≀ cle 11255  β„€cz 12564  ...cfz 13490
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-10 2135  ax-11 2152  ax-12 2169  ax-ext 2701  ax-sep 5300  ax-nul 5307  ax-pr 5428  ax-un 7729  ax-cnex 11170  ax-resscn 11171
This theorem depends on definitions:  df-bi 206  df-an 395  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2532  df-eu 2561  df-clab 2708  df-cleq 2722  df-clel 2808  df-nfc 2883  df-ral 3060  df-rex 3069  df-rab 3431  df-v 3474  df-sbc 3779  df-csb 3895  df-dif 3952  df-un 3954  df-in 3956  df-ss 3966  df-nul 4324  df-if 4530  df-pw 4605  df-sn 4630  df-pr 4632  df-op 4636  df-uni 4910  df-iun 5000  df-br 5150  df-opab 5212  df-mpt 5233  df-id 5575  df-xp 5683  df-rel 5684  df-cnv 5685  df-co 5686  df-dm 5687  df-rn 5688  df-res 5689  df-ima 5690  df-iota 6496  df-fun 6546  df-fn 6547  df-f 6548  df-fv 6552  df-ov 7416  df-oprab 7417  df-mpo 7418  df-1st 7979  df-2nd 7980  df-neg 11453  df-z 12565  df-fz 13491
This theorem is referenced by:  elfzd  13498  elfz4  13500  elfzuzb  13501  0nelfz1  13526  uzsubsubfz  13529  fzmmmeqm  13540  fzpreddisj  13556  elfz1b  13576  fzp1nel  13591  elfz0ubfz0  13611  elfz0fzfz0  13612  fz0fzelfz0  13613  fz0fzdiffz0  13616  elfzmlbp  13618  preduz  13629  fzind2  13756  swrdswrdlem  14660  swrdswrd  14661  pfxccatin12lem2a  14683  pfxccatin12lem1  14684  swrdccatin2  14685  pfxccatin12lem2  14687  pfxccat3  14690  2cshwcshw  14782  cshwcsh2id  14785  fprodntriv  15892  fprodeq0  15925  prmgaplem4  16993  chfacfscmulgsum  22584  chfacfpmmulgsum  22588  gausslemma2dlem3  27105  2lgslem1a1  27126  crctcshwlkn0lem3  29331  fzne2d  41154  fmul01lt1lem2  44601  dvnprodlem2  44963  stoweidlem34  45050  fourierdlem12  45135  etransclem10  45260  etransclem24  45274  elfzelfzlble  46329  iccpartiltu  46390  31prm  46565  nnsum4primeseven  46768  nnsum4primesevenALTV  46769
  Copyright terms: Public domain W3C validator