| 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 4594 | . . . . 5 ⊢ (𝑥 = 𝐴 → {𝑥} = {𝐴}) | |
| 2 | 1 | rneqd 5927 | . . . 4 ⊢ (𝑥 = 𝐴 → ran {𝑥} = ran {𝐴}) |
| 3 | 2 | unieqd 4883 | . . 3 ⊢ (𝑥 = 𝐴 → ∪ ran {𝑥} = ∪ ran {𝐴}) |
| 4 | df-2nd 8026 | . . 3 ⊢ 2nd = (𝑥 ∈ V ↦ ∪ ran {𝑥}) | |
| 5 | snex 5401 | . . . . 5 ⊢ {𝐴} ∈ V | |
| 6 | 5 | rnex 7946 | . . . 4 ⊢ ran {𝐴} ∈ V |
| 7 | 6 | uniex 7782 | . . 3 ⊢ ∪ ran {𝐴} ∈ V |
| 8 | 3, 4, 7 | fvmpt 7016 | . 2 ⊢ (𝐴 ∈ V → (2nd ‘𝐴) = ∪ ran {𝐴}) |
| 9 | fvprc 6900 | . . 3 ⊢ (¬ 𝐴 ∈ V → (2nd ‘𝐴) = ∅) | |
| 10 | snprc 4678 | . . . . . . . 8 ⊢ (¬ 𝐴 ∈ V ↔ {𝐴} = ∅) | |
| 11 | 10 | biimpi 219 | . . . . . . 7 ⊢ (¬ 𝐴 ∈ V → {𝐴} = ∅) |
| 12 | 11 | rneqd 5927 | . . . . . 6 ⊢ (¬ 𝐴 ∈ V → ran {𝐴} = ran ∅) |
| 13 | rn0 5915 | . . . . . 6 ⊢ ran ∅ = ∅ | |
| 14 | 12, 13 | eqtrdi 2814 | . . . . 5 ⊢ (¬ 𝐴 ∈ V → ran {𝐴} = ∅) |
| 15 | 14 | unieqd 4883 | . . . 4 ⊢ (¬ 𝐴 ∈ V → ∪ ran {𝐴} = ∪ ∅) |
| 16 | uni0 4899 | . . . 4 ⊢ ∪ ∅ = ∅ | |
| 17 | 15, 16 | eqtrdi 2814 | . . 3 ⊢ (¬ 𝐴 ∈ V → ∪ ran {𝐴} = ∅) |
| 18 | 9, 17 | eqtr4d 2801 | . 2 ⊢ (¬ 𝐴 ∈ V → (2nd ‘𝐴) = ∪ ran {𝐴}) |
| 19 | 8, 18 | pm2.61i 184 | 1 ⊢ (2nd ‘𝐴) = ∪ ran {𝐴} |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: ¬ wn 3 = wceq 1570 ∈ wcel 2147 Vcvv 3454 ∅c0 4281 {csn 4588 ∪ cuni 4870 ran crn 5656 ‘cfv 6558 2nd c2nd 8024 |
| 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 1945 ax-6 2002 ax-7 2043 ax-8 2149 ax-9 2157 ax-10 2180 ax-11 2197 ax-12 2216 ax-ext 2735 ax-sep 5252 ax-nul 5263 ax-pr 5395 ax-un 7775 |
| 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 2102 df-mo 2567 df-eu 2597 df-clab 2742 df-cleq 2755 df-clel 2839 df-nfc 2913 df-ne 2960 df-ral 3081 df-rex 3091 df-rab 3417 df-v 3456 df-ss 3901 df-dif 4050 df-in 4094 df-un 4154 df-nul 4282 df-if 4486 df-sn 4589 df-pr 4591 df-op 4839 df-uni 4871 df-br 5107 df-opab 5171 df-mpt 5190 df-id 5550 df-xp 5661 df-rel 5662 df-cnv 5663 df-co 5664 df-dm 5665 df-rn 5666 df-iota 6512 df-fun 6560 df-fv 6566 df-2nd 8026 |
| This theorem is used by: 2ndnpr 8030 2nd0 8032 op2nd 8034 2nd2val 8054 elxp6 8059 |
| Copyright terms: Public domain | W3C validator |