| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > mpocurryvald | Structured version Visualization version GIF version | ||
| Description: The value of a curried operation given in maps-to notation is a function over the second argument of the original operation. (Contributed by AV, 27-Oct-2019.) |
| Ref | Expression |
|---|---|
| mpocurryd.f | ⊢ 𝐹 = (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 𝐶) |
| mpocurryd.c | ⊢ (𝜑 → ∀𝑥 ∈ 𝑋 ∀𝑦 ∈ 𝑌 𝐶 ∈ 𝑉) |
| mpocurryd.n | ⊢ (𝜑 → 𝑌 ≠ ∅) |
| mpocurryvald.y | ⊢ (𝜑 → 𝑌 ∈ 𝑊) |
| mpocurryvald.a | ⊢ (𝜑 → 𝐴 ∈ 𝑋) |
| Ref | Expression |
|---|---|
| mpocurryvald | ⊢ (𝜑 → (curry 𝐹‘𝐴) = (𝑦 ∈ 𝑌 ↦ ⦋𝐴 / 𝑥⦌𝐶)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | mpocurryd.f | . . . 4 ⊢ 𝐹 = (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 𝐶) | |
| 2 | mpocurryd.c | . . . 4 ⊢ (𝜑 → ∀𝑥 ∈ 𝑋 ∀𝑦 ∈ 𝑌 𝐶 ∈ 𝑉) | |
| 3 | mpocurryd.n | . . . 4 ⊢ (𝜑 → 𝑌 ≠ ∅) | |
| 4 | 1, 2, 3 | mpocurryd 8268 | . . 3 ⊢ (𝜑 → curry 𝐹 = (𝑥 ∈ 𝑋 ↦ (𝑦 ∈ 𝑌 ↦ 𝐶))) |
| 5 | nfcv 2922 | . . . 4 ⊢ Ⅎ𝑎(𝑦 ∈ 𝑌 ↦ 𝐶) | |
| 6 | nfcv 2922 | . . . . 5 ⊢ Ⅎ𝑥𝑌 | |
| 7 | nfcsb1v 3871 | . . . . 5 ⊢ Ⅎ𝑥⦋𝑎 / 𝑥⦌𝐶 | |
| 8 | 6, 7 | nfmpt 5203 | . . . 4 ⊢ Ⅎ𝑥(𝑦 ∈ 𝑌 ↦ ⦋𝑎 / 𝑥⦌𝐶) |
| 9 | csbeq1a 3861 | . . . . 5 ⊢ (𝑥 = 𝑎 → 𝐶 = ⦋𝑎 / 𝑥⦌𝐶) | |
| 10 | 9 | mpteq2dv 5199 | . . . 4 ⊢ (𝑥 = 𝑎 → (𝑦 ∈ 𝑌 ↦ 𝐶) = (𝑦 ∈ 𝑌 ↦ ⦋𝑎 / 𝑥⦌𝐶)) |
| 11 | 5, 8, 10 | cbvmpt 5207 | . . 3 ⊢ (𝑥 ∈ 𝑋 ↦ (𝑦 ∈ 𝑌 ↦ 𝐶)) = (𝑎 ∈ 𝑋 ↦ (𝑦 ∈ 𝑌 ↦ ⦋𝑎 / 𝑥⦌𝐶)) |
| 12 | 4, 11 | eqtrdi 2811 | . 2 ⊢ (𝜑 → curry 𝐹 = (𝑎 ∈ 𝑋 ↦ (𝑦 ∈ 𝑌 ↦ ⦋𝑎 / 𝑥⦌𝐶))) |
| 13 | csbeq1 3850 | . . . 4 ⊢ (𝑎 = 𝐴 → ⦋𝑎 / 𝑥⦌𝐶 = ⦋𝐴 / 𝑥⦌𝐶) | |
| 14 | 13 | adantl 487 | . . 3 ⊢ ((𝜑 ∧ 𝑎 = 𝐴) → ⦋𝑎 / 𝑥⦌𝐶 = ⦋𝐴 / 𝑥⦌𝐶) |
| 15 | 14 | mpteq2dv 5199 | . 2 ⊢ ((𝜑 ∧ 𝑎 = 𝐴) → (𝑦 ∈ 𝑌 ↦ ⦋𝑎 / 𝑥⦌𝐶) = (𝑦 ∈ 𝑌 ↦ ⦋𝐴 / 𝑥⦌𝐶)) |
| 16 | mpocurryvald.a | . 2 ⊢ (𝜑 → 𝐴 ∈ 𝑋) | |
| 17 | mpocurryvald.y | . . 3 ⊢ (𝜑 → 𝑌 ∈ 𝑊) | |
| 18 | 17 | mptexd 7224 | . 2 ⊢ (𝜑 → (𝑦 ∈ 𝑌 ↦ ⦋𝐴 / 𝑥⦌𝐶) ∈ V) |
| 19 | 12, 15, 16, 18 | fvmptd 6995 | 1 ⊢ (𝜑 → (curry 𝐹‘𝐴) = (𝑦 ∈ 𝑌 ↦ ⦋𝐴 / 𝑥⦌𝐶)) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ∧ wa 401 = wceq 1570 ∈ wcel 2145 ≠ wne 2955 ∀wral 3076 Vcvv 3450 ⦋csb 3847 ∅c0 4279 ↦ cmpt 5186 ‘cfv 6533 ∈ cmpo 7416 curry ccur 8264 |
| 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 2147 ax-9 2155 ax-10 2178 ax-11 2194 ax-12 2213 ax-ext 2732 ax-rep 5232 ax-sep 5251 ax-nul 5263 ax-pr 5398 ax-un 7737 |
| 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 2564 df-eu 2594 df-clab 2739 df-cleq 2752 df-clel 2835 df-nfc 2909 df-ne 2956 df-ral 3077 df-rex 3087 df-reu 3366 df-rab 3413 df-v 3452 df-sbc 3740 df-csb 3848 df-dif 3902 df-un 3904 df-in 3906 df-ss 3916 df-nul 4280 df-if 4483 df-sn 4585 df-pr 4587 df-op 4591 df-uni 4868 df-iun 4953 df-br 5104 df-opab 5168 df-mpt 5187 df-id 5550 df-xp 5661 df-rel 5662 df-cnv 5663 df-co 5664 df-dm 5665 df-rn 5666 df-res 5667 df-ima 5668 df-iota 6489 df-fun 6535 df-fn 6536 df-f 6537 df-f1 6538 df-fo 6539 df-f1o 6540 df-fv 6541 df-ov 7417 df-oprab 7418 df-mpo 7419 df-1st 7987 df-2nd 7988 df-cur 8266 |
| This theorem is used by: fvmpocurryd 8270 pmatcollpw3lem 23009 logbmpt 27026 veroquadmodzerod 50818 |
| Copyright terms: Public domain | W3C validator |