Metamath Proof Explorer


Theorem riotabidva

Description: Equivalent wff's yield equal restricted class abstractions (deduction form). ( rabbidva analog.) (Contributed by NM, 17-Jan-2012)

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

Proof

Step Hyp Ref Expression
1 riotabidva.1 ( ( 𝜑𝑥𝐴 ) → ( 𝜓𝜒 ) )
2 1 pm5.32da ( 𝜑 → ( ( 𝑥𝐴𝜓 ) ↔ ( 𝑥𝐴𝜒 ) ) )
3 2 iotabidv ( 𝜑 → ( ℩ 𝑥 ( 𝑥𝐴𝜓 ) ) = ( ℩ 𝑥 ( 𝑥𝐴𝜒 ) ) )
4 df-riota ( 𝑥𝐴 𝜓 ) = ( ℩ 𝑥 ( 𝑥𝐴𝜓 ) )
5 df-riota ( 𝑥𝐴 𝜒 ) = ( ℩ 𝑥 ( 𝑥𝐴𝜒 ) )
6 3 4 5 3eqtr4g ( 𝜑 → ( 𝑥𝐴 𝜓 ) = ( 𝑥𝐴 𝜒 ) )