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

Theorem mpomptsx 8073
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 3455 . . . . . 6 𝑢 ∈ V
2 vex 3455 . . . . . 6 𝑣 ∈ V
31, 2op1std 8009 . . . . 5 (𝑧 = ⟨𝑢, 𝑣⟩ → (1st ‘𝑧) = 𝑢)
43csbeq1d 3851 . . . 4 (𝑧 = ⟨𝑢, 𝑣⟩ → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶 = ⦋𝑢 / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶)
51, 2op2ndd 8010 . . . . . 6 (𝑧 = ⟨𝑢, 𝑣⟩ → (2nd ‘𝑧) = 𝑣)
65csbeq1d 3851 . . . . 5 (𝑧 = ⟨𝑢, 𝑣⟩ → ⦋(2nd ‘𝑧) / 𝑦⦌𝐶 = ⦋𝑣 / 𝑦⦌𝐶)
76csbeq2dv 3854 . . . 4 (𝑧 = ⟨𝑢, 𝑣⟩ → ⦋𝑢 / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶 = ⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶)
84, 7eqtrd 2796 . . 3 (𝑧 = ⟨𝑢, 𝑣⟩ → ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶 = ⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶)
98mpomptx 7531 . 2 (𝑧 ∈ ∪ 𝑢 ∈ 𝐴 ({𝑢} × ⦋𝑢 / 𝑥⦌𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶) = (𝑢 ∈ 𝐴, 𝑣 ∈ ⦋𝑢 / 𝑥⦌𝐵 ↦ ⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶)
10 nfcv 2923 . . . 4 Ⅎ𝑢({𝑥} × 𝐵)
11 nfcv 2923 . . . . 5 Ⅎ𝑥{𝑢}
12 nfcsb1v 3871 . . . . 5 Ⅎ𝑥⦋𝑢 / 𝑥⦌𝐵
1311, 12nfxp 5684 . . . 4 Ⅎ𝑥({𝑢} × ⦋𝑢 / 𝑥⦌𝐵)
14 sneq 4594 . . . . 5 (𝑥 = 𝑢 → {𝑥} = {𝑢})
15 csbeq1a 3861 . . . . 5 (𝑥 = 𝑢 → 𝐵 = ⦋𝑢 / 𝑥⦌𝐵)
1614, 15xpeq12d 5682 . . . 4 (𝑥 = 𝑢 → ({𝑥} × 𝐵) = ({𝑢} × ⦋𝑢 / 𝑥⦌𝐵))
1710, 13, 16cbviun 4993 . . 3 ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵) = ∪ 𝑢 ∈ 𝐴 ({𝑢} × ⦋𝑢 / 𝑥⦌𝐵)
1817mpteq1i 5196 . 2 (𝑧 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶) = (𝑧 ∈ ∪ 𝑢 ∈ 𝐴 ({𝑢} × ⦋𝑢 / 𝑥⦌𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶)
19 nfcv 2923 . . 3 Ⅎ𝑢𝐵
20 nfcv 2923 . . 3 Ⅎ𝑢𝐶
21 nfcv 2923 . . 3 Ⅎ𝑣𝐶
22 nfcsb1v 3871 . . 3 Ⅎ𝑥⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶
23 nfcv 2923 . . . 4 Ⅎ𝑦𝑢
24 nfcsb1v 3871 . . . 4 Ⅎ𝑦⦋𝑣 / 𝑦⦌𝐶
2523, 24nfcsbw 3873 . . 3 Ⅎ𝑦⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶
26 csbeq1a 3861 . . . 4 (𝑦 = 𝑣 → 𝐶 = ⦋𝑣 / 𝑦⦌𝐶)
27 csbeq1a 3861 . . . 4 (𝑥 = 𝑢 → ⦋𝑣 / 𝑦⦌𝐶 = ⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶)
2826, 27sylan9eqr 2818 . . 3 ((𝑥 = 𝑢 ∧ 𝑦 = 𝑣) → 𝐶 = ⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶)
2919, 12, 20, 21, 22, 25, 15, 28cbvmpox 7511 . 2 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶) = (𝑢 ∈ 𝐴, 𝑣 ∈ ⦋𝑢 / 𝑥⦌𝐵 ↦ ⦋𝑢 / 𝑥⦌⦋𝑣 / 𝑦⦌𝐶)
309, 18, 293eqtr4ri 2795 1 (𝑥 ∈ 𝐴, 𝑦 ∈ 𝐵 ↦ 𝐶) = (𝑧 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × 𝐵) ↦ ⦋(1st ‘𝑧) / 𝑥⦌⦋(2nd ‘𝑧) / 𝑦⦌𝐶)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1570  ⦋csb 3847  {csn 4584  ⟨cop 4590  ∪ ciun 4951   ↦ cmpt 5186   × cxp 5649  ‘cfv 6537   ∈ cmpo 7420  1st c1st 7997  2nd c2nd 7998
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391  ax-un 7749
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 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-iota 6493  df-fun 6539  df-fv 6545  df-oprab 7422  df-mpo 7423  df-1st 7999  df-2nd 8000
This theorem is used by:  mpompts  8074  ovmptss  8102
  Copyright terms: Public domain W3C validator