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

Theorem mpomptsx 7924
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 3438 . . . . . 6 𝑢 ∈ V
2 vex 3438 . . . . . 6 𝑣 ∈ V
31, 2op1std 7861 . . . . 5 (𝑧 = ⟨𝑢, 𝑣⟩ → (1st𝑧) = 𝑢)
43csbeq1d 3838 . . . 4 (𝑧 = ⟨𝑢, 𝑣⟩ → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 = 𝑢 / 𝑥(2nd𝑧) / 𝑦𝐶)
51, 2op2ndd 7862 . . . . . 6 (𝑧 = ⟨𝑢, 𝑣⟩ → (2nd𝑧) = 𝑣)
65csbeq1d 3838 . . . . 5 (𝑧 = ⟨𝑢, 𝑣⟩ → (2nd𝑧) / 𝑦𝐶 = 𝑣 / 𝑦𝐶)
76csbeq2dv 3841 . . . 4 (𝑧 = ⟨𝑢, 𝑣⟩ → 𝑢 / 𝑥(2nd𝑧) / 𝑦𝐶 = 𝑢 / 𝑥𝑣 / 𝑦𝐶)
84, 7eqtrd 2773 . . 3 (𝑧 = ⟨𝑢, 𝑣⟩ → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 = 𝑢 / 𝑥𝑣 / 𝑦𝐶)
98mpomptx 7407 . 2 (𝑧 𝑢𝐴 ({𝑢} × 𝑢 / 𝑥𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶) = (𝑢𝐴, 𝑣𝑢 / 𝑥𝐵𝑢 / 𝑥𝑣 / 𝑦𝐶)
10 nfcv 2902 . . . 4 𝑢({𝑥} × 𝐵)
11 nfcv 2902 . . . . 5 𝑥{𝑢}
12 nfcsb1v 3859 . . . . 5 𝑥𝑢 / 𝑥𝐵
1311, 12nfxp 5624 . . . 4 𝑥({𝑢} × 𝑢 / 𝑥𝐵)
14 sneq 4574 . . . . 5 (𝑥 = 𝑢 → {𝑥} = {𝑢})
15 csbeq1a 3848 . . . . 5 (𝑥 = 𝑢𝐵 = 𝑢 / 𝑥𝐵)
1614, 15xpeq12d 5622 . . . 4 (𝑥 = 𝑢 → ({𝑥} × 𝐵) = ({𝑢} × 𝑢 / 𝑥𝐵))
1710, 13, 16cbviun 4969 . . 3 𝑥𝐴 ({𝑥} × 𝐵) = 𝑢𝐴 ({𝑢} × 𝑢 / 𝑥𝐵)
1817mpteq1i 5173 . 2 (𝑧 𝑥𝐴 ({𝑥} × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶) = (𝑧 𝑢𝐴 ({𝑢} × 𝑢 / 𝑥𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶)
19 nfcv 2902 . . 3 𝑢𝐵
20 nfcv 2902 . . 3 𝑢𝐶
21 nfcv 2902 . . 3 𝑣𝐶
22 nfcsb1v 3859 . . 3 𝑥𝑢 / 𝑥𝑣 / 𝑦𝐶
23 nfcv 2902 . . . 4 𝑦𝑢
24 nfcsb1v 3859 . . . 4 𝑦𝑣 / 𝑦𝐶
2523, 24nfcsbw 3861 . . 3 𝑦𝑢 / 𝑥𝑣 / 𝑦𝐶
26 csbeq1a 3848 . . . 4 (𝑦 = 𝑣𝐶 = 𝑣 / 𝑦𝐶)
27 csbeq1a 3848 . . . 4 (𝑥 = 𝑢𝑣 / 𝑦𝐶 = 𝑢 / 𝑥𝑣 / 𝑦𝐶)
2826, 27sylan9eqr 2795 . . 3 ((𝑥 = 𝑢𝑦 = 𝑣) → 𝐶 = 𝑢 / 𝑥𝑣 / 𝑦𝐶)
2919, 12, 20, 21, 22, 25, 15, 28cbvmpox 7388 . 2 (𝑥𝐴, 𝑦𝐵𝐶) = (𝑢𝐴, 𝑣𝑢 / 𝑥𝐵𝑢 / 𝑥𝑣 / 𝑦𝐶)
309, 18, 293eqtr4ri 2772 1 (𝑥𝐴, 𝑦𝐵𝐶) = (𝑧 𝑥𝐴 ({𝑥} × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶)
Colors of variables: wff setvar class
Syntax hints:   = wceq 1537  csb 3834  {csn 4564  cop 4570   ciun 4927  cmpt 5160   × cxp 5589  cfv 6447  cmpo 7297  1st c1st 7849  2nd c2nd 7850
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2103  ax-9 2111  ax-10 2132  ax-11 2149  ax-12 2166  ax-ext 2704  ax-sep 5226  ax-nul 5233  ax-pr 5355  ax-un 7608
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1540  df-fal 1550  df-ex 1778  df-nf 1782  df-sb 2063  df-mo 2535  df-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2884  df-ral 3060  df-rex 3069  df-rab 3224  df-v 3436  df-sbc 3719  df-csb 3835  df-dif 3892  df-un 3894  df-in 3896  df-ss 3906  df-nul 4260  df-if 4463  df-sn 4565  df-pr 4567  df-op 4571  df-uni 4842  df-iun 4929  df-br 5078  df-opab 5140  df-mpt 5161  df-id 5491  df-xp 5597  df-rel 5598  df-cnv 5599  df-co 5600  df-dm 5601  df-rn 5602  df-iota 6399  df-fun 6449  df-fv 6455  df-oprab 7299  df-mpo 7300  df-1st 7851  df-2nd 7852
This theorem is referenced by:  mpompts  7925  ovmptss  7953
  Copyright terms: Public domain W3C validator