Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > f2ndres | Structured version Visualization version GIF version |
Description: Mapping of a restriction of the 2nd (second member of an ordered pair) function. (Contributed by NM, 7-Aug-2006.) (Revised by Mario Carneiro, 8-Sep-2013.) |
Ref | Expression |
---|---|
f2ndres | ⊢ (2nd ↾ (𝐴 × 𝐵)):(𝐴 × 𝐵)⟶𝐵 |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | vex 3438 | . . . . . . . 8 ⊢ 𝑦 ∈ V | |
2 | vex 3438 | . . . . . . . 8 ⊢ 𝑧 ∈ V | |
3 | 1, 2 | op2nda 6135 | . . . . . . 7 ⊢ ∪ ran {〈𝑦, 𝑧〉} = 𝑧 |
4 | 3 | eleq1i 2824 | . . . . . 6 ⊢ (∪ ran {〈𝑦, 𝑧〉} ∈ 𝐵 ↔ 𝑧 ∈ 𝐵) |
5 | 4 | biimpri 227 | . . . . 5 ⊢ (𝑧 ∈ 𝐵 → ∪ ran {〈𝑦, 𝑧〉} ∈ 𝐵) |
6 | 5 | adantl 481 | . . . 4 ⊢ ((𝑦 ∈ 𝐴 ∧ 𝑧 ∈ 𝐵) → ∪ ran {〈𝑦, 𝑧〉} ∈ 𝐵) |
7 | 6 | rgen2 3188 | . . 3 ⊢ ∀𝑦 ∈ 𝐴 ∀𝑧 ∈ 𝐵 ∪ ran {〈𝑦, 𝑧〉} ∈ 𝐵 |
8 | sneq 4574 | . . . . . . 7 ⊢ (𝑥 = 〈𝑦, 𝑧〉 → {𝑥} = {〈𝑦, 𝑧〉}) | |
9 | 8 | rneqd 5850 | . . . . . 6 ⊢ (𝑥 = 〈𝑦, 𝑧〉 → ran {𝑥} = ran {〈𝑦, 𝑧〉}) |
10 | 9 | unieqd 4855 | . . . . 5 ⊢ (𝑥 = 〈𝑦, 𝑧〉 → ∪ ran {𝑥} = ∪ ran {〈𝑦, 𝑧〉}) |
11 | 10 | eleq1d 2818 | . . . 4 ⊢ (𝑥 = 〈𝑦, 𝑧〉 → (∪ ran {𝑥} ∈ 𝐵 ↔ ∪ ran {〈𝑦, 𝑧〉} ∈ 𝐵)) |
12 | 11 | ralxp 5754 | . . 3 ⊢ (∀𝑥 ∈ (𝐴 × 𝐵)∪ ran {𝑥} ∈ 𝐵 ↔ ∀𝑦 ∈ 𝐴 ∀𝑧 ∈ 𝐵 ∪ ran {〈𝑦, 𝑧〉} ∈ 𝐵) |
13 | 7, 12 | mpbir 230 | . 2 ⊢ ∀𝑥 ∈ (𝐴 × 𝐵)∪ ran {𝑥} ∈ 𝐵 |
14 | df-2nd 7852 | . . . . 5 ⊢ 2nd = (𝑥 ∈ V ↦ ∪ ran {𝑥}) | |
15 | 14 | reseq1i 5890 | . . . 4 ⊢ (2nd ↾ (𝐴 × 𝐵)) = ((𝑥 ∈ V ↦ ∪ ran {𝑥}) ↾ (𝐴 × 𝐵)) |
16 | ssv 3947 | . . . . 5 ⊢ (𝐴 × 𝐵) ⊆ V | |
17 | resmpt 5948 | . . . . 5 ⊢ ((𝐴 × 𝐵) ⊆ V → ((𝑥 ∈ V ↦ ∪ ran {𝑥}) ↾ (𝐴 × 𝐵)) = (𝑥 ∈ (𝐴 × 𝐵) ↦ ∪ ran {𝑥})) | |
18 | 16, 17 | ax-mp 5 | . . . 4 ⊢ ((𝑥 ∈ V ↦ ∪ ran {𝑥}) ↾ (𝐴 × 𝐵)) = (𝑥 ∈ (𝐴 × 𝐵) ↦ ∪ ran {𝑥}) |
19 | 15, 18 | eqtri 2761 | . . 3 ⊢ (2nd ↾ (𝐴 × 𝐵)) = (𝑥 ∈ (𝐴 × 𝐵) ↦ ∪ ran {𝑥}) |
20 | 19 | fmpt 7004 | . 2 ⊢ (∀𝑥 ∈ (𝐴 × 𝐵)∪ ran {𝑥} ∈ 𝐵 ↔ (2nd ↾ (𝐴 × 𝐵)):(𝐴 × 𝐵)⟶𝐵) |
21 | 13, 20 | mpbi 229 | 1 ⊢ (2nd ↾ (𝐴 × 𝐵)):(𝐴 × 𝐵)⟶𝐵 |
Colors of variables: wff setvar class |
Syntax hints: = wceq 1537 ∈ wcel 2101 ∀wral 3059 Vcvv 3434 ⊆ wss 3889 {csn 4564 〈cop 4570 ∪ cuni 4841 ↦ cmpt 5160 × cxp 5589 ran crn 5592 ↾ cres 5593 ⟶wf 6443 2nd c2nd 7850 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1793 ax-4 1807 ax-5 1909 ax-6 1967 ax-7 2007 ax-8 2103 ax-9 2111 ax-10 2132 ax-11 2149 ax-12 2166 ax-ext 2704 ax-sep 5226 ax-nul 5233 ax-pr 5355 |
This theorem depends on definitions: df-bi 206 df-an 396 df-or 844 df-3an 1087 df-tru 1540 df-fal 1550 df-ex 1778 df-nf 1782 df-sb 2063 df-mo 2535 df-eu 2564 df-clab 2711 df-cleq 2725 df-clel 2811 df-nfc 2884 df-ral 3060 df-rex 3069 df-rab 3224 df-v 3436 df-sbc 3719 df-csb 3835 df-dif 3892 df-un 3894 df-in 3896 df-ss 3906 df-nul 4260 df-if 4463 df-sn 4565 df-pr 4567 df-op 4571 df-uni 4842 df-iun 4929 df-br 5078 df-opab 5140 df-mpt 5161 df-id 5491 df-xp 5597 df-rel 5598 df-cnv 5599 df-co 5600 df-dm 5601 df-rn 5602 df-res 5603 df-ima 5604 df-fun 6449 df-fn 6450 df-f 6451 df-2nd 7852 |
This theorem is referenced by: fo2ndres 7878 2ndcof 7882 fparlem2 7973 f2ndf 7981 eucalgcvga 16319 2ndfcl 17943 gaid 18933 tx2cn 22789 txkgen 22831 xpinpreima 31884 xpinpreima2 31885 2ndmbfm 32256 filnetlem4 34598 hausgraph 41061 |
Copyright terms: Public domain | W3C validator |