Metamath Proof Explorer


Theorem el

Description: Every set is an element of some other set. See elALT for a shorter proof using more axioms, and see elALT2 for a proof that uses ax-9 and ax-pow instead of ax-pr . (Contributed by NM, 4-Jan-2002) (Proof shortened by Andrew Salmon, 25-Jul-2011) Avoid ax-9 , ax-pow . (Revised by BTernaryTau, 2-Dec-2024)

Ref Expression
Assertion el 𝑦 𝑥𝑦

Proof

Step Hyp Ref Expression
1 ax-pr 𝑦𝑧 ( ( 𝑧 = 𝑥𝑧 = 𝑥 ) → 𝑧𝑦 )
2 pm4.25 ( 𝑧 = 𝑥 ↔ ( 𝑧 = 𝑥𝑧 = 𝑥 ) )
3 2 imbi1i ( ( 𝑧 = 𝑥𝑧𝑦 ) ↔ ( ( 𝑧 = 𝑥𝑧 = 𝑥 ) → 𝑧𝑦 ) )
4 3 albii ( ∀ 𝑧 ( 𝑧 = 𝑥𝑧𝑦 ) ↔ ∀ 𝑧 ( ( 𝑧 = 𝑥𝑧 = 𝑥 ) → 𝑧𝑦 ) )
5 elequ1 ( 𝑧 = 𝑥 → ( 𝑧𝑦𝑥𝑦 ) )
6 5 equsalvw ( ∀ 𝑧 ( 𝑧 = 𝑥𝑧𝑦 ) ↔ 𝑥𝑦 )
7 4 6 bitr3i ( ∀ 𝑧 ( ( 𝑧 = 𝑥𝑧 = 𝑥 ) → 𝑧𝑦 ) ↔ 𝑥𝑦 )
8 7 exbii ( ∃ 𝑦𝑧 ( ( 𝑧 = 𝑥𝑧 = 𝑥 ) → 𝑧𝑦 ) ↔ ∃ 𝑦 𝑥𝑦 )
9 1 8 mpbi 𝑦 𝑥𝑦