Metamath Proof Explorer


Theorem rabbidva

Description: Equivalent wff's yield equal restricted class abstractions (deduction form). (Contributed by NM, 28-Nov-2003) (Proof shortened by SN, 3-Dec-2023)

Ref Expression
Hypothesis rabbidva.1 ( ( 𝜑𝑥𝐴 ) → ( 𝜓𝜒 ) )
Assertion rabbidva ( 𝜑 → { 𝑥𝐴𝜓 } = { 𝑥𝐴𝜒 } )

Proof

Step Hyp Ref Expression
1 rabbidva.1 ( ( 𝜑𝑥𝐴 ) → ( 𝜓𝜒 ) )
2 1 pm5.32da ( 𝜑 → ( ( 𝑥𝐴𝜓 ) ↔ ( 𝑥𝐴𝜒 ) ) )
3 2 rabbidva2 ( 𝜑 → { 𝑥𝐴𝜓 } = { 𝑥𝐴𝜒 } )