| 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 5754 | . . 3 ⊢ (Rel 𝐴 → (𝐴 ⊆ 𝐵 ↔ ∀𝑥∀𝑦(𝑥𝐴𝑦 → 𝑥𝐵𝑦))) | |
| 2 | ssrel3 5754 | . . 3 ⊢ (Rel 𝐵 → (𝐵 ⊆ 𝐴 ↔ ∀𝑥∀𝑦(𝑥𝐵𝑦 → 𝑥𝐴𝑦))) | |
| 3 | 1, 2 | bi2anan9 647 | . 2 ⊢ ((Rel 𝐴 ∧ Rel 𝐵) → ((𝐴 ⊆ 𝐵 ∧ 𝐵 ⊆ 𝐴) ↔ (∀𝑥∀𝑦(𝑥𝐴𝑦 → 𝑥𝐵𝑦) ∧ ∀𝑥∀𝑦(𝑥𝐵𝑦 → 𝑥𝐴𝑦)))) |
| 4 | eqss 3949 | . 2 ⊢ (𝐴 = 𝐵 ↔ (𝐴 ⊆ 𝐵 ∧ 𝐵 ⊆ 𝐴)) | |
| 5 | 2albiim 1909 | . 2 ⊢ (∀𝑥∀𝑦(𝑥𝐴𝑦 ↔ 𝑥𝐵𝑦) ↔ (∀𝑥∀𝑦(𝑥𝐴𝑦 → 𝑥𝐵𝑦) ∧ ∀𝑥∀𝑦(𝑥𝐵𝑦 → 𝑥𝐴𝑦))) | |
| 6 | 3, 4, 5 | 3bitr4g 316 | 1 ⊢ ((Rel 𝐴 ∧ Rel 𝐵) → (𝐴 = 𝐵 ↔ ∀𝑥∀𝑦(𝑥𝐴𝑦 ↔ 𝑥𝐵𝑦))) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ↔ wb 208 ∧ wa 399 ∀wal 1557 = wceq 1559 ⊆ wss 3902 class class class wbr 5097 Rel wrel 5648 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1814 ax-4 1828 ax-5 1929 ax-6 1986 ax-7 2027 ax-8 2143 ax-9 2151 ax-ext 2733 |
| This theorem depends on definitions: df-bi 209 df-an 400 df-tru 1562 df-ex 1799 df-sb 2090 df-clab 2740 df-cleq 2753 df-clel 2836 df-v 3455 df-ss 3919 df-br 5098 df-opab 5160 df-xp 5649 df-rel 5650 |
| This theorem is referenced by: (None) |
| Copyright terms: Public domain | W3C validator |