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

Theorem opcom 5428
Description: An ordered pair commutes iff its members are equal. (Contributed by NM, 28-May-2009.)
Hypotheses
Ref Expression
opcom.1 𝐴 ∈ V
opcom.2 𝐵 ∈ V
Assertion
Ref Expression
opcom (⟨𝐴, 𝐵⟩ = ⟨𝐵, 𝐴⟩ ↔ 𝐴 = 𝐵)

Proof of Theorem opcom
StepHypRef Expression
1 opcom.1 . . 3 𝐴 ∈ V
2 opcom.2 . . 3 𝐵 ∈ V
31, 2opth 5404 . 2 (⟨𝐴, 𝐵⟩ = ⟨𝐵, 𝐴⟩ ↔ (𝐴 = 𝐵𝐵 = 𝐴))
4 eqcom 2743 . . 3 (𝐵 = 𝐴𝐴 = 𝐵)
54anbi2i 624 . 2 ((𝐴 = 𝐵𝐵 = 𝐴) ↔ (𝐴 = 𝐵𝐴 = 𝐵))
6 anidm 566 . 2 ((𝐴 = 𝐵𝐴 = 𝐵) ↔ 𝐴 = 𝐵)
73, 5, 63bitri 297 1 (⟨𝐴, 𝐵⟩ = ⟨𝐵, 𝐴⟩ ↔ 𝐴 = 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 397   = wceq 1539  wcel 2104  Vcvv 3437  cop 4571
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-ext 2707  ax-sep 5232  ax-nul 5239  ax-pr 5361
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 846  df-3an 1089  df-tru 1542  df-fal 1552  df-ex 1780  df-sb 2066  df-clab 2714  df-cleq 2728  df-clel 2814  df-rab 3306  df-v 3439  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-nul 4263  df-if 4466  df-sn 4566  df-pr 4568  df-op 4572
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator