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

Theorem psrbag 21871
Description: Elementhood in the set of finite bags. (Contributed by Mario Carneiro, 29-Dec-2014.)
Hypothesis
Ref Expression
psrbag.d 𝐷 = {𝑓 ∈ (ℕ0m 𝐼) ∣ (𝑓 “ ℕ) ∈ Fin}
Assertion
Ref Expression
psrbag (𝐼𝑉 → (𝐹𝐷 ↔ (𝐹:𝐼⟶ℕ0 ∧ (𝐹 “ ℕ) ∈ Fin)))
Distinct variable groups:   𝑓,𝐹   𝑓,𝐼
Allowed substitution hints:   𝐷(𝑓)   𝑉(𝑓)

Proof of Theorem psrbag
StepHypRef Expression
1 cnveq 5820 . . . . 5 (𝑓 = 𝐹𝑓 = 𝐹)
21imaeq1d 6016 . . . 4 (𝑓 = 𝐹 → (𝑓 “ ℕ) = (𝐹 “ ℕ))
32eleq1d 2819 . . 3 (𝑓 = 𝐹 → ((𝑓 “ ℕ) ∈ Fin ↔ (𝐹 “ ℕ) ∈ Fin))
4 psrbag.d . . 3 𝐷 = {𝑓 ∈ (ℕ0m 𝐼) ∣ (𝑓 “ ℕ) ∈ Fin}
53, 4elrab2 3647 . 2 (𝐹𝐷 ↔ (𝐹 ∈ (ℕ0m 𝐼) ∧ (𝐹 “ ℕ) ∈ Fin))
6 nn0ex 12405 . . . 4 0 ∈ V
7 elmapg 8774 . . . 4 ((ℕ0 ∈ V ∧ 𝐼𝑉) → (𝐹 ∈ (ℕ0m 𝐼) ↔ 𝐹:𝐼⟶ℕ0))
86, 7mpan 690 . . 3 (𝐼𝑉 → (𝐹 ∈ (ℕ0m 𝐼) ↔ 𝐹:𝐼⟶ℕ0))
98anbi1d 631 . 2 (𝐼𝑉 → ((𝐹 ∈ (ℕ0m 𝐼) ∧ (𝐹 “ ℕ) ∈ Fin) ↔ (𝐹:𝐼⟶ℕ0 ∧ (𝐹 “ ℕ) ∈ Fin)))
105, 9bitrid 283 1 (𝐼𝑉 → (𝐹𝐷 ↔ (𝐹:𝐼⟶ℕ0 ∧ (𝐹 “ ℕ) ∈ Fin)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395   = wceq 1541  wcel 2113  {crab 3397  Vcvv 3438  ccnv 5621  cima 5625  wf 6486  (class class class)co 7356  m cmap 8761  Fincfn 8881  cn 12143  0cn0 12399
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1968  ax-7 2009  ax-8 2115  ax-9 2123  ax-10 2146  ax-11 2162  ax-12 2182  ax-ext 2706  ax-sep 5239  ax-nul 5249  ax-pow 5308  ax-pr 5375  ax-un 7678  ax-cnex 11080  ax-1cn 11082  ax-addcl 11084
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1544  df-fal 1554  df-ex 1781  df-nf 1785  df-sb 2068  df-mo 2537  df-eu 2567  df-clab 2713  df-cleq 2726  df-clel 2809  df-nfc 2883  df-ne 2931  df-ral 3050  df-rex 3059  df-reu 3349  df-rab 3398  df-v 3440  df-sbc 3739  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4284  df-if 4478  df-pw 4554  df-sn 4579  df-pr 4581  df-op 4585  df-uni 4862  df-iun 4946  df-br 5097  df-opab 5159  df-mpt 5178  df-tr 5204  df-id 5517  df-eprel 5522  df-po 5530  df-so 5531  df-fr 5575  df-we 5577  df-xp 5628  df-rel 5629  df-cnv 5630  df-co 5631  df-dm 5632  df-rn 5633  df-res 5634  df-ima 5635  df-pred 6257  df-ord 6318  df-on 6319  df-lim 6320  df-suc 6321  df-iota 6446  df-fun 6492  df-fn 6493  df-f 6494  df-f1 6495  df-fo 6496  df-f1o 6497  df-fv 6498  df-ov 7359  df-oprab 7360  df-mpo 7361  df-om 7807  df-2nd 7932  df-frecs 8221  df-wrecs 8252  df-recs 8301  df-rdg 8339  df-map 8763  df-nn 12144  df-n0 12400
This theorem is referenced by:  psrbagfsupp  21873  snifpsrbag  21874  psrbaglecl  21877  psrbagaddcl  21878  psrbagcon  21879  mplcoe5lem  21992  mplcoe5  21993  mplbas2  21995  psrbag0  22015  psrbagsn  22016  evlslem3  22033  mhpmulcl  22090  psrbagres  42741  evlselvlem  42771  evlselv  42772
  Copyright terms: Public domain W3C validator