Metamath Proof Explorer


Theorem cbviundavw2

Description: Change bound variable and domain in indexed unions. Deduction form. (Contributed by GG, 14-Aug-2025)

Ref Expression
Hypotheses cbviundavw2.1 ( ( 𝜑𝑥 = 𝑦 ) → 𝐶 = 𝐷 )
cbviundavw2.2 ( ( 𝜑𝑥 = 𝑦 ) → 𝐴 = 𝐵 )
Assertion cbviundavw2 ( 𝜑 𝑥𝐴 𝐶 = 𝑦𝐵 𝐷 )

Proof

Step Hyp Ref Expression
1 cbviundavw2.1 ( ( 𝜑𝑥 = 𝑦 ) → 𝐶 = 𝐷 )
2 cbviundavw2.2 ( ( 𝜑𝑥 = 𝑦 ) → 𝐴 = 𝐵 )
3 1 eleq2d ( ( 𝜑𝑥 = 𝑦 ) → ( 𝑡𝐶𝑡𝐷 ) )
4 3 2 cbvrexdva2 ( 𝜑 → ( ∃ 𝑥𝐴 𝑡𝐶 ↔ ∃ 𝑦𝐵 𝑡𝐷 ) )
5 4 abbidv ( 𝜑 → { 𝑡 ∣ ∃ 𝑥𝐴 𝑡𝐶 } = { 𝑡 ∣ ∃ 𝑦𝐵 𝑡𝐷 } )
6 df-iun 𝑥𝐴 𝐶 = { 𝑡 ∣ ∃ 𝑥𝐴 𝑡𝐶 }
7 df-iun 𝑦𝐵 𝐷 = { 𝑡 ∣ ∃ 𝑦𝐵 𝑡𝐷 }
8 5 6 7 3eqtr4g ( 𝜑 𝑥𝐴 𝐶 = 𝑦𝐵 𝐷 )