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

Theorem mpomptsx 8110
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 3458 . . . . . 6 𝑢 ∈ V
2 vex 3458 . . . . . 6 𝑣 ∈ V
31, 2op1std 8045 . . . . 5 (𝑧 = ⟨𝑢, 𝑣⟩ → (1st ‘𝑧) = 𝑢)
43csbeq1d 3855 . . . 4 (𝑧 = ⟨𝑢, 𝑣⟩ → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶 = ⦋𝑢 / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶)
51, 2op2ndd 8046 . . . . . 6 (𝑧 = ⟨𝑢, 𝑣⟩ → (2nd ‘𝑧) = 𝑣)
65csbeq1d 3855 . . . . 5 (𝑧 = ⟨𝑢, 𝑣⟩ → ⦋(2nd ‘𝑧) / 𝑦⦌𝐶 = ⦋𝑣 / 𝑦⦌𝐶)
76csbeq2dv 3858 . . . 4 (𝑧 = ⟨𝑢, 𝑣⟩ → ⦋𝑢 / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶 = ⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶)
84, 7eqtrd 2798 . . 3 (𝑧 = ⟨𝑢, 𝑣⟩ → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶 = ⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶)
98mpomptx 7564 . 2 (𝑧 ∈ ∪ 𝑢 ∈ 𝐴 ({𝑢} × ⦋𝑢 / 𝑥⦌𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶) = (𝑢 ∈ 𝐴, 𝑣 ∈ ⦋𝑢 / 𝑥⦌𝐵 ↦ ⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶)
10 nfcv 2926 . . . 4 Ⅎ𝑢({𝑥} × 𝐵)
11 nfcv 2926 . . . . 5 Ⅎ𝑥{𝑢}
12 nfcsb1v 3875 . . . . 5 Ⅎ𝑥⦋𝑢 / 𝑥⦌𝐵
1311, 12nfxp 5691 . . . 4 Ⅎ𝑥({𝑢} × ⦋𝑢 / 𝑥⦌𝐵)
14 sneq 4594 . . . . 5 (𝑥 = 𝑢 → {𝑥} = {𝑢})
15 csbeq1a 3865 . . . . 5 (𝑥 = 𝑢 → 𝐵 = ⦋𝑢 / 𝑥⦌𝐵)
1614, 15xpeq12d 5689 . . . 4 (𝑥 = 𝑢 → ({𝑥} × 𝐵) = ({𝑢} × ⦋𝑢 / 𝑥⦌𝐵))
1710, 13, 16cbviun 4998 . . 3 ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵) = ∪ 𝑢 ∈ 𝐴 ({𝑢} × ⦋𝑢 / 𝑥⦌𝐵)
1817mpteq1i 5202 . 2 (𝑧 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶) = (𝑧 ∈ ∪ 𝑢 ∈ 𝐴 ({𝑢} × ⦋𝑢 / 𝑥⦌𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶)
19 nfcv 2926 . . 3 Ⅎ𝑢𝐵
20 nfcv 2926 . . 3 Ⅎ𝑢𝐶
21 nfcv 2926 . . 3 Ⅎ𝑣𝐶
22 nfcsb1v 3875 . . 3 Ⅎ𝑥⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶
23 nfcv 2926 . . . 4 Ⅎ𝑦𝑢
24 nfcsb1v 3875 . . . 4 Ⅎ𝑦⦋𝑣 / 𝑦⦌𝐶
2523, 24nfcsbw 3877 . . 3 Ⅎ𝑦⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶
26 csbeq1a 3865 . . . 4 (𝑦 = 𝑣 → 𝐶 = ⦋𝑣 / 𝑦⦌𝐶)
27 csbeq1a 3865 . . . 4 (𝑥 = 𝑢 → ⦋𝑣 / 𝑦⦌𝐶 = ⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶)
2826, 27sylan9eqr 2820 . . 3 ((𝑥 = 𝑢 ∧ 𝑦 = 𝑣) → 𝐶 = ⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶)
2919, 12, 20, 21, 22, 25, 15, 28cbvmpox 7544 . 2 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶) = (𝑢 ∈ 𝐴, 𝑣 ∈ ⦋𝑢 / 𝑥⦌𝐵 ↦ ⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶)
309, 18, 293eqtr4ri 2797 1 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶) = (𝑧 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1570  ⦋csb 3851  {csn 4588  ⟨cop 4840  ∪ ciun 4956   ↦ cmpt 5192   × cxp 5656  ‘cfv 6566   ∈ cmpo 7453  1st c1st 8033  2nd c2nd 8034
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pr 5398  ax-un 7783
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-iun 4958  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-iota 6520  df-fun 6568  df-fv 6574  df-oprab 7455  df-mpo 7456  df-1st 8035  df-2nd 8036
This theorem is used by:  mpompts  8111  ovmptssOLD  8140
  Copyright terms: Public domain W3C validator