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

Theorem mpocurryvald 8295
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 8294 . . 3 (𝜑 → curry 𝐹 = (𝑥 ∈ 𝑋 ↦ (𝑦 ∈ 𝑌 ↦ 𝐶)))
5 nfcv 2922 . . . 4 Ⅎ𝑎(𝑦 ∈ 𝑌 ↦ 𝐶)
6 nfcv 2922 . . . . 5 Ⅎ𝑥𝑌
7 nfcsb1v 3871 . . . . 5 Ⅎ𝑥⦋𝑎 / 𝑥⦌𝐶
86, 7nfmpt 5202 . . . 4 Ⅎ𝑥(𝑦 ∈ 𝑌 ↦ ⦋𝑎 / 𝑥⦌𝐶)
9 csbeq1a 3861 . . . . 5 (𝑥 = 𝑎 → 𝐶 = ⦋𝑎 / 𝑥⦌𝐶)
109mpteq2dv 5198 . . . 4 (𝑥 = 𝑎 → (𝑦 ∈ 𝑌 ↦ 𝐶) = (𝑦 ∈ 𝑌 ↦ ⦋𝑎 / 𝑥⦌𝐶))
115, 8, 10cbvmpt 5206 . . 3 (𝑥 ∈ 𝑋 ↦ (𝑦 ∈ 𝑌 ↦ 𝐶)) = (𝑎 ∈ 𝑋 ↦ (𝑦 ∈ 𝑌 ↦ ⦋𝑎 / 𝑥⦌𝐶))
124, 11eqtrdi 2811 . 2 (𝜑 → curry 𝐹 = (𝑎 ∈ 𝑋 ↦ (𝑦 ∈ 𝑌 ↦ ⦋𝑎 / 𝑥⦌𝐶)))
13 csbeq1 3850 . . . 4 (𝑎 = 𝐴 → ⦋𝑎 / 𝑥⦌𝐶 = ⦋𝐴 / 𝑥⦌𝐶)
1413adantl 487 . . 3 ((𝜑 ∧ 𝑎 = 𝐴) → ⦋𝑎 / 𝑥⦌𝐶 = ⦋𝐴 / 𝑥⦌𝐶)
1514mpteq2dv 5198 . 2 ((𝜑 ∧ 𝑎 = 𝐴) → (𝑦 ∈ 𝑌 ↦ ⦋𝑎 / 𝑥⦌𝐶) = (𝑦 ∈ 𝑌 ↦ ⦋𝐴 / 𝑥⦌𝐶))
16 mpocurryvald.a . 2 (𝜑 → 𝐴 ∈ 𝑋)
17 mpocurryvald.y . . 3 (𝜑 → 𝑌 ∈ 𝑊)
1817mptexd 7234 . 2 (𝜑 → (𝑦 ∈ 𝑌 ↦ ⦋𝐴 / 𝑥⦌𝐶) ∈ V)
1912, 15, 16, 18fvmptd 7006 1 (𝜑 → (curry 𝐹‘𝐴) = (𝑦 ∈ 𝑌 ↦ ⦋𝐴 / 𝑥⦌𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2144   ≠ wne 2955  ∀wral 3076  Vcvv 3450  ⦋csb 3847  ∅c0 4277   ↦ cmpt 5185  ‘cfv 6543   ∈ cmpo 7426  curry ccur 8290
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pr 5391  ax-un 7755
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  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 3739  df-csb 3848  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  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 6497  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-ov 7427  df-oprab 7428  df-mpo 7429  df-1st 8005  df-2nd 8006  df-cur 8292
This theorem is used by:  fvmpocurryd  8296  pmatcollpw3lem  23110  logbmpt  27125  veroquadmodzerod  51195
  Copyright terms: Public domain W3C validator