Users' Mathboxes Mathbox for Zhi Wang < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  map0cor Structured version   Visualization version   GIF version

Theorem map0cor 48171
Description: A function exists iff an empty codomain is accompanied with an empty domain. (Contributed by Zhi Wang, 1-Oct-2024.)
Hypotheses
Ref Expression
map0cor.1 (𝜑𝐴𝑉)
map0cor.2 (𝜑𝐵𝑊)
Assertion
Ref Expression
map0cor (𝜑 → ((𝐵 = ∅ → 𝐴 = ∅) ↔ ∃𝑓 𝑓:𝐴𝐵))
Distinct variable groups:   𝐴,𝑓   𝐵,𝑓   𝑓,𝑉   𝑓,𝑊
Allowed substitution hint:   𝜑(𝑓)

Proof of Theorem map0cor
StepHypRef Expression
1 map0cor.2 . 2 (𝜑𝐵𝑊)
2 map0cor.1 . 2 (𝜑𝐴𝑉)
3 biid 260 . . . . . . 7 (𝐴 ≠ ∅ ↔ 𝐴 ≠ ∅)
43necon2bbii 2981 . . . . . 6 (𝐴 = ∅ ↔ ¬ 𝐴 ≠ ∅)
54imbi2i 335 . . . . 5 ((𝐵 = ∅ → 𝐴 = ∅) ↔ (𝐵 = ∅ → ¬ 𝐴 ≠ ∅))
6 imnan 398 . . . . 5 ((𝐵 = ∅ → ¬ 𝐴 ≠ ∅) ↔ ¬ (𝐵 = ∅ ∧ 𝐴 ≠ ∅))
75, 6bitri 274 . . . 4 ((𝐵 = ∅ → 𝐴 = ∅) ↔ ¬ (𝐵 = ∅ ∧ 𝐴 ≠ ∅))
8 map0g 8912 . . . . 5 ((𝐵𝑊𝐴𝑉) → ((𝐵m 𝐴) = ∅ ↔ (𝐵 = ∅ ∧ 𝐴 ≠ ∅)))
98notbid 317 . . . 4 ((𝐵𝑊𝐴𝑉) → (¬ (𝐵m 𝐴) = ∅ ↔ ¬ (𝐵 = ∅ ∧ 𝐴 ≠ ∅)))
107, 9bitr4id 289 . . 3 ((𝐵𝑊𝐴𝑉) → ((𝐵 = ∅ → 𝐴 = ∅) ↔ ¬ (𝐵m 𝐴) = ∅))
11 neq0 4347 . . . 4 (¬ (𝐵m 𝐴) = ∅ ↔ ∃𝑓 𝑓 ∈ (𝐵m 𝐴))
1211a1i 11 . . 3 ((𝐵𝑊𝐴𝑉) → (¬ (𝐵m 𝐴) = ∅ ↔ ∃𝑓 𝑓 ∈ (𝐵m 𝐴)))
13 elmapg 8867 . . . 4 ((𝐵𝑊𝐴𝑉) → (𝑓 ∈ (𝐵m 𝐴) ↔ 𝑓:𝐴𝐵))
1413exbidv 1916 . . 3 ((𝐵𝑊𝐴𝑉) → (∃𝑓 𝑓 ∈ (𝐵m 𝐴) ↔ ∃𝑓 𝑓:𝐴𝐵))
1510, 12, 143bitrd 304 . 2 ((𝐵𝑊𝐴𝑉) → ((𝐵 = ∅ → 𝐴 = ∅) ↔ ∃𝑓 𝑓:𝐴𝐵))
161, 2, 15syl2anc 582 1 (𝜑 → ((𝐵 = ∅ → 𝐴 = ∅) ↔ ∃𝑓 𝑓:𝐴𝐵))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 394   = wceq 1533  wex 1773  wcel 2098  wne 2929  c0 4324  wf 6549  (class class class)co 7423  m cmap 8854
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1905  ax-6 1963  ax-7 2003  ax-8 2100  ax-9 2108  ax-10 2129  ax-11 2146  ax-12 2166  ax-ext 2696  ax-sep 5303  ax-nul 5310  ax-pow 5368  ax-pr 5432  ax-un 7745
This theorem depends on definitions:  df-bi 206  df-an 395  df-or 846  df-3an 1086  df-tru 1536  df-fal 1546  df-ex 1774  df-nf 1778  df-sb 2060  df-mo 2528  df-eu 2557  df-clab 2703  df-cleq 2717  df-clel 2802  df-nfc 2877  df-ne 2930  df-ral 3051  df-rex 3060  df-rab 3419  df-v 3463  df-sbc 3776  df-csb 3892  df-dif 3949  df-un 3951  df-in 3953  df-ss 3963  df-nul 4325  df-if 4533  df-pw 4608  df-sn 4633  df-pr 4635  df-op 4639  df-uni 4913  df-iun 5002  df-br 5153  df-opab 5215  df-mpt 5236  df-id 5579  df-xp 5687  df-rel 5688  df-cnv 5689  df-co 5690  df-dm 5691  df-rn 5692  df-res 5693  df-ima 5694  df-iota 6505  df-fun 6555  df-fn 6556  df-f 6557  df-fv 6561  df-ov 7426  df-oprab 7427  df-mpo 7428  df-1st 8002  df-2nd 8003  df-map 8856
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator