Metamath Proof Explorer


Theorem eleq2w2ALT

Description: Alternate proof of eleq2w2 and special instance of eleq2 . (Contributed by BJ, 22-Sep-2024) (Proof modification is discouraged.) (New usage is discouraged.)

Ref Expression
Assertion eleq2w2ALT ( 𝐴 = 𝐵 → ( 𝑥𝐴𝑥𝐵 ) )

Proof

Step Hyp Ref Expression
1 dfcleq ( 𝐴 = 𝐵 ↔ ∀ 𝑦 ( 𝑦𝐴𝑦𝐵 ) )
2 1 biimpi ( 𝐴 = 𝐵 → ∀ 𝑦 ( 𝑦𝐴𝑦𝐵 ) )
3 eleq1w ( 𝑦 = 𝑥 → ( 𝑦𝐴𝑥𝐴 ) )
4 eleq1w ( 𝑦 = 𝑥 → ( 𝑦𝐵𝑥𝐵 ) )
5 3 4 bibi12d ( 𝑦 = 𝑥 → ( ( 𝑦𝐴𝑦𝐵 ) ↔ ( 𝑥𝐴𝑥𝐵 ) ) )
6 5 spvv ( ∀ 𝑦 ( 𝑦𝐴𝑦𝐵 ) → ( 𝑥𝐴𝑥𝐵 ) )
7 2 6 syl ( 𝐴 = 𝐵 → ( 𝑥𝐴𝑥𝐵 ) )