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

Theorem opth1 4944
Description: Equality of the first members of equal ordered pairs. (Contributed by NM, 28-May-2008.) (Revised by Mario Carneiro, 26-Apr-2015.)
Hypotheses
Ref Expression
opth1.1 𝐴 ∈ V
opth1.2 𝐵 ∈ V
Assertion
Ref Expression
opth1 (⟨𝐴, 𝐵⟩ = ⟨𝐶, 𝐷⟩ → 𝐴 = 𝐶)

Proof of Theorem opth1
StepHypRef Expression
1 opth1.1 . . . 4 𝐴 ∈ V
2 opth1.2 . . . 4 𝐵 ∈ V
31, 2opi1 4937 . . 3 {𝐴} ∈ ⟨𝐴, 𝐵
4 id 22 . . 3 (⟨𝐴, 𝐵⟩ = ⟨𝐶, 𝐷⟩ → ⟨𝐴, 𝐵⟩ = ⟨𝐶, 𝐷⟩)
53, 4syl5eleq 2707 . 2 (⟨𝐴, 𝐵⟩ = ⟨𝐶, 𝐷⟩ → {𝐴} ∈ ⟨𝐶, 𝐷⟩)
61sneqr 4371 . . . 4 ({𝐴} = {𝐶} → 𝐴 = 𝐶)
76a1i 11 . . 3 ({𝐴} ∈ ⟨𝐶, 𝐷⟩ → ({𝐴} = {𝐶} → 𝐴 = 𝐶))
8 oprcl 4427 . . . . . . 7 ({𝐴} ∈ ⟨𝐶, 𝐷⟩ → (𝐶 ∈ V ∧ 𝐷 ∈ V))
98simpld 475 . . . . . 6 ({𝐴} ∈ ⟨𝐶, 𝐷⟩ → 𝐶 ∈ V)
10 prid1g 4295 . . . . . 6 (𝐶 ∈ V → 𝐶 ∈ {𝐶, 𝐷})
119, 10syl 17 . . . . 5 ({𝐴} ∈ ⟨𝐶, 𝐷⟩ → 𝐶 ∈ {𝐶, 𝐷})
12 eleq2 2690 . . . . 5 ({𝐴} = {𝐶, 𝐷} → (𝐶 ∈ {𝐴} ↔ 𝐶 ∈ {𝐶, 𝐷}))
1311, 12syl5ibrcom 237 . . . 4 ({𝐴} ∈ ⟨𝐶, 𝐷⟩ → ({𝐴} = {𝐶, 𝐷} → 𝐶 ∈ {𝐴}))
14 elsni 4194 . . . . 5 (𝐶 ∈ {𝐴} → 𝐶 = 𝐴)
1514eqcomd 2628 . . . 4 (𝐶 ∈ {𝐴} → 𝐴 = 𝐶)
1613, 15syl6 35 . . 3 ({𝐴} ∈ ⟨𝐶, 𝐷⟩ → ({𝐴} = {𝐶, 𝐷} → 𝐴 = 𝐶))
17 id 22 . . . . 5 ({𝐴} ∈ ⟨𝐶, 𝐷⟩ → {𝐴} ∈ ⟨𝐶, 𝐷⟩)
18 dfopg 4400 . . . . . 6 ((𝐶 ∈ V ∧ 𝐷 ∈ V) → ⟨𝐶, 𝐷⟩ = {{𝐶}, {𝐶, 𝐷}})
198, 18syl 17 . . . . 5 ({𝐴} ∈ ⟨𝐶, 𝐷⟩ → ⟨𝐶, 𝐷⟩ = {{𝐶}, {𝐶, 𝐷}})
2017, 19eleqtrd 2703 . . . 4 ({𝐴} ∈ ⟨𝐶, 𝐷⟩ → {𝐴} ∈ {{𝐶}, {𝐶, 𝐷}})
21 elpri 4197 . . . 4 ({𝐴} ∈ {{𝐶}, {𝐶, 𝐷}} → ({𝐴} = {𝐶} ∨ {𝐴} = {𝐶, 𝐷}))
2220, 21syl 17 . . 3 ({𝐴} ∈ ⟨𝐶, 𝐷⟩ → ({𝐴} = {𝐶} ∨ {𝐴} = {𝐶, 𝐷}))
237, 16, 22mpjaod 396 . 2 ({𝐴} ∈ ⟨𝐶, 𝐷⟩ → 𝐴 = 𝐶)
245, 23syl 17 1 (⟨𝐴, 𝐵⟩ = ⟨𝐶, 𝐷⟩ → 𝐴 = 𝐶)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wo 383  wa 384   = wceq 1483  wcel 1990  Vcvv 3200  {csn 4177  {cpr 4179  cop 4183
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pr 4906
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-v 3202  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184
This theorem is referenced by:  opth  4945  dmsnopg  5606  funcnvsn  5936  oprabid  6677  seqomlem2  7546  unxpdomlem3  8166  dfac5lem4  8949  dcomex  9269  canthwelem  9472  uzrdgfni  12757  gsum2d2  18373  poimirlem9  33418
  Copyright terms: Public domain W3C validator