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

Theorem psrbag 20138
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 5739 . . . . 5 (𝑓 = 𝐹𝑓 = 𝐹)
21imaeq1d 5923 . . . 4 (𝑓 = 𝐹 → (𝑓 “ ℕ) = (𝐹 “ ℕ))
32eleq1d 2897 . . 3 (𝑓 = 𝐹 → ((𝑓 “ ℕ) ∈ Fin ↔ (𝐹 “ ℕ) ∈ Fin))
4 psrbag.d . . 3 𝐷 = {𝑓 ∈ (ℕ0m 𝐼) ∣ (𝑓 “ ℕ) ∈ Fin}
53, 4elrab2 3683 . 2 (𝐹𝐷 ↔ (𝐹 ∈ (ℕ0m 𝐼) ∧ (𝐹 “ ℕ) ∈ Fin))
6 nn0ex 11897 . . . 4 0 ∈ V
7 elmapg 8413 . . . 4 ((ℕ0 ∈ V ∧ 𝐼𝑉) → (𝐹 ∈ (ℕ0m 𝐼) ↔ 𝐹:𝐼⟶ℕ0))
86, 7mpan 688 . . 3 (𝐼𝑉 → (𝐹 ∈ (ℕ0m 𝐼) ↔ 𝐹:𝐼⟶ℕ0))
98anbi1d 631 . 2 (𝐼𝑉 → ((𝐹 ∈ (ℕ0m 𝐼) ∧ (𝐹 “ ℕ) ∈ Fin) ↔ (𝐹:𝐼⟶ℕ0 ∧ (𝐹 “ ℕ) ∈ Fin)))
105, 9syl5bb 285 1 (𝐼𝑉 → (𝐹𝐷 ↔ (𝐹:𝐼⟶ℕ0 ∧ (𝐹 “ ℕ) ∈ Fin)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1533  wcel 2110  {crab 3142  Vcvv 3495  ccnv 5549  cima 5553  wf 6346  (class class class)co 7150  m cmap 8400  Fincfn 8503  cn 11632  0cn0 11891
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2156  ax-12 2172  ax-ext 2793  ax-sep 5196  ax-nul 5203  ax-pow 5259  ax-pr 5322  ax-un 7455  ax-cnex 10587  ax-1cn 10589  ax-addcl 10591
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-reu 3145  df-rab 3147  df-v 3497  df-sbc 3773  df-csb 3884  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-pss 3954  df-nul 4292  df-if 4468  df-pw 4541  df-sn 4562  df-pr 4564  df-tp 4566  df-op 4568  df-uni 4833  df-iun 4914  df-br 5060  df-opab 5122  df-mpt 5140  df-tr 5166  df-id 5455  df-eprel 5460  df-po 5469  df-so 5470  df-fr 5509  df-we 5511  df-xp 5556  df-rel 5557  df-cnv 5558  df-co 5559  df-dm 5560  df-rn 5561  df-res 5562  df-ima 5563  df-pred 6143  df-ord 6189  df-on 6190  df-lim 6191  df-suc 6192  df-iota 6309  df-fun 6352  df-fn 6353  df-f 6354  df-f1 6355  df-fo 6356  df-f1o 6357  df-fv 6358  df-ov 7153  df-oprab 7154  df-mpo 7155  df-om 7575  df-wrecs 7941  df-recs 8002  df-rdg 8040  df-map 8402  df-nn 11633  df-n0 11892
This theorem is referenced by:  psrbagf  20139  snifpsrbag  20140  psrbaglecl  20143  psrbagaddcl  20144  psrbagcon  20145  psrbaglefi  20146  mplcoe5lem  20242  mplcoe5  20243  mplbas2  20245  psrbag0  20268  psrbagsn  20269  psrbagfsupp  20283  evlslem3  20287
  Copyright terms: Public domain W3C validator