HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
GIF version

Theorem cnvsym 2626
Description: Two ways of saying a relation is symmetric. Similar to definition of symmetry in [Schechter] p. 51.
Assertion
Ref Expression
cnvsym (RR ↔ ∀xy(xRyyRx))
Distinct variable group(s):   x,y,R

Proof of Theorem cnvsym
StepHypRef Expression
1 df-cnv 2426 . . . . 5 R = {⟨y, x⟩∣xRy}
21sseq1i 1524 . . . 4 (RR ↔ {⟨y, x⟩∣xRy} ⊆ R)
3 ssel 1502 . . . . . 6 ({⟨y, x⟩∣xRy} ⊆ R → (⟨y, x⟩ ∈ {⟨y, x⟩∣xRy} → ⟨y, x⟩ ∈ R))
4 df-br 2063 . . . . . 6 (yRx ↔ ⟨y, x⟩ ∈ R)
53, 4syl6ibr 186 . . . . 5 ({⟨y, x⟩∣xRy} ⊆ R → (⟨y, x⟩ ∈ {⟨y, x⟩∣xRy} → yRx))
6 opabid 2099 . . . . 5 (⟨y, x⟩ ∈ {⟨y, x⟩∣xRy} ↔ xRy)
75, 6syl5ibr 182 . . . 4 ({⟨y, x⟩∣xRy} ⊆ R → (xRyyRx))
82, 7sylbi 174 . . 3 (RR → (xRyyRx))
9819.21aivv 944 . 2 (RR → ∀xy(xRyyRx))
10 ssopab2 2119 . . . . 5 ({⟨y, x⟩∣xRy} ⊆ {⟨y, x⟩∣yRx} ↔ ∀yx(xRyyRx))
11 alcom 715 . . . . 5 (∀yx(xRyyRx) ↔ ∀xy(xRyyRx))
1210, 11bitr 151 . . . 4 ({⟨y, x⟩∣xRy} ⊆ {⟨y, x⟩∣yRx} ↔ ∀xy(xRyyRx))
13 opabss 2100 . . . . 5 {⟨y, x⟩∣yRx} ⊆ R
14 sstr2 1510 . . . . 5 ({⟨y, x⟩∣xRy} ⊆ {⟨y, x⟩∣yRx} → ({⟨y, x⟩∣yRx} ⊆ R → {⟨y, x⟩∣xRy} ⊆ R))
1513, 14mpi 44 . . . 4 ({⟨y, x⟩∣xRy} ⊆ {⟨y, x⟩∣yRx} → {⟨y, x⟩∣xRy} ⊆ R)
1612, 15sylbir 176 . . 3 (∀xy(xRyyRx) → {⟨y, x⟩∣xRy} ⊆ R)
1716, 1syl5ss 1544 . 2 (∀xy(xRyyRx) → RR)
189, 17impbi 139 1 (RR ↔ ∀xy(xRyyRx))
Colors of variables: wff set class
Syntax hints:   → wi 2   ↔ wb 127  ∀wal 672   ∈ wcel 1092   ⊆ wss 1487  ⟨cop 1810   class class class wbr 2054  {copab 2055  ccnv 2409
This theorem is referenced by:  er2 3201
This theorem was proved from axioms:  ax-1 3  ax-2 4  ax-3 5  ax-mp 6  ax-4 673  ax-5 674  ax-6 675  ax-7 676  ax-gen 677  ax-8 798  ax-9 799  ax-10 800  ax-11 801  ax-12 802  ax-13 804  ax-14 805  ax-16 922  ax-17 925  ax-ext 1074  ax-rep 1075  ax-pow 1077
This theorem depends on definitions:  df-bi 128  df-or 197  df-an 198  df-ex 679  df-sb 853  df-clab 1093  df-cleq 1097  df-clel 1099  df-v 1349  df-dif 1489  df-un 1490  df-in 1491  df-ss 1492  df-nul 1708  df-pw 1799  df-sn 1811  df-pr 1812  df-op 1815  df-br 2063  df-opab 2098  df-cnv 2426
metamath.org