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

Theorem cleqh 2895
Description: Establish equality between classes, using bound-variable hypotheses instead of distinct variable conditions as in dfcleq 2759. See also cleqf 2956. (Contributed by NM, 26-May-1993.) (Proof shortened by Wolf Lammen, 14-Nov-2019.) Remove dependency on ax-13 2407. (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 2759 . 2 (𝐴 = 𝐵 ↔ ∀𝑦(𝑦𝐴𝑦𝐵))
2 nfv 1947 . . 3 𝑦(𝑥𝐴𝑥𝐵)
3 cleqh.1 . . . . 5 (𝑦𝐴 → ∀𝑥 𝑦𝐴)
43nf5i 2184 . . . 4 𝑥 𝑦𝐴
5 cleqh.2 . . . . 5 (𝑦𝐵 → ∀𝑥 𝑦𝐵)
65nf5i 2184 . . . 4 𝑥 𝑦𝐵
74, 6nfbi 1936 . . 3 𝑥(𝑦𝐴𝑦𝐵)
8 eleq1w 2849 . . . 4 (𝑥 = 𝑦 → (𝑥𝐴𝑦𝐴))
9 eleq1w 2849 . . . 4 (𝑥 = 𝑦 → (𝑥𝐵𝑦𝐵))
108, 9bibi12d 348 . . 3 (𝑥 = 𝑦 → ((𝑥𝐴𝑥𝐵) ↔ (𝑦𝐴𝑦𝐵)))
112, 7, 10cbvalv1 2376 . 2 (∀𝑥(𝑥𝐴𝑥𝐵) ↔ ∀𝑦(𝑦𝐴𝑦𝐵))
121, 11bitr4i 281 1 (𝐴 = 𝐵 ↔ ∀𝑥(𝑥𝐴𝑥𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  wb 209  wal 1568   = wceq 1570  wcel 2146
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-8 2148  ax-9 2156  ax-10 2179  ax-11 2195  ax-12 2216  ax-ext 2738
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-ex 1813  df-nf 1817  df-cleq 2758  df-clel 2841
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator