Metamath Proof Explorer


Theorem cbvriotadavw

Description: Change bound variable in a restricted description binder. Deduction form. (Contributed by GG, 14-Aug-2025)

Ref Expression
Hypothesis cbvriotadavw.1 ( ( 𝜑𝑥 = 𝑦 ) → ( 𝜓𝜒 ) )
Assertion cbvriotadavw ( 𝜑 → ( 𝑥𝐴 𝜓 ) = ( 𝑦𝐴 𝜒 ) )

Proof

Step Hyp Ref Expression
1 cbvriotadavw.1 ( ( 𝜑𝑥 = 𝑦 ) → ( 𝜓𝜒 ) )
2 eleq1w ( 𝑥 = 𝑦 → ( 𝑥𝐴𝑦𝐴 ) )
3 2 adantl ( ( 𝜑𝑥 = 𝑦 ) → ( 𝑥𝐴𝑦𝐴 ) )
4 3 1 anbi12d ( ( 𝜑𝑥 = 𝑦 ) → ( ( 𝑥𝐴𝜓 ) ↔ ( 𝑦𝐴𝜒 ) ) )
5 4 cbviotadavw ( 𝜑 → ( ℩ 𝑥 ( 𝑥𝐴𝜓 ) ) = ( ℩ 𝑦 ( 𝑦𝐴𝜒 ) ) )
6 df-riota ( 𝑥𝐴 𝜓 ) = ( ℩ 𝑥 ( 𝑥𝐴𝜓 ) )
7 df-riota ( 𝑦𝐴 𝜒 ) = ( ℩ 𝑦 ( 𝑦𝐴𝜒 ) )
8 5 6 7 3eqtr4g ( 𝜑 → ( 𝑥𝐴 𝜓 ) = ( 𝑦𝐴 𝜒 ) )