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

Theorem fsetexb 8917
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 3066 . . . . . . . 8 (𝐵 ∉ V ↔ ¬ 𝐵 ∈ V)
3 ioran 999 . . . . . . . . . 10 (¬ (𝐴 ∉ V ∨ 𝐴 = ∅) ↔ (¬ 𝐴 ∉ V ∧ ¬ 𝐴 = ∅))
4 nnel 3075 . . . . . . . . . . 11 (¬ 𝐴 ∉ V ↔ 𝐴 ∈ V)
5 df-ne 2960 . . . . . . . . . . . 12 (𝐴 ≠ ∅ ↔ ¬ 𝐴 = ∅)
65bicomi 227 . . . . . . . . . . 11 (¬ 𝐴 = ∅ ↔ 𝐴 ≠ ∅)
74, 6anbi12i 640 . . . . . . . . . 10 ((¬ 𝐴 ∉ V ∧ ¬ 𝐴 = ∅) ↔ (𝐴 ∈ V ∧ 𝐴 ≠ ∅))
83, 7bitri 278 . . . . . . . . 9 (¬ (𝐴 ∉ V ∨ 𝐴 = ∅) ↔ (𝐴 ∈ V ∧ 𝐴 ≠ ∅))
9 fsetprcnex 8915 . . . . . . . . . 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 3066 . . . . 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 8908 . . . 4 (𝐴 ∉ V → {𝑓 ∣ 𝑓 Fn 𝐴} = ∅)
21 ffn 6734 . . . . . . 7 (𝑓:𝐴⟶𝐵 → 𝑓 Fn 𝐴)
2221ss2abi 3994 . . . . . 6 {𝑓 ∣ 𝑓:𝐴⟶𝐵} ⊆ {𝑓 ∣ 𝑓 Fn 𝐴}
23 sseq0 4357 . . . . . 6 (({𝑓 ∣ 𝑓:𝐴⟶𝐵} ⊆ {𝑓 ∣ 𝑓 Fn 𝐴} ∧ {𝑓 ∣ 𝑓 Fn 𝐴} = ∅) → {𝑓 ∣ 𝑓:𝐴⟶𝐵} = ∅)
2422, 23mpan 703 . . . . 5 ({𝑓 ∣ 𝑓 Fn 𝐴} = ∅ → {𝑓 ∣ 𝑓:𝐴⟶𝐵} = ∅)
25 0ex 5265 . . . . 5 ∅ ∈ V
2624, 25eqeltrdi 2872 . . . 4 ({𝑓 ∣ 𝑓 Fn 𝐴} = ∅ → {𝑓 ∣ 𝑓:𝐴⟶𝐵} ∈ V)
2720, 26syl 18 . . 3 (𝐴 ∉ V → {𝑓 ∣ 𝑓:𝐴⟶𝐵} ∈ V)
28 feq2 6713 . . . . . 6 (𝐴 = ∅ → (𝑓:𝐴⟶𝐵 ↔ 𝑓:∅⟶𝐵))
2928abbidv 2829 . . . . 5 (𝐴 = ∅ → {𝑓 ∣ 𝑓:𝐴⟶𝐵} = {𝑓 ∣ 𝑓:∅⟶𝐵})
30 fset0 8907 . . . . 5 {𝑓 ∣ 𝑓:∅⟶𝐵} = {∅}
3129, 30eqtrdi 2814 . . . 4 (𝐴 = ∅ → {𝑓 ∣ 𝑓:𝐴⟶𝐵} = {∅})
32 p0ex 5351 . . . 4 {∅} ∈ V
3331, 32eqeltrdi 2872 . . 3 (𝐴 = ∅ → {𝑓 ∣ 𝑓:𝐴⟶𝐵} ∈ V)
34 fsetex 8909 . . 3 (𝐵 ∈ V → {𝑓 ∣ 𝑓:𝐴⟶𝐵} ∈ V)
3527, 33, 343jaoi 1455 . 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 1570   ∈ wcel 2147  {cab 2741   ≠ wne 2959   ∉ wnel 3065  Vcvv 3454   ⊆ wss 3900  ∅c0 4281  {csn 4588   Fn wfn 6556  ⟶wf 6557
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5236  ax-sep 5253  ax-nul 5264  ax-pow 5332  ax-pr 5396  ax-un 7778
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3066  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5172  df-mpt 5191  df-id 5551  df-xp 5662  df-rel 5663  df-cnv 5664  df-co 5665  df-dm 5666  df-rn 5667  df-res 5668  df-ima 5669  df-iota 6515  df-fun 6563  df-fn 6564  df-f 6565  df-f1 6566  df-fo 6567  df-f1o 6568  df-fv 6569  df-ov 7449  df-oprab 7450  df-mpo 7451  df-1st 8028  df-2nd 8029  df-map 8880
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator