Metamath Proof Explorer


Theorem mpomptx

Description: Express a two-argument function as a one-argument function, or vice-versa. In this version B ( x ) is not assumed to be constant w.r.t x . (Contributed by Mario Carneiro, 29-Dec-2014)

Ref Expression
Hypothesis mpompt.1 z = x y C = D
Assertion mpomptx z x A x × B C = x A , y B D

Proof

Step Hyp Ref Expression
1 mpompt.1 z = x y C = D
2 df-mpt z x A x × B C = z w | z x A x × B w = C
3 df-mpo x A , y B D = x y w | x A y B w = D
4 eliunxp z x A x × B x y z = x y x A y B
5 4 anbi1i z x A x × B w = C x y z = x y x A y B w = C
6 19.41vv x y z = x y x A y B w = C x y z = x y x A y B w = C
7 anass z = x y x A y B w = C z = x y x A y B w = C
8 1 eqeq2d z = x y w = C w = D
9 8 anbi2d z = x y x A y B w = C x A y B w = D
10 9 pm5.32i z = x y x A y B w = C z = x y x A y B w = D
11 7 10 bitri z = x y x A y B w = C z = x y x A y B w = D
12 11 2exbii x y z = x y x A y B w = C x y z = x y x A y B w = D
13 5 6 12 3bitr2i z x A x × B w = C x y z = x y x A y B w = D
14 13 opabbii z w | z x A x × B w = C = z w | x y z = x y x A y B w = D
15 dfoprab2 x y w | x A y B w = D = z w | x y z = x y x A y B w = D
16 14 15 eqtr4i z w | z x A x × B w = C = x y w | x A y B w = D
17 3 16 eqtr4i x A , y B D = z w | z x A x × B w = C
18 2 17 eqtr4i z x A x × B C = x A , y B D