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

Theorem inxp 5787
Description: Intersection of two Cartesian products. Exercise 9 of [TakeutiZaring] p. 25. (Contributed by NM, 3-Aug-1994.) (Proof shortened by Andrew Salmon, 27-Aug-2011.) Avoid ax-10 2147, ax-12 2185. (Revised by SN, 5-May-2025.)
Assertion
Ref Expression
inxp ((𝐴 × 𝐵) ∩ (𝐶 × 𝐷)) = ((𝐴𝐶) × (𝐵𝐷))

Proof of Theorem inxp
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relinxp 5770 . 2 Rel ((𝐴 × 𝐵) ∩ (𝐶 × 𝐷))
2 relxp 5649 . 2 Rel ((𝐴𝐶) × (𝐵𝐷))
3 an4 657 . . . 4 (((𝑥𝐴𝑦𝐵) ∧ (𝑥𝐶𝑦𝐷)) ↔ ((𝑥𝐴𝑥𝐶) ∧ (𝑦𝐵𝑦𝐷)))
4 opelxp 5667 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) ↔ (𝑥𝐴𝑦𝐵))
5 opelxp 5667 . . . . 5 (⟨𝑥, 𝑦⟩ ∈ (𝐶 × 𝐷) ↔ (𝑥𝐶𝑦𝐷))
64, 5anbi12i 629 . . . 4 ((⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) ∧ ⟨𝑥, 𝑦⟩ ∈ (𝐶 × 𝐷)) ↔ ((𝑥𝐴𝑦𝐵) ∧ (𝑥𝐶𝑦𝐷)))
7 elin 3905 . . . . 5 (𝑥 ∈ (𝐴𝐶) ↔ (𝑥𝐴𝑥𝐶))
8 elin 3905 . . . . 5 (𝑦 ∈ (𝐵𝐷) ↔ (𝑦𝐵𝑦𝐷))
97, 8anbi12i 629 . . . 4 ((𝑥 ∈ (𝐴𝐶) ∧ 𝑦 ∈ (𝐵𝐷)) ↔ ((𝑥𝐴𝑥𝐶) ∧ (𝑦𝐵𝑦𝐷)))
103, 6, 93bitr4i 303 . . 3 ((⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) ∧ ⟨𝑥, 𝑦⟩ ∈ (𝐶 × 𝐷)) ↔ (𝑥 ∈ (𝐴𝐶) ∧ 𝑦 ∈ (𝐵𝐷)))
11 elin 3905 . . 3 (⟨𝑥, 𝑦⟩ ∈ ((𝐴 × 𝐵) ∩ (𝐶 × 𝐷)) ↔ (⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) ∧ ⟨𝑥, 𝑦⟩ ∈ (𝐶 × 𝐷)))
12 opelxp 5667 . . 3 (⟨𝑥, 𝑦⟩ ∈ ((𝐴𝐶) × (𝐵𝐷)) ↔ (𝑥 ∈ (𝐴𝐶) ∧ 𝑦 ∈ (𝐵𝐷)))
1310, 11, 123bitr4i 303 . 2 (⟨𝑥, 𝑦⟩ ∈ ((𝐴 × 𝐵) ∩ (𝐶 × 𝐷)) ↔ ⟨𝑥, 𝑦⟩ ∈ ((𝐴𝐶) × (𝐵𝐷)))
141, 2, 13eqrelriiv 5746 1 ((𝐴 × 𝐵) ∩ (𝐶 × 𝐷)) = ((𝐴𝐶) × (𝐵𝐷))
Colors of variables: wff setvar class
Syntax hints:  wa 395   = wceq 1542  wcel 2114  cin 3888  cop 4573   × cxp 5629
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-ext 2708  ax-sep 5231  ax-pr 5375
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-sb 2069  df-clab 2715  df-cleq 2728  df-clel 2811  df-ral 3052  df-rex 3062  df-rab 3390  df-v 3431  df-dif 3892  df-un 3894  df-in 3896  df-ss 3906  df-nul 4274  df-if 4467  df-sn 4568  df-pr 4570  df-op 4574  df-opab 5148  df-xp 5637  df-rel 5638
This theorem is referenced by:  xpindi  5788  xpindir  5789  dmxpin  5886  xpssres  5983  xpdisj1  6125  xpdisj2  6126  imainrect  6145  xpima  6146  cnvrescnv  6159  curry1  8054  curry2  8057  fpar  8066  marypha1lem  9346  fpwwe2lem12  10565  hashxplem  14395  sscres  17790  gsumxp  19951  pjfval  21686  pjpm  21688  txbas  23532  txcls  23569  txrest  23596  trust  24194  ressuss  24227  trcfilu  24258  metreslem  24327  ressxms  24490  ressms  24491  mbfmcst  34403  0rrv  34595  poimirlem26  37967
  Copyright terms: Public domain W3C validator