Users' Mathboxes Mathbox for Wolf Lammen < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  wl-clabt Structured version   Visualization version   GIF version

Theorem wl-clabt 38164
Description: Using class abstraction in a context. For a version based on fewer axioms see wl-clabtv 38163. (Contributed by Wolf Lammen, 29-May-2023.)
Hypothesis
Ref Expression
wl-clabt.nf 𝑥𝜑
Assertion
Ref Expression
wl-clabt (𝜑 → {𝑥𝜓} = {𝑥 ∣ (𝜑𝜓)})

Proof of Theorem wl-clabt
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 wl-clabt.nf . . . 4 𝑥𝜑
2 biimt 363 . . . 4 (𝜑 → (𝜓 ↔ (𝜑𝜓)))
31, 2sbbid 2288 . . 3 (𝜑 → ([𝑦 / 𝑥]𝜓 ↔ [𝑦 / 𝑥](𝜑𝜓)))
4 df-clab 2748 . . 3 (𝑦 ∈ {𝑥𝜓} ↔ [𝑦 / 𝑥]𝜓)
5 df-clab 2748 . . 3 (𝑦 ∈ {𝑥 ∣ (𝜑𝜓)} ↔ [𝑦 / 𝑥](𝜑𝜓))
63, 4, 53bitr4g 317 . 2 (𝜑 → (𝑦 ∈ {𝑥𝜓} ↔ 𝑦 ∈ {𝑥 ∣ (𝜑𝜓)}))
76eqrdv 2767 1 (𝜑 → {𝑥𝜓} = {𝑥 ∣ (𝜑𝜓)})
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1567  wnf 1810  [wsb 2097  wcel 2149  {cab 2747
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1822  ax-4 1836  ax-5 1937  ax-6 1994  ax-7 2035  ax-9 2159  ax-12 2219  ax-ext 2741
This theorem depends on definitions:  df-bi 210  df-an 401  df-ex 1807  df-nf 1811  df-sb 2098  df-clab 2748  df-cleq 2761
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator