Metamath Proof Explorer


Theorem abeq2f

Description: Equality of a class variable and a class abstraction. In this version, the fact that x is a nonfree variable in A is explicitly stated as a hypothesis. (Contributed by Thierry Arnoux, 11-May-2017) Avoid ax-13 . (Revised by Wolf Lammen, 13-May-2023)

Ref Expression
Hypothesis abeq2f.0 𝑥 𝐴
Assertion abeq2f ( 𝐴 = { 𝑥𝜑 } ↔ ∀ 𝑥 ( 𝑥𝐴𝜑 ) )

Proof

Step Hyp Ref Expression
1 abeq2f.0 𝑥 𝐴
2 nfab1 𝑥 { 𝑥𝜑 }
3 1 2 cleqf ( 𝐴 = { 𝑥𝜑 } ↔ ∀ 𝑥 ( 𝑥𝐴𝑥 ∈ { 𝑥𝜑 } ) )
4 abid ( 𝑥 ∈ { 𝑥𝜑 } ↔ 𝜑 )
5 4 bibi2i ( ( 𝑥𝐴𝑥 ∈ { 𝑥𝜑 } ) ↔ ( 𝑥𝐴𝜑 ) )
6 5 albii ( ∀ 𝑥 ( 𝑥𝐴𝑥 ∈ { 𝑥𝜑 } ) ↔ ∀ 𝑥 ( 𝑥𝐴𝜑 ) )
7 3 6 bitri ( 𝐴 = { 𝑥𝜑 } ↔ ∀ 𝑥 ( 𝑥𝐴𝜑 ) )