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

Theorem relcnveq2 39262
Description: Two ways of saying a relation is symmetric. (Contributed by Peter Mazsa, 28-Apr-2019.)
Assertion
Ref Expression
relcnveq2 (Rel 𝑅 → (◡𝑅 = 𝑅 ↔ ∀𝑥∀𝑦(𝑥𝑅𝑦 ↔ 𝑦𝑅𝑥)))
Distinct variable group:   𝑥,𝑅,𝑦

Proof of Theorem relcnveq2
StepHypRef Expression
1 cnvsym 6107 . . . 4 (◡𝑅 ⊆ 𝑅 ↔ ∀𝑥∀𝑦(𝑥𝑅𝑦 → 𝑦𝑅𝑥))
21a1i 11 . . 3 (Rel 𝑅 → (◡𝑅 ⊆ 𝑅 ↔ ∀𝑥∀𝑦(𝑥𝑅𝑦 → 𝑦𝑅𝑥)))
3 dfrel2 6180 . . . . . . 7 (Rel 𝑅 ↔ ◡◡𝑅 = 𝑅)
43biimpi 219 . . . . . 6 (Rel 𝑅 → ◡◡𝑅 = 𝑅)
54sseq1d 3939 . . . . 5 (Rel 𝑅 → (◡◡𝑅 ⊆ ◡𝑅 ↔ 𝑅 ⊆ ◡𝑅))
6 cnvsym 6107 . . . . 5 (◡◡𝑅 ⊆ ◡𝑅 ↔ ∀𝑥∀𝑦(𝑥◡𝑅𝑦 → 𝑦◡𝑅𝑥))
75, 6bitr3di 289 . . . 4 (Rel 𝑅 → (𝑅 ⊆ ◡𝑅 ↔ ∀𝑥∀𝑦(𝑥◡𝑅𝑦 → 𝑦◡𝑅𝑥)))
8 relbrcnvg 6100 . . . . . 6 (Rel 𝑅 → (𝑥◡𝑅𝑦 ↔ 𝑦𝑅𝑥))
9 relbrcnvg 6100 . . . . . 6 (Rel 𝑅 → (𝑦◡𝑅𝑥 ↔ 𝑥𝑅𝑦))
108, 9imbi12d 347 . . . . 5 (Rel 𝑅 → ((𝑥◡𝑅𝑦 → 𝑦◡𝑅𝑥) ↔ (𝑦𝑅𝑥 → 𝑥𝑅𝑦)))
11102albidv 1955 . . . 4 (Rel 𝑅 → (∀𝑥∀𝑦(𝑥◡𝑅𝑦 → 𝑦◡𝑅𝑥) ↔ ∀𝑥∀𝑦(𝑦𝑅𝑥 → 𝑥𝑅𝑦)))
127, 11bitrd 282 . . 3 (Rel 𝑅 → (𝑅 ⊆ ◡𝑅 ↔ ∀𝑥∀𝑦(𝑦𝑅𝑥 → 𝑥𝑅𝑦)))
132, 12anbi12d 644 . 2 (Rel 𝑅 → ((◡𝑅 ⊆ 𝑅 ∧ 𝑅 ⊆ ◡𝑅) ↔ (∀𝑥∀𝑦(𝑥𝑅𝑦 → 𝑦𝑅𝑥) ∧ ∀𝑥∀𝑦(𝑦𝑅𝑥 → 𝑥𝑅𝑦))))
14 eqss 3923 . 2 (◡𝑅 = 𝑅 ↔ (◡𝑅 ⊆ 𝑅 ∧ 𝑅 ⊆ ◡𝑅))
15 2albiim 1922 . 2 (∀𝑥∀𝑦(𝑥𝑅𝑦 ↔ 𝑦𝑅𝑥) ↔ (∀𝑥∀𝑦(𝑥𝑅𝑦 → 𝑦𝑅𝑥) ∧ ∀𝑥∀𝑦(𝑦𝑅𝑥 → 𝑥𝑅𝑦)))
1613, 14, 153bitr4g 317 1 (Rel 𝑅 → (◡𝑅 = 𝑅 ↔ ∀𝑥∀𝑦(𝑥𝑅𝑦 ↔ 𝑦𝑅𝑥)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1567   = wceq 1569   ⊆ wss 3895   class class class wbr 5102  ◡ccnv 5649  Rel wrel 5655
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732  ax-sep 5248  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4584  df-pr 4586  df-op 4590  df-br 5103  df-opab 5167  df-xp 5656  df-rel 5657  df-cnv 5658
This theorem is used by:  relcnveq4  39263
  Copyright terms: Public domain W3C validator