| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > 2ndval | Structured version Visualization version GIF version | ||
| Description: The value of the function that extracts the second member of an ordered pair. (Contributed by NM, 9-Oct-2004.) (Revised by Mario Carneiro, 8-Sep-2013.) |
| Ref | Expression |
|---|---|
| 2ndval | ⊢ (2nd ‘𝐴) = ∪ ran {𝐴} |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | sneq 4587 | . . . . 5 ⊢ (𝑥 = 𝐴 → {𝑥} = {𝐴}) | |
| 2 | 1 | rneqd 5880 | . . . 4 ⊢ (𝑥 = 𝐴 → ran {𝑥} = ran {𝐴}) |
| 3 | 2 | unieqd 4871 | . . 3 ⊢ (𝑥 = 𝐴 → ∪ ran {𝑥} = ∪ ran {𝐴}) |
| 4 | df-2nd 7925 | . . 3 ⊢ 2nd = (𝑥 ∈ V ↦ ∪ ran {𝑥}) | |
| 5 | snex 5375 | . . . . 5 ⊢ {𝐴} ∈ V | |
| 6 | 5 | rnex 7843 | . . . 4 ⊢ ran {𝐴} ∈ V |
| 7 | 6 | uniex 7677 | . . 3 ⊢ ∪ ran {𝐴} ∈ V |
| 8 | 3, 4, 7 | fvmpt 6930 | . 2 ⊢ (𝐴 ∈ V → (2nd ‘𝐴) = ∪ ran {𝐴}) |
| 9 | fvprc 6814 | . . 3 ⊢ (¬ 𝐴 ∈ V → (2nd ‘𝐴) = ∅) | |
| 10 | snprc 4669 | . . . . . . . 8 ⊢ (¬ 𝐴 ∈ V ↔ {𝐴} = ∅) | |
| 11 | 10 | biimpi 216 | . . . . . . 7 ⊢ (¬ 𝐴 ∈ V → {𝐴} = ∅) |
| 12 | 11 | rneqd 5880 | . . . . . 6 ⊢ (¬ 𝐴 ∈ V → ran {𝐴} = ran ∅) |
| 13 | rn0 5868 | . . . . . 6 ⊢ ran ∅ = ∅ | |
| 14 | 12, 13 | eqtrdi 2780 | . . . . 5 ⊢ (¬ 𝐴 ∈ V → ran {𝐴} = ∅) |
| 15 | 14 | unieqd 4871 | . . . 4 ⊢ (¬ 𝐴 ∈ V → ∪ ran {𝐴} = ∪ ∅) |
| 16 | uni0 4886 | . . . 4 ⊢ ∪ ∅ = ∅ | |
| 17 | 15, 16 | eqtrdi 2780 | . . 3 ⊢ (¬ 𝐴 ∈ V → ∪ ran {𝐴} = ∅) |
| 18 | 9, 17 | eqtr4d 2767 | . 2 ⊢ (¬ 𝐴 ∈ V → (2nd ‘𝐴) = ∪ ran {𝐴}) |
| 19 | 8, 18 | pm2.61i 182 | 1 ⊢ (2nd ‘𝐴) = ∪ ran {𝐴} |
| Colors of variables: wff setvar class |
| Syntax hints: ¬ wn 3 = wceq 1540 ∈ wcel 2109 Vcvv 3436 ∅c0 4284 {csn 4577 ∪ cuni 4858 ran crn 5620 ‘cfv 6482 2nd c2nd 7923 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1795 ax-4 1809 ax-5 1910 ax-6 1967 ax-7 2008 ax-8 2111 ax-9 2119 ax-10 2142 ax-11 2158 ax-12 2178 ax-ext 2701 ax-sep 5235 ax-nul 5245 ax-pr 5371 ax-un 7671 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3an 1088 df-tru 1543 df-fal 1553 df-ex 1780 df-nf 1784 df-sb 2066 df-mo 2533 df-eu 2562 df-clab 2708 df-cleq 2721 df-clel 2803 df-nfc 2878 df-ral 3045 df-rex 3054 df-rab 3395 df-v 3438 df-dif 3906 df-un 3908 df-in 3910 df-ss 3920 df-nul 4285 df-if 4477 df-sn 4578 df-pr 4580 df-op 4584 df-uni 4859 df-br 5093 df-opab 5155 df-mpt 5174 df-id 5514 df-xp 5625 df-rel 5626 df-cnv 5627 df-co 5628 df-dm 5629 df-rn 5630 df-iota 6438 df-fun 6484 df-fv 6490 df-2nd 7925 |
| This theorem is referenced by: 2ndnpr 7929 2nd0 7931 op2nd 7933 2nd2val 7953 elxp6 7958 |
| Copyright terms: Public domain | W3C validator |