| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > ressn | Structured version Visualization version GIF version | ||
| Description: Restriction of a class to a singleton. (Contributed by Mario Carneiro, 28-Dec-2014.) (Proof shortened by Peter Mazsa, 2-Oct-2022.) |
| Ref | Expression |
|---|---|
| ressn | ⊢ (𝐴 ↾ {𝐵}) = ({𝐵} × (𝐴 “ {𝐵})) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | relres 5976 | . 2 ⊢ Rel (𝐴 ↾ {𝐵}) | |
| 2 | relxp 5656 | . 2 ⊢ Rel ({𝐵} × (𝐴 “ {𝐵})) | |
| 3 | vex 3451 | . . . . . 6 ⊢ 𝑥 ∈ V | |
| 4 | vex 3451 | . . . . . 6 ⊢ 𝑦 ∈ V | |
| 5 | 3, 4 | elimasn 6061 | . . . . 5 ⊢ (𝑦 ∈ (𝐴 “ {𝑥}) ↔ 〈𝑥, 𝑦〉 ∈ 𝐴) |
| 6 | elsni 4606 | . . . . . . . 8 ⊢ (𝑥 ∈ {𝐵} → 𝑥 = 𝐵) | |
| 7 | 6 | sneqd 4601 | . . . . . . 7 ⊢ (𝑥 ∈ {𝐵} → {𝑥} = {𝐵}) |
| 8 | 7 | imaeq2d 6031 | . . . . . 6 ⊢ (𝑥 ∈ {𝐵} → (𝐴 “ {𝑥}) = (𝐴 “ {𝐵})) |
| 9 | 8 | eleq2d 2814 | . . . . 5 ⊢ (𝑥 ∈ {𝐵} → (𝑦 ∈ (𝐴 “ {𝑥}) ↔ 𝑦 ∈ (𝐴 “ {𝐵}))) |
| 10 | 5, 9 | bitr3id 285 | . . . 4 ⊢ (𝑥 ∈ {𝐵} → (〈𝑥, 𝑦〉 ∈ 𝐴 ↔ 𝑦 ∈ (𝐴 “ {𝐵}))) |
| 11 | 10 | pm5.32i 574 | . . 3 ⊢ ((𝑥 ∈ {𝐵} ∧ 〈𝑥, 𝑦〉 ∈ 𝐴) ↔ (𝑥 ∈ {𝐵} ∧ 𝑦 ∈ (𝐴 “ {𝐵}))) |
| 12 | 4 | opelresi 5958 | . . 3 ⊢ (〈𝑥, 𝑦〉 ∈ (𝐴 ↾ {𝐵}) ↔ (𝑥 ∈ {𝐵} ∧ 〈𝑥, 𝑦〉 ∈ 𝐴)) |
| 13 | opelxp 5674 | . . 3 ⊢ (〈𝑥, 𝑦〉 ∈ ({𝐵} × (𝐴 “ {𝐵})) ↔ (𝑥 ∈ {𝐵} ∧ 𝑦 ∈ (𝐴 “ {𝐵}))) | |
| 14 | 11, 12, 13 | 3bitr4i 303 | . 2 ⊢ (〈𝑥, 𝑦〉 ∈ (𝐴 ↾ {𝐵}) ↔ 〈𝑥, 𝑦〉 ∈ ({𝐵} × (𝐴 “ {𝐵}))) |
| 15 | 1, 2, 14 | eqrelriiv 5753 | 1 ⊢ (𝐴 ↾ {𝐵}) = ({𝐵} × (𝐴 “ {𝐵})) |
| Colors of variables: wff setvar class |
| Syntax hints: ∧ wa 395 = wceq 1540 ∈ wcel 2109 {csn 4589 〈cop 4595 × cxp 5636 ↾ cres 5640 “ cima 5641 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1795 ax-4 1809 ax-5 1910 ax-6 1967 ax-7 2008 ax-8 2111 ax-9 2119 ax-ext 2701 ax-sep 5251 ax-nul 5261 ax-pr 5387 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3an 1088 df-tru 1543 df-fal 1553 df-ex 1780 df-sb 2066 df-clab 2708 df-cleq 2721 df-clel 2803 df-ral 3045 df-rex 3054 df-rab 3406 df-v 3449 df-dif 3917 df-un 3919 df-in 3921 df-ss 3931 df-nul 4297 df-if 4489 df-sn 4590 df-pr 4592 df-op 4596 df-br 5108 df-opab 5170 df-xp 5644 df-rel 5645 df-cnv 5646 df-dm 5648 df-rn 5649 df-res 5650 df-ima 5651 |
| This theorem is referenced by: gsum2dlem2 19901 dprd2da 19974 ustneism 24111 tposres3 48869 |
| Copyright terms: Public domain | W3C validator |