| Mathbox for Peter Mazsa |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > Mathboxes > eqrel2 | Structured version Visualization version GIF version | ||
| Description: Equality of relations. (Contributed by Peter Mazsa, 8-Mar-2019.) |
| Ref | Expression |
|---|---|
| eqrel2 | ⊢ ((Rel 𝐴 ∧ Rel 𝐵) → (𝐴 = 𝐵 ↔ ∀𝑥∀𝑦(𝑥𝐴𝑦 ↔ 𝑥𝐵𝑦))) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | ssrel3 5762 | . . 3 ⊢ (Rel 𝐴 → (𝐴 ⊆ 𝐵 ↔ ∀𝑥∀𝑦(𝑥𝐴𝑦 → 𝑥𝐵𝑦))) | |
| 2 | ssrel3 5762 | . . 3 ⊢ (Rel 𝐵 → (𝐵 ⊆ 𝐴 ↔ ∀𝑥∀𝑦(𝑥𝐵𝑦 → 𝑥𝐴𝑦))) | |
| 3 | 1, 2 | bi2anan9 649 | . 2 ⊢ ((Rel 𝐴 ∧ Rel 𝐵) → ((𝐴 ⊆ 𝐵 ∧ 𝐵 ⊆ 𝐴) ↔ (∀𝑥∀𝑦(𝑥𝐴𝑦 → 𝑥𝐵𝑦) ∧ ∀𝑥∀𝑦(𝑥𝐵𝑦 → 𝑥𝐴𝑦)))) |
| 4 | eqss 3954 | . 2 ⊢ (𝐴 = 𝐵 ↔ (𝐴 ⊆ 𝐵 ∧ 𝐵 ⊆ 𝐴)) | |
| 5 | 2albiim 1913 | . 2 ⊢ (∀𝑥∀𝑦(𝑥𝐴𝑦 ↔ 𝑥𝐵𝑦) ↔ (∀𝑥∀𝑦(𝑥𝐴𝑦 → 𝑥𝐵𝑦) ∧ ∀𝑥∀𝑦(𝑥𝐵𝑦 → 𝑥𝐴𝑦))) | |
| 6 | 3, 4, 5 | 3bitr4g 317 | 1 ⊢ ((Rel 𝐴 ∧ Rel 𝐵) → (𝐴 = 𝐵 ↔ ∀𝑥∀𝑦(𝑥𝐴𝑦 ↔ 𝑥𝐵𝑦))) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ↔ wb 209 ∧ wa 400 ∀wal 1561 = wceq 1563 ⊆ wss 3907 class class class wbr 5104 Rel wrel 5656 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1818 ax-4 1832 ax-5 1933 ax-6 1990 ax-7 2031 ax-8 2147 ax-9 2155 ax-ext 2737 |
| This theorem depends on definitions: df-bi 210 df-an 401 df-tru 1566 df-ex 1803 df-sb 2094 df-clab 2744 df-cleq 2757 df-clel 2840 df-v 3459 df-ss 3924 df-br 5105 df-opab 5167 df-xp 5657 df-rel 5658 |
| This theorem is referenced by: (None) |
| Copyright terms: Public domain | W3C validator |