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

Theorem xpcogend 14322
Description: The most interesting case of the composition of two cross products. (Contributed by RP, 24-Dec-2019.)
Hypothesis
Ref Expression
xpcogend.1 (𝜑 → (𝐵𝐶) ≠ ∅)
Assertion
Ref Expression
xpcogend (𝜑 → ((𝐶 × 𝐷) ∘ (𝐴 × 𝐵)) = (𝐴 × 𝐷))

Proof of Theorem xpcogend
Dummy variables 𝑥 𝑧 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 xpcogend.1 . . . . . 6 (𝜑 → (𝐵𝐶) ≠ ∅)
2 ndisj 4324 . . . . . 6 ((𝐵𝐶) ≠ ∅ ↔ ∃𝑦(𝑦𝐵𝑦𝐶))
31, 2sylib 219 . . . . 5 (𝜑 → ∃𝑦(𝑦𝐵𝑦𝐶))
43biantrud 532 . . . 4 (𝜑 → ((𝑥𝐴𝑧𝐷) ↔ ((𝑥𝐴𝑧𝐷) ∧ ∃𝑦(𝑦𝐵𝑦𝐶))))
5 brxp 5594 . . . . . . 7 (𝑥(𝐴 × 𝐵)𝑦 ↔ (𝑥𝐴𝑦𝐵))
6 brxp 5594 . . . . . . . 8 (𝑦(𝐶 × 𝐷)𝑧 ↔ (𝑦𝐶𝑧𝐷))
76biancomi 463 . . . . . . 7 (𝑦(𝐶 × 𝐷)𝑧 ↔ (𝑧𝐷𝑦𝐶))
85, 7anbi12i 626 . . . . . 6 ((𝑥(𝐴 × 𝐵)𝑦𝑦(𝐶 × 𝐷)𝑧) ↔ ((𝑥𝐴𝑦𝐵) ∧ (𝑧𝐷𝑦𝐶)))
98exbii 1839 . . . . 5 (∃𝑦(𝑥(𝐴 × 𝐵)𝑦𝑦(𝐶 × 𝐷)𝑧) ↔ ∃𝑦((𝑥𝐴𝑦𝐵) ∧ (𝑧𝐷𝑦𝐶)))
10 an4 652 . . . . . 6 (((𝑥𝐴𝑦𝐵) ∧ (𝑧𝐷𝑦𝐶)) ↔ ((𝑥𝐴𝑧𝐷) ∧ (𝑦𝐵𝑦𝐶)))
1110exbii 1839 . . . . 5 (∃𝑦((𝑥𝐴𝑦𝐵) ∧ (𝑧𝐷𝑦𝐶)) ↔ ∃𝑦((𝑥𝐴𝑧𝐷) ∧ (𝑦𝐵𝑦𝐶)))
12 19.42v 1945 . . . . 5 (∃𝑦((𝑥𝐴𝑧𝐷) ∧ (𝑦𝐵𝑦𝐶)) ↔ ((𝑥𝐴𝑧𝐷) ∧ ∃𝑦(𝑦𝐵𝑦𝐶)))
139, 11, 123bitri 298 . . . 4 (∃𝑦(𝑥(𝐴 × 𝐵)𝑦𝑦(𝐶 × 𝐷)𝑧) ↔ ((𝑥𝐴𝑧𝐷) ∧ ∃𝑦(𝑦𝐵𝑦𝐶)))
144, 13syl6rbbr 291 . . 3 (𝜑 → (∃𝑦(𝑥(𝐴 × 𝐵)𝑦𝑦(𝐶 × 𝐷)𝑧) ↔ (𝑥𝐴𝑧𝐷)))
1514opabbidv 5123 . 2 (𝜑 → {⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥(𝐴 × 𝐵)𝑦𝑦(𝐶 × 𝐷)𝑧)} = {⟨𝑥, 𝑧⟩ ∣ (𝑥𝐴𝑧𝐷)})
16 df-co 5557 . 2 ((𝐶 × 𝐷) ∘ (𝐴 × 𝐵)) = {⟨𝑥, 𝑧⟩ ∣ ∃𝑦(𝑥(𝐴 × 𝐵)𝑦𝑦(𝐶 × 𝐷)𝑧)}
17 df-xp 5554 . 2 (𝐴 × 𝐷) = {⟨𝑥, 𝑧⟩ ∣ (𝑥𝐴𝑧𝐷)}
1815, 16, 173eqtr4g 2878 1 (𝜑 → ((𝐶 × 𝐷) ∘ (𝐴 × 𝐵)) = (𝐴 × 𝐷))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1528  wex 1771  wcel 2105  wne 3013  cin 3932  c0 4288   class class class wbr 5057  {copab 5119   × cxp 5546  ccom 5552
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-sep 5194  ax-nul 5201  ax-pr 5320
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ne 3014  df-ral 3140  df-rex 3141  df-rab 3144  df-v 3494  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-nul 4289  df-if 4464  df-sn 4558  df-pr 4560  df-op 4564  df-br 5058  df-opab 5120  df-xp 5554  df-co 5557
This theorem is referenced by:  xpcoidgend  14323
  Copyright terms: Public domain W3C validator