ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  mpomptsx GIF version

Theorem mpomptsx 6145
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 2715 . . . . . 6 𝑢 ∈ V
2 vex 2715 . . . . . 6 𝑣 ∈ V
31, 2op1std 6096 . . . . 5 (𝑧 = ⟨𝑢, 𝑣⟩ → (1st𝑧) = 𝑢)
43csbeq1d 3038 . . . 4 (𝑧 = ⟨𝑢, 𝑣⟩ → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 = 𝑢 / 𝑥(2nd𝑧) / 𝑦𝐶)
51, 2op2ndd 6097 . . . . . 6 (𝑧 = ⟨𝑢, 𝑣⟩ → (2nd𝑧) = 𝑣)
65csbeq1d 3038 . . . . 5 (𝑧 = ⟨𝑢, 𝑣⟩ → (2nd𝑧) / 𝑦𝐶 = 𝑣 / 𝑦𝐶)
76csbeq2dv 3057 . . . 4 (𝑧 = ⟨𝑢, 𝑣⟩ → 𝑢 / 𝑥(2nd𝑧) / 𝑦𝐶 = 𝑢 / 𝑥𝑣 / 𝑦𝐶)
84, 7eqtrd 2190 . . 3 (𝑧 = ⟨𝑢, 𝑣⟩ → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 = 𝑢 / 𝑥𝑣 / 𝑦𝐶)
98mpomptx 5912 . 2 (𝑧 𝑢𝐴 ({𝑢} × 𝑢 / 𝑥𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶) = (𝑢𝐴, 𝑣𝑢 / 𝑥𝐵𝑢 / 𝑥𝑣 / 𝑦𝐶)
10 nfcv 2299 . . . 4 𝑢({𝑥} × 𝐵)
11 nfcv 2299 . . . . 5 𝑥{𝑢}
12 nfcsb1v 3064 . . . . 5 𝑥𝑢 / 𝑥𝐵
1311, 12nfxp 4613 . . . 4 𝑥({𝑢} × 𝑢 / 𝑥𝐵)
14 sneq 3571 . . . . 5 (𝑥 = 𝑢 → {𝑥} = {𝑢})
15 csbeq1a 3040 . . . . 5 (𝑥 = 𝑢𝐵 = 𝑢 / 𝑥𝐵)
1614, 15xpeq12d 4611 . . . 4 (𝑥 = 𝑢 → ({𝑥} × 𝐵) = ({𝑢} × 𝑢 / 𝑥𝐵))
1710, 13, 16cbviun 3886 . . 3 𝑥𝐴 ({𝑥} × 𝐵) = 𝑢𝐴 ({𝑢} × 𝑢 / 𝑥𝐵)
18 mpteq1 4048 . . 3 ( 𝑥𝐴 ({𝑥} × 𝐵) = 𝑢𝐴 ({𝑢} × 𝑢 / 𝑥𝐵) → (𝑧 𝑥𝐴 ({𝑥} × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶) = (𝑧 𝑢𝐴 ({𝑢} × 𝑢 / 𝑥𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶))
1917, 18ax-mp 5 . 2 (𝑧 𝑥𝐴 ({𝑥} × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶) = (𝑧 𝑢𝐴 ({𝑢} × 𝑢 / 𝑥𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶)
20 nfcv 2299 . . 3 𝑢𝐵
21 nfcv 2299 . . 3 𝑢𝐶
22 nfcv 2299 . . 3 𝑣𝐶
23 nfcsb1v 3064 . . 3 𝑥𝑢 / 𝑥𝑣 / 𝑦𝐶
24 nfcv 2299 . . . 4 𝑦𝑢
25 nfcsb1v 3064 . . . 4 𝑦𝑣 / 𝑦𝐶
2624, 25nfcsb 3068 . . 3 𝑦𝑢 / 𝑥𝑣 / 𝑦𝐶
27 csbeq1a 3040 . . . 4 (𝑦 = 𝑣𝐶 = 𝑣 / 𝑦𝐶)
28 csbeq1a 3040 . . . 4 (𝑥 = 𝑢𝑣 / 𝑦𝐶 = 𝑢 / 𝑥𝑣 / 𝑦𝐶)
2927, 28sylan9eqr 2212 . . 3 ((𝑥 = 𝑢𝑦 = 𝑣) → 𝐶 = 𝑢 / 𝑥𝑣 / 𝑦𝐶)
3020, 12, 21, 22, 23, 26, 15, 29cbvmpox 5899 . 2 (𝑥𝐴, 𝑦𝐵𝐶) = (𝑢𝐴, 𝑣𝑢 / 𝑥𝐵𝑢 / 𝑥𝑣 / 𝑦𝐶)
319, 19, 303eqtr4ri 2189 1 (𝑥𝐴, 𝑦𝐵𝐶) = (𝑧 𝑥𝐴 ({𝑥} × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶)
Colors of variables: wff set class
Syntax hints:   = wceq 1335  csb 3031  {csn 3560  cop 3563   ciun 3849  cmpt 4025   × cxp 4584  cfv 5170  cmpo 5826  1st c1st 6086  2nd c2nd 6087
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1427  ax-7 1428  ax-gen 1429  ax-ie1 1473  ax-ie2 1474  ax-8 1484  ax-10 1485  ax-11 1486  ax-i12 1487  ax-bndl 1489  ax-4 1490  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-13 2130  ax-14 2131  ax-ext 2139  ax-sep 4082  ax-pow 4135  ax-pr 4169  ax-un 4393
This theorem depends on definitions:  df-bi 116  df-3an 965  df-tru 1338  df-nf 1441  df-sb 1743  df-eu 2009  df-mo 2010  df-clab 2144  df-cleq 2150  df-clel 2153  df-nfc 2288  df-ral 2440  df-rex 2441  df-v 2714  df-sbc 2938  df-csb 3032  df-un 3106  df-in 3108  df-ss 3115  df-pw 3545  df-sn 3566  df-pr 3567  df-op 3569  df-uni 3773  df-iun 3851  df-br 3966  df-opab 4026  df-mpt 4027  df-id 4253  df-xp 4592  df-rel 4593  df-cnv 4594  df-co 4595  df-dm 4596  df-rn 4597  df-iota 5135  df-fun 5172  df-fv 5178  df-oprab 5828  df-mpo 5829  df-1st 6088  df-2nd 6089
This theorem is referenced by:  mpompts  6146  mpofvex  6151
  Copyright terms: Public domain W3C validator