Users' Mathboxes Mathbox for Peter Mazsa < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  elrelscnveq2 Structured version   Visualization version   GIF version

Theorem elrelscnveq2 35842
Description: Two ways of saying a relation is symmetric. (Contributed by Peter Mazsa, 22-Aug-2021.)
Assertion
Ref Expression
elrelscnveq2 (𝑅 ∈ Rels → (𝑅 = 𝑅 ↔ ∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥)))
Distinct variable group:   𝑥,𝑅,𝑦

Proof of Theorem elrelscnveq2
StepHypRef Expression
1 cnvsym 5961 . . . 4 (𝑅𝑅 ↔ ∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥))
21a1i 11 . . 3 (𝑅 ∈ Rels → (𝑅𝑅 ↔ ∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥)))
3 elrelsrelim 35837 . . . . . . 7 (𝑅 ∈ Rels → Rel 𝑅)
4 dfrel2 6033 . . . . . . 7 (Rel 𝑅𝑅 = 𝑅)
53, 4sylib 221 . . . . . 6 (𝑅 ∈ Rels → 𝑅 = 𝑅)
65sseq1d 3984 . . . . 5 (𝑅 ∈ Rels → (𝑅𝑅𝑅𝑅))
7 cnvsym 5961 . . . . 5 (𝑅𝑅 ↔ ∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥))
86, 7bitr3di 289 . . . 4 (𝑅 ∈ Rels → (𝑅𝑅 ↔ ∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥)))
9 relbrcnvg 5955 . . . . . . 7 (Rel 𝑅 → (𝑥𝑅𝑦𝑦𝑅𝑥))
103, 9syl 17 . . . . . 6 (𝑅 ∈ Rels → (𝑥𝑅𝑦𝑦𝑅𝑥))
11 relbrcnvg 5955 . . . . . . 7 (Rel 𝑅 → (𝑦𝑅𝑥𝑥𝑅𝑦))
123, 11syl 17 . . . . . 6 (𝑅 ∈ Rels → (𝑦𝑅𝑥𝑥𝑅𝑦))
1310, 12imbi12d 348 . . . . 5 (𝑅 ∈ Rels → ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ (𝑦𝑅𝑥𝑥𝑅𝑦)))
14132albidv 1925 . . . 4 (𝑅 ∈ Rels → (∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ↔ ∀𝑥𝑦(𝑦𝑅𝑥𝑥𝑅𝑦)))
158, 14bitrd 282 . . 3 (𝑅 ∈ Rels → (𝑅𝑅 ↔ ∀𝑥𝑦(𝑦𝑅𝑥𝑥𝑅𝑦)))
162, 15anbi12d 633 . 2 (𝑅 ∈ Rels → ((𝑅𝑅𝑅𝑅) ↔ (∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑥𝑦(𝑦𝑅𝑥𝑥𝑅𝑦))))
17 eqss 3968 . 2 (𝑅 = 𝑅 ↔ (𝑅𝑅𝑅𝑅))
18 2albiim 1892 . 2 (∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ↔ (∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑥𝑦(𝑦𝑅𝑥𝑥𝑅𝑦)))
1916, 17, 183bitr4g 317 1 (𝑅 ∈ Rels → (𝑅 = 𝑅 ↔ ∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  wal 1536   = wceq 1538  wcel 2115  wss 3919   class class class wbr 5052  ccnv 5541  Rel wrel 5547   Rels crels 35564
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 1971  ax-7 2016  ax-8 2117  ax-9 2125  ax-10 2146  ax-11 2162  ax-12 2179  ax-ext 2796  ax-sep 5189  ax-nul 5196  ax-pr 5317
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2071  df-mo 2624  df-eu 2655  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2964  df-ral 3138  df-rex 3139  df-v 3482  df-dif 3922  df-un 3924  df-in 3926  df-ss 3936  df-nul 4277  df-if 4451  df-pw 4524  df-sn 4551  df-pr 4553  df-op 4557  df-br 5053  df-opab 5115  df-xp 5548  df-rel 5549  df-cnv 5550  df-rels 35834
This theorem is referenced by:  elrelscnveq4  35843  dfsymrels5  35893
  Copyright terms: Public domain W3C validator