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

Theorem abbib 2829
Description: Equal class abstractions require equivalent formulas, and conversely. (Contributed by NM, 25-Nov-2013.) (Revised by Mario Carneiro, 11-Aug-2016.) Remove dependency on ax-8 2146 and df-clel 2835 (by avoiding use of cleqh 2889). (Revised by BJ, 23-Jun-2019.) Definitial form. (Revised by Wolf Lammen, 23-Feb-2025.)
Assertion
Ref Expression
abbib ({𝑥 ∣ 𝜑} = {𝑥 ∣ 𝜓} ↔ ∀𝑥(𝜑 ↔ 𝜓))

Proof of Theorem abbib
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 dfcleq 2753 . 2 ({𝑥 ∣ 𝜑} = {𝑥 ∣ 𝜓} ↔ ∀𝑦(𝑦 ∈ {𝑥 ∣ 𝜑} ↔ 𝑦 ∈ {𝑥 ∣ 𝜓}))
2 nfsab1 2746 . . . 4 Ⅎ𝑥 𝑦 ∈ {𝑥 ∣ 𝜑}
3 nfsab1 2746 . . . 4 Ⅎ𝑥 𝑦 ∈ {𝑥 ∣ 𝜓}
42, 3nfbi 1935 . . 3 Ⅎ𝑥(𝑦 ∈ {𝑥 ∣ 𝜑} ↔ 𝑦 ∈ {𝑥 ∣ 𝜓})
5 nfv 1946 . . 3 Ⅎ𝑦(𝜑 ↔ 𝜓)
6 df-clab 2739 . . . . 5 (𝑦 ∈ {𝑥 ∣ 𝜑} ↔ [𝑦 / 𝑥]𝜑)
7 sbequ12r 2287 . . . . 5 (𝑦 = 𝑥 → ([𝑦 / 𝑥]𝜑 ↔ 𝜑))
86, 7bitrid 286 . . . 4 (𝑦 = 𝑥 → (𝑦 ∈ {𝑥 ∣ 𝜑} ↔ 𝜑))
9 df-clab 2739 . . . . 5 (𝑦 ∈ {𝑥 ∣ 𝜓} ↔ [𝑦 / 𝑥]𝜓)
10 sbequ12r 2287 . . . . 5 (𝑦 = 𝑥 → ([𝑦 / 𝑥]𝜓 ↔ 𝜓))
119, 10bitrid 286 . . . 4 (𝑦 = 𝑥 → (𝑦 ∈ {𝑥 ∣ 𝜓} ↔ 𝜓))
128, 11bibi12d 348 . . 3 (𝑦 = 𝑥 → ((𝑦 ∈ {𝑥 ∣ 𝜑} ↔ 𝑦 ∈ {𝑥 ∣ 𝜓}) ↔ (𝜑 ↔ 𝜓)))
134, 5, 12cbvalv1 2370 . 2 (∀𝑦(𝑦 ∈ {𝑥 ∣ 𝜑} ↔ 𝑦 ∈ {𝑥 ∣ 𝜓}) ↔ ∀𝑥(𝜑 ↔ 𝜓))
141, 13bitri 278 1 ({𝑥 ∣ 𝜑} = {𝑥 ∣ 𝜓} ↔ ∀𝑥(𝜑 ↔ 𝜓))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209  ∀wal 1567   = wceq 1569  [wsb 2098   ∈ wcel 2144  {cab 2738
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-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-sb 2099  df-clab 2739  df-cleq 2752
This theorem is used by:  eqabb  2899  nabbib  3060  rabbi  3441  ab0  4328  absn  4600  kardenOLD  9963  abeqabi  44502  elnev  45514  csbingVD  45959  csbsngVD  45968  csbxpgVD  45969  csbrngVD  45971  csbunigVD  45973  csbfv12gALTVD  45974
  Copyright terms: Public domain W3C validator