Metamath Proof Explorer


Theorem abbid

Description: Equivalent wff's yield equal class abstractions (deduction form, with nonfreeness hypothesis). (Contributed by NM, 21-Jun-1993) (Revised by Mario Carneiro, 7-Oct-2016) Avoid ax-10 and ax-11 . (Revised by Wolf Lammen, 6-May-2023)

Ref Expression
Hypotheses abbid.1 𝑥 𝜑
abbid.2 ( 𝜑 → ( 𝜓𝜒 ) )
Assertion abbid ( 𝜑 → { 𝑥𝜓 } = { 𝑥𝜒 } )

Proof

Step Hyp Ref Expression
1 abbid.1 𝑥 𝜑
2 abbid.2 ( 𝜑 → ( 𝜓𝜒 ) )
3 1 2 alrimi ( 𝜑 → ∀ 𝑥 ( 𝜓𝜒 ) )
4 abbi1 ( ∀ 𝑥 ( 𝜓𝜒 ) → { 𝑥𝜓 } = { 𝑥𝜒 } )
5 3 4 syl ( 𝜑 → { 𝑥𝜓 } = { 𝑥𝜒 } )