Mathbox for Peter Mazsa |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > Mathboxes > elrelscnveq2 | Structured version Visualization version GIF version |
Description: Two ways of saying a relation is symmetric. (Contributed by Peter Mazsa, 22-Aug-2021.) |
Ref | Expression |
---|---|
elrelscnveq2 | ⊢ (𝑅 ∈ Rels → (◡𝑅 = 𝑅 ↔ ∀𝑥∀𝑦(𝑥𝑅𝑦 ↔ 𝑦𝑅𝑥))) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | cnvsym 5984 | . . . 4 ⊢ (◡𝑅 ⊆ 𝑅 ↔ ∀𝑥∀𝑦(𝑥𝑅𝑦 → 𝑦𝑅𝑥)) | |
2 | 1 | a1i 11 | . . 3 ⊢ (𝑅 ∈ Rels → (◡𝑅 ⊆ 𝑅 ↔ ∀𝑥∀𝑦(𝑥𝑅𝑦 → 𝑦𝑅𝑥))) |
3 | elrelsrelim 36348 | . . . . . . 7 ⊢ (𝑅 ∈ Rels → Rel 𝑅) | |
4 | dfrel2 6057 | . . . . . . 7 ⊢ (Rel 𝑅 ↔ ◡◡𝑅 = 𝑅) | |
5 | 3, 4 | sylib 221 | . . . . . 6 ⊢ (𝑅 ∈ Rels → ◡◡𝑅 = 𝑅) |
6 | 5 | sseq1d 3937 | . . . . 5 ⊢ (𝑅 ∈ Rels → (◡◡𝑅 ⊆ ◡𝑅 ↔ 𝑅 ⊆ ◡𝑅)) |
7 | cnvsym 5984 | . . . . 5 ⊢ (◡◡𝑅 ⊆ ◡𝑅 ↔ ∀𝑥∀𝑦(𝑥◡𝑅𝑦 → 𝑦◡𝑅𝑥)) | |
8 | 6, 7 | bitr3di 289 | . . . 4 ⊢ (𝑅 ∈ Rels → (𝑅 ⊆ ◡𝑅 ↔ ∀𝑥∀𝑦(𝑥◡𝑅𝑦 → 𝑦◡𝑅𝑥))) |
9 | relbrcnvg 5978 | . . . . . . 7 ⊢ (Rel 𝑅 → (𝑥◡𝑅𝑦 ↔ 𝑦𝑅𝑥)) | |
10 | 3, 9 | syl 17 | . . . . . 6 ⊢ (𝑅 ∈ Rels → (𝑥◡𝑅𝑦 ↔ 𝑦𝑅𝑥)) |
11 | relbrcnvg 5978 | . . . . . . 7 ⊢ (Rel 𝑅 → (𝑦◡𝑅𝑥 ↔ 𝑥𝑅𝑦)) | |
12 | 3, 11 | syl 17 | . . . . . 6 ⊢ (𝑅 ∈ Rels → (𝑦◡𝑅𝑥 ↔ 𝑥𝑅𝑦)) |
13 | 10, 12 | imbi12d 348 | . . . . 5 ⊢ (𝑅 ∈ Rels → ((𝑥◡𝑅𝑦 → 𝑦◡𝑅𝑥) ↔ (𝑦𝑅𝑥 → 𝑥𝑅𝑦))) |
14 | 13 | 2albidv 1931 | . . . 4 ⊢ (𝑅 ∈ Rels → (∀𝑥∀𝑦(𝑥◡𝑅𝑦 → 𝑦◡𝑅𝑥) ↔ ∀𝑥∀𝑦(𝑦𝑅𝑥 → 𝑥𝑅𝑦))) |
15 | 8, 14 | bitrd 282 | . . 3 ⊢ (𝑅 ∈ Rels → (𝑅 ⊆ ◡𝑅 ↔ ∀𝑥∀𝑦(𝑦𝑅𝑥 → 𝑥𝑅𝑦))) |
16 | 2, 15 | anbi12d 634 | . 2 ⊢ (𝑅 ∈ Rels → ((◡𝑅 ⊆ 𝑅 ∧ 𝑅 ⊆ ◡𝑅) ↔ (∀𝑥∀𝑦(𝑥𝑅𝑦 → 𝑦𝑅𝑥) ∧ ∀𝑥∀𝑦(𝑦𝑅𝑥 → 𝑥𝑅𝑦)))) |
17 | eqss 3921 | . 2 ⊢ (◡𝑅 = 𝑅 ↔ (◡𝑅 ⊆ 𝑅 ∧ 𝑅 ⊆ ◡𝑅)) | |
18 | 2albiim 1898 | . 2 ⊢ (∀𝑥∀𝑦(𝑥𝑅𝑦 ↔ 𝑦𝑅𝑥) ↔ (∀𝑥∀𝑦(𝑥𝑅𝑦 → 𝑦𝑅𝑥) ∧ ∀𝑥∀𝑦(𝑦𝑅𝑥 → 𝑥𝑅𝑦))) | |
19 | 16, 17, 18 | 3bitr4g 317 | 1 ⊢ (𝑅 ∈ Rels → (◡𝑅 = 𝑅 ↔ ∀𝑥∀𝑦(𝑥𝑅𝑦 ↔ 𝑦𝑅𝑥))) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ↔ wb 209 ∧ wa 399 ∀wal 1541 = wceq 1543 ∈ wcel 2110 ⊆ wss 3871 class class class wbr 5058 ◡ccnv 5555 Rel wrel 5561 Rels crels 36077 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1803 ax-4 1817 ax-5 1918 ax-6 1976 ax-7 2016 ax-8 2112 ax-9 2120 ax-11 2158 ax-12 2175 ax-ext 2708 ax-sep 5197 ax-nul 5204 ax-pr 5327 |
This theorem depends on definitions: df-bi 210 df-an 400 df-or 848 df-3an 1091 df-tru 1546 df-fal 1556 df-ex 1788 df-sb 2071 df-clab 2715 df-cleq 2729 df-clel 2816 df-ral 3066 df-rex 3067 df-rab 3070 df-v 3415 df-dif 3874 df-un 3876 df-in 3878 df-ss 3888 df-nul 4243 df-if 4445 df-pw 4520 df-sn 4547 df-pr 4549 df-op 4553 df-br 5059 df-opab 5121 df-xp 5562 df-rel 5563 df-cnv 5564 df-rels 36345 |
This theorem is referenced by: elrelscnveq4 36354 dfsymrels5 36404 |
Copyright terms: Public domain | W3C validator |