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 39529
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 6125 . . . 4 (◡𝑅 ⊆ 𝑅 ↔ ∀𝑥∀𝑦(𝑥𝑅𝑦 → 𝑦𝑅𝑥))
21a1i 11 . . 3 (Rel 𝑅 → (◡𝑅 ⊆ 𝑅 ↔ ∀𝑥∀𝑦(𝑥𝑅𝑦 → 𝑦𝑅𝑥)))
3 dfrel2 6198 . . . . . . 7 (Rel 𝑅 ↔ ◡◡𝑅 = 𝑅)
43biimpi 219 . . . . . 6 (Rel 𝑅 → ◡◡𝑅 = 𝑅)
54sseq1d 3943 . . . . 5 (Rel 𝑅 → (◡◡𝑅 ⊆ ◡𝑅 ↔ 𝑅 ⊆ ◡𝑅))
6 cnvsym 6125 . . . . 5 (◡◡𝑅 ⊆ ◡𝑅 ↔ ∀𝑥∀𝑦(𝑥◡𝑅𝑦 → 𝑦◡𝑅𝑥))
75, 6bitr3di 289 . . . 4 (Rel 𝑅 → (𝑅 ⊆ ◡𝑅 ↔ ∀𝑥∀𝑦(𝑥◡𝑅𝑦 → 𝑦◡𝑅𝑥)))
8 relbrcnvg 6118 . . . . . 6 (Rel 𝑅 → (𝑥◡𝑅𝑦 ↔ 𝑦𝑅𝑥))
9 relbrcnvg 6118 . . . . . 6 (Rel 𝑅 → (𝑦◡𝑅𝑥 ↔ 𝑥𝑅𝑦))
108, 9imbi12d 347 . . . . 5 (Rel 𝑅 → ((𝑥◡𝑅𝑦 → 𝑦◡𝑅𝑥) ↔ (𝑦𝑅𝑥 → 𝑥𝑅𝑦)))
11102albidv 1960 . . . 4 (Rel 𝑅 → (∀𝑥∀𝑦(𝑥◡𝑅𝑦 → 𝑦◡𝑅𝑥) ↔ ∀𝑥∀𝑦(𝑦𝑅𝑥 → 𝑥𝑅𝑦)))
127, 11bitrd 282 . . 3 (Rel 𝑅 → (𝑅 ⊆ ◡𝑅 ↔ ∀𝑥∀𝑦(𝑦𝑅𝑥 → 𝑥𝑅𝑦)))
132, 12anbi12d 644 . 2 (Rel 𝑅 → ((◡𝑅 ⊆ 𝑅 ∧ 𝑅 ⊆ ◡𝑅) ↔ (∀𝑥∀𝑦(𝑥𝑅𝑦 → 𝑦𝑅𝑥) ∧ ∀𝑥∀𝑦(𝑦𝑅𝑥 → 𝑥𝑅𝑦))))
14 eqss 3927 . 2 (◡𝑅 = 𝑅 ↔ (◡𝑅 ⊆ 𝑅 ∧ 𝑅 ⊆ ◡𝑅))
15 2albiim 1927 . 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 1570   = wceq 1572   ⊆ wss 3899   class class class wbr 5107  ◡ccnv 5656  Rel wrel 5662
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-ext 2738  ax-sep 5254  ax-pr 5397
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-sb 2104  df-clab 2745  df-cleq 2758  df-clel 2842  df-ral 3084  df-rex 3094  df-rab 3416  df-v 3455  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4840  df-br 5108  df-opab 5173  df-xp 5663  df-rel 5664  df-cnv 5665
This theorem is used by:  relcnveq4  39530
  Copyright terms: Public domain W3C validator