| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > fvmptex | Structured version Visualization version GIF version | ||
| Description: Express a function 𝐹 whose value 𝐵 may not always be a set in terms of another function 𝐺 for which sethood is guaranteed. (Note that ( I ‘𝐵) is just shorthand for if(𝐵 ∈ V, 𝐵, ∅), and it is always a set by fvex 6847.) Note also that these functions are not the same; wherever 𝐵(𝐶) is not a set, 𝐶 is not in the domain of 𝐹 (so it evaluates to the empty set), but 𝐶 is in the domain of 𝐺, and 𝐺(𝐶) is defined to be the empty set. (Contributed by Mario Carneiro, 14-Jul-2013.) (Revised by Mario Carneiro, 23-Apr-2014.) |
| Ref | Expression |
|---|---|
| fvmptex.1 | ⊢ 𝐹 = (𝑥 ∈ 𝐴 ↦ 𝐵) |
| fvmptex.2 | ⊢ 𝐺 = (𝑥 ∈ 𝐴 ↦ ( I ‘𝐵)) |
| Ref | Expression |
|---|---|
| fvmptex | ⊢ (𝐹‘𝐶) = (𝐺‘𝐶) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | csbeq1 3841 | . . . 4 ⊢ (𝑦 = 𝐶 → ⦋𝑦 / 𝑥⦌𝐵 = ⦋𝐶 / 𝑥⦌𝐵) | |
| 2 | fvmptex.1 | . . . . 5 ⊢ 𝐹 = (𝑥 ∈ 𝐴 ↦ 𝐵) | |
| 3 | nfcv 2902 | . . . . . 6 ⊢ Ⅎ𝑦𝐵 | |
| 4 | nfcsb1v 3862 | . . . . . 6 ⊢ Ⅎ𝑥⦋𝑦 / 𝑥⦌𝐵 | |
| 5 | csbeq1a 3852 | . . . . . 6 ⊢ (𝑥 = 𝑦 → 𝐵 = ⦋𝑦 / 𝑥⦌𝐵) | |
| 6 | 3, 4, 5 | cbvmpt 5181 | . . . . 5 ⊢ (𝑥 ∈ 𝐴 ↦ 𝐵) = (𝑦 ∈ 𝐴 ↦ ⦋𝑦 / 𝑥⦌𝐵) |
| 7 | 2, 6 | eqtri 2763 | . . . 4 ⊢ 𝐹 = (𝑦 ∈ 𝐴 ↦ ⦋𝑦 / 𝑥⦌𝐵) |
| 8 | 1, 7 | fvmpti 6941 | . . 3 ⊢ (𝐶 ∈ 𝐴 → (𝐹‘𝐶) = ( I ‘⦋𝐶 / 𝑥⦌𝐵)) |
| 9 | 1 | fveq2d 6838 | . . . 4 ⊢ (𝑦 = 𝐶 → ( I ‘⦋𝑦 / 𝑥⦌𝐵) = ( I ‘⦋𝐶 / 𝑥⦌𝐵)) |
| 10 | fvmptex.2 | . . . . 5 ⊢ 𝐺 = (𝑥 ∈ 𝐴 ↦ ( I ‘𝐵)) | |
| 11 | nfcv 2902 | . . . . . 6 ⊢ Ⅎ𝑦( I ‘𝐵) | |
| 12 | nfcv 2902 | . . . . . . 7 ⊢ Ⅎ𝑥 I | |
| 13 | 12, 4 | nffv 6844 | . . . . . 6 ⊢ Ⅎ𝑥( I ‘⦋𝑦 / 𝑥⦌𝐵) |
| 14 | 5 | fveq2d 6838 | . . . . . 6 ⊢ (𝑥 = 𝑦 → ( I ‘𝐵) = ( I ‘⦋𝑦 / 𝑥⦌𝐵)) |
| 15 | 11, 13, 14 | cbvmpt 5181 | . . . . 5 ⊢ (𝑥 ∈ 𝐴 ↦ ( I ‘𝐵)) = (𝑦 ∈ 𝐴 ↦ ( I ‘⦋𝑦 / 𝑥⦌𝐵)) |
| 16 | 10, 15 | eqtri 2763 | . . . 4 ⊢ 𝐺 = (𝑦 ∈ 𝐴 ↦ ( I ‘⦋𝑦 / 𝑥⦌𝐵)) |
| 17 | fvex 6847 | . . . 4 ⊢ ( I ‘⦋𝐶 / 𝑥⦌𝐵) ∈ V | |
| 18 | 9, 16, 17 | fvmpt 6942 | . . 3 ⊢ (𝐶 ∈ 𝐴 → (𝐺‘𝐶) = ( I ‘⦋𝐶 / 𝑥⦌𝐵)) |
| 19 | 8, 18 | eqtr4d 2778 | . 2 ⊢ (𝐶 ∈ 𝐴 → (𝐹‘𝐶) = (𝐺‘𝐶)) |
| 20 | 2 | dmmptss 6199 | . . . . 5 ⊢ dom 𝐹 ⊆ 𝐴 |
| 21 | 20 | sseli 3918 | . . . 4 ⊢ (𝐶 ∈ dom 𝐹 → 𝐶 ∈ 𝐴) |
| 22 | ndmfv 6866 | . . . 4 ⊢ (¬ 𝐶 ∈ dom 𝐹 → (𝐹‘𝐶) = ∅) | |
| 23 | 21, 22 | nsyl5 159 | . . 3 ⊢ (¬ 𝐶 ∈ 𝐴 → (𝐹‘𝐶) = ∅) |
| 24 | fvex 6847 | . . . . . 6 ⊢ ( I ‘𝐵) ∈ V | |
| 25 | 24, 10 | dmmpti 6636 | . . . . 5 ⊢ dom 𝐺 = 𝐴 |
| 26 | 25 | eleq2i 2832 | . . . 4 ⊢ (𝐶 ∈ dom 𝐺 ↔ 𝐶 ∈ 𝐴) |
| 27 | ndmfv 6866 | . . . 4 ⊢ (¬ 𝐶 ∈ dom 𝐺 → (𝐺‘𝐶) = ∅) | |
| 28 | 26, 27 | sylnbir 332 | . . 3 ⊢ (¬ 𝐶 ∈ 𝐴 → (𝐺‘𝐶) = ∅) |
| 29 | 23, 28 | eqtr4d 2778 | . 2 ⊢ (¬ 𝐶 ∈ 𝐴 → (𝐹‘𝐶) = (𝐺‘𝐶)) |
| 30 | 19, 29 | pm2.61i 183 | 1 ⊢ (𝐹‘𝐶) = (𝐺‘𝐶) |
| Colors of variables: wff setvar class |
| Syntax hints: ¬ wn 3 = wceq 1547 ∈ wcel 2119 ⦋csb 3838 ∅c0 4268 ↦ cmpt 5160 I cid 5519 dom cdm 5625 ‘cfv 6492 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1802 ax-4 1816 ax-5 1917 ax-6 1974 ax-7 2015 ax-8 2121 ax-9 2129 ax-10 2152 ax-11 2168 ax-12 2189 ax-ext 2712 ax-sep 5225 ax-nul 5235 ax-pr 5369 |
| This theorem depends on definitions: df-bi 208 df-an 397 df-or 854 df-3an 1094 df-tru 1550 df-fal 1560 df-ex 1787 df-nf 1791 df-sb 2074 df-mo 2543 df-eu 2573 df-clab 2719 df-cleq 2732 df-clel 2815 df-nfc 2889 df-ne 2936 df-ral 3055 df-rex 3065 df-rab 3393 df-v 3434 df-sbc 3731 df-csb 3839 df-dif 3893 df-un 3895 df-in 3897 df-ss 3907 df-nul 4269 df-if 4462 df-sn 4563 df-pr 4565 df-op 4569 df-uni 4846 df-br 5080 df-opab 5142 df-mpt 5161 df-id 5520 df-xp 5631 df-rel 5632 df-cnv 5633 df-co 5634 df-dm 5635 df-rn 5636 df-res 5637 df-ima 5638 df-iota 6448 df-fun 6494 df-fn 6495 df-fv 6500 |
| This theorem is referenced by: fvmptnf 6965 sumeq2ii 15653 prodeq2ii 15874 |
| Copyright terms: Public domain | W3C validator |