Mathbox for Peter Mazsa |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > Mathboxes > elrelscnveq3 | Structured version Visualization version GIF version |
Description: Two ways of saying a relation is symmetric. (Contributed by Peter Mazsa, 22-Aug-2021.) |
Ref | Expression |
---|---|
elrelscnveq3 | ⊢ (𝑅 ∈ Rels → (𝑅 = ◡𝑅 ↔ ∀𝑥∀𝑦(𝑥𝑅𝑦 → 𝑦𝑅𝑥))) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | eqss 3932 | . 2 ⊢ (𝑅 = ◡𝑅 ↔ (𝑅 ⊆ ◡𝑅 ∧ ◡𝑅 ⊆ 𝑅)) | |
2 | cnvsym 6008 | . . . . . . 7 ⊢ (◡𝑅 ⊆ 𝑅 ↔ ∀𝑥∀𝑦(𝑥𝑅𝑦 → 𝑦𝑅𝑥)) | |
3 | 2 | biimpi 215 | . . . . . 6 ⊢ (◡𝑅 ⊆ 𝑅 → ∀𝑥∀𝑦(𝑥𝑅𝑦 → 𝑦𝑅𝑥)) |
4 | 3 | a1d 25 | . . . . 5 ⊢ (◡𝑅 ⊆ 𝑅 → (𝑅 ∈ Rels → ∀𝑥∀𝑦(𝑥𝑅𝑦 → 𝑦𝑅𝑥))) |
5 | 4 | adantl 481 | . . . 4 ⊢ ((𝑅 ⊆ ◡𝑅 ∧ ◡𝑅 ⊆ 𝑅) → (𝑅 ∈ Rels → ∀𝑥∀𝑦(𝑥𝑅𝑦 → 𝑦𝑅𝑥))) |
6 | 5 | com12 32 | . . 3 ⊢ (𝑅 ∈ Rels → ((𝑅 ⊆ ◡𝑅 ∧ ◡𝑅 ⊆ 𝑅) → ∀𝑥∀𝑦(𝑥𝑅𝑦 → 𝑦𝑅𝑥))) |
7 | elrelsrelim 36533 | . . . . . 6 ⊢ (𝑅 ∈ Rels → Rel 𝑅) | |
8 | dfrel2 6081 | . . . . . 6 ⊢ (Rel 𝑅 ↔ ◡◡𝑅 = 𝑅) | |
9 | 7, 8 | sylib 217 | . . . . 5 ⊢ (𝑅 ∈ Rels → ◡◡𝑅 = 𝑅) |
10 | cnvss 5770 | . . . . . . 7 ⊢ (◡𝑅 ⊆ 𝑅 → ◡◡𝑅 ⊆ ◡𝑅) | |
11 | sseq1 3942 | . . . . . . 7 ⊢ (◡◡𝑅 = 𝑅 → (◡◡𝑅 ⊆ ◡𝑅 ↔ 𝑅 ⊆ ◡𝑅)) | |
12 | 10, 11 | syl5ibcom 244 | . . . . . 6 ⊢ (◡𝑅 ⊆ 𝑅 → (◡◡𝑅 = 𝑅 → 𝑅 ⊆ ◡𝑅)) |
13 | 2, 12 | sylbir 234 | . . . . 5 ⊢ (∀𝑥∀𝑦(𝑥𝑅𝑦 → 𝑦𝑅𝑥) → (◡◡𝑅 = 𝑅 → 𝑅 ⊆ ◡𝑅)) |
14 | 9, 13 | syl5com 31 | . . . 4 ⊢ (𝑅 ∈ Rels → (∀𝑥∀𝑦(𝑥𝑅𝑦 → 𝑦𝑅𝑥) → 𝑅 ⊆ ◡𝑅)) |
15 | 2 | biimpri 227 | . . . 4 ⊢ (∀𝑥∀𝑦(𝑥𝑅𝑦 → 𝑦𝑅𝑥) → ◡𝑅 ⊆ 𝑅) |
16 | 14, 15 | jca2 513 | . . 3 ⊢ (𝑅 ∈ Rels → (∀𝑥∀𝑦(𝑥𝑅𝑦 → 𝑦𝑅𝑥) → (𝑅 ⊆ ◡𝑅 ∧ ◡𝑅 ⊆ 𝑅))) |
17 | 6, 16 | impbid 211 | . 2 ⊢ (𝑅 ∈ Rels → ((𝑅 ⊆ ◡𝑅 ∧ ◡𝑅 ⊆ 𝑅) ↔ ∀𝑥∀𝑦(𝑥𝑅𝑦 → 𝑦𝑅𝑥))) |
18 | 1, 17 | syl5bb 282 | 1 ⊢ (𝑅 ∈ Rels → (𝑅 = ◡𝑅 ↔ ∀𝑥∀𝑦(𝑥𝑅𝑦 → 𝑦𝑅𝑥))) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ↔ wb 205 ∧ wa 395 ∀wal 1537 = wceq 1539 ∈ wcel 2108 ⊆ wss 3883 class class class wbr 5070 ◡ccnv 5579 Rel wrel 5585 Rels crels 36262 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1799 ax-4 1813 ax-5 1914 ax-6 1972 ax-7 2012 ax-8 2110 ax-9 2118 ax-11 2156 ax-12 2173 ax-ext 2709 ax-sep 5218 ax-nul 5225 ax-pr 5347 |
This theorem depends on definitions: df-bi 206 df-an 396 df-or 844 df-3an 1087 df-tru 1542 df-fal 1552 df-ex 1784 df-sb 2069 df-clab 2716 df-cleq 2730 df-clel 2817 df-rab 3072 df-v 3424 df-dif 3886 df-un 3888 df-in 3890 df-ss 3900 df-nul 4254 df-if 4457 df-pw 4532 df-sn 4559 df-pr 4561 df-op 4565 df-br 5071 df-opab 5133 df-xp 5586 df-rel 5587 df-cnv 5588 df-rels 36530 |
This theorem is referenced by: elrelscnveq 36537 |
Copyright terms: Public domain | W3C validator |