Metamath Proof Explorer


Theorem xpmapen

Description: Equinumerosity law for set exponentiation of a Cartesian product. Exercise 4.47 of Mendelson p. 255. (Contributed by NM, 23-Feb-2004) (Proof shortened by Mario Carneiro, 16-Nov-2014)

Ref Expression
Hypotheses xpmapen.1 𝐴 ∈ V
xpmapen.2 𝐵 ∈ V
xpmapen.3 𝐶 ∈ V
Assertion xpmapen ( ( 𝐴 × 𝐵 ) ↑m 𝐶 ) ≈ ( ( 𝐴m 𝐶 ) × ( 𝐵m 𝐶 ) )

Proof

Step Hyp Ref Expression
1 xpmapen.1 𝐴 ∈ V
2 xpmapen.2 𝐵 ∈ V
3 xpmapen.3 𝐶 ∈ V
4 2fveq3 ( 𝑤 = 𝑧 → ( 1st ‘ ( 𝑥𝑤 ) ) = ( 1st ‘ ( 𝑥𝑧 ) ) )
5 4 cbvmptv ( 𝑤𝐶 ↦ ( 1st ‘ ( 𝑥𝑤 ) ) ) = ( 𝑧𝐶 ↦ ( 1st ‘ ( 𝑥𝑧 ) ) )
6 2fveq3 ( 𝑤 = 𝑧 → ( 2nd ‘ ( 𝑥𝑤 ) ) = ( 2nd ‘ ( 𝑥𝑧 ) ) )
7 6 cbvmptv ( 𝑤𝐶 ↦ ( 2nd ‘ ( 𝑥𝑤 ) ) ) = ( 𝑧𝐶 ↦ ( 2nd ‘ ( 𝑥𝑧 ) ) )
8 fveq2 ( 𝑤 = 𝑧 → ( ( 1st𝑦 ) ‘ 𝑤 ) = ( ( 1st𝑦 ) ‘ 𝑧 ) )
9 fveq2 ( 𝑤 = 𝑧 → ( ( 2nd𝑦 ) ‘ 𝑤 ) = ( ( 2nd𝑦 ) ‘ 𝑧 ) )
10 8 9 opeq12d ( 𝑤 = 𝑧 → ⟨ ( ( 1st𝑦 ) ‘ 𝑤 ) , ( ( 2nd𝑦 ) ‘ 𝑤 ) ⟩ = ⟨ ( ( 1st𝑦 ) ‘ 𝑧 ) , ( ( 2nd𝑦 ) ‘ 𝑧 ) ⟩ )
11 10 cbvmptv ( 𝑤𝐶 ↦ ⟨ ( ( 1st𝑦 ) ‘ 𝑤 ) , ( ( 2nd𝑦 ) ‘ 𝑤 ) ⟩ ) = ( 𝑧𝐶 ↦ ⟨ ( ( 1st𝑦 ) ‘ 𝑧 ) , ( ( 2nd𝑦 ) ‘ 𝑧 ) ⟩ )
12 1 2 3 5 7 11 xpmapenlem ( ( 𝐴 × 𝐵 ) ↑m 𝐶 ) ≈ ( ( 𝐴m 𝐶 ) × ( 𝐵m 𝐶 ) )