Metamath Proof Explorer


Theorem cbvmpo2davw2

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

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

Proof

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