MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  axextg Structured version   Visualization version   GIF version

Theorem axextg 2735
Description: A generalization of the axiom of extensionality in which 𝑥 and 𝑦 need not be distinct. (Contributed by NM, 15-Sep-1993.) (Proof shortened by Andrew Salmon, 12-Aug-2011.) Remove dependencies on ax-10 2178, ax-12 2213, ax-13 2402. (Revised by BJ, 12-Jul-2019.) (Revised by Wolf Lammen, 9-Dec-2019.)
Assertion
Ref Expression
axextg (∀𝑧(𝑧 ∈ 𝑥 ↔ 𝑧 ∈ 𝑦) → 𝑥 = 𝑦)
Distinct variable groups:   𝑥,𝑧   𝑦,𝑧

Proof of Theorem axextg
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 elequ2 2160 . . . . 5 (𝑤 = 𝑥 → (𝑧 ∈ 𝑤 ↔ 𝑧 ∈ 𝑥))
21bibi1d 346 . . . 4 (𝑤 = 𝑥 → ((𝑧 ∈ 𝑤 ↔ 𝑧 ∈ 𝑦) ↔ (𝑧 ∈ 𝑥 ↔ 𝑧 ∈ 𝑦)))
32albidv 1953 . . 3 (𝑤 = 𝑥 → (∀𝑧(𝑧 ∈ 𝑤 ↔ 𝑧 ∈ 𝑦) ↔ ∀𝑧(𝑧 ∈ 𝑥 ↔ 𝑧 ∈ 𝑦)))
4 equequ1 2058 . . 3 (𝑤 = 𝑥 → (𝑤 = 𝑦 ↔ 𝑥 = 𝑦))
53, 4imbi12d 347 . 2 (𝑤 = 𝑥 → ((∀𝑧(𝑧 ∈ 𝑤 ↔ 𝑧 ∈ 𝑦) → 𝑤 = 𝑦) ↔ (∀𝑧(𝑧 ∈ 𝑥 ↔ 𝑧 ∈ 𝑦) → 𝑥 = 𝑦)))
6 ax-ext 2733 . 2 (∀𝑧(𝑧 ∈ 𝑤 ↔ 𝑧 ∈ 𝑦) → 𝑤 = 𝑦)
75, 6chvarvv 2022 1 (∀𝑧(𝑧 ∈ 𝑥 ↔ 𝑧 ∈ 𝑦) → 𝑥 = 𝑦)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209  ∀wal 1568
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-9 2155  ax-ext 2733
This proof depends on definitions:  df-bi 210  df-an 402  df-ex 1813
This theorem is used by:  axextb  2736  axextnd  10657  axextdist  36531
  Copyright terms: Public domain W3C validator