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

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

Proof of Theorem mpt2mptsx
Dummy variables 𝑣 𝑢 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 vex 2617 . . . . . 6 𝑢 ∈ V
2 vex 2617 . . . . . 6 𝑣 ∈ V
31, 2op1std 5857 . . . . 5 (𝑧 = ⟨𝑢, 𝑣⟩ → (1st𝑧) = 𝑢)
43csbeq1d 2927 . . . 4 (𝑧 = ⟨𝑢, 𝑣⟩ → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 = 𝑢 / 𝑥(2nd𝑧) / 𝑦𝐶)
51, 2op2ndd 5858 . . . . . 6 (𝑧 = ⟨𝑢, 𝑣⟩ → (2nd𝑧) = 𝑣)
65csbeq1d 2927 . . . . 5 (𝑧 = ⟨𝑢, 𝑣⟩ → (2nd𝑧) / 𝑦𝐶 = 𝑣 / 𝑦𝐶)
76csbeq2dv 2944 . . . 4 (𝑧 = ⟨𝑢, 𝑣⟩ → 𝑢 / 𝑥(2nd𝑧) / 𝑦𝐶 = 𝑢 / 𝑥𝑣 / 𝑦𝐶)
84, 7eqtrd 2117 . . 3 (𝑧 = ⟨𝑢, 𝑣⟩ → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 = 𝑢 / 𝑥𝑣 / 𝑦𝐶)
98mpt2mptx 5677 . 2 (𝑧 𝑢𝐴 ({𝑢} × 𝑢 / 𝑥𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶) = (𝑢𝐴, 𝑣𝑢 / 𝑥𝐵𝑢 / 𝑥𝑣 / 𝑦𝐶)
10 nfcv 2225 . . . 4 𝑢({𝑥} × 𝐵)
11 nfcv 2225 . . . . 5 𝑥{𝑢}
12 nfcsb1v 2951 . . . . 5 𝑥𝑢 / 𝑥𝐵
1311, 12nfxp 4430 . . . 4 𝑥({𝑢} × 𝑢 / 𝑥𝐵)
14 sneq 3436 . . . . 5 (𝑥 = 𝑢 → {𝑥} = {𝑢})
15 csbeq1a 2929 . . . . 5 (𝑥 = 𝑢𝐵 = 𝑢 / 𝑥𝐵)
1614, 15xpeq12d 4429 . . . 4 (𝑥 = 𝑢 → ({𝑥} × 𝐵) = ({𝑢} × 𝑢 / 𝑥𝐵))
1710, 13, 16cbviun 3744 . . 3 𝑥𝐴 ({𝑥} × 𝐵) = 𝑢𝐴 ({𝑢} × 𝑢 / 𝑥𝐵)
18 mpteq1 3891 . . 3 ( 𝑥𝐴 ({𝑥} × 𝐵) = 𝑢𝐴 ({𝑢} × 𝑢 / 𝑥𝐵) → (𝑧 𝑥𝐴 ({𝑥} × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶) = (𝑧 𝑢𝐴 ({𝑢} × 𝑢 / 𝑥𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶))
1917, 18ax-mp 7 . 2 (𝑧 𝑥𝐴 ({𝑥} × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶) = (𝑧 𝑢𝐴 ({𝑢} × 𝑢 / 𝑥𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶)
20 nfcv 2225 . . 3 𝑢𝐵
21 nfcv 2225 . . 3 𝑢𝐶
22 nfcv 2225 . . 3 𝑣𝐶
23 nfcsb1v 2951 . . 3 𝑥𝑢 / 𝑥𝑣 / 𝑦𝐶
24 nfcv 2225 . . . 4 𝑦𝑢
25 nfcsb1v 2951 . . . 4 𝑦𝑣 / 𝑦𝐶
2624, 25nfcsb 2953 . . 3 𝑦𝑢 / 𝑥𝑣 / 𝑦𝐶
27 csbeq1a 2929 . . . 4 (𝑦 = 𝑣𝐶 = 𝑣 / 𝑦𝐶)
28 csbeq1a 2929 . . . 4 (𝑥 = 𝑢𝑣 / 𝑦𝐶 = 𝑢 / 𝑥𝑣 / 𝑦𝐶)
2927, 28sylan9eqr 2139 . . 3 ((𝑥 = 𝑢𝑦 = 𝑣) → 𝐶 = 𝑢 / 𝑥𝑣 / 𝑦𝐶)
3020, 12, 21, 22, 23, 26, 15, 29cbvmpt2x 5664 . 2 (𝑥𝐴, 𝑦𝐵𝐶) = (𝑢𝐴, 𝑣𝑢 / 𝑥𝐵𝑢 / 𝑥𝑣 / 𝑦𝐶)
319, 19, 303eqtr4ri 2116 1 (𝑥𝐴, 𝑦𝐵𝐶) = (𝑧 𝑥𝐴 ({𝑥} × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶)
Colors of variables: wff set class
Syntax hints:   = wceq 1287  csb 2921  {csn 3425  cop 3428   ciun 3707  cmpt 3868   × cxp 4402  cfv 4972  cmpt2 5596  1st c1st 5847  2nd c2nd 5848
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-io 663  ax-5 1379  ax-7 1380  ax-gen 1381  ax-ie1 1425  ax-ie2 1426  ax-8 1438  ax-10 1439  ax-11 1440  ax-i12 1441  ax-bndl 1442  ax-4 1443  ax-13 1447  ax-14 1448  ax-17 1462  ax-i9 1466  ax-ial 1470  ax-i5r 1471  ax-ext 2067  ax-sep 3925  ax-pow 3977  ax-pr 4003  ax-un 4227
This theorem depends on definitions:  df-bi 115  df-3an 924  df-tru 1290  df-nf 1393  df-sb 1690  df-eu 1948  df-mo 1949  df-clab 2072  df-cleq 2078  df-clel 2081  df-nfc 2214  df-ral 2360  df-rex 2361  df-v 2616  df-sbc 2829  df-csb 2922  df-un 2990  df-in 2992  df-ss 2999  df-pw 3411  df-sn 3431  df-pr 3432  df-op 3434  df-uni 3631  df-iun 3709  df-br 3815  df-opab 3869  df-mpt 3870  df-id 4087  df-xp 4410  df-rel 4411  df-cnv 4412  df-co 4413  df-dm 4414  df-rn 4415  df-iota 4937  df-fun 4974  df-fv 4980  df-oprab 5598  df-mpt2 5599  df-1st 5849  df-2nd 5850
This theorem is referenced by:  mpt2mpts  5906  mpt2fvex  5911
  Copyright terms: Public domain W3C validator