Users' Mathboxes Mathbox for Wolf Lammen < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  wl-dfcleq Structured version   Visualization version   GIF version

Theorem wl-dfcleq 38438
Description: The defining characterization of class equality. This version of df-cleq 2752 has no restrictions, unlike the forms on which it is based. It is proved in Tarski's FOL from the axiom of extensionality (ax-ext 2732), the definition of class equality (df-cleq 2752), and the definition of class membership (df-clel 2835).

Its forward implication is known as "class extensionality". (Contributed by NM, 15-Sep-1993.) (Revised by BJ, 24-Jun-2019.) Base on wl-dfcleq.just 38434. (Revised by Wolf Lammen, 7-Apr-2026.)

Assertion
Ref Expression
wl-dfcleq (𝐴 = 𝐵 ↔ ∀𝑥(𝑥 ∈ 𝐴 ↔ 𝑥 ∈ 𝐵))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵

Proof of Theorem wl-dfcleq
Dummy variables 𝑦 𝐶 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eleq1w 2843 . . . 4 (𝑥 = 𝑦 → (𝑥 ∈ 𝐴 ↔ 𝑦 ∈ 𝐴))
2 eleq1w 2843 . . . 4 (𝑥 = 𝑦 → (𝑥 ∈ 𝐵 ↔ 𝑦 ∈ 𝐵))
31, 2bibi12d 348 . . 3 (𝑥 = 𝑦 → ((𝑥 ∈ 𝐴 ↔ 𝑥 ∈ 𝐵) ↔ (𝑦 ∈ 𝐴 ↔ 𝑦 ∈ 𝐵)))
43cbvalvw 2068 . 2 (∀𝑥(𝑥 ∈ 𝐴 ↔ 𝑥 ∈ 𝐵) ↔ ∀𝑦(𝑦 ∈ 𝐴 ↔ 𝑦 ∈ 𝐵))
5 eqid 2760 . 2 𝐴 = 𝐴
6 eqtr 2780 . . . 4 ((𝐴 = 𝐵 ∧ 𝐵 = 𝐶) → 𝐴 = 𝐶)
76eqcomd 2766 . . 3 ((𝐴 = 𝐵 ∧ 𝐵 = 𝐶) → 𝐶 = 𝐴)
87ex 418 . 2 (𝐴 = 𝐵 → (𝐵 = 𝐶 → 𝐶 = 𝐴))
9 eqeq2 2772 . . . . . 6 (𝐴 = 𝐵 → (𝑥 = 𝐴 ↔ 𝑥 = 𝐵))
109biimpd 232 . . . . 5 (𝐴 = 𝐵 → (𝑥 = 𝐴 → 𝑥 = 𝐵))
1110anim1d 623 . . . 4 (𝐴 = 𝐵 → ((𝑥 = 𝐴 ∧ 𝑥 ∈ 𝐶) → (𝑥 = 𝐵 ∧ 𝑥 ∈ 𝐶)))
1211eximdv 1949 . . 3 (𝐴 = 𝐵 → (∃𝑥(𝑥 = 𝐴 ∧ 𝑥 ∈ 𝐶) → ∃𝑥(𝑥 = 𝐵 ∧ 𝑥 ∈ 𝐶)))
13 dfclel 2836 . . 3 (𝐴 ∈ 𝐶 ↔ ∃𝑥(𝑥 = 𝐴 ∧ 𝑥 ∈ 𝐶))
14 dfclel 2836 . . 3 (𝐵 ∈ 𝐶 ↔ ∃𝑥(𝑥 = 𝐵 ∧ 𝑥 ∈ 𝐶))
1512, 13, 143imtr4g 299 . 2 (𝐴 = 𝐵 → (𝐴 ∈ 𝐶 → 𝐵 ∈ 𝐶))
16 wl-dfcleq.basic 38433 . . . . . 6 (𝐴 = 𝐵 ↔ ∀𝑦(𝑦 ∈ 𝐴 ↔ 𝑦 ∈ 𝐵))
17 biimp 218 . . . . . . . 8 ((𝑦 ∈ 𝐴 ↔ 𝑦 ∈ 𝐵) → (𝑦 ∈ 𝐴 → 𝑦 ∈ 𝐵))
1817alimi 1843 . . . . . . 7 (∀𝑦(𝑦 ∈ 𝐴 ↔ 𝑦 ∈ 𝐵) → ∀𝑦(𝑦 ∈ 𝐴 → 𝑦 ∈ 𝐵))
191biimpd 232 . . . . . . . . . 10 (𝑥 = 𝑦 → (𝑥 ∈ 𝐴 → 𝑦 ∈ 𝐴))
2019eqcoms 2768 . . . . . . . . 9 (𝑦 = 𝑥 → (𝑥 ∈ 𝐴 → 𝑦 ∈ 𝐴))
21 eleq1w 2843 . . . . . . . . . 10 (𝑦 = 𝑥 → (𝑦 ∈ 𝐵 ↔ 𝑥 ∈ 𝐵))
2221biimpd 232 . . . . . . . . 9 (𝑦 = 𝑥 → (𝑦 ∈ 𝐵 → 𝑥 ∈ 𝐵))
2320, 22imim12d 82 . . . . . . . 8 (𝑦 = 𝑥 → ((𝑦 ∈ 𝐴 → 𝑦 ∈ 𝐵) → (𝑥 ∈ 𝐴 → 𝑥 ∈ 𝐵)))
2423spimvw 2018 . . . . . . 7 (∀𝑦(𝑦 ∈ 𝐴 → 𝑦 ∈ 𝐵) → (𝑥 ∈ 𝐴 → 𝑥 ∈ 𝐵))
2518, 24syl 18 . . . . . 6 (∀𝑦(𝑦 ∈ 𝐴 ↔ 𝑦 ∈ 𝐵) → (𝑥 ∈ 𝐴 → 𝑥 ∈ 𝐵))
2616, 25sylbi 220 . . . . 5 (𝐴 = 𝐵 → (𝑥 ∈ 𝐴 → 𝑥 ∈ 𝐵))
2726anim2d 624 . . . 4 (𝐴 = 𝐵 → ((𝑥 = 𝐶 ∧ 𝑥 ∈ 𝐴) → (𝑥 = 𝐶 ∧ 𝑥 ∈ 𝐵)))
2827eximdv 1949 . . 3 (𝐴 = 𝐵 → (∃𝑥(𝑥 = 𝐶 ∧ 𝑥 ∈ 𝐴) → ∃𝑥(𝑥 = 𝐶 ∧ 𝑥 ∈ 𝐵)))
29 dfclel 2836 . . 3 (𝐶 ∈ 𝐴 ↔ ∃𝑥(𝑥 = 𝐶 ∧ 𝑥 ∈ 𝐴))
30 dfclel 2836 . . 3 (𝐶 ∈ 𝐵 ↔ ∃𝑥(𝑥 = 𝐶 ∧ 𝑥 ∈ 𝐵))
3128, 29, 303imtr4g 299 . 2 (𝐴 = 𝐵 → (𝐶 ∈ 𝐴 → 𝐶 ∈ 𝐵))
324, 5, 8, 15, 31wl-dfcleq.just 38434 1 (𝐴 = 𝐵 ↔ ∀𝑥(𝑥 ∈ 𝐴 ↔ 𝑥 ∈ 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1567   = wceq 1569  ∃wex 1811   ∈ wcel 2144
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-ex 1812  df-cleq 2752  df-clel 2835
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator