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

Theorem cnvsym 6066
Description: Two ways of saying a relation is symmetric. Similar to definition of symmetry in [Schechter] p. 51. (Contributed by NM, 28-Dec-1996.) (Proof shortened by Andrew Salmon, 27-Aug-2011.) (Proof shortened by SN, 23-Dec-2024.) Avoid ax-11 2163. (Revised by BTernaryTau, 29-Dec-2024.)
Assertion
Ref Expression
cnvsym (𝑅𝑅 ↔ ∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥))
Distinct variable group:   𝑥,𝑦,𝑅

Proof of Theorem cnvsym
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 relcnv 6058 . . 3 Rel 𝑅
2 ssrel3 5731 . . 3 (Rel 𝑅 → (𝑅𝑅 ↔ ∀𝑦𝑥(𝑦𝑅𝑥𝑦𝑅𝑥)))
31, 2ax-mp 5 . 2 (𝑅𝑅 ↔ ∀𝑦𝑥(𝑦𝑅𝑥𝑦𝑅𝑥))
4 breq1 5077 . . . 4 (𝑦 = 𝑧 → (𝑦𝑅𝑥𝑧𝑅𝑥))
5 breq1 5077 . . . 4 (𝑦 = 𝑧 → (𝑦𝑅𝑥𝑧𝑅𝑥))
64, 5imbi12d 344 . . 3 (𝑦 = 𝑧 → ((𝑦𝑅𝑥𝑦𝑅𝑥) ↔ (𝑧𝑅𝑥𝑧𝑅𝑥)))
7 breq2 5078 . . . 4 (𝑥 = 𝑧 → (𝑦𝑅𝑥𝑦𝑅𝑧))
8 breq2 5078 . . . 4 (𝑥 = 𝑧 → (𝑦𝑅𝑥𝑦𝑅𝑧))
97, 8imbi12d 344 . . 3 (𝑥 = 𝑧 → ((𝑦𝑅𝑥𝑦𝑅𝑥) ↔ (𝑦𝑅𝑧𝑦𝑅𝑧)))
106, 9alcomw 2047 . 2 (∀𝑦𝑥(𝑦𝑅𝑥𝑦𝑅𝑥) ↔ ∀𝑥𝑦(𝑦𝑅𝑥𝑦𝑅𝑥))
11 vex 3431 . . . . 5 𝑦 ∈ V
12 vex 3431 . . . . 5 𝑥 ∈ V
1311, 12brcnv 5826 . . . 4 (𝑦𝑅𝑥𝑥𝑅𝑦)
1413imbi1i 349 . . 3 ((𝑦𝑅𝑥𝑦𝑅𝑥) ↔ (𝑥𝑅𝑦𝑦𝑅𝑥))
15142albii 1822 . 2 (∀𝑥𝑦(𝑦𝑅𝑥𝑦𝑅𝑥) ↔ ∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥))
163, 10, 153bitri 297 1 (𝑅𝑅 ↔ ∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wal 1540  wss 3885   class class class wbr 5074  ccnv 5619  Rel wrel 5625
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-ext 2707  ax-sep 5220  ax-pr 5364
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-sb 2069  df-clab 2714  df-cleq 2727  df-clel 2810  df-rab 3388  df-v 3429  df-dif 3888  df-un 3890  df-in 3892  df-ss 3902  df-nul 4264  df-if 4457  df-sn 4558  df-pr 4560  df-op 4564  df-br 5075  df-opab 5137  df-xp 5626  df-rel 5627  df-cnv 5628
This theorem is referenced by:  dfer2  8633  relcnveq3  38636  relcnveq  38637  relcnveq2  38638  cnvcosseq  38836  symrelcoss2  38865  dfsymrels3  38935  elrelscnveq3  38936  elrelscnveq  38937  elrelscnveq2  38938  dfsymrel3  38943  symrefref3  38957  refsymrels3  38959  elrefsymrels3  38963  dfeqvrels3  38982
  Copyright terms: Public domain W3C validator