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

Theorem mpomptsx 6437
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 2824 . . . . . 6 𝑢 ∈ V
2 vex 2824 . . . . . 6 𝑣 ∈ V
31, 2op1std 6386 . . . . 5 (𝑧 = ⟨𝑢, 𝑣⟩ → (1st ‘𝑧) = 𝑢)
43csbeq1d 3154 . . . 4 (𝑧 = ⟨𝑢, 𝑣⟩ → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶 = ⦋𝑢 / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶)
51, 2op2ndd 6387 . . . . . 6 (𝑧 = ⟨𝑢, 𝑣⟩ → (2nd ‘𝑧) = 𝑣)
65csbeq1d 3154 . . . . 5 (𝑧 = ⟨𝑢, 𝑣⟩ → ⦋(2nd ‘𝑧) / 𝑦⦌𝐶 = ⦋𝑣 / 𝑦⦌𝐶)
76csbeq2dv 3173 . . . 4 (𝑧 = ⟨𝑢, 𝑣⟩ → ⦋𝑢 / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶 = ⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶)
84, 7eqtrd 2271 . . 3 (𝑧 = ⟨𝑢, 𝑣⟩ → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶 = ⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶)
98mpomptx 6182 . 2 (𝑧 ∈ ∪ 𝑢 ∈ 𝐴 ({𝑢} × ⦋𝑢 / 𝑥⦌𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶) = (𝑢 ∈ 𝐴, 𝑣 ∈ ⦋𝑢 / 𝑥⦌𝐵 ↦ ⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶)
10 nfcv 2392 . . . 4 Ⅎ𝑢({𝑥} × 𝐵)
11 nfcv 2392 . . . . 5 Ⅎ𝑥{𝑢}
12 nfcsb1v 3180 . . . . 5 Ⅎ𝑥⦋𝑢 / 𝑥⦌𝐵
1311, 12nfxp 4803 . . . 4 Ⅎ𝑥({𝑢} × ⦋𝑢 / 𝑥⦌𝐵)
14 sneq 3720 . . . . 5 (𝑥 = 𝑢 → {𝑥} = {𝑢})
15 csbeq1a 3156 . . . . 5 (𝑥 = 𝑢 → 𝐵 = ⦋𝑢 / 𝑥⦌𝐵)
1614, 15xpeq12d 4801 . . . 4 (𝑥 = 𝑢 → ({𝑥} × 𝐵) = ({𝑢} × ⦋𝑢 / 𝑥⦌𝐵))
1710, 13, 16cbviun 4049 . . 3 ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵) = ∪ 𝑢 ∈ 𝐴 ({𝑢} × ⦋𝑢 / 𝑥⦌𝐵)
18 mpteq1 4216 . . 3 (∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵) = ∪ 𝑢 ∈ 𝐴 ({𝑢} × ⦋𝑢 / 𝑥⦌𝐵) → (𝑧 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶) = (𝑧 ∈ ∪ 𝑢 ∈ 𝐴 ({𝑢} × ⦋𝑢 / 𝑥⦌𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶))
1917, 18ax-mp 5 . 2 (𝑧 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶) = (𝑧 ∈ ∪ 𝑢 ∈ 𝐴 ({𝑢} × ⦋𝑢 / 𝑥⦌𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶)
20 nfcv 2392 . . 3 Ⅎ𝑢𝐵
21 nfcv 2392 . . 3 Ⅎ𝑢𝐶
22 nfcv 2392 . . 3 Ⅎ𝑣𝐶
23 nfcsb1v 3180 . . 3 Ⅎ𝑥⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶
24 nfcv 2392 . . . 4 Ⅎ𝑦𝑢
25 nfcsb1v 3180 . . . 4 Ⅎ𝑦⦋𝑣 / 𝑦⦌𝐶
2624, 25nfcsb 3185 . . 3 Ⅎ𝑦⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶
27 csbeq1a 3156 . . . 4 (𝑦 = 𝑣 → 𝐶 = ⦋𝑣 / 𝑦⦌𝐶)
28 csbeq1a 3156 . . . 4 (𝑥 = 𝑢 → ⦋𝑣 / 𝑦⦌𝐶 = ⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶)
2927, 28sylan9eqr 2293 . . 3 ((𝑥 = 𝑢 ∧ 𝑦 = 𝑣) → 𝐶 = ⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶)
3020, 12, 21, 22, 23, 26, 15, 29cbvmpox 6169 . 2 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶) = (𝑢 ∈ 𝐴, 𝑣 ∈ ⦋𝑢 / 𝑥⦌𝐵 ↦ ⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶)
319, 19, 303eqtr4ri 2270 1 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶) = (𝑧 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶)
Colors of variables:    wff set class
This proof depends on syntax axioms:   = wceq 1402  ⦋csb 3147  {csn 3709  ⟨cop 3712  ∪ ciun 4012   ↦ cmpt 4193   × cxp 4774  ‘cfv 5380   ∈ cmpo 6090  1st c1st 6376  2nd c2nd 6377
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-14 2212  ax-ext 2220  ax-sep 4251  ax-pow 4313  ax-pr 4348  ax-un 4580
This proof depends on definitions:  df-bi 117  df-3an 1011  df-tru 1405  df-nf 1514  df-sb 1816  df-eu 2089  df-mo 2090  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ral 2533  df-rex 2534  df-v 2823  df-sbc 3052  df-csb 3148  df-un 3224  df-in 3226  df-ss 3233  df-pw 3690  df-sn 3715  df-pr 3716  df-op 3718  df-uni 3936  df-iun 4014  df-br 4132  df-opab 4194  df-mpt 4195  df-id 4440  df-xp 4782  df-rel 4783  df-cnv 4784  df-co 4785  df-dm 4786  df-rn 4787  df-iota 5340  df-fun 5382  df-fv 5388  df-oprab 6092  df-mpo 6093  df-1st 6378  df-2nd 6379
This theorem is used by:  mpompts  6438  mpofvex  6445
  Copyright terms: Public domain W3C validator