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

Theorem fsetexb 8870
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 3063 . . . . . . . 8 (𝐵 ∉ V ↔ ¬ 𝐵 ∈ V)
3 ioran 999 . . . . . . . . . 10 (¬ (𝐴 ∉ V ∨ 𝐴 = ∅) ↔ (¬ 𝐴 ∉ V ∧ ¬ 𝐴 = ∅))
4 nnel 3072 . . . . . . . . . . 11 (¬ 𝐴 ∉ V ↔ 𝐴 ∈ V)
5 df-ne 2957 . . . . . . . . . . . 12 (𝐴 ≠ ∅ ↔ ¬ 𝐴 = ∅)
65bicomi 227 . . . . . . . . . . 11 (¬ 𝐴 = ∅ ↔ 𝐴 ≠ ∅)
74, 6anbi12i 640 . . . . . . . . . 10 ((¬ 𝐴 ∉ V ∧ ¬ 𝐴 = ∅) ↔ (𝐴 ∈ V ∧ 𝐴 ≠ ∅))
83, 7bitri 278 . . . . . . . . 9 (¬ (𝐴 ∉ V ∨ 𝐴 = ∅) ↔ (𝐴 ∈ V ∧ 𝐴 ≠ ∅))
9 fsetprcnex 8868 . . . . . . . . . 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 3063 . . . . 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 8861 . . . 4 (𝐴 ∉ V → {𝑓 ∣ 𝑓 Fn 𝐴} = ∅)
21 ffn 6701 . . . . . . 7 (𝑓:𝐴⟶𝐵 → 𝑓 Fn 𝐴)
2221ss2abi 4014 . . . . . 6 {𝑓 ∣ 𝑓:𝐴⟶𝐵} ⊆ {𝑓 ∣ 𝑓 Fn 𝐴}
23 sseq0 4354 . . . . . 6 (({𝑓 ∣ 𝑓:𝐴⟶𝐵} ⊆ {𝑓 ∣ 𝑓 Fn 𝐴} ∧ {𝑓 ∣ 𝑓 Fn 𝐴} = ∅) → {𝑓 ∣ 𝑓:𝐴⟶𝐵} = ∅)
2422, 23mpan 703 . . . . 5 ({𝑓 ∣ 𝑓 Fn 𝐴} = ∅ → {𝑓 ∣ 𝑓:𝐴⟶𝐵} = ∅)
25 0ex 5261 . . . . 5 ∅ ∈ V
2624, 25eqeltrdi 2869 . . . 4 ({𝑓 ∣ 𝑓 Fn 𝐴} = ∅ → {𝑓 ∣ 𝑓:𝐴⟶𝐵} ∈ V)
2720, 26syl 18 . . 3 (𝐴 ∉ V → {𝑓 ∣ 𝑓:𝐴⟶𝐵} ∈ V)
28 feq2 6680 . . . . . 6 (𝐴 = ∅ → (𝑓:𝐴⟶𝐵 ↔ 𝑓:∅⟶𝐵))
2928abbidv 2827 . . . . 5 (𝐴 = ∅ → {𝑓 ∣ 𝑓:𝐴⟶𝐵} = {𝑓 ∣ 𝑓:∅⟶𝐵})
30 fset0 8860 . . . . 5 {𝑓 ∣ 𝑓:∅⟶𝐵} = {∅}
3129, 30eqtrdi 2812 . . . 4 (𝐴 = ∅ → {𝑓 ∣ 𝑓:𝐴⟶𝐵} = {∅})
32 p0ex 5346 . . . 4 {∅} ∈ V
3331, 32eqeltrdi 2869 . . 3 (𝐴 = ∅ → {𝑓 ∣ 𝑓:𝐴⟶𝐵} ∈ V)
34 fsetex 8862 . . 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 1570   ∈ wcel 2145  {cab 2739   ≠ wne 2956   ∉ wnel 3062  Vcvv 3451   ⊆ wss 3899  ∅c0 4279  {csn 4584   Fn wfn 6526  ⟶wf 6527
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7740
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 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-nel 3063  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6487  df-fun 6533  df-fn 6534  df-f 6535  df-f1 6536  df-fo 6537  df-f1o 6538  df-fv 6539  df-ov 7415  df-oprab 7416  df-mpo 7417  df-1st 7990  df-2nd 7991  df-map 8833
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator