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

Theorem opth 5460
Description: The ordered pair theorem. If two ordered pairs are equal, their first elements are equal and their second elements are equal. Exercise 6 of [TakeutiZaring] p. 16. Note that 𝐶 and 𝐷 are not required to be sets due our specific ordered pair definition. (Contributed by NM, 28-May-1995.)
Hypotheses
Ref Expression
opth1.1 𝐴 ∈ V
opth1.2 𝐵 ∈ V
Assertion
Ref Expression
opth (⟨𝐴, 𝐵⟩ = ⟨𝐶, 𝐷⟩ ↔ (𝐴 = 𝐶 ∧ 𝐵 = 𝐷))

Proof of Theorem opth
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 opth1.1 . . . 4 𝐴 ∈ V
2 opth1.2 . . . 4 𝐵 ∈ V
31, 2opth1 5459 . . 3 (⟨𝐴, 𝐵⟩ = ⟨𝐶, 𝐷⟩ → 𝐴 = 𝐶)
41, 2opi1 5452 . . . . . . 7 {𝐴} ∈ ⟨𝐴, 𝐵⟩
5 id 23 . . . . . . 7 (⟨𝐴, 𝐵⟩ = ⟨𝐶, 𝐷⟩ → ⟨𝐴, 𝐵⟩ = ⟨𝐶, 𝐷⟩)
64, 5eleqtrid 2881 . . . . . 6 (⟨𝐴, 𝐵⟩ = ⟨𝐶, 𝐷⟩ → {𝐴} ∈ ⟨𝐶, 𝐷⟩)
7 oprcl 4870 . . . . . 6 ({𝐴} ∈ ⟨𝐶, 𝐷⟩ → (𝐶 ∈ V ∧ 𝐷 ∈ V))
86, 7syl 18 . . . . 5 (⟨𝐴, 𝐵⟩ = ⟨𝐶, 𝐷⟩ → (𝐶 ∈ V ∧ 𝐷 ∈ V))
98simprd 501 . . . 4 (⟨𝐴, 𝐵⟩ = ⟨𝐶, 𝐷⟩ → 𝐷 ∈ V)
103opeq1d 4859 . . . . . . . 8 (⟨𝐴, 𝐵⟩ = ⟨𝐶, 𝐷⟩ → ⟨𝐴, 𝐵⟩ = ⟨𝐶, 𝐵⟩)
1110, 5eqtr3d 2811 . . . . . . 7 (⟨𝐴, 𝐵⟩ = ⟨𝐶, 𝐷⟩ → ⟨𝐶, 𝐵⟩ = ⟨𝐶, 𝐷⟩)
128simpld 500 . . . . . . . 8 (⟨𝐴, 𝐵⟩ = ⟨𝐶, 𝐷⟩ → 𝐶 ∈ V)
13 dfopg 4851 . . . . . . . 8 ((𝐶 ∈ V ∧ 𝐵 ∈ V) → ⟨𝐶, 𝐵⟩ = {{𝐶}, {𝐶, 𝐵}})
1412, 2, 13sylancl 598 . . . . . . 7 (⟨𝐴, 𝐵⟩ = ⟨𝐶, 𝐷⟩ → ⟨𝐶, 𝐵⟩ = {{𝐶}, {𝐶, 𝐵}})
1511, 14eqtr3d 2811 . . . . . 6 (⟨𝐴, 𝐵⟩ = ⟨𝐶, 𝐷⟩ → ⟨𝐶, 𝐷⟩ = {{𝐶}, {𝐶, 𝐵}})
16 dfopg 4851 . . . . . . 7 ((𝐶 ∈ V ∧ 𝐷 ∈ V) → ⟨𝐶, 𝐷⟩ = {{𝐶}, {𝐶, 𝐷}})
178, 16syl 18 . . . . . 6 (⟨𝐴, 𝐵⟩ = ⟨𝐶, 𝐷⟩ → ⟨𝐶, 𝐷⟩ = {{𝐶}, {𝐶, 𝐷}})
1815, 17eqtr3d 2811 . . . . 5 (⟨𝐴, 𝐵⟩ = ⟨𝐶, 𝐷⟩ → {{𝐶}, {𝐶, 𝐵}} = {{𝐶}, {𝐶, 𝐷}})
19 prex 5411 . . . . . 6 {𝐶, 𝐵} ∈ V
20 prex 5411 . . . . . 6 {𝐶, 𝐷} ∈ V
2119, 20preqr2 4817 . . . . 5 ({{𝐶}, {𝐶, 𝐵}} = {{𝐶}, {𝐶, 𝐷}} → {𝐶, 𝐵} = {𝐶, 𝐷})
2218, 21syl 18 . . . 4 (⟨𝐴, 𝐵⟩ = ⟨𝐶, 𝐷⟩ → {𝐶, 𝐵} = {𝐶, 𝐷})
23 preq2 4705 . . . . . . 7 (𝑥 = 𝐷 → {𝐶, 𝑥} = {𝐶, 𝐷})
2423eqeq2d 2785 . . . . . 6 (𝑥 = 𝐷 → ({𝐶, 𝐵} = {𝐶, 𝑥} ↔ {𝐶, 𝐵} = {𝐶, 𝐷}))
25 eqeq2 2786 . . . . . 6 (𝑥 = 𝐷 → (𝐵 = 𝑥 ↔ 𝐵 = 𝐷))
2624, 25imbi12d 347 . . . . 5 (𝑥 = 𝐷 → (({𝐶, 𝐵} = {𝐶, 𝑥} → 𝐵 = 𝑥) ↔ ({𝐶, 𝐵} = {𝐶, 𝐷} → 𝐵 = 𝐷)))
27 vex 3465 . . . . . 6 𝑥 ∈ V
282, 27preqr2 4817 . . . . 5 ({𝐶, 𝐵} = {𝐶, 𝑥} → 𝐵 = 𝑥)
2926, 28vtoclg 3528 . . . 4 (𝐷 ∈ V → ({𝐶, 𝐵} = {𝐶, 𝐷} → 𝐵 = 𝐷))
309, 22, 29sylc 66 . . 3 (⟨𝐴, 𝐵⟩ = ⟨𝐶, 𝐷⟩ → 𝐵 = 𝐷)
313, 30jca 521 . 2 (⟨𝐴, 𝐵⟩ = ⟨𝐶, 𝐷⟩ → (𝐴 = 𝐶 ∧ 𝐵 = 𝐷))
32 opeq12 4855 . 2 ((𝐴 = 𝐶 ∧ 𝐵 = 𝐷) → ⟨𝐴, 𝐵⟩ = ⟨𝐶, 𝐷⟩)
3331, 32impbii 212 1 (⟨𝐴, 𝐵⟩ = ⟨𝐶, 𝐷⟩ ↔ (𝐴 = 𝐶 ∧ 𝐵 = 𝐷))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572   ∈ wcel 2156  Vcvv 3461  {csn 4595  {cpr 4597  ⟨cop 4848
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-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849
This theorem is used by:  opthg  5461  otth2  5467  copsexgw  5475  copsexgwOLD  5476  copsexg  5477  copsex2g  5480  copsex4g  5482  opcom  5488  moop2  5489  propssopi  5495  brtp  5512  vopelopabsb  5518  brab2d  5527  ralxpf  5842  cnvopab  6158  cnvcnvsn  6250  opreu2reurex  6336  funopg  6615  funsndifnop  7205  tpres  7256  f1opr  7526  oprabv  7530  xpopth  8095  eqop  8096  opiota  8124  soxp  8197  fnwelem  8199  xpdom2  9148  xpf1o  9215  unxpdomlem2  9305  unxpdomlem3  9306  xpwdomg  9635  djulf1o  10049  djurf1o  10050  fseqenlem1  10161  iundom2g  10682  eqresr  11280  cnref1o  13173  hashfun  14645  fsumcom2  16006  fprodcom2  16217  qredeu  16899  qnumdenbi  16987  crth  17024  prmreclem3  17165  imasaddfnlem  17779  fnpr2ob  17809  dprd2da  20341  dprd2d2  20343  rngqiprngimf1  21693  ucnima  24708  numclwwlk1lem2f1  31125  br8d  33443  xppreima2  33486  aciunf1lem  33497  ofpreima  33500  soinfdom  35937  erdszelem9  36274  goeleq12bg  36424  gonanegoal  36427  gonan0  36467  goaln0  36468  gonarlem  36469  gonar  36470  goalrlem  36471  goalr  36472  fmla0disjsuc  36473  fmlasucdisj  36474  satffunlem  36476  satffunlem1lem1  36477  satffunlem2lem1  36479  msubff1  36631  mvhf1  36634  br8  36844  br6  36845  br4  36846  brsegle  37196  nmulprop  37262  copsex2gd  38441  copsex2b  38443  poimirlem4  38921  poimirlem9  38926  dib1dim  42599  diclspsn  42628  dihopelvalcpre  42682  dihmeetlem4preN  42740  dihmeetlem13N  42753  dih1dimatlem  42763  dihatlat  42768  pellexlem3  44211  pellex  44215  snhesn  45215  opelopab4  45962  ichnreuop  48993  ichreuopeq  48994  gpgedg2ov  49603  gpgedg2iv  49604  pgnioedg1  49645  pgnioedg2  49646  pgnioedg3  49647  pgnioedg4  49648  pgnioedg5  49649  pgnbgreunbgrlem2lem1  49651  pgnbgreunbgrlem2lem2  49652  pgnbgreunbgrlem2lem3  49653  pgnbgreunbgrlem5lem1  49657  pgnbgreunbgrlem5lem2  49658  pgnbgreunbgrlem5lem3  49659  brab2dd  50542  idfudiag1  51262
  Copyright terms: Public domain W3C validator