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 34865
Description: Using class abstraction in a context. For a version based on fewer axioms see wl-clabtv 34864. (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 2245 . . 3 (𝜑 → ([𝑦 / 𝑥]𝜓 ↔ [𝑦 / 𝑥](𝜑𝜓)))
4 df-clab 2799 . . 3 (𝑦 ∈ {𝑥𝜓} ↔ [𝑦 / 𝑥]𝜓)
5 df-clab 2799 . . 3 (𝑦 ∈ {𝑥 ∣ (𝜑𝜓)} ↔ [𝑦 / 𝑥](𝜑𝜓))
63, 4, 53bitr4g 316 . 2 (𝜑 → (𝑦 ∈ {𝑥𝜓} ↔ 𝑦 ∈ {𝑥 ∣ (𝜑𝜓)}))
76eqrdv 2818 1 (𝜑 → {𝑥𝜓} = {𝑥 ∣ (𝜑𝜓)})
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1536  wnf 1783  [wsb 2068  wcel 2113  {cab 2798
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-9 2123  ax-12 2176  ax-ext 2792
This theorem depends on definitions:  df-bi 209  df-an 399  df-ex 1780  df-nf 1784  df-sb 2069  df-clab 2799  df-cleq 2813
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator