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

Theorem 0mpo0 7349
Description: A mapping operation with empty domain is empty. Generalization of mpo0 7351. (Contributed by AV, 27-Jan-2024.)
Assertion
Ref Expression
0mpo0 ((𝐴 = ∅ ∨ 𝐵 = ∅) → (𝑥𝐴, 𝑦𝐵𝐶) = ∅)
Distinct variable groups:   𝑦,𝐴   𝑥,𝐴   𝑥,𝐵   𝑦,𝐵
Allowed substitution hints:   𝐶(𝑥,𝑦)

Proof of Theorem 0mpo0
Dummy variables 𝑤 𝑧 𝑣 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-mpo 7273 . . 3 (𝑥𝐴, 𝑦𝐵𝐶) = {⟨⟨𝑥, 𝑦⟩, 𝑤⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑤 = 𝐶)}
2 df-oprab 7272 . . 3 {⟨⟨𝑥, 𝑦⟩, 𝑤⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑤 = 𝐶)} = {𝑧 ∣ ∃𝑥𝑦𝑤(𝑧 = ⟨⟨𝑥, 𝑦⟩, 𝑤⟩ ∧ ((𝑥𝐴𝑦𝐵) ∧ 𝑤 = 𝐶))}
31, 2eqtri 2767 . 2 (𝑥𝐴, 𝑦𝐵𝐶) = {𝑧 ∣ ∃𝑥𝑦𝑤(𝑧 = ⟨⟨𝑥, 𝑦⟩, 𝑤⟩ ∧ ((𝑥𝐴𝑦𝐵) ∧ 𝑤 = 𝐶))}
4 nel02 4271 . . . . . . . . . 10 (𝐴 = ∅ → ¬ 𝑥𝐴)
5 nel02 4271 . . . . . . . . . 10 (𝐵 = ∅ → ¬ 𝑦𝐵)
64, 5orim12i 905 . . . . . . . . 9 ((𝐴 = ∅ ∨ 𝐵 = ∅) → (¬ 𝑥𝐴 ∨ ¬ 𝑦𝐵))
7 ianor 978 . . . . . . . . 9 (¬ (𝑥𝐴𝑦𝐵) ↔ (¬ 𝑥𝐴 ∨ ¬ 𝑦𝐵))
86, 7sylibr 233 . . . . . . . 8 ((𝐴 = ∅ ∨ 𝐵 = ∅) → ¬ (𝑥𝐴𝑦𝐵))
9 simprl 767 . . . . . . . 8 ((𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑤⟩ ∧ ((𝑥𝐴𝑦𝐵) ∧ 𝑤 = 𝐶)) → (𝑥𝐴𝑦𝐵))
108, 9nsyl 140 . . . . . . 7 ((𝐴 = ∅ ∨ 𝐵 = ∅) → ¬ (𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑤⟩ ∧ ((𝑥𝐴𝑦𝐵) ∧ 𝑤 = 𝐶)))
1110nexdv 1942 . . . . . 6 ((𝐴 = ∅ ∨ 𝐵 = ∅) → ¬ ∃𝑤(𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑤⟩ ∧ ((𝑥𝐴𝑦𝐵) ∧ 𝑤 = 𝐶)))
1211nexdv 1942 . . . . 5 ((𝐴 = ∅ ∨ 𝐵 = ∅) → ¬ ∃𝑦𝑤(𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑤⟩ ∧ ((𝑥𝐴𝑦𝐵) ∧ 𝑤 = 𝐶)))
1312nexdv 1942 . . . 4 ((𝐴 = ∅ ∨ 𝐵 = ∅) → ¬ ∃𝑥𝑦𝑤(𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑤⟩ ∧ ((𝑥𝐴𝑦𝐵) ∧ 𝑤 = 𝐶)))
1413alrimiv 1933 . . 3 ((𝐴 = ∅ ∨ 𝐵 = ∅) → ∀𝑣 ¬ ∃𝑥𝑦𝑤(𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑤⟩ ∧ ((𝑥𝐴𝑦𝐵) ∧ 𝑤 = 𝐶)))
15 eqeq1 2743 . . . . . 6 (𝑧 = 𝑣 → (𝑧 = ⟨⟨𝑥, 𝑦⟩, 𝑤⟩ ↔ 𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑤⟩))
1615anbi1d 629 . . . . 5 (𝑧 = 𝑣 → ((𝑧 = ⟨⟨𝑥, 𝑦⟩, 𝑤⟩ ∧ ((𝑥𝐴𝑦𝐵) ∧ 𝑤 = 𝐶)) ↔ (𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑤⟩ ∧ ((𝑥𝐴𝑦𝐵) ∧ 𝑤 = 𝐶))))
17163exbidv 1931 . . . 4 (𝑧 = 𝑣 → (∃𝑥𝑦𝑤(𝑧 = ⟨⟨𝑥, 𝑦⟩, 𝑤⟩ ∧ ((𝑥𝐴𝑦𝐵) ∧ 𝑤 = 𝐶)) ↔ ∃𝑥𝑦𝑤(𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑤⟩ ∧ ((𝑥𝐴𝑦𝐵) ∧ 𝑤 = 𝐶))))
1817ab0w 4312 . . 3 ({𝑧 ∣ ∃𝑥𝑦𝑤(𝑧 = ⟨⟨𝑥, 𝑦⟩, 𝑤⟩ ∧ ((𝑥𝐴𝑦𝐵) ∧ 𝑤 = 𝐶))} = ∅ ↔ ∀𝑣 ¬ ∃𝑥𝑦𝑤(𝑣 = ⟨⟨𝑥, 𝑦⟩, 𝑤⟩ ∧ ((𝑥𝐴𝑦𝐵) ∧ 𝑤 = 𝐶)))
1914, 18sylibr 233 . 2 ((𝐴 = ∅ ∨ 𝐵 = ∅) → {𝑧 ∣ ∃𝑥𝑦𝑤(𝑧 = ⟨⟨𝑥, 𝑦⟩, 𝑤⟩ ∧ ((𝑥𝐴𝑦𝐵) ∧ 𝑤 = 𝐶))} = ∅)
203, 19eqtrid 2791 1 ((𝐴 = ∅ ∨ 𝐵 = ∅) → (𝑥𝐴, 𝑦𝐵𝐶) = ∅)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395  wo 843  wal 1539   = wceq 1541  wex 1785  wcel 2109  {cab 2716  c0 4261  cop 4572  {coprab 7269  cmpo 7270
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-8 2111  ax-9 2119  ax-ext 2710
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1544  df-fal 1554  df-ex 1786  df-sb 2071  df-clab 2717  df-cleq 2731  df-clel 2817  df-dif 3894  df-nul 4262  df-oprab 7272  df-mpo 7273
This theorem is referenced by:  mpo0v  7350  homffval  17380  comfffval  17388  natfval  17643  xpchomfval  17877  xpccofval  17880  plusffval  18313  efmndplusg  18500  grpsubfval  18604  grpsubfvalALT  18605  oppglsm  19228  dvrfval  19907  scaffval  20122  ipffval  20834  psrmulr  21134  marrepfval  21690  marepvfval  21695  pcofval  24154  clwwlknonmpo  28432  mendplusgfval  40990  mendmulrfval  40992  mendvscafval  40995
  Copyright terms: Public domain W3C validator