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 36538
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 6008 . . . 4 (𝑅𝑅 ↔ ∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥))
21a1i 11 . . 3 (𝑅 ∈ Rels → (𝑅𝑅 ↔ ∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥)))
3 elrelsrelim 36533 . . . . . . 7 (𝑅 ∈ Rels → Rel 𝑅)
4 dfrel2 6081 . . . . . . 7 (Rel 𝑅𝑅 = 𝑅)
53, 4sylib 217 . . . . . 6 (𝑅 ∈ Rels → 𝑅 = 𝑅)
65sseq1d 3948 . . . . 5 (𝑅 ∈ Rels → (𝑅𝑅𝑅𝑅))
7 cnvsym 6008 . . . . 5 (𝑅𝑅 ↔ ∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥))
86, 7bitr3di 285 . . . 4 (𝑅 ∈ Rels → (𝑅𝑅 ↔ ∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥)))
9 relbrcnvg 6002 . . . . . . 7 (Rel 𝑅 → (𝑥𝑅𝑦𝑦𝑅𝑥))
103, 9syl 17 . . . . . 6 (𝑅 ∈ Rels → (𝑥𝑅𝑦𝑦𝑅𝑥))
11 relbrcnvg 6002 . . . . . . 7 (Rel 𝑅 → (𝑦𝑅𝑥𝑥𝑅𝑦))
123, 11syl 17 . . . . . 6 (𝑅 ∈ Rels → (𝑦𝑅𝑥𝑥𝑅𝑦))
1310, 12imbi12d 344 . . . . 5 (𝑅 ∈ Rels → ((𝑥𝑅𝑦𝑦𝑅𝑥) ↔ (𝑦𝑅𝑥𝑥𝑅𝑦)))
14132albidv 1927 . . . 4 (𝑅 ∈ Rels → (∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ↔ ∀𝑥𝑦(𝑦𝑅𝑥𝑥𝑅𝑦)))
158, 14bitrd 278 . . 3 (𝑅 ∈ Rels → (𝑅𝑅 ↔ ∀𝑥𝑦(𝑦𝑅𝑥𝑥𝑅𝑦)))
162, 15anbi12d 630 . 2 (𝑅 ∈ Rels → ((𝑅𝑅𝑅𝑅) ↔ (∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑥𝑦(𝑦𝑅𝑥𝑥𝑅𝑦))))
17 eqss 3932 . 2 (𝑅 = 𝑅 ↔ (𝑅𝑅𝑅𝑅))
18 2albiim 1894 . 2 (∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ↔ (∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) ∧ ∀𝑥𝑦(𝑦𝑅𝑥𝑥𝑅𝑦)))
1916, 17, 183bitr4g 313 1 (𝑅 ∈ Rels → (𝑅 = 𝑅 ↔ ∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wal 1537   = wceq 1539  wcel 2108  wss 3883   class class class wbr 5070  ccnv 5579  Rel wrel 5585   Rels crels 36262
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-br 5071  df-opab 5133  df-xp 5586  df-rel 5587  df-cnv 5588  df-rels 36530
This theorem is referenced by:  elrelscnveq4  36539  dfsymrels5  36589
  Copyright terms: Public domain W3C validator