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

Theorem cleqf 2965
Description: Establish equality between classes, using bound-variable hypotheses instead of distinct variable conditions as in dfcleq 2767. See also cleqh 2904. (Contributed by NM, 26-May-1993.) (Revised by Mario Carneiro, 7-Oct-2016.) (Proof shortened by Wolf Lammen, 17-Nov-2019.) Avoid ax-13 2413. (Revised by Wolf Lammen, 10-May-2023.) Avoid ax-10 2189. (Revised by GG, 20-Aug-2023.)
Hypotheses
Ref Expression
cleqf.1 Ⅎ𝑥𝐴
cleqf.2 Ⅎ𝑥𝐵
Assertion
Ref Expression
cleqf (𝐴 = 𝐵 ↔ ∀𝑥(𝑥 ∈ 𝐴 ↔ 𝑥 ∈ 𝐵))

Proof of Theorem cleqf
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 dfcleq 2767 . 2 (𝐴 = 𝐵 ↔ ∀𝑦(𝑦 ∈ 𝐴 ↔ 𝑦 ∈ 𝐵))
2 nfv 1956 . . 3 Ⅎ𝑦(𝑥 ∈ 𝐴 ↔ 𝑥 ∈ 𝐵)
3 cleqf.1 . . . . 5 Ⅎ𝑥𝐴
43nfcri 2929 . . . 4 Ⅎ𝑥 𝑦 ∈ 𝐴
5 cleqf.2 . . . . 5 Ⅎ𝑥𝐵
65nfcri 2929 . . . 4 Ⅎ𝑥 𝑦 ∈ 𝐵
74, 6nfbi 1944 . . 3 Ⅎ𝑥(𝑦 ∈ 𝐴 ↔ 𝑦 ∈ 𝐵)
8 eleq1w 2858 . . . 4 (𝑥 = 𝑦 → (𝑥 ∈ 𝐴 ↔ 𝑦 ∈ 𝐴))
9 eleq1w 2858 . . . 4 (𝑥 = 𝑦 → (𝑥 ∈ 𝐵 ↔ 𝑦 ∈ 𝐵))
108, 9bibi12d 348 . . 3 (𝑥 = 𝑦 → ((𝑥 ∈ 𝐴 ↔ 𝑥 ∈ 𝐵) ↔ (𝑦 ∈ 𝐴 ↔ 𝑦 ∈ 𝐵)))
112, 7, 10cbvalv1 2383 . 2 (∀𝑥(𝑥 ∈ 𝐴 ↔ 𝑥 ∈ 𝐵) ↔ ∀𝑦(𝑦 ∈ 𝐴 ↔ 𝑦 ∈ 𝐵))
121, 11bitr4i 281 1 (𝐴 = 𝐵 ↔ ∀𝑥(𝑥 ∈ 𝐴 ↔ 𝑥 ∈ 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209  ∀wal 1570   = wceq 1572   ∈ wcel 2156  Ⅎwnfc 2922
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-11 2206  ax-12 2225  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1575  df-ex 1819  df-nf 1823  df-cleq 2766  df-clel 2850  df-nfc 2924
This theorem is used by:  eqabf  2966  abid2fOLD  2968  eqvf  3472  eqrd  3939  eq0f  4304  rspsn0  21622  mbfposr  26081  mbfinf  26094  itg1climres  26143  bnj1366  35661  bj-rabtrALT  38161  bj-rcleqf  38255  compab  45844  ssmapsn  46661  infnsuprnmpt  46694  pimrecltpos  48150  pimrecltneg  48166  smfaddlem1  48205  smflimsuplem7  48268  absnsb  48527
  Copyright terms: Public domain W3C validator