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

Theorem xpeq2 5687
Description: Equality theorem for Cartesian product. (Contributed by NM, 5-Jul-1994.)
Assertion
Ref Expression
xpeq2 (𝐴 = 𝐵 → (𝐶 × 𝐴) = (𝐶 × 𝐵))

Proof of Theorem xpeq2
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eleq2 2864 . . . 4 (𝐴 = 𝐵 → (𝑦 ∈ 𝐴 ↔ 𝑦 ∈ 𝐵))
21anbi2d 642 . . 3 (𝐴 = 𝐵 → ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐴) ↔ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐵)))
32opabbidv 5185 . 2 (𝐴 = 𝐵 → {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐴)} = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐵)})
4 df-xp 5672 . 2 (𝐶 × 𝐴) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐴)}
5 df-xp 5672 . 2 (𝐶 × 𝐵) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐵)}
63, 4, 53eqtr4g 2834 1 (𝐴 = 𝐵 → (𝐶 × 𝐴) = (𝐶 × 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2156  {copab 5181   × cxp 5664
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-ex 1819  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-opab 5182  df-xp 5672
This theorem is used by:  xpeq12  5691  xpeq2i  5693  xpeq2d  5696  xpnz  6177  xpdisj2  6180  dmxpss  6190  rnxpid  6192  xpcan  6195  unixp  6322  dfpo2  6338  fconst5  7261  naddcllem  8742  pmvalg  8914  xpcomeng  9145  unxpdom  9307  marypha1  9482  djueq12  10041  dfac5lem3  10262  dfac5lem4  10263  hsmexlem8  10560  axdc4uz  14188  hashxp  14641  mamufval  22815  txuni2  23992  txbas  23994  txopn  24029  txrest  24058  txdis  24059  txdis1cn  24062  txtube  24067  txcmplem2  24069  tx1stc  24077  qustgplem  24548  tsmsxplem1  24580  isgrpo  31263  vciOLD  31327  isvclem  31343  issh  31974  hhssablo  32029  hhssnvt  32031  hhsssh  32035  2ndimaxp  33478  txomap  34668  tpr2rico  34746  elsx  35029  mbfmcst  35093  br2base  35103  dya2iocnrect  35115  sxbrsigalem5  35122  0rrv  35285  elima4  36854  finxpeq1  38679  isbnd3  39086  hdmap1fval  43221  csbresgVD  46296  mofeu  50476  functermc  51159
  Copyright terms: Public domain W3C validator