| 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 5962 | . 2 ⊢ Rel (𝐴 ↾ {𝐵}) | |
| 2 | relxp 5640 | . 2 ⊢ Rel ({𝐵} × (𝐴 “ {𝐵})) | |
| 3 | vex 3442 | . . . . . 6 ⊢ 𝑥 ∈ V | |
| 4 | vex 3442 | . . . . . 6 ⊢ 𝑦 ∈ V | |
| 5 | 3, 4 | elimasn 6047 | . . . . 5 ⊢ (𝑦 ∈ (𝐴 “ {𝑥}) ↔ 〈𝑥, 𝑦〉 ∈ 𝐴) |
| 6 | elsni 4595 | . . . . . . . 8 ⊢ (𝑥 ∈ {𝐵} → 𝑥 = 𝐵) | |
| 7 | 6 | sneqd 4590 | . . . . . . 7 ⊢ (𝑥 ∈ {𝐵} → {𝑥} = {𝐵}) |
| 8 | 7 | imaeq2d 6017 | . . . . . 6 ⊢ (𝑥 ∈ {𝐵} → (𝐴 “ {𝑥}) = (𝐴 “ {𝐵})) |
| 9 | 8 | eleq2d 2820 | . . . . 5 ⊢ (𝑥 ∈ {𝐵} → (𝑦 ∈ (𝐴 “ {𝑥}) ↔ 𝑦 ∈ (𝐴 “ {𝐵}))) |
| 10 | 5, 9 | bitr3id 285 | . . . 4 ⊢ (𝑥 ∈ {𝐵} → (〈𝑥, 𝑦〉 ∈ 𝐴 ↔ 𝑦 ∈ (𝐴 “ {𝐵}))) |
| 11 | 10 | pm5.32i 574 | . . 3 ⊢ ((𝑥 ∈ {𝐵} ∧ 〈𝑥, 𝑦〉 ∈ 𝐴) ↔ (𝑥 ∈ {𝐵} ∧ 𝑦 ∈ (𝐴 “ {𝐵}))) |
| 12 | 4 | opelresi 5944 | . . 3 ⊢ (〈𝑥, 𝑦〉 ∈ (𝐴 ↾ {𝐵}) ↔ (𝑥 ∈ {𝐵} ∧ 〈𝑥, 𝑦〉 ∈ 𝐴)) |
| 13 | opelxp 5658 | . . 3 ⊢ (〈𝑥, 𝑦〉 ∈ ({𝐵} × (𝐴 “ {𝐵})) ↔ (𝑥 ∈ {𝐵} ∧ 𝑦 ∈ (𝐴 “ {𝐵}))) | |
| 14 | 11, 12, 13 | 3bitr4i 303 | . 2 ⊢ (〈𝑥, 𝑦〉 ∈ (𝐴 ↾ {𝐵}) ↔ 〈𝑥, 𝑦〉 ∈ ({𝐵} × (𝐴 “ {𝐵}))) |
| 15 | 1, 2, 14 | eqrelriiv 5737 | 1 ⊢ (𝐴 ↾ {𝐵}) = ({𝐵} × (𝐴 “ {𝐵})) |
| Colors of variables: wff setvar class |
| Syntax hints: ∧ wa 395 = wceq 1541 ∈ wcel 2113 {csn 4578 〈cop 4584 × cxp 5620 ↾ cres 5624 “ cima 5625 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1796 ax-4 1810 ax-5 1911 ax-6 1968 ax-7 2009 ax-8 2115 ax-9 2123 ax-ext 2706 ax-sep 5239 ax-nul 5249 ax-pr 5375 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3an 1088 df-tru 1544 df-fal 1554 df-ex 1781 df-sb 2068 df-clab 2713 df-cleq 2726 df-clel 2809 df-ral 3050 df-rex 3059 df-rab 3398 df-v 3440 df-dif 3902 df-un 3904 df-in 3906 df-ss 3916 df-nul 4284 df-if 4478 df-sn 4579 df-pr 4581 df-op 4585 df-br 5097 df-opab 5159 df-xp 5628 df-rel 5629 df-cnv 5630 df-dm 5632 df-rn 5633 df-res 5634 df-ima 5635 |
| This theorem is referenced by: gsum2dlem2 19898 dprd2da 19971 ustneism 24166 tposres3 49068 |
| Copyright terms: Public domain | W3C validator |