![]() |
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 6008 | . 2 ⊢ Rel (𝐴 ↾ {𝐵}) | |
2 | relxp 5693 | . 2 ⊢ Rel ({𝐵} × (𝐴 “ {𝐵})) | |
3 | vex 3478 | . . . . . 6 ⊢ 𝑥 ∈ V | |
4 | vex 3478 | . . . . . 6 ⊢ 𝑦 ∈ V | |
5 | 3, 4 | elimasn 6085 | . . . . 5 ⊢ (𝑦 ∈ (𝐴 “ {𝑥}) ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐴) |
6 | elsni 4644 | . . . . . . . 8 ⊢ (𝑥 ∈ {𝐵} → 𝑥 = 𝐵) | |
7 | 6 | sneqd 4639 | . . . . . . 7 ⊢ (𝑥 ∈ {𝐵} → {𝑥} = {𝐵}) |
8 | 7 | imaeq2d 6057 | . . . . . 6 ⊢ (𝑥 ∈ {𝐵} → (𝐴 “ {𝑥}) = (𝐴 “ {𝐵})) |
9 | 8 | eleq2d 2819 | . . . . 5 ⊢ (𝑥 ∈ {𝐵} → (𝑦 ∈ (𝐴 “ {𝑥}) ↔ 𝑦 ∈ (𝐴 “ {𝐵}))) |
10 | 5, 9 | bitr3id 284 | . . . 4 ⊢ (𝑥 ∈ {𝐵} → (⟨𝑥, 𝑦⟩ ∈ 𝐴 ↔ 𝑦 ∈ (𝐴 “ {𝐵}))) |
11 | 10 | pm5.32i 575 | . . 3 ⊢ ((𝑥 ∈ {𝐵} ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐴) ↔ (𝑥 ∈ {𝐵} ∧ 𝑦 ∈ (𝐴 “ {𝐵}))) |
12 | 4 | opelresi 5987 | . . 3 ⊢ (⟨𝑥, 𝑦⟩ ∈ (𝐴 ↾ {𝐵}) ↔ (𝑥 ∈ {𝐵} ∧ ⟨𝑥, 𝑦⟩ ∈ 𝐴)) |
13 | opelxp 5711 | . . 3 ⊢ (⟨𝑥, 𝑦⟩ ∈ ({𝐵} × (𝐴 “ {𝐵})) ↔ (𝑥 ∈ {𝐵} ∧ 𝑦 ∈ (𝐴 “ {𝐵}))) | |
14 | 11, 12, 13 | 3bitr4i 302 | . 2 ⊢ (⟨𝑥, 𝑦⟩ ∈ (𝐴 ↾ {𝐵}) ↔ ⟨𝑥, 𝑦⟩ ∈ ({𝐵} × (𝐴 “ {𝐵}))) |
15 | 1, 2, 14 | eqrelriiv 5788 | 1 ⊢ (𝐴 ↾ {𝐵}) = ({𝐵} × (𝐴 “ {𝐵})) |
Colors of variables: wff setvar class |
Syntax hints: ∧ wa 396 = wceq 1541 ∈ wcel 2106 {csn 4627 ⟨cop 4633 × cxp 5673 ↾ cres 5677 “ cima 5678 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1797 ax-4 1811 ax-5 1913 ax-6 1971 ax-7 2011 ax-8 2108 ax-9 2116 ax-ext 2703 ax-sep 5298 ax-nul 5305 ax-pr 5426 |
This theorem depends on definitions: df-bi 206 df-an 397 df-or 846 df-3an 1089 df-tru 1544 df-fal 1554 df-ex 1782 df-sb 2068 df-clab 2710 df-cleq 2724 df-clel 2810 df-ral 3062 df-rex 3071 df-rab 3433 df-v 3476 df-dif 3950 df-un 3952 df-in 3954 df-ss 3964 df-nul 4322 df-if 4528 df-sn 4628 df-pr 4630 df-op 4634 df-br 5148 df-opab 5210 df-xp 5681 df-rel 5682 df-cnv 5683 df-dm 5685 df-rn 5686 df-res 5687 df-ima 5688 |
This theorem is referenced by: gsum2dlem2 19833 dprd2da 19906 ustneism 23719 |
Copyright terms: Public domain | W3C validator |