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

Theorem fsetexb 8935
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 1000 . . . . . 6 (¬ ((𝐴 ∉ V ∨ 𝐴 = ∅) ∨ 𝐵 ∈ V) ↔ (¬ (𝐴 ∉ V ∨ 𝐴 = ∅) ∧ ¬ 𝐵 ∈ V))
2 df-nel 3072 . . . . . . . 8 (𝐵 ∉ V ↔ ¬ 𝐵 ∈ V)
3 ioran 1000 . . . . . . . . . 10 (¬ (𝐴 ∉ V ∨ 𝐴 = ∅) ↔ (¬ 𝐴 ∉ V ∧ ¬ 𝐴 = ∅))
4 nnel 3081 . . . . . . . . . . 11 (¬ 𝐴 ∉ V ↔ 𝐴 ∈ V)
5 df-ne 2966 . . . . . . . . . . . 12 (𝐴 ≠ ∅ ↔ ¬ 𝐴 = ∅)
65bicomi 227 . . . . . . . . . . 11 (¬ 𝐴 = ∅ ↔ 𝐴 ≠ ∅)
74, 6anbi12i 640 . . . . . . . . . 10 ((¬ 𝐴 ∉ V ∧ ¬ 𝐴 = ∅) ↔ (𝐴 ∈ V ∧ 𝐴 ≠ ∅))
83, 7bitri 278 . . . . . . . . 9 (¬ (𝐴 ∉ V ∨ 𝐴 = ∅) ↔ (𝐴 ∈ V ∧ 𝐴 ≠ ∅))
9 fsetprcnex 8933 . . . . . . . . . 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 3072 . . . . 5 ({𝑓 ∣ 𝑓:𝐴⟶𝐵} ∉ V ↔ ¬ {𝑓 ∣ 𝑓:𝐴⟶𝐵} ∈ V)
1614, 15sylib 221 . . . 4 (¬ ((𝐴 ∉ V ∨ 𝐴 = ∅) ∨ 𝐵 ∈ V) → ¬ {𝑓 ∣ 𝑓:𝐴⟶𝐵} ∈ V)
1716con4i 115 . . 3 ({𝑓 ∣ 𝑓:𝐴⟶𝐵} ∈ V → ((𝐴 ∉ V ∨ 𝐴 = ∅) ∨ 𝐵 ∈ V))
18 df-3or 1105 . . 3 ((𝐴 ∉ V ∨ 𝐴 = ∅ ∨ 𝐵 ∈ V) ↔ ((𝐴 ∉ V ∨ 𝐴 = ∅) ∨ 𝐵 ∈ V))
1917, 18sylibr 237 . 2 ({𝑓 ∣ 𝑓:𝐴⟶𝐵} ∈ V → (𝐴 ∉ V ∨ 𝐴 = ∅ ∨ 𝐵 ∈ V))
20 fsetdmprc0 8926 . . . 4 (𝐴 ∉ V → {𝑓 ∣ 𝑓 Fn 𝐴} = ∅)
21 ffn 6749 . . . . . . 7 (𝑓:𝐴⟶𝐵 → 𝑓 Fn 𝐴)
2221ss2abi 3996 . . . . . 6 {𝑓 ∣ 𝑓:𝐴⟶𝐵} ⊆ {𝑓 ∣ 𝑓 Fn 𝐴}
23 sseq0 4359 . . . . . 6 (({𝑓 ∣ 𝑓:𝐴⟶𝐵} ⊆ {𝑓 ∣ 𝑓 Fn 𝐴} ∧ {𝑓 ∣ 𝑓 Fn 𝐴} = ∅) → {𝑓 ∣ 𝑓:𝐴⟶𝐵} = ∅)
2422, 23mpan 703 . . . . 5 ({𝑓 ∣ 𝑓 Fn 𝐴} = ∅ → {𝑓 ∣ 𝑓:𝐴⟶𝐵} = ∅)
25 0ex 5270 . . . . 5 ∅ ∈ V
2624, 25eqeltrdi 2878 . . . 4 ({𝑓 ∣ 𝑓 Fn 𝐴} = ∅ → {𝑓 ∣ 𝑓:𝐴⟶𝐵} ∈ V)
2720, 26syl 18 . . 3 (𝐴 ∉ V → {𝑓 ∣ 𝑓:𝐴⟶𝐵} ∈ V)
28 feq2 6728 . . . . . 6 (𝐴 = ∅ → (𝑓:𝐴⟶𝐵 ↔ 𝑓:∅⟶𝐵))
2928abbidv 2835 . . . . 5 (𝐴 = ∅ → {𝑓 ∣ 𝑓:𝐴⟶𝐵} = {𝑓 ∣ 𝑓:∅⟶𝐵})
30 fset0 8925 . . . . 5 {𝑓 ∣ 𝑓:∅⟶𝐵} = {∅}
3129, 30eqtrdi 2820 . . . 4 (𝐴 = ∅ → {𝑓 ∣ 𝑓:𝐴⟶𝐵} = {∅})
32 p0ex 5356 . . . 4 {∅} ∈ V
3331, 32eqeltrdi 2878 . . 3 (𝐴 = ∅ → {𝑓 ∣ 𝑓:𝐴⟶𝐵} ∈ V)
34 fsetex 8927 . . 3 (𝐵 ∈ V → {𝑓 ∣ 𝑓:𝐴⟶𝐵} ∈ V)
3527, 33, 343jaoi 1457 . 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 1103   = wceq 1572   ∈ wcel 2151  {cab 2747   ≠ wne 2965   ∉ wnel 3071  Vcvv 3456   ⊆ wss 3902  ∅c0 4283  {csn 4590   Fn wfn 6568  ⟶wf 6569
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-rep 5241  ax-sep 5258  ax-nul 5269  ax-pow 5337  ax-pr 5401  ax-un 7794
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-nel 3072  df-ral 3087  df-rex 3097  df-reu 3372  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-iun 4961  df-br 5112  df-opab 5177  df-mpt 5196  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-iota 6527  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580  df-fv 6581  df-ov 7465  df-oprab 7466  df-mpo 7467  df-1st 8046  df-2nd 8047  df-map 8898
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator