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

Theorem fvmpocurryd 7937
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 4369 . . . . 5 𝐵 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶 = 𝐴 / 𝑎𝐵 / 𝑏𝑏 / 𝑦𝑎 / 𝑥𝐶
3 csbcow 3898 . . . . . 6 𝐵 / 𝑏𝑏 / 𝑦𝑎 / 𝑥𝐶 = 𝐵 / 𝑦𝑎 / 𝑥𝐶
43csbeq2i 3891 . . . . 5 𝐴 / 𝑎𝐵 / 𝑏𝑏 / 𝑦𝑎 / 𝑥𝐶 = 𝐴 / 𝑎𝐵 / 𝑦𝑎 / 𝑥𝐶
5 csbcom 4369 . . . . . 6 𝐴 / 𝑎𝐵 / 𝑦𝑎 / 𝑥𝐶 = 𝐵 / 𝑦𝐴 / 𝑎𝑎 / 𝑥𝐶
6 csbcow 3898 . . . . . . 7 𝐴 / 𝑎𝑎 / 𝑥𝐶 = 𝐴 / 𝑥𝐶
76csbeq2i 3891 . . . . . 6 𝐵 / 𝑦𝐴 / 𝑎𝑎 / 𝑥𝐶 = 𝐵 / 𝑦𝐴 / 𝑥𝐶
85, 7eqtri 2844 . . . . 5 𝐴 / 𝑎𝐵 / 𝑦𝑎 / 𝑥𝐶 = 𝐵 / 𝑦𝐴 / 𝑥𝐶
92, 4, 83eqtri 2848 . . . 4 𝐵 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶 = 𝐵 / 𝑦𝐴 / 𝑥𝐶
10 fvmpocurryd.a . . . . 5 (𝜑𝐴𝑋)
11 fvmpocurryd.c . . . . 5 (𝜑 → ∀𝑥𝑋𝑦𝑌 𝐶𝑉)
12 nfcsb1v 3907 . . . . . . . 8 𝑥𝐴 / 𝑥𝐶
1312nfel1 2994 . . . . . . 7 𝑥𝐴 / 𝑥𝐶𝑉
14 nfcsb1v 3907 . . . . . . . 8 𝑦𝐵 / 𝑦𝐴 / 𝑥𝐶
1514nfel1 2994 . . . . . . 7 𝑦𝐵 / 𝑦𝐴 / 𝑥𝐶𝑉
16 csbeq1a 3897 . . . . . . . 8 (𝑥 = 𝐴𝐶 = 𝐴 / 𝑥𝐶)
1716eleq1d 2897 . . . . . . 7 (𝑥 = 𝐴 → (𝐶𝑉𝐴 / 𝑥𝐶𝑉))
18 csbeq1a 3897 . . . . . . . 8 (𝑦 = 𝐵𝐴 / 𝑥𝐶 = 𝐵 / 𝑦𝐴 / 𝑥𝐶)
1918eleq1d 2897 . . . . . . 7 (𝑦 = 𝐵 → (𝐴 / 𝑥𝐶𝑉𝐵 / 𝑦𝐴 / 𝑥𝐶𝑉))
2013, 15, 17, 19rspc2 3631 . . . . . 6 ((𝐴𝑋𝐵𝑌) → (∀𝑥𝑋𝑦𝑌 𝐶𝑉𝐵 / 𝑦𝐴 / 𝑥𝐶𝑉))
2120imp 409 . . . . 5 (((𝐴𝑋𝐵𝑌) ∧ ∀𝑥𝑋𝑦𝑌 𝐶𝑉) → 𝐵 / 𝑦𝐴 / 𝑥𝐶𝑉)
2210, 1, 11, 21syl21anc 835 . . . 4 (𝜑𝐵 / 𝑦𝐴 / 𝑥𝐶𝑉)
239, 22eqeltrid 2917 . . 3 (𝜑𝐵 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶𝑉)
24 eqid 2821 . . . 4 (𝑏𝑌𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶) = (𝑏𝑌𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶)
2524fvmpts 6771 . . 3 ((𝐵𝑌𝐵 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶𝑉) → ((𝑏𝑌𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶)‘𝐵) = 𝐵 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶)
261, 23, 25syl2anc 586 . 2 (𝜑 → ((𝑏𝑌𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶)‘𝐵) = 𝐵 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶)
27 fvmpocurryd.f . . . . 5 𝐹 = (𝑥𝑋, 𝑦𝑌𝐶)
28 nfcv 2977 . . . . . 6 𝑎𝐶
29 nfcv 2977 . . . . . 6 𝑏𝐶
30 nfcv 2977 . . . . . . 7 𝑥𝑏
31 nfcsb1v 3907 . . . . . . 7 𝑥𝑎 / 𝑥𝐶
3230, 31nfcsbw 3909 . . . . . 6 𝑥𝑏 / 𝑦𝑎 / 𝑥𝐶
33 nfcsb1v 3907 . . . . . 6 𝑦𝑏 / 𝑦𝑎 / 𝑥𝐶
34 csbeq1a 3897 . . . . . . 7 (𝑥 = 𝑎𝐶 = 𝑎 / 𝑥𝐶)
35 csbeq1a 3897 . . . . . . 7 (𝑦 = 𝑏𝑎 / 𝑥𝐶 = 𝑏 / 𝑦𝑎 / 𝑥𝐶)
3634, 35sylan9eq 2876 . . . . . 6 ((𝑥 = 𝑎𝑦 = 𝑏) → 𝐶 = 𝑏 / 𝑦𝑎 / 𝑥𝐶)
3728, 29, 32, 33, 36cbvmpo 7248 . . . . 5 (𝑥𝑋, 𝑦𝑌𝐶) = (𝑎𝑋, 𝑏𝑌𝑏 / 𝑦𝑎 / 𝑥𝐶)
3827, 37eqtri 2844 . . . 4 𝐹 = (𝑎𝑋, 𝑏𝑌𝑏 / 𝑦𝑎 / 𝑥𝐶)
3931nfel1 2994 . . . . . . 7 𝑥𝑎 / 𝑥𝐶𝑉
4033nfel1 2994 . . . . . . 7 𝑦𝑏 / 𝑦𝑎 / 𝑥𝐶𝑉
4134eleq1d 2897 . . . . . . 7 (𝑥 = 𝑎 → (𝐶𝑉𝑎 / 𝑥𝐶𝑉))
4235eleq1d 2897 . . . . . . 7 (𝑦 = 𝑏 → (𝑎 / 𝑥𝐶𝑉𝑏 / 𝑦𝑎 / 𝑥𝐶𝑉))
4339, 40, 41, 42rspc2 3631 . . . . . 6 ((𝑎𝑋𝑏𝑌) → (∀𝑥𝑋𝑦𝑌 𝐶𝑉𝑏 / 𝑦𝑎 / 𝑥𝐶𝑉))
4411, 43mpan9 509 . . . . 5 ((𝜑 ∧ (𝑎𝑋𝑏𝑌)) → 𝑏 / 𝑦𝑎 / 𝑥𝐶𝑉)
4544ralrimivva 3191 . . . 4 (𝜑 → ∀𝑎𝑋𝑏𝑌 𝑏 / 𝑦𝑎 / 𝑥𝐶𝑉)
461ne0d 4301 . . . 4 (𝜑𝑌 ≠ ∅)
47 fvmpocurryd.y . . . 4 (𝜑𝑌𝑊)
4838, 45, 46, 47, 10mpocurryvald 7936 . . 3 (𝜑 → (curry 𝐹𝐴) = (𝑏𝑌𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶))
4948fveq1d 6672 . 2 (𝜑 → ((curry 𝐹𝐴)‘𝐵) = ((𝑏𝑌𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶)‘𝐵))
5027a1i 11 . . 3 (𝜑𝐹 = (𝑥𝑋, 𝑦𝑌𝐶))
51 csbcow 3898 . . . . . . . 8 𝑦 / 𝑏𝑏 / 𝑦𝑎 / 𝑥𝐶 = 𝑦 / 𝑦𝑎 / 𝑥𝐶
52 csbid 3896 . . . . . . . 8 𝑦 / 𝑦𝑎 / 𝑥𝐶 = 𝑎 / 𝑥𝐶
5351, 52eqtr2i 2845 . . . . . . 7 𝑎 / 𝑥𝐶 = 𝑦 / 𝑏𝑏 / 𝑦𝑎 / 𝑥𝐶
5453a1i 11 . . . . . 6 (𝜑𝑎 / 𝑥𝐶 = 𝑦 / 𝑏𝑏 / 𝑦𝑎 / 𝑥𝐶)
5554csbeq2dv 3890 . . . . 5 (𝜑𝑥 / 𝑎𝑎 / 𝑥𝐶 = 𝑥 / 𝑎𝑦 / 𝑏𝑏 / 𝑦𝑎 / 𝑥𝐶)
56 csbcow 3898 . . . . . 6 𝑥 / 𝑎𝑎 / 𝑥𝐶 = 𝑥 / 𝑥𝐶
57 csbid 3896 . . . . . 6 𝑥 / 𝑥𝐶 = 𝐶
5856, 57eqtri 2844 . . . . 5 𝑥 / 𝑎𝑎 / 𝑥𝐶 = 𝐶
59 csbcom 4369 . . . . 5 𝑥 / 𝑎𝑦 / 𝑏𝑏 / 𝑦𝑎 / 𝑥𝐶 = 𝑦 / 𝑏𝑥 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶
6055, 58, 593eqtr3g 2879 . . . 4 (𝜑𝐶 = 𝑦 / 𝑏𝑥 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶)
61 csbeq1 3886 . . . . . . 7 (𝑥 = 𝐴𝑥 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶 = 𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶)
6261adantr 483 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵) → 𝑥 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶 = 𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶)
6362csbeq2dv 3890 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝐵) → 𝑦 / 𝑏𝑥 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶 = 𝑦 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶)
64 csbeq1 3886 . . . . . 6 (𝑦 = 𝐵𝑦 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶 = 𝐵 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶)
6564adantl 484 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝐵) → 𝑦 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶 = 𝐵 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶)
6663, 65eqtrd 2856 . . . 4 ((𝑥 = 𝐴𝑦 = 𝐵) → 𝑦 / 𝑏𝑥 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶 = 𝐵 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶)
6760, 66sylan9eq 2876 . . 3 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → 𝐶 = 𝐵 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶)
68 eqidd 2822 . . 3 ((𝜑𝑥 = 𝐴) → 𝑌 = 𝑌)
69 nfv 1915 . . 3 𝑥𝜑
70 nfv 1915 . . 3 𝑦𝜑
71 nfcv 2977 . . 3 𝑦𝐴
72 nfcv 2977 . . 3 𝑥𝐵
73 nfcv 2977 . . . . 5 𝑥𝐴
7473, 32nfcsbw 3909 . . . 4 𝑥𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶
7572, 74nfcsbw 3909 . . 3 𝑥𝐵 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶
769, 14nfcxfr 2975 . . 3 𝑦𝐵 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶
7750, 67, 68, 10, 1, 23, 69, 70, 71, 72, 75, 76ovmpodxf 7300 . 2 (𝜑 → (𝐴𝐹𝐵) = 𝐵 / 𝑏𝐴 / 𝑎𝑏 / 𝑦𝑎 / 𝑥𝐶)
7826, 49, 773eqtr4d 2866 1 (𝜑 → ((curry 𝐹𝐴)‘𝐵) = (𝐴𝐹𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1537  wcel 2114  wral 3138  csb 3883  cmpt 5146  cfv 6355  (class class class)co 7156  cmpo 7158  curry ccur 7931
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-rep 5190  ax-sep 5203  ax-nul 5210  ax-pow 5266  ax-pr 5330  ax-un 7461
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-fal 1550  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-ral 3143  df-rex 3144  df-reu 3145  df-rab 3147  df-v 3496  df-sbc 3773  df-csb 3884  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4839  df-iun 4921  df-br 5067  df-opab 5129  df-mpt 5147  df-id 5460  df-xp 5561  df-rel 5562  df-cnv 5563  df-co 5564  df-dm 5565  df-rn 5566  df-res 5567  df-ima 5568  df-iota 6314  df-fun 6357  df-fn 6358  df-f 6359  df-f1 6360  df-fo 6361  df-f1o 6362  df-fv 6363  df-ov 7159  df-oprab 7160  df-mpo 7161  df-1st 7689  df-2nd 7690  df-cur 7933
This theorem is referenced by:  pmatcollpw3lem  21391  logbfval  25368
  Copyright terms: Public domain W3C validator