| 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 8324 | . . 3 ⊢ (𝜑 → curry 𝐹 = (𝑥 ∈ 𝑋 ↦ (𝑦 ∈ 𝑌 ↦ 𝐶))) |
| 5 | nfcv 2926 | . . . 4 ⊢ Ⅎ𝑎(𝑦 ∈ 𝑌 ↦ 𝐶) | |
| 6 | nfcv 2926 | . . . . 5 ⊢ Ⅎ𝑥𝑌 | |
| 7 | nfcsb1v 3875 | . . . . 5 ⊢ Ⅎ𝑥⦋𝑎 / 𝑥⦌𝐶 | |
| 8 | 6, 7 | nfmpt 5209 | . . . 4 ⊢ Ⅎ𝑥(𝑦 ∈ 𝑌 ↦ ⦋𝑎 / 𝑥⦌𝐶) |
| 9 | csbeq1a 3865 | . . . . 5 ⊢ (𝑥 = 𝑎 → 𝐶 = ⦋𝑎 / 𝑥⦌𝐶) | |
| 10 | 9 | mpteq2dv 5205 | . . . 4 ⊢ (𝑥 = 𝑎 → (𝑦 ∈ 𝑌 ↦ 𝐶) = (𝑦 ∈ 𝑌 ↦ ⦋𝑎 / 𝑥⦌𝐶)) |
| 11 | 5, 8, 10 | cbvmpt 5213 | . . 3 ⊢ (𝑥 ∈ 𝑋 ↦ (𝑦 ∈ 𝑌 ↦ 𝐶)) = (𝑎 ∈ 𝑋 ↦ (𝑦 ∈ 𝑌 ↦ ⦋𝑎 / 𝑥⦌𝐶)) |
| 12 | 4, 11 | eqtrdi 2814 | . 2 ⊢ (𝜑 → curry 𝐹 = (𝑎 ∈ 𝑋 ↦ (𝑦 ∈ 𝑌 ↦ ⦋𝑎 / 𝑥⦌𝐶))) |
| 13 | csbeq1 3854 | . . . 4 ⊢ (𝑎 = 𝐴 → ⦋𝑎 / 𝑥⦌𝐶 = ⦋𝐴 / 𝑥⦌𝐶) | |
| 14 | 13 | adantl 487 | . . 3 ⊢ ((𝜑 ∧ 𝑎 = 𝐴) → ⦋𝑎 / 𝑥⦌𝐶 = ⦋𝐴 / 𝑥⦌𝐶) |
| 15 | 14 | mpteq2dv 5205 | . 2 ⊢ ((𝜑 ∧ 𝑎 = 𝐴) → (𝑦 ∈ 𝑌 ↦ ⦋𝑎 / 𝑥⦌𝐶) = (𝑦 ∈ 𝑌 ↦ ⦋𝐴 / 𝑥⦌𝐶)) |
| 16 | mpocurryvald.a | . 2 ⊢ (𝜑 → 𝐴 ∈ 𝑋) | |
| 17 | mpocurryvald.y | . . 3 ⊢ (𝜑 → 𝑌 ∈ 𝑊) | |
| 18 | 17 | mptexd 7261 | . 2 ⊢ (𝜑 → (𝑦 ∈ 𝑌 ↦ ⦋𝐴 / 𝑥⦌𝐶) ∈ V) |
| 19 | 12, 15, 16, 18 | fvmptd 7032 | 1 ⊢ (𝜑 → (curry 𝐹‘𝐴) = (𝑦 ∈ 𝑌 ↦ ⦋𝐴 / 𝑥⦌𝐶)) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ∧ wa 401 = wceq 1570 ∈ wcel 2147 ≠ wne 2959 ∀wral 3080 Vcvv 3454 ⦋csb 3851 ∅c0 4281 ↦ cmpt 5192 ‘cfv 6566 ∈ cmpo 7453 curry ccur 8320 |
| 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-rep 5238 ax-sep 5255 ax-nul 5266 ax-pr 5398 ax-un 7783 |
| 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-reu 3370 df-rab 3417 df-v 3456 df-sbc 3743 df-csb 3852 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 4841 df-uni 4873 df-iun 4958 df-br 5109 df-opab 5174 df-mpt 5193 df-id 5553 df-xp 5664 df-rel 5665 df-cnv 5666 df-co 5667 df-dm 5668 df-rn 5669 df-res 5670 df-ima 5671 df-iota 6520 df-fun 6568 df-fn 6569 df-f 6570 df-f1 6571 df-fo 6572 df-f1o 6573 df-fv 6574 df-ov 7454 df-oprab 7455 df-mpo 7456 df-1st 8035 df-2nd 8036 df-cur 8322 |
| This theorem is used by: fvmpocurryd 8326 pmatcollpw3lem 23156 logbmpt 27173 veroquadmodzerod 51412 |
| Copyright terms: Public domain | W3C validator |