Users' Mathboxes Mathbox for BJ < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  bj-xpcossxp Structured version   Visualization version   GIF version

Theorem bj-xpcossxp 35360
Description: The composition of two Cartesian products is included in the expected Cartesian product. There is equality if (𝐵𝐶) ≠ ∅, see xpcogend 14685. (Contributed by BJ, 22-May-2024.)
Assertion
Ref Expression
bj-xpcossxp ((𝐶 × 𝐷) ∘ (𝐴 × 𝐵)) ⊆ (𝐴 × 𝐷)

Proof of Theorem bj-xpcossxp
Dummy variables 𝑥 𝑦 𝑡 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 brxp 5636 . . . . . . 7 (𝑥(𝐴 × 𝐵)𝑦 ↔ (𝑥𝐴𝑦𝐵))
2 brxp 5636 . . . . . . 7 (𝑦(𝐶 × 𝐷)𝑡 ↔ (𝑦𝐶𝑡𝐷))
31, 2anbi12i 627 . . . . . 6 ((𝑥(𝐴 × 𝐵)𝑦𝑦(𝐶 × 𝐷)𝑡) ↔ ((𝑥𝐴𝑦𝐵) ∧ (𝑦𝐶𝑡𝐷)))
4 an43 655 . . . . . 6 (((𝑥𝐴𝑦𝐵) ∧ (𝑦𝐶𝑡𝐷)) ↔ ((𝑥𝐴𝑡𝐷) ∧ (𝑦𝐵𝑦𝐶)))
53, 4bitri 274 . . . . 5 ((𝑥(𝐴 × 𝐵)𝑦𝑦(𝐶 × 𝐷)𝑡) ↔ ((𝑥𝐴𝑡𝐷) ∧ (𝑦𝐵𝑦𝐶)))
65exbii 1850 . . . 4 (∃𝑦(𝑥(𝐴 × 𝐵)𝑦𝑦(𝐶 × 𝐷)𝑡) ↔ ∃𝑦((𝑥𝐴𝑡𝐷) ∧ (𝑦𝐵𝑦𝐶)))
7 19.42v 1957 . . . . 5 (∃𝑦((𝑥𝐴𝑡𝐷) ∧ (𝑦𝐵𝑦𝐶)) ↔ ((𝑥𝐴𝑡𝐷) ∧ ∃𝑦(𝑦𝐵𝑦𝐶)))
87simplbi 498 . . . 4 (∃𝑦((𝑥𝐴𝑡𝐷) ∧ (𝑦𝐵𝑦𝐶)) → (𝑥𝐴𝑡𝐷))
96, 8sylbi 216 . . 3 (∃𝑦(𝑥(𝐴 × 𝐵)𝑦𝑦(𝐶 × 𝐷)𝑡) → (𝑥𝐴𝑡𝐷))
109ssopab2i 5463 . 2 {⟨𝑥, 𝑡⟩ ∣ ∃𝑦(𝑥(𝐴 × 𝐵)𝑦𝑦(𝐶 × 𝐷)𝑡)} ⊆ {⟨𝑥, 𝑡⟩ ∣ (𝑥𝐴𝑡𝐷)}
11 df-co 5598 . 2 ((𝐶 × 𝐷) ∘ (𝐴 × 𝐵)) = {⟨𝑥, 𝑡⟩ ∣ ∃𝑦(𝑥(𝐴 × 𝐵)𝑦𝑦(𝐶 × 𝐷)𝑡)}
12 df-xp 5595 . 2 (𝐴 × 𝐷) = {⟨𝑥, 𝑡⟩ ∣ (𝑥𝐴𝑡𝐷)}
1310, 11, 123sstr4i 3964 1 ((𝐶 × 𝐷) ∘ (𝐴 × 𝐵)) ⊆ (𝐴 × 𝐷)
Colors of variables: wff setvar class
Syntax hints:  wa 396  wex 1782  wcel 2106  wss 3887   class class class wbr 5074  {copab 5136   × cxp 5587  ccom 5593
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-br 5075  df-opab 5137  df-xp 5595  df-co 5598
This theorem is referenced by:  bj-imdirco  35361
  Copyright terms: Public domain W3C validator