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

Theorem cleqh 2889
Description: Establish equality between classes, using bound-variable hypotheses instead of distinct variable conditions as in dfcleq 2753. See also cleqf 2950. (Contributed by NM, 26-May-1993.) (Proof shortened by Wolf Lammen, 14-Nov-2019.) Remove dependency on ax-13 2401. (Revised by BJ, 30-Nov-2020.)
Hypotheses
Ref Expression
cleqh.1 (𝑦 ∈ 𝐴 → ∀𝑥 𝑦 ∈ 𝐴)
cleqh.2 (𝑦 ∈ 𝐵 → ∀𝑥 𝑦 ∈ 𝐵)
Assertion
Ref Expression
cleqh (𝐴 = 𝐵 ↔ ∀𝑥(𝑥 ∈ 𝐴 ↔ 𝑥 ∈ 𝐵))
Distinct variable groups:   𝑦,𝐴   𝑦,𝐵   𝑥,𝑦
Allowed substitution hints:   𝐴(𝑥)   𝐵(𝑥)

Proof of Theorem cleqh
StepHypRef Expression
1 dfcleq 2753 . 2 (𝐴 = 𝐵 ↔ ∀𝑦(𝑦 ∈ 𝐴 ↔ 𝑦 ∈ 𝐵))
2 nfv 1946 . . 3 Ⅎ𝑦(𝑥 ∈ 𝐴 ↔ 𝑥 ∈ 𝐵)
3 cleqh.1 . . . . 5 (𝑦 ∈ 𝐴 → ∀𝑥 𝑦 ∈ 𝐴)
43nf5i 2182 . . . 4 Ⅎ𝑥 𝑦 ∈ 𝐴
5 cleqh.2 . . . . 5 (𝑦 ∈ 𝐵 → ∀𝑥 𝑦 ∈ 𝐵)
65nf5i 2182 . . . 4 Ⅎ𝑥 𝑦 ∈ 𝐵
74, 6nfbi 1935 . . 3 Ⅎ𝑥(𝑦 ∈ 𝐴 ↔ 𝑦 ∈ 𝐵)
8 eleq1w 2843 . . . 4 (𝑥 = 𝑦 → (𝑥 ∈ 𝐴 ↔ 𝑦 ∈ 𝐴))
9 eleq1w 2843 . . . 4 (𝑥 = 𝑦 → (𝑥 ∈ 𝐵 ↔ 𝑦 ∈ 𝐵))
108, 9bibi12d 348 . . 3 (𝑥 = 𝑦 → ((𝑥 ∈ 𝐴 ↔ 𝑥 ∈ 𝐵) ↔ (𝑦 ∈ 𝐴 ↔ 𝑦 ∈ 𝐵)))
112, 7, 10cbvalv1 2370 . 2 (∀𝑥(𝑥 ∈ 𝐴 ↔ 𝑥 ∈ 𝐵) ↔ ∀𝑦(𝑦 ∈ 𝐴 ↔ 𝑦 ∈ 𝐵))
121, 11bitr4i 281 1 (𝐴 = 𝐵 ↔ ∀𝑥(𝑥 ∈ 𝐴 ↔ 𝑥 ∈ 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209  ∀wal 1567   = wceq 1569   ∈ 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-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1572  df-ex 1812  df-nf 1816  df-cleq 2752  df-clel 2835
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator