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

Theorem mpocurryvald 7929
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 7928 . . 3 (𝜑 → curry 𝐹 = (𝑥𝑋 ↦ (𝑦𝑌𝐶)))
5 nfcv 2976 . . . 4 𝑎(𝑦𝑌𝐶)
6 nfcv 2976 . . . . 5 𝑥𝑌
7 nfcsb1v 3900 . . . . 5 𝑥𝑎 / 𝑥𝐶
86, 7nfmpt 5156 . . . 4 𝑥(𝑦𝑌𝑎 / 𝑥𝐶)
9 csbeq1a 3890 . . . . 5 (𝑥 = 𝑎𝐶 = 𝑎 / 𝑥𝐶)
109mpteq2dv 5155 . . . 4 (𝑥 = 𝑎 → (𝑦𝑌𝐶) = (𝑦𝑌𝑎 / 𝑥𝐶))
115, 8, 10cbvmpt 5160 . . 3 (𝑥𝑋 ↦ (𝑦𝑌𝐶)) = (𝑎𝑋 ↦ (𝑦𝑌𝑎 / 𝑥𝐶))
124, 11syl6eq 2871 . 2 (𝜑 → curry 𝐹 = (𝑎𝑋 ↦ (𝑦𝑌𝑎 / 𝑥𝐶)))
13 csbeq1 3879 . . . 4 (𝑎 = 𝐴𝑎 / 𝑥𝐶 = 𝐴 / 𝑥𝐶)
1413adantl 484 . . 3 ((𝜑𝑎 = 𝐴) → 𝑎 / 𝑥𝐶 = 𝐴 / 𝑥𝐶)
1514mpteq2dv 5155 . 2 ((𝜑𝑎 = 𝐴) → (𝑦𝑌𝑎 / 𝑥𝐶) = (𝑦𝑌𝐴 / 𝑥𝐶))
16 mpocurryvald.a . 2 (𝜑𝐴𝑋)
17 mpocurryvald.y . . 3 (𝜑𝑌𝑊)
1817mptexd 6980 . 2 (𝜑 → (𝑦𝑌𝐴 / 𝑥𝐶) ∈ V)
1912, 15, 16, 18fvmptd 6768 1 (𝜑 → (curry 𝐹𝐴) = (𝑦𝑌𝐴 / 𝑥𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1536  wcel 2113  wne 3015  wral 3137  Vcvv 3491  csb 3876  c0 4284  cmpt 5139  cfv 6348  cmpo 7151  curry ccur 7924
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2792  ax-rep 5183  ax-sep 5196  ax-nul 5203  ax-pow 5259  ax-pr 5323  ax-un 7454
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1084  df-tru 1539  df-ex 1780  df-nf 1784  df-sb 2069  df-mo 2621  df-eu 2653  df-clab 2799  df-cleq 2813  df-clel 2892  df-nfc 2962  df-ne 3016  df-ral 3142  df-rex 3143  df-reu 3144  df-rab 3146  df-v 3493  df-sbc 3769  df-csb 3877  df-dif 3932  df-un 3934  df-in 3936  df-ss 3945  df-nul 4285  df-if 4461  df-sn 4561  df-pr 4563  df-op 4567  df-uni 4832  df-iun 4914  df-br 5060  df-opab 5122  df-mpt 5140  df-id 5453  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-rn 5559  df-res 5560  df-ima 5561  df-iota 6307  df-fun 6350  df-fn 6351  df-f 6352  df-f1 6353  df-fo 6354  df-f1o 6355  df-fv 6356  df-ov 7152  df-oprab 7153  df-mpo 7154  df-1st 7682  df-2nd 7683  df-cur 7926
This theorem is referenced by:  fvmpocurryd  7930  pmatcollpw3lem  21384  logbmpt  25362
  Copyright terms: Public domain W3C validator