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

Theorem xpeq2 5654
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 2826 . . . 4 (𝐴 = 𝐵 → (𝑦𝐴𝑦𝐵))
21anbi2d 629 . . 3 (𝐴 = 𝐵 → ((𝑥𝐶𝑦𝐴) ↔ (𝑥𝐶𝑦𝐵)))
32opabbidv 5171 . 2 (𝐴 = 𝐵 → {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐶𝑦𝐴)} = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐶𝑦𝐵)})
4 df-xp 5639 . 2 (𝐶 × 𝐴) = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐶𝑦𝐴)}
5 df-xp 5639 . 2 (𝐶 × 𝐵) = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐶𝑦𝐵)}
63, 4, 53eqtr4g 2801 1 (𝐴 = 𝐵 → (𝐶 × 𝐴) = (𝐶 × 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1541  wcel 2106  {copab 5167   × cxp 5631
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 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2707
This theorem depends on definitions:  df-bi 206  df-an 397  df-ex 1782  df-sb 2068  df-clab 2714  df-cleq 2728  df-clel 2814  df-opab 5168  df-xp 5639
This theorem is referenced by:  xpeq12  5658  xpeq2i  5660  xpeq2d  5663  xpnz  6111  xpdisj2  6114  dmxpss  6123  rnxpid  6125  xpcan  6128  unixp  6234  dfpo2  6248  fconst5  7155  naddcllem  8622  pmvalg  8776  xpcomeng  9008  unxpdom  9197  marypha1  9370  djueq12  9840  dfac5lem3  10061  dfac5lem4  10062  hsmexlem8  10360  axdc4uz  13889  hashxp  14334  mamufval  21734  txuni2  22916  txbas  22918  txopn  22953  txrest  22982  txdis  22983  txdis1cn  22986  txtube  22991  txcmplem2  22993  tx1stc  23001  qustgplem  23472  tsmsxplem1  23504  isgrpo  29439  vciOLD  29503  isvclem  29519  issh  30150  hhssablo  30205  hhssnvt  30207  hhsssh  30211  2ndimaxp  31563  txomap  32415  tpr2rico  32493  elsx  32793  mbfmcst  32859  br2base  32869  dya2iocnrect  32881  sxbrsigalem5  32888  0rrv  33051  elima4  34350  finxpeq1  35857  isbnd3  36243  hdmap1fval  40259  csbresgVD  43167  mofeu  46904
  Copyright terms: Public domain W3C validator