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

Theorem fz1f1o 15763
Description: A lemma for working with finite sums. (Contributed by Mario Carneiro, 22-Apr-2014.)
Assertion
Ref Expression
fz1f1o (𝐴 ∈ Fin → (𝐴 = ∅ ∨ ((♯‘𝐴) ∈ ℕ ∧ ∃𝑓 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)))
Distinct variable group:   𝐴,𝑓

Proof of Theorem fz1f1o
StepHypRef Expression
1 hashcl 14394 . . . 4 (𝐴 ∈ Fin → (♯‘𝐴) ∈ ℕ0)
2 elnn0 12508 . . . 4 ((♯‘𝐴) ∈ ℕ0 ↔ ((♯‘𝐴) ∈ ℕ ∨ (♯‘𝐴) = 0))
31, 2sylib 221 . . 3 (𝐴 ∈ Fin → ((♯‘𝐴) ∈ ℕ ∨ (♯‘𝐴) = 0))
43orcomd 884 . 2 (𝐴 ∈ Fin → ((♯‘𝐴) = 0 ∨ (♯‘𝐴) ∈ ℕ))
5 hasheq0 14401 . . 3 (𝐴 ∈ Fin → ((♯‘𝐴) = 0 ↔ 𝐴 = ∅))
6 isfinite4 14400 . . . . 5 (𝐴 ∈ Fin ↔ (1...(♯‘𝐴)) ≈ 𝐴)
7 bren 8955 . . . . 5 ((1...(♯‘𝐴)) ≈ 𝐴 ↔ ∃𝑓 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)
86, 7sylbb 222 . . . 4 (𝐴 ∈ Fin → ∃𝑓 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)
98biantrud 540 . . 3 (𝐴 ∈ Fin → ((♯‘𝐴) ∈ ℕ ↔ ((♯‘𝐴) ∈ ℕ ∧ ∃𝑓 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)))
105, 9orbi12d 931 . 2 (𝐴 ∈ Fin → (((♯‘𝐴) = 0 ∨ (♯‘𝐴) ∈ ℕ) ↔ (𝐴 = ∅ ∨ ((♯‘𝐴) ∈ ℕ ∧ ∃𝑓 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴))))
114, 10mpbid 235 1 (𝐴 ∈ Fin → (𝐴 = ∅ ∨ ((♯‘𝐴) ∈ ℕ ∧ ∃𝑓 𝑓:(1...(♯‘𝐴))–1-1-onto𝐴)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 400  wo 860   = wceq 1567  wex 1806  wcel 2149  c0 4294   class class class wbr 5113  1-1-ontowf1o 6538  cfv 6539  (class class class)co 7413  cen 8942  Fincfn 8945  0cc0 11102  1c1 11103  cn 12235  0cn0 12506  ...cfz 13537  chash 14368
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1822  ax-4 1836  ax-5 1937  ax-6 1994  ax-7 2035  ax-8 2151  ax-9 2159  ax-10 2182  ax-11 2198  ax-12 2219  ax-ext 2741  ax-sep 5261  ax-nul 5273  ax-pow 5339  ax-pr 5407  ax-un 7735  ax-cnex 11158  ax-resscn 11159  ax-1cn 11160  ax-icn 11161  ax-addcl 11162  ax-addrcl 11163  ax-mulcl 11164  ax-mulrcl 11165  ax-mulcom 11166  ax-addass 11167  ax-mulass 11168  ax-distr 11169  ax-i2m1 11170  ax-1ne0 11171  ax-1rid 11172  ax-rnegex 11173  ax-rrecex 11174  ax-cnre 11175  ax-pre-lttri 11176  ax-pre-lttrn 11177  ax-pre-ltadd 11178  ax-pre-mulgt0 11179
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3or 1102  df-3an 1103  df-tru 1570  df-fal 1580  df-ex 1807  df-nf 1811  df-sb 2098  df-mo 2573  df-eu 2603  df-clab 2748  df-cleq 2761  df-clel 2844  df-nfc 2918  df-ne 2965  df-nel 3071  df-ral 3086  df-rex 3096  df-reu 3377  df-rab 3424  df-v 3465  df-sbc 3754  df-csb 3862  df-dif 3916  df-un 3918  df-in 3920  df-ss 3930  df-pss 3933  df-nul 4295  df-if 4493  df-pw 4569  df-sn 4595  df-pr 4597  df-op 4601  df-uni 4877  df-int 4917  df-iun 4962  df-br 5114  df-opab 5178  df-mpt 5197  df-tr 5223  df-id 5559  df-eprel 5564  df-po 5572  df-so 5573  df-fr 5617  df-we 5619  df-xp 5670  df-rel 5671  df-cnv 5672  df-co 5673  df-dm 5674  df-rn 5675  df-res 5676  df-ima 5677  df-pred 6305  df-ord 6366  df-on 6367  df-lim 6368  df-suc 6369  df-iota 6495  df-fun 6541  df-fn 6542  df-f 6543  df-f1 6544  df-fo 6545  df-f1o 6546  df-fv 6547  df-riota 7370  df-ov 7416  df-oprab 7417  df-mpo 7418  df-om 7865  df-1st 7988  df-2nd 7989  df-frecs 8280  df-wrecs 8311  df-recs 8360  df-rdg 8399  df-1o 8455  df-er 8696  df-en 8946  df-dom 8947  df-sdom 8948  df-fin 8949  df-card 9927  df-pnf 11247  df-mnf 11248  df-xr 11249  df-ltxr 11250  df-le 11251  df-sub 11445  df-neg 11446  df-nn 12236  df-n0 12507  df-z 12594  df-uz 12865  df-fz 13538  df-hash 14369
This theorem is referenced by:  sumz  15775  fsumf1o  15776  fsumss  15778  fsumcl2lem  15784  fsumadd  15793  fsummulc2  15837  fsumconst  15843  fsumrelem  15861  prod1  16000  fprodf1o  16002  fprodss  16004  fprodcl2lem  16006  fprodmul  16016  fproddiv  16017  fprodconst  16034  fprodn0  16035  gsumval3eu  19976  gsumzres  19981  gsumzcl2  19982  gsumzf1o  19984  gsumzaddlem  19993  gsumconst  20006  gsumzmhm  20009  gsumzoppg  20016  gsumfsum  21555  f1ocnt  33088  stoweidlem35  46678  stoweidlem39  46682
  Copyright terms: Public domain W3C validator