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

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

Proof of Theorem elrelscnveq3
StepHypRef Expression
1 eqss 3997 . 2 (𝑅 = 𝑅 ↔ (𝑅𝑅𝑅𝑅))
2 cnvsym 6113 . . . . . . 7 (𝑅𝑅 ↔ ∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥))
32biimpi 215 . . . . . 6 (𝑅𝑅 → ∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥))
43a1d 25 . . . . 5 (𝑅𝑅 → (𝑅 ∈ Rels → ∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥)))
54adantl 482 . . . 4 ((𝑅𝑅𝑅𝑅) → (𝑅 ∈ Rels → ∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥)))
65com12 32 . . 3 (𝑅 ∈ Rels → ((𝑅𝑅𝑅𝑅) → ∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥)))
7 elrelsrelim 37353 . . . . . 6 (𝑅 ∈ Rels → Rel 𝑅)
8 dfrel2 6188 . . . . . 6 (Rel 𝑅𝑅 = 𝑅)
97, 8sylib 217 . . . . 5 (𝑅 ∈ Rels → 𝑅 = 𝑅)
10 cnvss 5872 . . . . . . 7 (𝑅𝑅𝑅𝑅)
11 sseq1 4007 . . . . . . 7 (𝑅 = 𝑅 → (𝑅𝑅𝑅𝑅))
1210, 11syl5ibcom 244 . . . . . 6 (𝑅𝑅 → (𝑅 = 𝑅𝑅𝑅))
132, 12sylbir 234 . . . . 5 (∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) → (𝑅 = 𝑅𝑅𝑅))
149, 13syl5com 31 . . . 4 (𝑅 ∈ Rels → (∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑅𝑅))
152biimpri 227 . . . 4 (∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) → 𝑅𝑅)
1614, 15jca2 514 . . 3 (𝑅 ∈ Rels → (∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥) → (𝑅𝑅𝑅𝑅)))
176, 16impbid 211 . 2 (𝑅 ∈ Rels → ((𝑅𝑅𝑅𝑅) ↔ ∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥)))
181, 17bitrid 282 1 (𝑅 ∈ Rels → (𝑅 = 𝑅 ↔ ∀𝑥𝑦(𝑥𝑅𝑦𝑦𝑅𝑥)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wal 1539   = wceq 1541  wcel 2106  wss 3948   class class class wbr 5148  ccnv 5675  Rel wrel 5681   Rels crels 37040
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 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2703  ax-sep 5299  ax-nul 5306  ax-pr 5427
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-sb 2068  df-clab 2710  df-cleq 2724  df-clel 2810  df-rab 3433  df-v 3476  df-dif 3951  df-un 3953  df-in 3955  df-ss 3965  df-nul 4323  df-if 4529  df-pw 4604  df-sn 4629  df-pr 4631  df-op 4635  df-br 5149  df-opab 5211  df-xp 5682  df-rel 5683  df-cnv 5684  df-rels 37350
This theorem is referenced by:  elrelscnveq  37357
  Copyright terms: Public domain W3C validator