| 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 6004 | . 2 ⊢ Rel (𝐴 ↾ {𝐵}) | |
| 2 | relxp 5679 | . 2 ⊢ Rel ({𝐵} × (𝐴 “ {𝐵})) | |
| 3 | vex 3459 | . . . . . 6 ⊢ 𝑥 ∈ V | |
| 4 | vex 3459 | . . . . . 6 ⊢ 𝑦 ∈ V | |
| 5 | 3, 4 | elimasn 6092 | . . . . 5 ⊢ (𝑦 ∈ (𝐴 “ {𝑥}) ↔ 〈𝑥, 𝑦〉 ∈ 𝐴) |
| 6 | elsni 4606 | . . . . . . . 8 ⊢ (𝑥 ∈ {𝐵} → 𝑥 = 𝐵) | |
| 7 | 6 | sneqd 4601 | . . . . . . 7 ⊢ (𝑥 ∈ {𝐵} → {𝑥} = {𝐵}) |
| 8 | 7 | imaeq2d 6062 | . . . . . 6 ⊢ (𝑥 ∈ {𝐵} → (𝐴 “ {𝑥}) = (𝐴 “ {𝐵})) |
| 9 | 8 | eleq2d 2849 | . . . . 5 ⊢ (𝑥 ∈ {𝐵} → (𝑦 ∈ (𝐴 “ {𝑥}) ↔ 𝑦 ∈ (𝐴 “ {𝐵}))) |
| 10 | 5, 9 | bitr3id 288 | . . . 4 ⊢ (𝑥 ∈ {𝐵} → (〈𝑥, 𝑦〉 ∈ 𝐴 ↔ 𝑦 ∈ (𝐴 “ {𝐵}))) |
| 11 | 10 | pm5.32i 584 | . . 3 ⊢ ((𝑥 ∈ {𝐵} ∧ 〈𝑥, 𝑦〉 ∈ 𝐴) ↔ (𝑥 ∈ {𝐵} ∧ 𝑦 ∈ (𝐴 “ {𝐵}))) |
| 12 | 4 | opelresi 5986 | . . 3 ⊢ (〈𝑥, 𝑦〉 ∈ (𝐴 ↾ {𝐵}) ↔ (𝑥 ∈ {𝐵} ∧ 〈𝑥, 𝑦〉 ∈ 𝐴)) |
| 13 | opelxp 5697 | . . 3 ⊢ (〈𝑥, 𝑦〉 ∈ ({𝐵} × (𝐴 “ {𝐵})) ↔ (𝑥 ∈ {𝐵} ∧ 𝑦 ∈ (𝐴 “ {𝐵}))) | |
| 14 | 11, 12, 13 | 3bitr4i 306 | . 2 ⊢ (〈𝑥, 𝑦〉 ∈ (𝐴 ↾ {𝐵}) ↔ 〈𝑥, 𝑦〉 ∈ ({𝐵} × (𝐴 “ {𝐵}))) |
| 15 | 1, 2, 14 | eqrelriiv 5776 | 1 ⊢ (𝐴 ↾ {𝐵}) = ({𝐵} × (𝐴 “ {𝐵})) |
| Colors of variables: wff setvar class |
| Syntax hints: ∧ wa 400 = wceq 1570 ∈ wcel 2143 {csn 4589 〈cop 4595 × cxp 5659 ↾ cres 5663 “ cima 5664 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1825 ax-4 1839 ax-5 1940 ax-6 1997 ax-7 2038 ax-8 2145 ax-9 2153 ax-ext 2735 ax-sep 5257 ax-pr 5404 |
| This theorem depends on definitions: df-bi 210 df-an 401 df-or 861 df-3an 1105 df-tru 1573 df-fal 1583 df-ex 1810 df-sb 2097 df-clab 2742 df-cleq 2755 df-clel 2838 df-ral 3080 df-rex 3090 df-rab 3417 df-v 3457 df-dif 3908 df-un 3910 df-in 3912 df-ss 3922 df-nul 4287 df-if 4488 df-sn 4590 df-pr 4592 df-op 4596 df-br 5110 df-opab 5174 df-xp 5667 df-rel 5668 df-cnv 5669 df-dm 5671 df-rn 5672 df-res 5673 df-ima 5674 |
| This theorem is referenced by: gsum2dlem2 20036 dprd2da 20109 ustneism 24381 tposres3 49679 |
| Copyright terms: Public domain | W3C validator |