Metamath Proof Explorer


Theorem rabbida4

Description: Version of rabbidva2 with disjoint variable condition replaced by nonfreeness hypothesis. (Contributed by BJ, 27-Apr-2019)

Ref Expression
Hypotheses rabbida4.nf 𝑥 𝜑
rabbida4.1 ( 𝜑 → ( ( 𝑥𝐴𝜓 ) ↔ ( 𝑥𝐵𝜒 ) ) )
Assertion rabbida4 ( 𝜑 → { 𝑥𝐴𝜓 } = { 𝑥𝐵𝜒 } )

Proof

Step Hyp Ref Expression
1 rabbida4.nf 𝑥 𝜑
2 rabbida4.1 ( 𝜑 → ( ( 𝑥𝐴𝜓 ) ↔ ( 𝑥𝐵𝜒 ) ) )
3 1 2 abbid ( 𝜑 → { 𝑥 ∣ ( 𝑥𝐴𝜓 ) } = { 𝑥 ∣ ( 𝑥𝐵𝜒 ) } )
4 df-rab { 𝑥𝐴𝜓 } = { 𝑥 ∣ ( 𝑥𝐴𝜓 ) }
5 df-rab { 𝑥𝐵𝜒 } = { 𝑥 ∣ ( 𝑥𝐵𝜒 ) }
6 3 4 5 3eqtr4g ( 𝜑 → { 𝑥𝐴𝜓 } = { 𝑥𝐵𝜒 } )