| 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 6005 | . 2 ⊢ Rel (𝐴 ↾ {𝐵}) | |
| 2 | relxp 5680 | . 2 ⊢ Rel ({𝐵} × (𝐴 “ {𝐵})) | |
| 3 | vex 3467 | . . . . . 6 ⊢ 𝑥 ∈ V | |
| 4 | vex 3467 | . . . . . 6 ⊢ 𝑦 ∈ V | |
| 5 | 3, 4 | elimasn 6093 | . . . . 5 ⊢ (𝑦 ∈ (𝐴 “ {𝑥}) ↔ 〈𝑥, 𝑦〉 ∈ 𝐴) |
| 6 | elsni 4611 | . . . . . . . 8 ⊢ (𝑥 ∈ {𝐵} → 𝑥 = 𝐵) | |
| 7 | 6 | sneqd 4606 | . . . . . . 7 ⊢ (𝑥 ∈ {𝐵} → {𝑥} = {𝐵}) |
| 8 | 7 | imaeq2d 6063 | . . . . . 6 ⊢ (𝑥 ∈ {𝐵} → (𝐴 “ {𝑥}) = (𝐴 “ {𝐵})) |
| 9 | 8 | eleq2d 2855 | . . . . 5 ⊢ (𝑥 ∈ {𝐵} → (𝑦 ∈ (𝐴 “ {𝑥}) ↔ 𝑦 ∈ (𝐴 “ {𝐵}))) |
| 10 | 5, 9 | bitr3id 288 | . . . 4 ⊢ (𝑥 ∈ {𝐵} → (〈𝑥, 𝑦〉 ∈ 𝐴 ↔ 𝑦 ∈ (𝐴 “ {𝐵}))) |
| 11 | 10 | pm5.32i 584 | . . 3 ⊢ ((𝑥 ∈ {𝐵} ∧ 〈𝑥, 𝑦〉 ∈ 𝐴) ↔ (𝑥 ∈ {𝐵} ∧ 𝑦 ∈ (𝐴 “ {𝐵}))) |
| 12 | 4 | opelresi 5987 | . . 3 ⊢ (〈𝑥, 𝑦〉 ∈ (𝐴 ↾ {𝐵}) ↔ (𝑥 ∈ {𝐵} ∧ 〈𝑥, 𝑦〉 ∈ 𝐴)) |
| 13 | opelxp 5698 | . . 3 ⊢ (〈𝑥, 𝑦〉 ∈ ({𝐵} × (𝐴 “ {𝐵})) ↔ (𝑥 ∈ {𝐵} ∧ 𝑦 ∈ (𝐴 “ {𝐵}))) | |
| 14 | 11, 12, 13 | 3bitr4i 306 | . 2 ⊢ (〈𝑥, 𝑦〉 ∈ (𝐴 ↾ {𝐵}) ↔ 〈𝑥, 𝑦〉 ∈ ({𝐵} × (𝐴 “ {𝐵}))) |
| 15 | 1, 2, 14 | eqrelriiv 5777 | 1 ⊢ (𝐴 ↾ {𝐵}) = ({𝐵} × (𝐴 “ {𝐵})) |
| Colors of variables: wff setvar class |
| Syntax hints: ∧ wa 400 = wceq 1567 ∈ wcel 2149 {csn 4594 〈cop 4600 × cxp 5660 ↾ cres 5664 “ cima 5665 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1822 ax-4 1836 ax-5 1937 ax-6 1994 ax-7 2035 ax-8 2151 ax-9 2159 ax-ext 2741 ax-sep 5261 ax-pr 5405 |
| This theorem depends on definitions: df-bi 210 df-an 401 df-or 861 df-3an 1103 df-tru 1570 df-fal 1580 df-ex 1807 df-sb 2098 df-clab 2748 df-cleq 2761 df-clel 2844 df-ral 3086 df-rex 3096 df-rab 3424 df-v 3465 df-dif 3916 df-un 3918 df-in 3920 df-ss 3930 df-nul 4295 df-if 4493 df-sn 4595 df-pr 4597 df-op 4601 df-br 5114 df-opab 5178 df-xp 5668 df-rel 5669 df-cnv 5670 df-dm 5672 df-rn 5673 df-res 5674 df-ima 5675 |
| This theorem is referenced by: gsum2dlem2 20041 dprd2da 20114 ustneism 24350 tposres3 49544 |
| Copyright terms: Public domain | W3C validator |