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

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

Proof of Theorem xpeq1
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eleq2 2864 . . . 4 (𝐴 = 𝐵 → (𝑥 ∈ 𝐴 ↔ 𝑥 ∈ 𝐵))
21anbi1d 643 . . 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  xpeq1i  5692  xpeq1d  5695  opthprc  5730  dmxpid  5932  reseq2  5989  xpnz  6177  xpdisj1  6179  xpcan2  6196  xpima  6201  unixp  6321  unixpid  6323  naddcllem  8739  pmvalg  8911  xpsneng  9135  xpcomeng  9142  xpdom2g  9146  fodomr  9201  unxpdom  9304  fodomfir  9373  marypha1lem  9478  iundom2g  10679  hashxplem  14637  dmtrclfv  15232  ramcl  17272  efgval  20009  frgpval  20050  frlmval  22151  txuni2  23989  txbas  23991  txopn  24026  txrest  24055  txdis  24056  txdis1cn  24059  tx1stc  24074  tmdgsum  24519  qustgplem  24545  incistruhgr  29802  isgrpo  31244  hhssablo  32010  hhssnvt  32012  hhsssh  32016  gsumpart  33837  txomap  34649  tpr2rico  34727  elsx  35010  br2base  35084  dya2iocnrect  35096  sxbrsigalem5  35103  sibf0  35149  cvmlift2lem13  36368
  Copyright terms: Public domain W3C validator