| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > df2nd2 | Structured version Visualization version GIF version | ||
| Description: An alternate possible definition of the 2nd function. (Contributed by NM, 10-Aug-2006.) (Revised by Mario Carneiro, 31-Aug-2015.) |
| Ref | Expression |
|---|---|
| df2nd2 | ⊢ {〈〈𝑥, 𝑦〉, 𝑧〉 ∣ 𝑧 = 𝑦} = (2nd ↾ (V × V)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | fo2nd 8016 | . . . . . 6 ⊢ 2nd :V–onto→V | |
| 2 | fofn 6801 | . . . . . 6 ⊢ (2nd :V–onto→V → 2nd Fn V) | |
| 3 | 1, 2 | ax-mp 5 | . . . . 5 ⊢ 2nd Fn V |
| 4 | dffn5 6946 | . . . . 5 ⊢ (2nd Fn V ↔ 2nd = (𝑤 ∈ V ↦ (2nd ‘𝑤))) | |
| 5 | 3, 4 | mpbi 233 | . . . 4 ⊢ 2nd = (𝑤 ∈ V ↦ (2nd ‘𝑤)) |
| 6 | mptv 5222 | . . . 4 ⊢ (𝑤 ∈ V ↦ (2nd ‘𝑤)) = {〈𝑤, 𝑧〉 ∣ 𝑧 = (2nd ‘𝑤)} | |
| 7 | 5, 6 | eqtri 2789 | . . 3 ⊢ 2nd = {〈𝑤, 𝑧〉 ∣ 𝑧 = (2nd ‘𝑤)} |
| 8 | 7 | reseq1i 5979 | . 2 ⊢ (2nd ↾ (V × V)) = ({〈𝑤, 𝑧〉 ∣ 𝑧 = (2nd ‘𝑤)} ↾ (V × V)) |
| 9 | resopab 6041 | . 2 ⊢ ({〈𝑤, 𝑧〉 ∣ 𝑧 = (2nd ‘𝑤)} ↾ (V × V)) = {〈𝑤, 𝑧〉 ∣ (𝑤 ∈ (V × V) ∧ 𝑧 = (2nd ‘𝑤))} | |
| 10 | vex 3462 | . . . . 5 ⊢ 𝑥 ∈ V | |
| 11 | vex 3462 | . . . . 5 ⊢ 𝑦 ∈ V | |
| 12 | 10, 11 | op2ndd 8006 | . . . 4 ⊢ (𝑤 = 〈𝑥, 𝑦〉 → (2nd ‘𝑤) = 𝑦) |
| 13 | 12 | eqeq2d 2777 | . . 3 ⊢ (𝑤 = 〈𝑥, 𝑦〉 → (𝑧 = (2nd ‘𝑤) ↔ 𝑧 = 𝑦)) |
| 14 | 13 | dfoprab3 8060 | . 2 ⊢ {〈𝑤, 𝑧〉 ∣ (𝑤 ∈ (V × V) ∧ 𝑧 = (2nd ‘𝑤))} = {〈〈𝑥, 𝑦〉, 𝑧〉 ∣ 𝑧 = 𝑦} |
| 15 | 8, 9, 14 | 3eqtrri 2794 | 1 ⊢ {〈〈𝑥, 𝑦〉, 𝑧〉 ∣ 𝑧 = 𝑦} = (2nd ↾ (V × V)) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: ∧ wa 401 = wceq 1570 ∈ wcel 2146 Vcvv 3458 〈cop 4600 {copab 5178 ↦ cmpt 5197 × cxp 5664 ↾ cres 5668 Fn wfn 6538 –onto→wfo 6541 ‘cfv 6543 {coprab 7424 2nd c2nd 7994 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1828 ax-4 1842 ax-5 1943 ax-6 2000 ax-7 2041 ax-8 2148 ax-9 2156 ax-10 2179 ax-11 2195 ax-12 2216 ax-ext 2738 ax-sep 5262 ax-nul 5274 ax-pr 5409 ax-un 7745 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3an 1105 df-tru 1573 df-fal 1583 df-ex 1813 df-nf 1817 df-sb 2100 df-mo 2570 df-eu 2600 df-clab 2745 df-cleq 2758 df-clel 2841 df-nfc 2915 df-ne 2962 df-ral 3083 df-rex 3093 df-rab 3420 df-v 3460 df-sbc 3748 df-dif 3911 df-un 3913 df-in 3915 df-ss 3925 df-nul 4290 df-if 4493 df-sn 4595 df-pr 4597 df-op 4601 df-uni 4878 df-br 5115 df-opab 5179 df-mpt 5198 df-id 5561 df-xp 5672 df-rel 5673 df-cnv 5674 df-co 5675 df-dm 5676 df-rn 5677 df-res 5678 df-iota 6499 df-fun 6545 df-fn 6546 df-f 6547 df-fo 6549 df-fv 6551 df-oprab 7427 df-1st 7995 df-2nd 7996 |
| This theorem is used by: df2ndres 33087 |
| Copyright terms: Public domain | W3C validator |