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

Theorem mpomptsx 8126
Description: Express a two-argument function as a one-argument function, or vice-versa. (Contributed by Mario Carneiro, 24-Dec-2016.)
Assertion
Ref Expression
mpomptsx (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶) = (𝑧 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶)
Distinct variable groups:   𝑥,𝑦,𝑧,𝐴   𝑦,𝐵,𝑧   𝑧,𝐶
Allowed substitution hints:   𝐵(𝑥)   𝐶(𝑥, 𝑦)

Proof of Theorem mpomptsx
Dummy variables 𝑣 𝑢 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 vex 3465 . . . . . 6 𝑢 ∈ V
2 vex 3465 . . . . . 6 𝑣 ∈ V
31, 2op1std 8061 . . . . 5 (𝑧 = ⟨𝑢, 𝑣⟩ → (1st ‘𝑧) = 𝑢)
43csbeq1d 3862 . . . 4 (𝑧 = ⟨𝑢, 𝑣⟩ → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶 = ⦋𝑢 / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶)
51, 2op2ndd 8062 . . . . . 6 (𝑧 = ⟨𝑢, 𝑣⟩ → (2nd ‘𝑧) = 𝑣)
65csbeq1d 3862 . . . . 5 (𝑧 = ⟨𝑢, 𝑣⟩ → ⦋(2nd ‘𝑧) / 𝑦⦌𝐶 = ⦋𝑣 / 𝑦⦌𝐶)
76csbeq2dv 3865 . . . 4 (𝑧 = ⟨𝑢, 𝑣⟩ → ⦋𝑢 / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶 = ⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶)
84, 7eqtrd 2809 . . 3 (𝑧 = ⟨𝑢, 𝑣⟩ → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶 = ⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶)
98mpomptx 7580 . 2 (𝑧 ∈ ∪ 𝑢 ∈ 𝐴 ({𝑢} × ⦋𝑢 / 𝑥⦌𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶) = (𝑢 ∈ 𝐴, 𝑣 ∈ ⦋𝑢 / 𝑥⦌𝐵 ↦ ⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶)
10 nfcv 2937 . . . 4 Ⅎ𝑢({𝑥} × 𝐵)
11 nfcv 2937 . . . . 5 Ⅎ𝑥{𝑢}
12 nfcsb1v 3882 . . . . 5 Ⅎ𝑥⦋𝑢 / 𝑥⦌𝐵
1311, 12nfxp 5699 . . . 4 Ⅎ𝑥({𝑢} × ⦋𝑢 / 𝑥⦌𝐵)
14 sneq 4601 . . . . 5 (𝑥 = 𝑢 → {𝑥} = {𝑢})
15 csbeq1a 3872 . . . . 5 (𝑥 = 𝑢 → 𝐵 = ⦋𝑢 / 𝑥⦌𝐵)
1614, 15xpeq12d 5697 . . . 4 (𝑥 = 𝑢 → ({𝑥} × 𝐵) = ({𝑢} × ⦋𝑢 / 𝑥⦌𝐵))
1710, 13, 16cbviun 5006 . . 3 ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵) = ∪ 𝑢 ∈ 𝐴 ({𝑢} × ⦋𝑢 / 𝑥⦌𝐵)
1817mpteq1i 5210 . 2 (𝑧 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶) = (𝑧 ∈ ∪ 𝑢 ∈ 𝐴 ({𝑢} × ⦋𝑢 / 𝑥⦌𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶)
19 nfcv 2937 . . 3 Ⅎ𝑢𝐵
20 nfcv 2937 . . 3 Ⅎ𝑢𝐶
21 nfcv 2937 . . 3 Ⅎ𝑣𝐶
22 nfcsb1v 3882 . . 3 Ⅎ𝑥⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶
23 nfcv 2937 . . . 4 Ⅎ𝑦𝑢
24 nfcsb1v 3882 . . . 4 Ⅎ𝑦⦋𝑣 / 𝑦⦌𝐶
2523, 24nfcsbw 3884 . . 3 Ⅎ𝑦⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶
26 csbeq1a 3872 . . . 4 (𝑦 = 𝑣 → 𝐶 = ⦋𝑣 / 𝑦⦌𝐶)
27 csbeq1a 3872 . . . 4 (𝑥 = 𝑢 → ⦋𝑣 / 𝑦⦌𝐶 = ⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶)
2826, 27sylan9eqr 2831 . . 3 ((𝑥 = 𝑢 ∧ 𝑦 = 𝑣) → 𝐶 = ⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶)
2919, 12, 20, 21, 22, 25, 15, 28cbvmpox 7560 . 2 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶) = (𝑢 ∈ 𝐴, 𝑣 ∈ ⦋𝑢 / 𝑥⦌𝐵 ↦ ⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶)
309, 18, 293eqtr4ri 2808 1 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶) = (𝑧 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1572  ⦋csb 3858  {csn 4595  ⟨cop 4848  ∪ ciun 4964   ↦ cmpt 5200   × cxp 5664  ‘cfv 6578   ∈ cmpo 7469  1st c1st 8049  2nd c2nd 8050
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pr 5406  ax-un 7799
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-iota 6532  df-fun 6580  df-fv 6586  df-oprab 7471  df-mpo 7472  df-1st 8051  df-2nd 8052
This theorem is used by:  mpompts  8127  ovmptssOLD  8156
  Copyright terms: Public domain W3C validator