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 ⊢ ( 𝜑 → ( 𝑥 ∈ 𝐴 , 𝑦 ∈ 𝐶 ↦ 𝐸 ) = ( 𝑥 ∈ 𝐵 , 𝑧 ∈ 𝐷 ↦ 𝐹 ) )