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

Theorem fsetexb 8890
Description: The class of all functions from a class 𝐴 into a class 𝐵 is a set iff 𝐵 is a set or 𝐴 is not a set or 𝐴 is empty. (Contributed by AV, 15-Sep-2024.)
Assertion
Ref Expression
fsetexb ({𝑓 ∣ 𝑓:𝐴⟶𝐵} ∈ V ↔ (𝐴 ∉ V ∨ 𝐴 = ∅ ∨ 𝐵 ∈ V))
Distinct variable groups:   𝐴,𝑓   𝐵,𝑓

Proof of Theorem fsetexb
StepHypRef Expression
1 ioran 999 . . . . . 6 (¬ ((𝐴 ∉ V ∨ 𝐴 = ∅) ∨ 𝐵 ∈ V) ↔ (¬ (𝐴 ∉ V ∨ 𝐴 = ∅) ∧ ¬ 𝐵 ∈ V))
2 df-nel 3062 . . . . . . . 8 (𝐵 ∉ V ↔ ¬ 𝐵 ∈ V)
3 ioran 999 . . . . . . . . . 10 (¬ (𝐴 ∉ V ∨ 𝐴 = ∅) ↔ (¬ 𝐴 ∉ V ∧ ¬ 𝐴 = ∅))
4 nnel 3071 . . . . . . . . . . 11 (¬ 𝐴 ∉ V ↔ 𝐴 ∈ V)
5 df-ne 2956 . . . . . . . . . . . 12 (𝐴 ≠ ∅ ↔ ¬ 𝐴 = ∅)
65bicomi 227 . . . . . . . . . . 11 (¬ 𝐴 = ∅ ↔ 𝐴 ≠ ∅)
74, 6anbi12i 640 . . . . . . . . . 10 ((¬ 𝐴 ∉ V ∧ ¬ 𝐴 = ∅) ↔ (𝐴 ∈ V ∧ 𝐴 ≠ ∅))
83, 7bitri 278 . . . . . . . . 9 (¬ (𝐴 ∉ V ∨ 𝐴 = ∅) ↔ (𝐴 ∈ V ∧ 𝐴 ≠ ∅))
9 fsetprcnex 8888 . . . . . . . . . 10 (((𝐴 ∈ V ∧ 𝐴 ≠ ∅) ∧ 𝐵 ∉ V) → {𝑓 ∣ 𝑓:𝐴⟶𝐵} ∉ V)
109ex 418 . . . . . . . . 9 ((𝐴 ∈ V ∧ 𝐴 ≠ ∅) → (𝐵 ∉ V → {𝑓 ∣ 𝑓:𝐴⟶𝐵} ∉ V))
118, 10sylbi 220 . . . . . . . 8 (¬ (𝐴 ∉ V ∨ 𝐴 = ∅) → (𝐵 ∉ V → {𝑓 ∣ 𝑓:𝐴⟶𝐵} ∉ V))
122, 11biimtrrid 246 . . . . . . 7 (¬ (𝐴 ∉ V ∨ 𝐴 = ∅) → (¬ 𝐵 ∈ V → {𝑓 ∣ 𝑓:𝐴⟶𝐵} ∉ V))
1312imp 412 . . . . . 6 ((¬ (𝐴 ∉ V ∨ 𝐴 = ∅) ∧ ¬ 𝐵 ∈ V) → {𝑓 ∣ 𝑓:𝐴⟶𝐵} ∉ V)
141, 13sylbi 220 . . . . 5 (¬ ((𝐴 ∉ V ∨ 𝐴 = ∅) ∨ 𝐵 ∈ V) → {𝑓 ∣ 𝑓:𝐴⟶𝐵} ∉ V)
15 df-nel 3062 . . . . 5 ({𝑓 ∣ 𝑓:𝐴⟶𝐵} ∉ V ↔ ¬ {𝑓 ∣ 𝑓:𝐴⟶𝐵} ∈ V)
1614, 15sylib 221 . . . 4 (¬ ((𝐴 ∉ V ∨ 𝐴 = ∅) ∨ 𝐵 ∈ V) → ¬ {𝑓 ∣ 𝑓:𝐴⟶𝐵} ∈ V)
1716con4i 115 . . 3 ({𝑓 ∣ 𝑓:𝐴⟶𝐵} ∈ V → ((𝐴 ∉ V ∨ 𝐴 = ∅) ∨ 𝐵 ∈ V))
18 df-3or 1104 . . 3 ((𝐴 ∉ V ∨ 𝐴 = ∅ ∨ 𝐵 ∈ V) ↔ ((𝐴 ∉ V ∨ 𝐴 = ∅) ∨ 𝐵 ∈ V))
1917, 18sylibr 237 . 2 ({𝑓 ∣ 𝑓:𝐴⟶𝐵} ∈ V → (𝐴 ∉ V ∨ 𝐴 = ∅ ∨ 𝐵 ∈ V))
20 fsetdmprc0 8881 . . . 4 (𝐴 ∉ V → {𝑓 ∣ 𝑓 Fn 𝐴} = ∅)
21 ffn 6710 . . . . . . 7 (𝑓:𝐴⟶𝐵 → 𝑓 Fn 𝐴)
2221ss2abi 3991 . . . . . 6 {𝑓 ∣ 𝑓:𝐴⟶𝐵} ⊆ {𝑓 ∣ 𝑓 Fn 𝐴}
23 sseq0 4353 . . . . . 6 (({𝑓 ∣ 𝑓:𝐴⟶𝐵} ⊆ {𝑓 ∣ 𝑓 Fn 𝐴} ∧ {𝑓 ∣ 𝑓 Fn 𝐴} = ∅) → {𝑓 ∣ 𝑓:𝐴⟶𝐵} = ∅)
2422, 23mpan 703 . . . . 5 ({𝑓 ∣ 𝑓 Fn 𝐴} = ∅ → {𝑓 ∣ 𝑓:𝐴⟶𝐵} = ∅)
25 0ex 5260 . . . . 5 ∅ ∈ V
2624, 25eqeltrdi 2868 . . . 4 ({𝑓 ∣ 𝑓 Fn 𝐴} = ∅ → {𝑓 ∣ 𝑓:𝐴⟶𝐵} ∈ V)
2720, 26syl 18 . . 3 (𝐴 ∉ V → {𝑓 ∣ 𝑓:𝐴⟶𝐵} ∈ V)
28 feq2 6689 . . . . . 6 (𝐴 = ∅ → (𝑓:𝐴⟶𝐵 ↔ 𝑓:∅⟶𝐵))
2928abbidv 2826 . . . . 5 (𝐴 = ∅ → {𝑓 ∣ 𝑓:𝐴⟶𝐵} = {𝑓 ∣ 𝑓:∅⟶𝐵})
30 fset0 8880 . . . . 5 {𝑓 ∣ 𝑓:∅⟶𝐵} = {∅}
3129, 30eqtrdi 2811 . . . 4 (𝐴 = ∅ → {𝑓 ∣ 𝑓:𝐴⟶𝐵} = {∅})
32 p0ex 5345 . . . 4 {∅} ∈ V
3331, 32eqeltrdi 2868 . . 3 (𝐴 = ∅ → {𝑓 ∣ 𝑓:𝐴⟶𝐵} ∈ V)
34 fsetex 8882 . . 3 (𝐵 ∈ V → {𝑓 ∣ 𝑓:𝐴⟶𝐵} ∈ V)
3527, 33, 343jaoi 1454 . 2 ((𝐴 ∉ V ∨ 𝐴 = ∅ ∨ 𝐵 ∈ V) → {𝑓 ∣ 𝑓:𝐴⟶𝐵} ∈ V)
3619, 35impbii 212 1 ({𝑓 ∣ 𝑓:𝐴⟶𝐵} ∈ V ↔ (𝐴 ∉ V ∨ 𝐴 = ∅ ∨ 𝐵 ∈ V))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   ∨ w3o 1102   = wceq 1569   ∈ wcel 2144  {cab 2738   ≠ wne 2955   ∉ wnel 3061  Vcvv 3450   ⊆ wss 3895  ∅c0 4278  {csn 4584   Fn wfn 6534  ⟶wf 6535
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7752
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-iota 6494  df-fun 6541  df-fn 6542  df-f 6543  df-f1 6544  df-fo 6545  df-f1o 6546  df-fv 6547  df-ov 7424  df-oprab 7425  df-mpo 7426  df-1st 8002  df-2nd 8003  df-map 8853
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator