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

Theorem fvmpocurryd 7920
Description: The value of the value of a curried operation given in maps-to notation is the operation value of the original operation. (Contributed by AV, 27-Oct-2019.)
Hypotheses
Ref Expression
fvmpocurryd.f 𝐹 = (𝑥𝑋, 𝑦𝑌𝐶)
fvmpocurryd.c (𝜑 → ∀𝑥𝑋𝑦𝑌 𝐶𝑉)
fvmpocurryd.y (𝜑𝑌𝑊)
fvmpocurryd.a (𝜑𝐴𝑋)
fvmpocurryd.b (𝜑𝐵𝑌)
Assertion
Ref Expression
fvmpocurryd (𝜑 → ((curry 𝐹𝐴)‘𝐵) = (𝐴𝐹𝐵))
Distinct variable groups:   𝑥,𝐴,𝑦   𝑥,𝐵,𝑦   𝑥,𝑉,𝑦   𝑥,𝑋,𝑦   𝑥,𝑌,𝑦   𝜑,𝑥,𝑦
Allowed substitution hints:   𝐶(𝑥,𝑦)   𝐹(𝑥,𝑦)   𝑊(𝑥,𝑦)

Proof of Theorem fvmpocurryd
Dummy variables 𝑎 𝑏 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fvmpocurryd.b . . 3 (𝜑𝐵𝑌)
2 csbcom 4325 . . . . 5 𝐵 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶 = 𝐴 / 𝑎𝐵 / 𝑏𝑏 / 𝑦𝑎 / 𝑥𝐶
3 csbcow 3843 . . . . . 6 𝐵 / 𝑏𝑏 / 𝑦𝑎 / 𝑥𝐶 = 𝐵 / 𝑦𝑎 / 𝑥𝐶
43csbeq2i 3836 . . . . 5 𝐴 / 𝑎𝐵 / 𝑏𝑏 / 𝑦𝑎 / 𝑥𝐶 = 𝐴 / 𝑎𝐵 / 𝑦𝑎 / 𝑥𝐶
5 csbcom 4325 . . . . . 6 𝐴 / 𝑎𝐵 / 𝑦𝑎 / 𝑥𝐶 = 𝐵 / 𝑦𝐴 / 𝑎𝑎 / 𝑥𝐶
6 csbcow 3843 . . . . . . 7 𝐴 / 𝑎𝑎 / 𝑥𝐶 = 𝐴 / 𝑥𝐶
76csbeq2i 3836 . . . . . 6 𝐵 / 𝑦𝐴 / 𝑎𝑎 / 𝑥𝐶 = 𝐵 / 𝑦𝐴 / 𝑥𝐶
85, 7eqtri 2821 . . . . 5 𝐴 / 𝑎𝐵 / 𝑦𝑎 / 𝑥𝐶 = 𝐵 / 𝑦𝐴 / 𝑥𝐶
92, 4, 83eqtri 2825 . . . 4 𝐵 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶 = 𝐵 / 𝑦𝐴 / 𝑥𝐶
10 fvmpocurryd.a . . . . 5 (𝜑𝐴𝑋)
11 fvmpocurryd.c . . . . 5 (𝜑 → ∀𝑥𝑋𝑦𝑌 𝐶𝑉)
12 nfcsb1v 3852 . . . . . . . 8 𝑥𝐴 / 𝑥𝐶
1312nfel1 2971 . . . . . . 7 𝑥𝐴 / 𝑥𝐶𝑉
14 nfcsb1v 3852 . . . . . . . 8 𝑦𝐵 / 𝑦𝐴 / 𝑥𝐶
1514nfel1 2971 . . . . . . 7 𝑦𝐵 / 𝑦𝐴 / 𝑥𝐶𝑉
16 csbeq1a 3842 . . . . . . . 8 (𝑥 = 𝐴𝐶 = 𝐴 / 𝑥𝐶)
1716eleq1d 2874 . . . . . . 7 (𝑥 = 𝐴 → (𝐶𝑉𝐴 / 𝑥𝐶𝑉))
18 csbeq1a 3842 . . . . . . . 8 (𝑦 = 𝐵𝐴 / 𝑥𝐶 = 𝐵 / 𝑦𝐴 / 𝑥𝐶)
1918eleq1d 2874 . . . . . . 7 (𝑦 = 𝐵 → (𝐴 / 𝑥𝐶𝑉𝐵 / 𝑦𝐴 / 𝑥𝐶𝑉))
2013, 15, 17, 19rspc2 3579 . . . . . 6 ((𝐴𝑋𝐵𝑌) → (∀𝑥𝑋𝑦𝑌 𝐶𝑉𝐵 / 𝑦𝐴 / 𝑥𝐶𝑉))
2120imp 410 . . . . 5 (((𝐴𝑋𝐵𝑌) ∧ ∀𝑥𝑋𝑦𝑌 𝐶𝑉) → 𝐵 / 𝑦𝐴 / 𝑥𝐶𝑉)
2210, 1, 11, 21syl21anc 836 . . . 4 (𝜑𝐵 / 𝑦𝐴 / 𝑥𝐶𝑉)
239, 22eqeltrid 2894 . . 3 (𝜑𝐵 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶𝑉)
24 eqid 2798 . . . 4 (𝑏𝑌𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶) = (𝑏𝑌𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶)
2524fvmpts 6748 . . 3 ((𝐵𝑌𝐵 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶𝑉) → ((𝑏𝑌𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶)‘𝐵) = 𝐵 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶)
261, 23, 25syl2anc 587 . 2 (𝜑 → ((𝑏𝑌𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶)‘𝐵) = 𝐵 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶)
27 fvmpocurryd.f . . . . 5 𝐹 = (𝑥𝑋, 𝑦𝑌𝐶)
28 nfcv 2955 . . . . . 6 𝑎𝐶
29 nfcv 2955 . . . . . 6 𝑏𝐶
30 nfcv 2955 . . . . . . 7 𝑥𝑏
31 nfcsb1v 3852 . . . . . . 7 𝑥𝑎 / 𝑥𝐶
3230, 31nfcsbw 3854 . . . . . 6 𝑥𝑏 / 𝑦𝑎 / 𝑥𝐶
33 nfcsb1v 3852 . . . . . 6 𝑦𝑏 / 𝑦𝑎 / 𝑥𝐶
34 csbeq1a 3842 . . . . . . 7 (𝑥 = 𝑎𝐶 = 𝑎 / 𝑥𝐶)
35 csbeq1a 3842 . . . . . . 7 (𝑦 = 𝑏𝑎 / 𝑥𝐶 = 𝑏 / 𝑦𝑎 / 𝑥𝐶)
3634, 35sylan9eq 2853 . . . . . 6 ((𝑥 = 𝑎𝑦 = 𝑏) → 𝐶 = 𝑏 / 𝑦𝑎 / 𝑥𝐶)
3728, 29, 32, 33, 36cbvmpo 7227 . . . . 5 (𝑥𝑋, 𝑦𝑌𝐶) = (𝑎𝑋, 𝑏𝑌𝑏 / 𝑦𝑎 / 𝑥𝐶)
3827, 37eqtri 2821 . . . 4 𝐹 = (𝑎𝑋, 𝑏𝑌𝑏 / 𝑦𝑎 / 𝑥𝐶)
3931nfel1 2971 . . . . . . 7 𝑥𝑎 / 𝑥𝐶𝑉
4033nfel1 2971 . . . . . . 7 𝑦𝑏 / 𝑦𝑎 / 𝑥𝐶𝑉
4134eleq1d 2874 . . . . . . 7 (𝑥 = 𝑎 → (𝐶𝑉𝑎 / 𝑥𝐶𝑉))
4235eleq1d 2874 . . . . . . 7 (𝑦 = 𝑏 → (𝑎 / 𝑥𝐶𝑉𝑏 / 𝑦𝑎 / 𝑥𝐶𝑉))
4339, 40, 41, 42rspc2 3579 . . . . . 6 ((𝑎𝑋𝑏𝑌) → (∀𝑥𝑋𝑦𝑌 𝐶𝑉𝑏 / 𝑦𝑎 / 𝑥𝐶𝑉))
4411, 43mpan9 510 . . . . 5 ((𝜑 ∧ (𝑎𝑋𝑏𝑌)) → 𝑏 / 𝑦𝑎 / 𝑥𝐶𝑉)
4544ralrimivva 3156 . . . 4 (𝜑 → ∀𝑎𝑋𝑏𝑌 𝑏 / 𝑦𝑎 / 𝑥𝐶𝑉)
461ne0d 4251 . . . 4 (𝜑𝑌 ≠ ∅)
47 fvmpocurryd.y . . . 4 (𝜑𝑌𝑊)
4838, 45, 46, 47, 10mpocurryvald 7919 . . 3 (𝜑 → (curry 𝐹𝐴) = (𝑏𝑌𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶))
4948fveq1d 6647 . 2 (𝜑 → ((curry 𝐹𝐴)‘𝐵) = ((𝑏𝑌𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶)‘𝐵))
5027a1i 11 . . 3 (𝜑𝐹 = (𝑥𝑋, 𝑦𝑌𝐶))
51 csbcow 3843 . . . . . . . 8 𝑦 / 𝑏𝑏 / 𝑦𝑎 / 𝑥𝐶 = 𝑦 / 𝑦𝑎 / 𝑥𝐶
52 csbid 3841 . . . . . . . 8 𝑦 / 𝑦𝑎 / 𝑥𝐶 = 𝑎 / 𝑥𝐶
5351, 52eqtr2i 2822 . . . . . . 7 𝑎 / 𝑥𝐶 = 𝑦 / 𝑏𝑏 / 𝑦𝑎 / 𝑥𝐶
5453a1i 11 . . . . . 6 (𝜑𝑎 / 𝑥𝐶 = 𝑦 / 𝑏𝑏 / 𝑦𝑎 / 𝑥𝐶)
5554csbeq2dv 3835 . . . . 5 (𝜑𝑥 / 𝑎𝑎 / 𝑥𝐶 = 𝑥 / 𝑎𝑦 / 𝑏𝑏 / 𝑦𝑎 / 𝑥𝐶)
56 csbcow 3843 . . . . . 6 𝑥 / 𝑎𝑎 / 𝑥𝐶 = 𝑥 / 𝑥𝐶
57 csbid 3841 . . . . . 6 𝑥 / 𝑥𝐶 = 𝐶
5856, 57eqtri 2821 . . . . 5 𝑥 / 𝑎𝑎 / 𝑥𝐶 = 𝐶
59 csbcom 4325 . . . . 5 𝑥 / 𝑎𝑦 / 𝑏𝑏 / 𝑦𝑎 / 𝑥𝐶 = 𝑦 / 𝑏𝑥 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶
6055, 58, 593eqtr3g 2856 . . . 4 (𝜑𝐶 = 𝑦 / 𝑏𝑥 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶)
61 csbeq1 3831 . . . . . . 7 (𝑥 = 𝐴𝑥 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶 = 𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶)
6261adantr 484 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵) → 𝑥 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶 = 𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶)
6362csbeq2dv 3835 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝐵) → 𝑦 / 𝑏𝑥 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶 = 𝑦 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶)
64 csbeq1 3831 . . . . . 6 (𝑦 = 𝐵𝑦 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶 = 𝐵 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶)
6564adantl 485 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝐵) → 𝑦 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶 = 𝐵 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶)
6663, 65eqtrd 2833 . . . 4 ((𝑥 = 𝐴𝑦 = 𝐵) → 𝑦 / 𝑏𝑥 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶 = 𝐵 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶)
6760, 66sylan9eq 2853 . . 3 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → 𝐶 = 𝐵 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶)
68 eqidd 2799 . . 3 ((𝜑𝑥 = 𝐴) → 𝑌 = 𝑌)
69 nfv 1915 . . 3 𝑥𝜑
70 nfv 1915 . . 3 𝑦𝜑
71 nfcv 2955 . . 3 𝑦𝐴
72 nfcv 2955 . . 3 𝑥𝐵
73 nfcv 2955 . . . . 5 𝑥𝐴
7473, 32nfcsbw 3854 . . . 4 𝑥𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶
7572, 74nfcsbw 3854 . . 3 𝑥𝐵 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶
769, 14nfcxfr 2953 . . 3 𝑦𝐵 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶
7750, 67, 68, 10, 1, 23, 69, 70, 71, 72, 75, 76ovmpodxf 7279 . 2 (𝜑 → (𝐴𝐹𝐵) = 𝐵 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶)
7826, 49, 773eqtr4d 2843 1 (𝜑 → ((curry 𝐹𝐴)‘𝐵) = (𝐴𝐹𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1538  wcel 2111  wral 3106  csb 3828  cmpt 5110  cfv 6324  (class class class)co 7135  cmpo 7137  curry ccur 7914
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-rep 5154  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-fal 1551  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-ral 3111  df-rex 3112  df-reu 3113  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-id 5425  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-iota 6283  df-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331  df-fv 6332  df-ov 7138  df-oprab 7139  df-mpo 7140  df-1st 7671  df-2nd 7672  df-cur 7916
This theorem is referenced by:  pmatcollpw3lem  21388  logbfval  25376
  Copyright terms: Public domain W3C validator