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

Theorem opelxp 5702
Description: Ordered pair membership in a Cartesian product. (Contributed by NM, 15-Nov-1994.) (Proof shortened by Andrew Salmon, 12-Aug-2011.) (Revised by Mario Carneiro, 26-Apr-2015.)
Assertion
Ref Expression
opelxp (⟨𝐴, 𝐵⟩ ∈ (𝐶 × 𝐷) ↔ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷))

Proof of Theorem opelxp
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 elxp2 5690 . 2 (⟨𝐴, 𝐵⟩ ∈ (𝐶 × 𝐷) ↔ ∃𝑥 ∈ 𝐶 ∃𝑦 ∈ 𝐷 ⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩)
2 vex 3465 . . . . . . 7 𝑥 ∈ V
3 vex 3465 . . . . . . 7 𝑦 ∈ V
42, 3opth2 5464 . . . . . 6 (⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ↔ (𝐴 = 𝑥 ∧ 𝐵 = 𝑦))
5 eleq1 2863 . . . . . . 7 (𝐴 = 𝑥 → (𝐴 ∈ 𝐶 ↔ 𝑥 ∈ 𝐶))
6 eleq1 2863 . . . . . . 7 (𝐵 = 𝑦 → (𝐵 ∈ 𝐷 ↔ 𝑦 ∈ 𝐷))
75, 6bi2anan9 650 . . . . . 6 ((𝐴 = 𝑥 ∧ 𝐵 = 𝑦) → ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷) ↔ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷)))
84, 7sylbi 220 . . . . 5 (⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ → ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷) ↔ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷)))
98biimprcd 253 . . . 4 ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐷) → (⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ → (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷)))
109rexlimivv 3219 . . 3 (∃𝑥 ∈ 𝐶 ∃𝑦 ∈ 𝐷 ⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ → (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷))
11 eqid 2774 . . . 4 ⟨𝐴, 𝐵⟩ = ⟨𝐴, 𝐵⟩
12 opeq1 4853 . . . . . 6 (𝑥 = 𝐴 → ⟨𝑥, 𝑦⟩ = ⟨𝐴, 𝑦⟩)
1312eqeq2d 2785 . . . . 5 (𝑥 = 𝐴 → (⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ↔ ⟨𝐴, 𝐵⟩ = ⟨𝐴, 𝑦⟩))
14 opeq2 4854 . . . . . 6 (𝑦 = 𝐵 → ⟨𝐴, 𝑦⟩ = ⟨𝐴, 𝐵⟩)
1514eqeq2d 2785 . . . . 5 (𝑦 = 𝐵 → (⟨𝐴, 𝐵⟩ = ⟨𝐴, 𝑦⟩ ↔ ⟨𝐴, 𝐵⟩ = ⟨𝐴, 𝐵⟩))
1613, 15rspc2ev 3599 . . . 4 ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷 ∧ ⟨𝐴, 𝐵⟩ = ⟨𝐴, 𝐵⟩) → ∃𝑥 ∈ 𝐶 ∃𝑦 ∈ 𝐷 ⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩)
1711, 16mp3an3 1482 . . 3 ((𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷) → ∃𝑥 ∈ 𝐶 ∃𝑦 ∈ 𝐷 ⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩)
1810, 17impbii 212 . 2 (∃𝑥 ∈ 𝐶 ∃𝑦 ∈ 𝐷 ⟨𝐴, 𝐵⟩ = ⟨𝑥, 𝑦⟩ ↔ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷))
191, 18bitri 278 1 (⟨𝐴, 𝐵⟩ ∈ (𝐶 × 𝐷) ↔ (𝐴 ∈ 𝐶 ∧ 𝐵 ∈ 𝐷))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   = wceq 1572   ∈ wcel 2156  ∃wrex 3101  ⟨cop 4848   × 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  ax-sep 5263  ax-pr 5406
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-opab 5182  df-xp 5672
This theorem is used by:  opelxpi  5703  opelxp1  5708  opelxp2  5709  otelxp  5710  otel3xp  5712  brxp  5715  opthprc  5730  elxp3  5732  opeliunxp  5733  opeliun2xp  5734  bropaex12  5758  optoclOLD  5762  xpsspw  5804  inxp  5827  xpiindi  5830  opelres  6000  restidsing  6072  codir  6141  qfto  6142  xpnz  6177  difxp  6182  xpdifid  6186  xpdifcnvepel  6187  dfco2  6278  ressn  6325  opelf  6791  oprab4  7556  resoprab  7588  oprssdm  7653  nssdmovg  7654  ndmovg  7655  elmpocl  7713  fo1stres  8080  fo2ndres  8081  dfoprab4  8120  opiota  8124  bropopvvv  8155  bropfvvvvlem  8156  f1od2  8164  curry1  8171  xporderlem  8195  fnwelem  8199  frpoins3xpg  8213  xpord2lem  8215  xpord2pred  8218  xpord2indlem  8220  mpoxopxprcov0  8291  mpocurryd  8343  on2recsov  8734  naddcllem  8742  brecop  8888  brecop2  8889  eceqoveq  8900  curf  8947  xpdom2  9148  mapunen  9222  djuss  10057  djuunxp  10058  dfac5lem2  10261  iunfo  10681  ordpipq  11085  prsrlem1  11215  opelcn  11272  opelreal  11273  elreal2  11275  swrdnznd  14853  swrd00  14855  swrdcl  14856  swrd0  14871  pfx00  14887  pfx0  14888  fsumcom2  16005  fprodcom2  16216  phimullem  17024  imasvscafn  17787  homarcl2  18288  evlfcl  18474  clatl  18760  pzriprnglem4  21890  pzriprnglem9  21895  matplusgcell  22856  iscnp2  23665  txuni2  23992  txcls  24031  txcnpi  24035  txcnp  24047  txcnmpt  24051  txdis1cn  24062  txtube  24067  hausdiag  24072  txlm  24075  tx1stc  24077  txkgen  24079  txflf  24433  tmdcn2  24516  tgphaus  24544  qustgplem  24548  fmucndlem  24717  xmeterval  24859  metustexhalf  24983  blval2  24989  bcthlem1  25753  ovolfcl  25895  ovoliunlem1  25931  mbfimaopnlem  26084  limccnp2  26320  fsumvma  27688  lgsquadlem1  27855  lgsquadlem2  27856  norec2ov  28500  dmrab  33332  xppreima2  33483  aciunf1lem  33494  smatrcl  34630  smatlem  34631  qtophaus  34670  eulerpartlemgvv  35210  erdszelem10  36272  cvmlift2lem10  36384  cvmlift2lem12  36386  msubff  36602  elmpst  36608  mpstrcl  36613  elmpps  36645  dfso2  36834  fv1stcnv  36855  fv2ndcnv  36856  txpss3v  36954  dfrdg4  37029  bj-inxpALT  38278  bj-opelrelex  38290  bj-opelidres  38452  bj-elid6  38461  bj-eldiag2  38468  bj-inftyexpitaudisj  38496  curunc  38895  heiborlem3  39115  xrnss3v  39681  ecxrn2  39708  inxpxrn  39718  dibopelvalN  42568  dibopelval2  42570  dib1dim  42590  dihopcl  42678  dih1  42711  dih1dimatlem  42754  hdmap1val  43223  aks6d1c3  43541  pellex  44206  elnonrel  45006  mnringmulrcld  45646  fourierdlem42  47591  etransclem44  47720  ovn0lem  48007  ndmaovg  48684  aoprssdm  48702  ndmaovcl  48703  ndmaovrcl  48704  ndmaovcom  48705  ndmaovass  48706  ndmaovdistr  48707  sprsymrelfvlem  49002  sprsymrelfolem2  49005  prproropf1olem2  49016  opgpgvtx  49583  iinxp  50459  coxp  50461  joindm2  50598  meetdm2  50600  swapf2fval  50903  swapf1val  50905  fuco2el  50950
  Copyright terms: Public domain W3C validator