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

Theorem abbib 2830
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 2147 and df-clel 2836 (by avoiding use of cleqh 2890). (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 2754 . 2 ({𝑥 ∣ 𝜑} = {𝑥 ∣ 𝜓} ↔ ∀𝑦(𝑦 ∈ {𝑥 ∣ 𝜑} ↔ 𝑦 ∈ {𝑥 ∣ 𝜓}))
2 nfsab1 2747 . . . 4 Ⅎ𝑥 𝑦 ∈ {𝑥 ∣ 𝜑}
3 nfsab1 2747 . . . 4 Ⅎ𝑥 𝑦 ∈ {𝑥 ∣ 𝜓}
42, 3nfbi 1936 . . 3 Ⅎ𝑥(𝑦 ∈ {𝑥 ∣ 𝜑} ↔ 𝑦 ∈ {𝑥 ∣ 𝜓})
5 nfv 1947 . . 3 Ⅎ𝑦(𝜑 ↔ 𝜓)
6 df-clab 2740 . . . . 5 (𝑦 ∈ {𝑥 ∣ 𝜑} ↔ [𝑦 / 𝑥]𝜑)
7 sbequ12r 2288 . . . . 5 (𝑦 = 𝑥 → ([𝑦 / 𝑥]𝜑 ↔ 𝜑))
86, 7bitrid 286 . . . 4 (𝑦 = 𝑥 → (𝑦 ∈ {𝑥 ∣ 𝜑} ↔ 𝜑))
9 df-clab 2740 . . . . 5 (𝑦 ∈ {𝑥 ∣ 𝜓} ↔ [𝑦 / 𝑥]𝜓)
10 sbequ12r 2288 . . . . 5 (𝑦 = 𝑥 → ([𝑦 / 𝑥]𝜓 ↔ 𝜓))
119, 10bitrid 286 . . . 4 (𝑦 = 𝑥 → (𝑦 ∈ {𝑥 ∣ 𝜓} ↔ 𝜓))
128, 11bibi12d 348 . . 3 (𝑦 = 𝑥 → ((𝑦 ∈ {𝑥 ∣ 𝜑} ↔ 𝑦 ∈ {𝑥 ∣ 𝜓}) ↔ (𝜑 ↔ 𝜓)))
134, 5, 12cbvalv1 2371 . 2 (∀𝑦(𝑦 ∈ {𝑥 ∣ 𝜑} ↔ 𝑦 ∈ {𝑥 ∣ 𝜓}) ↔ ∀𝑥(𝜑 ↔ 𝜓))
141, 13bitri 278 1 ({𝑥 ∣ 𝜑} = {𝑥 ∣ 𝜓} ↔ ∀𝑥(𝜑 ↔ 𝜓))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209  ∀wal 1568   = wceq 1570  [wsb 2099   ∈ wcel 2145  {cab 2739
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-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1573  df-ex 1813  df-nf 1817  df-sb 2100  df-clab 2740  df-cleq 2753
This theorem is used by:  eqabb  2900  nabbib  3061  rabbi  3442  ab0  4329  absn  4604  kardenOLD  9941  abeqabi  44367  elnev  45380  csbingVD  45825  csbsngVD  45834  csbxpgVD  45835  csbrngVD  45837  csbunigVD  45839  csbfv12gALTVD  45840
  Copyright terms: Public domain W3C validator