Metamath Proof Explorer


Theorem cbvmpo2vw2

Description: Change domains and the second bound variable in a maps-to function, using implicit substitution. (Contributed by GG, 14-Aug-2025)

Ref Expression
Hypotheses cbvmpo2vw2.1 ( 𝑦 = 𝑧𝐸 = 𝐹 )
cbvmpo2vw2.2 ( 𝑦 = 𝑧𝐶 = 𝐷 )
cbvmpo2vw2.3 ( 𝑦 = 𝑧𝐴 = 𝐵 )
Assertion cbvmpo2vw2 ( 𝑥𝐴 , 𝑦𝐶𝐸 ) = ( 𝑥𝐵 , 𝑧𝐷𝐹 )

Proof

Step Hyp Ref Expression
1 cbvmpo2vw2.1 ( 𝑦 = 𝑧𝐸 = 𝐹 )
2 cbvmpo2vw2.2 ( 𝑦 = 𝑧𝐶 = 𝐷 )
3 cbvmpo2vw2.3 ( 𝑦 = 𝑧𝐴 = 𝐵 )
4 3 eleq2d ( 𝑦 = 𝑧 → ( 𝑥𝐴𝑥𝐵 ) )
5 id ( 𝑦 = 𝑧𝑦 = 𝑧 )
6 5 2 eleq12d ( 𝑦 = 𝑧 → ( 𝑦𝐶𝑧𝐷 ) )
7 4 6 anbi12d ( 𝑦 = 𝑧 → ( ( 𝑥𝐴𝑦𝐶 ) ↔ ( 𝑥𝐵𝑧𝐷 ) ) )
8 1 eqeq2d ( 𝑦 = 𝑧 → ( 𝑡 = 𝐸𝑡 = 𝐹 ) )
9 7 8 anbi12d ( 𝑦 = 𝑧 → ( ( ( 𝑥𝐴𝑦𝐶 ) ∧ 𝑡 = 𝐸 ) ↔ ( ( 𝑥𝐵𝑧𝐷 ) ∧ 𝑡 = 𝐹 ) ) )
10 9 cbvoprab2vw { ⟨ ⟨ 𝑥 , 𝑦 ⟩ , 𝑡 ⟩ ∣ ( ( 𝑥𝐴𝑦𝐶 ) ∧ 𝑡 = 𝐸 ) } = { ⟨ ⟨ 𝑥 , 𝑧 ⟩ , 𝑡 ⟩ ∣ ( ( 𝑥𝐵𝑧𝐷 ) ∧ 𝑡 = 𝐹 ) }
11 df-mpo ( 𝑥𝐴 , 𝑦𝐶𝐸 ) = { ⟨ ⟨ 𝑥 , 𝑦 ⟩ , 𝑡 ⟩ ∣ ( ( 𝑥𝐴𝑦𝐶 ) ∧ 𝑡 = 𝐸 ) }
12 df-mpo ( 𝑥𝐵 , 𝑧𝐷𝐹 ) = { ⟨ ⟨ 𝑥 , 𝑧 ⟩ , 𝑡 ⟩ ∣ ( ( 𝑥𝐵𝑧𝐷 ) ∧ 𝑡 = 𝐹 ) }
13 10 11 12 3eqtr4i ( 𝑥𝐴 , 𝑦𝐶𝐸 ) = ( 𝑥𝐵 , 𝑧𝐷𝐹 )