ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  opswapg GIF version

Theorem opswapg 5221
Description: Swap the members of an ordered pair. (Contributed by Jim Kingdon, 16-Dec-2018.)
Assertion
Ref Expression
opswapg ((𝐴𝑉𝐵𝑊) → {⟨𝐴, 𝐵⟩} = ⟨𝐵, 𝐴⟩)

Proof of Theorem opswapg
StepHypRef Expression
1 cnvsng 5220 . . 3 ((𝐴𝑉𝐵𝑊) → {⟨𝐴, 𝐵⟩} = {⟨𝐵, 𝐴⟩})
21unieqd 3902 . 2 ((𝐴𝑉𝐵𝑊) → {⟨𝐴, 𝐵⟩} = {⟨𝐵, 𝐴⟩})
3 elex 2812 . . . 4 (𝐵𝑊𝐵 ∈ V)
4 elex 2812 . . . 4 (𝐴𝑉𝐴 ∈ V)
5 opexg 4318 . . . 4 ((𝐵 ∈ V ∧ 𝐴 ∈ V) → ⟨𝐵, 𝐴⟩ ∈ V)
63, 4, 5syl2anr 290 . . 3 ((𝐴𝑉𝐵𝑊) → ⟨𝐵, 𝐴⟩ ∈ V)
7 unisng 3908 . . 3 (⟨𝐵, 𝐴⟩ ∈ V → {⟨𝐵, 𝐴⟩} = ⟨𝐵, 𝐴⟩)
86, 7syl 14 . 2 ((𝐴𝑉𝐵𝑊) → {⟨𝐵, 𝐴⟩} = ⟨𝐵, 𝐴⟩)
92, 8eqtrd 2262 1 ((𝐴𝑉𝐵𝑊) → {⟨𝐴, 𝐵⟩} = ⟨𝐵, 𝐴⟩)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 104   = wceq 1395  wcel 2200  Vcvv 2800  {csn 3667  cop 3670   cuni 3891  ccnv 4722
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 714  ax-5 1493  ax-7 1494  ax-gen 1495  ax-ie1 1539  ax-ie2 1540  ax-8 1550  ax-10 1551  ax-11 1552  ax-i12 1553  ax-bndl 1555  ax-4 1556  ax-17 1572  ax-i9 1576  ax-ial 1580  ax-i5r 1581  ax-14 2203  ax-ext 2211  ax-sep 4205  ax-pow 4262  ax-pr 4297
This theorem depends on definitions:  df-bi 117  df-3an 1004  df-tru 1398  df-nf 1507  df-sb 1809  df-eu 2080  df-mo 2081  df-clab 2216  df-cleq 2222  df-clel 2225  df-nfc 2361  df-ral 2513  df-rex 2514  df-v 2802  df-un 3202  df-in 3204  df-ss 3211  df-pw 3652  df-sn 3673  df-pr 3674  df-op 3676  df-uni 3892  df-br 4087  df-opab 4149  df-xp 4729  df-rel 4730  df-cnv 4731
This theorem is referenced by:  2nd1st  6338  cnvf1olem  6384  brtposg  6415  dftpos4  6424  tpostpos  6425  xpcomco  7005  fsumcnv  11988  fprodcnv  12176  txswaphmeolem  15034
  Copyright terms: Public domain W3C validator