MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  mpocurryvald Structured version   Visualization version   GIF version

Theorem mpocurryvald 8287
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.)
Hypotheses
Ref Expression
mpocurryd.f 𝐹 = (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 𝐶)
mpocurryd.c (𝜑 → ∀𝑥 ∈ 𝑋 ∀𝑦 ∈ 𝑌 𝐶 ∈ 𝑉)
mpocurryd.n (𝜑 → 𝑌 ≠ ∅)
mpocurryvald.y (𝜑 → 𝑌 ∈ 𝑊)
mpocurryvald.a (𝜑 → 𝐴 ∈ 𝑋)
Assertion
Ref Expression
mpocurryvald (𝜑 → (curry 𝐹‘𝐴) = (𝑦 ∈ 𝑌 ↦ ⦋𝐴 / 𝑥⦌𝐶))
Distinct variable groups:   𝑥,𝐹,𝑦   𝑥,𝑉,𝑦   𝑥,𝑋,𝑦   𝑥,𝑌,𝑦   𝜑,𝑥,𝑦   𝑥,𝐴,𝑦
Allowed substitution hints:   𝐶(𝑥, 𝑦)   𝑊(𝑥, 𝑦)

Proof of Theorem mpocurryvald
Dummy variable 𝑎 is distinct from all other variables.
StepHypRef Expression
1 mpocurryd.f . . . 4 𝐹 = (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑌 ↦ 𝐶)
2 mpocurryd.c . . . 4 (𝜑 → ∀𝑥 ∈ 𝑋 ∀𝑦 ∈ 𝑌 𝐶 ∈ 𝑉)
3 mpocurryd.n . . . 4 (𝜑 → 𝑌 ≠ ∅)
41, 2, 3mpocurryd 8286 . . 3 (𝜑 → curry 𝐹 = (𝑥 ∈ 𝑋 ↦ (𝑦 ∈ 𝑌 ↦ 𝐶)))
5 nfcv 2923 . . . 4 Ⅎ𝑎(𝑦 ∈ 𝑌 ↦ 𝐶)
6 nfcv 2923 . . . . 5 Ⅎ𝑥𝑌
7 nfcsb1v 3871 . . . . 5 Ⅎ𝑥⦋𝑎 / 𝑥⦌𝐶
86, 7nfmpt 5203 . . . 4 Ⅎ𝑥(𝑦 ∈ 𝑌 ↦ ⦋𝑎 / 𝑥⦌𝐶)
9 csbeq1a 3861 . . . . 5 (𝑥 = 𝑎 → 𝐶 = ⦋𝑎 / 𝑥⦌𝐶)
109mpteq2dv 5199 . . . 4 (𝑥 = 𝑎 → (𝑦 ∈ 𝑌 ↦ 𝐶) = (𝑦 ∈ 𝑌 ↦ ⦋𝑎 / 𝑥⦌𝐶))
115, 8, 10cbvmpt 5207 . . 3 (𝑥 ∈ 𝑋 ↦ (𝑦 ∈ 𝑌 ↦ 𝐶)) = (𝑎 ∈ 𝑋 ↦ (𝑦 ∈ 𝑌 ↦ ⦋𝑎 / 𝑥⦌𝐶))
124, 11eqtrdi 2812 . 2 (𝜑 → curry 𝐹 = (𝑎 ∈ 𝑋 ↦ (𝑦 ∈ 𝑌 ↦ ⦋𝑎 / 𝑥⦌𝐶)))
13 csbeq1 3850 . . . 4 (𝑎 = 𝐴 → ⦋𝑎 / 𝑥⦌𝐶 = ⦋𝐴 / 𝑥⦌𝐶)
1413adantl 487 . . 3 ((𝜑 ∧ 𝑎 = 𝐴) → ⦋𝑎 / 𝑥⦌𝐶 = ⦋𝐴 / 𝑥⦌𝐶)
1514mpteq2dv 5199 . 2 ((𝜑 ∧ 𝑎 = 𝐴) → (𝑦 ∈ 𝑌 ↦ ⦋𝑎 / 𝑥⦌𝐶) = (𝑦 ∈ 𝑌 ↦ ⦋𝐴 / 𝑥⦌𝐶))
16 mpocurryvald.a . 2 (𝜑 → 𝐴 ∈ 𝑋)
17 mpocurryvald.y . . 3 (𝜑 → 𝑌 ∈ 𝑊)
1817mptexd 7230 . 2 (𝜑 → (𝑦 ∈ 𝑌 ↦ ⦋𝐴 / 𝑥⦌𝐶) ∈ V)
1912, 15, 16, 18fvmptd 7001 1 (𝜑 → (curry 𝐹‘𝐴) = (𝑦 ∈ 𝑌 ↦ ⦋𝐴 / 𝑥⦌𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2145   ≠ wne 2956  ∀wral 3077  Vcvv 3451  ⦋csb 3847  ∅c0 4279   ↦ cmpt 5186  ‘cfv 6538   ∈ cmpo 7422  curry ccur 8282
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 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pr 5391  ax-un 7751
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 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  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 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-ov 7423  df-oprab 7424  df-mpo 7425  df-1st 8001  df-2nd 8002  df-cur 8284
This theorem is used by:  fvmpocurryd  8288  pmatcollpw3lem  23101  logbmpt  27116  veroquadmodzerod  50983
  Copyright terms: Public domain W3C validator